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 libtool_VERSION 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"
1332 # For libtool versioning info, format is CURRENT:REVISION:AGE
1333 libtool_VERSION=6:0:0
1340 echo "$as_me:$LINENO: checking for --enable-version-specific-runtime-libs" >&5
1341 echo $ECHO_N "checking for --enable-version-specific-runtime-libs... $ECHO_C" >&6
1342 # Check whether --enable-version-specific-runtime-libs or --disable-version-specific-runtime-libs was given.
1343 if test "${enable_version_specific_runtime_libs+set}" = set; then
1344 enableval="$enable_version_specific_runtime_libs"
1345 case "$enableval" in
1346 yes) version_specific_libs=yes ;;
1347 no) version_specific_libs=no ;;
1348 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable version-specific libs" >&5
1349 echo "$as_me: error: Unknown argument to enable/disable version-specific libs" >&2;}
1350 { (exit 1); exit 1; }; };;
1353 version_specific_libs=no
1355 echo "$as_me:$LINENO: result: $version_specific_libs" >&5
1356 echo "${ECHO_T}$version_specific_libs" >&6
1359 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
1361 # You will slowly go insane if you do not grok the following fact: when
1362 # building this library, the top-level /target/ becomes the library's
/host
/.
1364 # configure then causes --target to default to --host, exactly like any
1365 # other package using autoconf. Therefore, 'target' and 'host' will
1366 # always be the same. This makes sense both for native and cross compilers
1367 # just think about it for a little while. :-)
1369 # Also, if this library is being configured as part of a cross compiler, the
1370 # top-level configure script will pass the "real" host as $with_cross_host.
1372 # Do not delete or change the following two lines. For why, see
1373 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
1375 for ac_dir
in $srcdir $srcdir/..
$srcdir/..
/..
; do
1376 if test -f $ac_dir/install-sh
; then
1378 ac_install_sh
="$ac_aux_dir/install-sh -c"
1380 elif test -f $ac_dir/install.sh
; then
1382 ac_install_sh
="$ac_aux_dir/install.sh -c"
1384 elif test -f $ac_dir/shtool
; then
1386 ac_install_sh
="$ac_aux_dir/shtool install -c"
1390 if test -z "$ac_aux_dir"; then
1391 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1392 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1393 { (exit 1); exit 1; }; }
1395 ac_config_guess
="$SHELL $ac_aux_dir/config.guess"
1396 ac_config_sub
="$SHELL $ac_aux_dir/config.sub"
1397 ac_configure
="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1399 # Make sure we can run config.sub.
1400 $ac_config_sub sun4
>/dev
/null
2>&1 ||
1401 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1402 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1403 { (exit 1); exit 1; }; }
1405 echo "$as_me:$LINENO: checking build system type" >&5
1406 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1407 if test "${ac_cv_build+set}" = set; then
1408 echo $ECHO_N "(cached) $ECHO_C" >&6
1410 ac_cv_build_alias
=$build_alias
1411 test -z "$ac_cv_build_alias" &&
1412 ac_cv_build_alias
=`$ac_config_guess`
1413 test -z "$ac_cv_build_alias" &&
1414 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1415 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1416 { (exit 1); exit 1; }; }
1417 ac_cv_build
=`$ac_config_sub $ac_cv_build_alias` ||
1418 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1419 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1420 { (exit 1); exit 1; }; }
1423 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1424 echo "${ECHO_T}$ac_cv_build" >&6
1426 build_cpu
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1427 build_vendor
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1428 build_os
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1431 echo "$as_me:$LINENO: checking host system type" >&5
1432 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1433 if test "${ac_cv_host+set}" = set; then
1434 echo $ECHO_N "(cached) $ECHO_C" >&6
1436 ac_cv_host_alias
=$host_alias
1437 test -z "$ac_cv_host_alias" &&
1438 ac_cv_host_alias
=$ac_cv_build_alias
1439 ac_cv_host
=`$ac_config_sub $ac_cv_host_alias` ||
1440 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1441 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1442 { (exit 1); exit 1; }; }
1445 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1446 echo "${ECHO_T}$ac_cv_host" >&6
1448 host_cpu
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1449 host_vendor
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1450 host_os
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1453 echo "$as_me:$LINENO: checking target system type" >&5
1454 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1455 if test "${ac_cv_target+set}" = set; then
1456 echo $ECHO_N "(cached) $ECHO_C" >&6
1458 ac_cv_target_alias
=$target_alias
1459 test "x$ac_cv_target_alias" = "x" &&
1460 ac_cv_target_alias
=$ac_cv_host_alias
1461 ac_cv_target
=`$ac_config_sub $ac_cv_target_alias` ||
1462 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1463 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1464 { (exit 1); exit 1; }; }
1467 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1468 echo "${ECHO_T}$ac_cv_target" >&6
1469 target
=$ac_cv_target
1470 target_cpu
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1471 target_vendor
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1472 target_os
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1475 # The aliases save the names the user supplied, while $host etc.
1476 # will get canonicalized.
1477 test -n "$target_alias" &&
1478 test "$program_prefix$program_suffix$program_transform_name" = \
1480 program_prefix
=${target_alias}-
1481 target_alias
=${target_alias-$host_alias}
1483 # Sets up automake. Must come after AC_CANONICAL_SYSTEM. Each of the
1484 # following is magically included in AUTOMAKE_OPTIONS in each Makefile.am.
1485 # 1.8.2: minimum required version
1486 # no-define: PACKAGE and VERSION will not be #define'd in config.h (a bunch
1487 # of other PACKAGE_* variables will, however, and there's nothing
1488 # we can do about that; they come from AC_INIT).
1489 # foreign: we don't follow the normal rules for GNU packages (no COPYING
1490 # file in the top srcdir, etc, etc), so stop complaining.
1491 # no-dependencies: turns off auto dependency generation (just for now)
1492 # -Wall: turns on all automake warnings...
1493 # -Wno-portability: ...except this one, since GNU make is required.
1494 am__api_version
="1.8"
1495 # Find a good install program. We prefer a C program (faster),
1496 # so one script is as good as another. But avoid the broken or
1497 # incompatible versions:
1498 # SysV /etc/install, /usr/sbin/install
1499 # SunOS /usr/etc/install
1500 # IRIX /sbin/install
1502 # AmigaOS /C/install, which installs bootblocks on floppy discs
1503 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1504 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1505 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1506 # OS/2's system install, which has a completely different semantic
1507 # ./install, which can be erroneously created by make from ./install.sh.
1508 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1509 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1510 if test -z "$INSTALL"; then
1511 if test "${ac_cv_path_install+set}" = set; then
1512 echo $ECHO_N "(cached) $ECHO_C" >&6
1514 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1518 test -z "$as_dir" && as_dir
=.
1519 # Account for people who put trailing slashes in PATH elements.
1521 .
/ | .
// |
/cC
/* | \
1522 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
1523 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
1526 # OSF1 and SCO ODT 3.0 have their own names for install.
1527 # Don't use installbsd from OSF since it installs stuff as root
1529 for ac_prog
in ginstall scoinst
install; do
1530 for ac_exec_ext
in '' $ac_executable_extensions; do
1531 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1532 if test $ac_prog = install &&
1533 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
1534 # AIX install. It has an incompatible calling convention.
1536 elif test $ac_prog = install &&
1537 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
1538 # program-specific install script used by HP pwplus--don't use.
1541 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
1553 if test "${ac_cv_path_install+set}" = set; then
1554 INSTALL
=$ac_cv_path_install
1556 # As a last resort, use the slow shell script. We don't cache a
1557 # path for INSTALL within a source directory, because that will
1558 # break other packages using the cache if that directory is
1559 # removed, or if the path is relative.
1560 INSTALL
=$ac_install_sh
1563 echo "$as_me:$LINENO: result: $INSTALL" >&5
1564 echo "${ECHO_T}$INSTALL" >&6
1566 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1567 # It thinks the first close brace ends the variable substitution.
1568 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
1570 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
1572 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
1574 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1575 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1578 echo timestamp
> conftest.
file
1579 # Do `set' in a subshell so we don't clobber the current shell's
1580 # arguments. Must try -L first in case configure is actually a
1581 # symlink; some systems play weird games with the mod time of symlinks
1582 # (eg FreeBSD returns the mod time of the symlink's containing
1585 set X
`ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1586 if test "$*" = "X"; then
1588 set X
`ls -t $srcdir/configure conftest.file`
1591 if test "$*" != "X $srcdir/configure conftest.file" \
1592 && test "$*" != "X conftest.file $srcdir/configure"; then
1594 # If neither matched, then we have a broken ls. This can happen
1595 # if, for instance, CONFIG_SHELL is bash and it inherits a
1596 # broken ls alias from the environment. This has actually
1597 # happened. Such a system could not be considered "sane".
1598 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1599 alias in your environment" >&5
1600 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1601 alias in your environment" >&2;}
1602 { (exit 1); exit 1; }; }
1605 test "$2" = conftest.
file
1611 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1612 Check your system clock" >&5
1613 echo "$as_me: error: newly created file is older than distributed files!
1614 Check your system clock" >&2;}
1615 { (exit 1); exit 1; }; }
1617 echo "$as_me:$LINENO: result: yes" >&5
1618 echo "${ECHO_T}yes" >&6
1619 test "$program_prefix" != NONE
&&
1620 program_transform_name
="s,^,$program_prefix,;$program_transform_name"
1621 # Use a double $ so make ignores it.
1622 test "$program_suffix" != NONE
&&
1623 program_transform_name
="s,\$,$program_suffix,;$program_transform_name"
1624 # Double any \ or $. echo might interpret backslashes.
1625 # By default was `s,x,x', remove it if useless.
1626 cat <<\_ACEOF
>conftest.
sed
1627 s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//
1629 program_transform_name
=`echo $program_transform_name | sed -f conftest.sed`
1632 # expand $ac_aux_dir to an absolute path
1633 am_aux_dir
=`cd $ac_aux_dir && pwd`
1635 test x
"${MISSING+set}" = xset || MISSING
="\${SHELL} $am_aux_dir/missing"
1636 # Use eval to expand $SHELL
1637 if eval "$MISSING --run true"; then
1638 am_missing_run
="$MISSING --run "
1641 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1642 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1645 if mkdir
-p --version .
>/dev
/null
2>&1 && test ! -d .
/--version; then
1646 # Keeping the `.' argument allows $(mkdir_p) to be used without
1647 # argument. Indeed, we sometimes output rules like
1648 # $(mkdir_p) $(somedir)
1649 # where $(somedir) is conditionally defined.
1650 # (`test -n '$(somedir)' && $(mkdir_p) $(somedir)' is a more
1651 # expensive solution, as it forces Make to start a sub-shell.)
1652 mkdir_p
='mkdir -p -- .'
1654 # On NextStep and OpenStep, the `mkdir' command does not
1655 # recognize any option. It will interpret all options as
1656 # directories to create, and then abort because `.' already
1658 for d
in .
/-p .
/--version;
1660 test -d $d && rmdir $d
1662 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1663 if test -f "$ac_aux_dir/mkinstalldirs"; then
1664 mkdir_p
='$(mkinstalldirs)'
1666 mkdir_p
='$(install_sh) -d'
1670 for ac_prog
in gawk mawk nawk
awk
1672 # Extract the first word of "$ac_prog", so it can be a program name with args.
1673 set dummy
$ac_prog; ac_word
=$2
1674 echo "$as_me:$LINENO: checking for $ac_word" >&5
1675 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1676 if test "${ac_cv_prog_AWK+set}" = set; then
1677 echo $ECHO_N "(cached) $ECHO_C" >&6
1679 if test -n "$AWK"; then
1680 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
1682 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1686 test -z "$as_dir" && as_dir
=.
1687 for ac_exec_ext
in '' $ac_executable_extensions; do
1688 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1689 ac_cv_prog_AWK
="$ac_prog"
1690 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1699 if test -n "$AWK"; then
1700 echo "$as_me:$LINENO: result: $AWK" >&5
1701 echo "${ECHO_T}$AWK" >&6
1703 echo "$as_me:$LINENO: result: no" >&5
1704 echo "${ECHO_T}no" >&6
1707 test -n "$AWK" && break
1710 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1711 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1712 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
1713 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1714 echo $ECHO_N "(cached) $ECHO_C" >&6
1716 cat >conftest.
make <<\_ACEOF
1718 @
echo 'ac_maketemp="$(MAKE)"'
1720 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1721 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1722 if test -n "$ac_maketemp"; then
1723 eval ac_cv_prog_make_
${ac_make}_set
=yes
1725 eval ac_cv_prog_make_
${ac_make}_set
=no
1729 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1730 echo "$as_me:$LINENO: result: yes" >&5
1731 echo "${ECHO_T}yes" >&6
1734 echo "$as_me:$LINENO: result: no" >&5
1735 echo "${ECHO_T}no" >&6
1736 SET_MAKE
="MAKE=${MAKE-make}"
1739 rm -rf .tst
2>/dev
/null
1740 mkdir .tst
2>/dev
/null
1741 if test -d .tst
; then
1746 rmdir .tst
2>/dev
/null
1748 # test to see if srcdir already configured
1749 if test "`cd $srcdir && pwd`" != "`pwd`" &&
1750 test -f $srcdir/config.status
; then
1751 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1752 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1753 { (exit 1); exit 1; }; }
1756 # test whether we have cygpath
1757 if test -z "$CYGPATH_W"; then
1758 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
1759 CYGPATH_W
='cygpath -w'
1766 # Define the identity of the package.
1767 PACKAGE
='libgfortran'
1771 # Some tools Automake needs.
1773 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1776 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
1779 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1782 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
1785 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
1788 AMTAR
=${AMTAR-"${am_missing_run}tar"}
1790 install_sh
=${install_sh-"$am_aux_dir/install-sh"}
1792 # Installed binaries are usually stripped using `strip' when the user
1793 # run `make install-strip'. However `strip' might not be the right
1794 # tool to use in cross-compilation environments, therefore Automake
1795 # will honor the `STRIP' environment variable to overrule this program.
1796 if test "$cross_compiling" != no
; then
1797 if test -n "$ac_tool_prefix"; then
1798 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1799 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
1800 echo "$as_me:$LINENO: checking for $ac_word" >&5
1801 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1802 if test "${ac_cv_prog_STRIP+set}" = set; then
1803 echo $ECHO_N "(cached) $ECHO_C" >&6
1805 if test -n "$STRIP"; then
1806 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
1808 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1812 test -z "$as_dir" && as_dir
=.
1813 for ac_exec_ext
in '' $ac_executable_extensions; do
1814 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1815 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
1816 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1824 STRIP
=$ac_cv_prog_STRIP
1825 if test -n "$STRIP"; then
1826 echo "$as_me:$LINENO: result: $STRIP" >&5
1827 echo "${ECHO_T}$STRIP" >&6
1829 echo "$as_me:$LINENO: result: no" >&5
1830 echo "${ECHO_T}no" >&6
1834 if test -z "$ac_cv_prog_STRIP"; then
1836 # Extract the first word of "strip", so it can be a program name with args.
1837 set dummy strip
; ac_word
=$2
1838 echo "$as_me:$LINENO: checking for $ac_word" >&5
1839 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1840 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1841 echo $ECHO_N "(cached) $ECHO_C" >&6
1843 if test -n "$ac_ct_STRIP"; then
1844 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
1846 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1850 test -z "$as_dir" && as_dir
=.
1851 for ac_exec_ext
in '' $ac_executable_extensions; do
1852 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1853 ac_cv_prog_ac_ct_STRIP
="strip"
1854 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1860 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
1863 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
1864 if test -n "$ac_ct_STRIP"; then
1865 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1866 echo "${ECHO_T}$ac_ct_STRIP" >&6
1868 echo "$as_me:$LINENO: result: no" >&5
1869 echo "${ECHO_T}no" >&6
1874 STRIP
="$ac_cv_prog_STRIP"
1878 INSTALL_STRIP_PROGRAM
="\${SHELL} \$(install_sh) -c -s"
1880 # We need awk for the "check" target. The system "awk" is bad on
1886 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
1887 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
1888 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
1889 if test "${enable_maintainer_mode+set}" = set; then
1890 enableval
="$enable_maintainer_mode"
1891 USE_MAINTAINER_MODE
=$enableval
1893 USE_MAINTAINER_MODE
=no
1895 echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
1896 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
1899 if test $USE_MAINTAINER_MODE = yes; then
1900 MAINTAINER_MODE_TRUE
=
1901 MAINTAINER_MODE_FALSE
='#'
1903 MAINTAINER_MODE_TRUE
='#'
1904 MAINTAINER_MODE_FALSE
=
1907 MAINT
=$MAINTAINER_MODE_TRUE
1910 # Default to --enable-multilib
1911 # Check whether --enable-multilib or --disable-multilib was given.
1912 if test "${enable_multilib+set}" = set; then
1913 enableval
="$enable_multilib"
1914 case "$enableval" in
1915 yes) multilib
=yes ;;
1917 *) { { echo "$as_me:$LINENO: error: bad value $enableval for multilib option" >&5
1918 echo "$as_me: error: bad value $enableval for multilib option" >&2;}
1919 { (exit 1); exit 1; }; } ;;
1925 # We may get other options which we leave undocumented:
1926 # --with-target-subdir, --with-multisrctop, --with-multisubdir
1927 # See config-ml.in if you want the gory details.
1929 if test "$srcdir" = "."; then
1930 if test "$with_target_subdir" != "."; then
1931 multi_basedir
="$srcdir/$with_multisrctop../.."
1933 multi_basedir
="$srcdir/$with_multisrctop.."
1936 multi_basedir
="$srcdir/.."
1940 ac_config_commands
="$ac_config_commands default-1"
1943 # Handy for debugging:
1944 #AC_MSG_NOTICE($build / $host / $target / $host_alias / $target_alias); sleep 5
1946 # Are we being configured with some form of cross compiler?
1947 # NB: We don't actually need to know this just now, but when, say, a test
1948 # suite is included, we'll have to know.
1949 if test "$build" != "$host"; then
1950 LIBGFOR_IS_NATIVE
=false
1953 LIBGFOR_IS_NATIVE
=true
1956 # Process the option "--enable-version-specific-runtime-libs"
1957 gcc_version_trigger
=${srcdir}/..
/gcc
/version.c
1958 gcc_version_full
=`grep version_string ${gcc_version_trigger} | sed -e 's/.*\"\([^ \"]*\)[ \"].*/\1/'`
1959 gcc_version
=`echo ${gcc_version_full} | sed -e 's/\(^ *\) .*/\1/'`
1962 # Calculate toolexeclibdir
1963 # Also toolexecdir, though it's only used in toolexeclibdir
1964 case ${version_specific_libs} in
1966 # Need the gcc compiler version to know where to install libraries
1967 # and header files if --enable-version-specific-runtime-libs option
1969 toolexecdir
='$(libdir)/gcc/$(target_alias)'
1970 toolexeclibdir
='$(toolexecdir)/'${gcc_version}'$(MULTISUBDIR)'
1973 if test -n "$with_cross_host" &&
1974 test x
"$with_cross_host" != x
"no"; then
1975 # Install a library built with a cross compiler in tooldir, not libdir.
1976 toolexecdir
='$(exec_prefix)/$(target_alias)'
1977 toolexeclibdir
='$(toolexecdir)/lib'
1979 toolexecdir
='$(libdir)/gcc-lib/$(target_alias)'
1980 toolexeclibdir
='$(libdir)'
1982 multi_os_directory
=`$CC -print-multi-os-directory`
1983 case $multi_os_directory in
1984 .
) ;; # Avoid trailing /.
1985 *) toolexeclibdir
=$toolexeclibdir/$multi_os_directory ;;
1992 # Check the compiler.
1993 # The same as in boehm-gc and libstdc++. Have to borrow it from there.
1994 # We must force CC to /not/ be precious variables; otherwise
1995 # the wrong, non-multilib-adjusted value will be used in multilibs.
1996 # As a side effect, we have to subst CFLAGS ourselves.
2001 ac_cpp
='$CPP $CPPFLAGS'
2002 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2003 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2004 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2005 if test -n "$ac_tool_prefix"; then
2006 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2007 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2008 echo "$as_me:$LINENO: checking for $ac_word" >&5
2009 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2010 if test "${ac_cv_prog_CC+set}" = set; then
2011 echo $ECHO_N "(cached) $ECHO_C" >&6
2013 if test -n "$CC"; then
2014 ac_cv_prog_CC
="$CC" # Let the user override the test.
2016 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2020 test -z "$as_dir" && as_dir
=.
2021 for ac_exec_ext
in '' $ac_executable_extensions; do
2022 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2023 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2024 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2033 if test -n "$CC"; then
2034 echo "$as_me:$LINENO: result: $CC" >&5
2035 echo "${ECHO_T}$CC" >&6
2037 echo "$as_me:$LINENO: result: no" >&5
2038 echo "${ECHO_T}no" >&6
2042 if test -z "$ac_cv_prog_CC"; then
2044 # Extract the first word of "gcc", so it can be a program name with args.
2045 set dummy gcc
; ac_word
=$2
2046 echo "$as_me:$LINENO: checking for $ac_word" >&5
2047 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2048 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2049 echo $ECHO_N "(cached) $ECHO_C" >&6
2051 if test -n "$ac_ct_CC"; then
2052 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2054 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2058 test -z "$as_dir" && as_dir
=.
2059 for ac_exec_ext
in '' $ac_executable_extensions; do
2060 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2061 ac_cv_prog_ac_ct_CC
="gcc"
2062 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2070 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2071 if test -n "$ac_ct_CC"; then
2072 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2073 echo "${ECHO_T}$ac_ct_CC" >&6
2075 echo "$as_me:$LINENO: result: no" >&5
2076 echo "${ECHO_T}no" >&6
2084 if test -z "$CC"; then
2085 if test -n "$ac_tool_prefix"; then
2086 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2087 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2088 echo "$as_me:$LINENO: checking for $ac_word" >&5
2089 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2090 if test "${ac_cv_prog_CC+set}" = set; then
2091 echo $ECHO_N "(cached) $ECHO_C" >&6
2093 if test -n "$CC"; then
2094 ac_cv_prog_CC
="$CC" # Let the user override the test.
2096 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2100 test -z "$as_dir" && as_dir
=.
2101 for ac_exec_ext
in '' $ac_executable_extensions; do
2102 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2103 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2104 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2113 if test -n "$CC"; then
2114 echo "$as_me:$LINENO: result: $CC" >&5
2115 echo "${ECHO_T}$CC" >&6
2117 echo "$as_me:$LINENO: result: no" >&5
2118 echo "${ECHO_T}no" >&6
2122 if test -z "$ac_cv_prog_CC"; then
2124 # Extract the first word of "cc", so it can be a program name with args.
2125 set dummy cc
; ac_word
=$2
2126 echo "$as_me:$LINENO: checking for $ac_word" >&5
2127 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2128 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2129 echo $ECHO_N "(cached) $ECHO_C" >&6
2131 if test -n "$ac_ct_CC"; then
2132 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2134 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2138 test -z "$as_dir" && as_dir
=.
2139 for ac_exec_ext
in '' $ac_executable_extensions; do
2140 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2141 ac_cv_prog_ac_ct_CC
="cc"
2142 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2150 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2151 if test -n "$ac_ct_CC"; then
2152 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2153 echo "${ECHO_T}$ac_ct_CC" >&6
2155 echo "$as_me:$LINENO: result: no" >&5
2156 echo "${ECHO_T}no" >&6
2165 if test -z "$CC"; then
2166 # Extract the first word of "cc", so it can be a program name with args.
2167 set dummy cc
; ac_word
=$2
2168 echo "$as_me:$LINENO: checking for $ac_word" >&5
2169 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2170 if test "${ac_cv_prog_CC+set}" = set; then
2171 echo $ECHO_N "(cached) $ECHO_C" >&6
2173 if test -n "$CC"; then
2174 ac_cv_prog_CC
="$CC" # Let the user override the test.
2177 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2181 test -z "$as_dir" && as_dir
=.
2182 for ac_exec_ext
in '' $ac_executable_extensions; do
2183 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2184 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2185 ac_prog_rejected
=yes
2189 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2195 if test $ac_prog_rejected = yes; then
2196 # We found a bogon in the path, so make sure we never use it.
2197 set dummy
$ac_cv_prog_CC
2199 if test $# != 0; then
2200 # We chose a different compiler from the bogus one.
2201 # However, it has the same basename, so the bogon will be chosen
2202 # first if we set CC to just the basename; use the full file name.
2204 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2210 if test -n "$CC"; then
2211 echo "$as_me:$LINENO: result: $CC" >&5
2212 echo "${ECHO_T}$CC" >&6
2214 echo "$as_me:$LINENO: result: no" >&5
2215 echo "${ECHO_T}no" >&6
2219 if test -z "$CC"; then
2220 if test -n "$ac_tool_prefix"; then
2223 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2224 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2225 echo "$as_me:$LINENO: checking for $ac_word" >&5
2226 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2227 if test "${ac_cv_prog_CC+set}" = set; then
2228 echo $ECHO_N "(cached) $ECHO_C" >&6
2230 if test -n "$CC"; then
2231 ac_cv_prog_CC
="$CC" # Let the user override the test.
2233 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2237 test -z "$as_dir" && as_dir
=.
2238 for ac_exec_ext
in '' $ac_executable_extensions; do
2239 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2240 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2241 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2250 if test -n "$CC"; then
2251 echo "$as_me:$LINENO: result: $CC" >&5
2252 echo "${ECHO_T}$CC" >&6
2254 echo "$as_me:$LINENO: result: no" >&5
2255 echo "${ECHO_T}no" >&6
2258 test -n "$CC" && break
2261 if test -z "$CC"; then
2265 # Extract the first word of "$ac_prog", so it can be a program name with args.
2266 set dummy
$ac_prog; ac_word
=$2
2267 echo "$as_me:$LINENO: checking for $ac_word" >&5
2268 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2269 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2270 echo $ECHO_N "(cached) $ECHO_C" >&6
2272 if test -n "$ac_ct_CC"; then
2273 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2275 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2279 test -z "$as_dir" && as_dir
=.
2280 for ac_exec_ext
in '' $ac_executable_extensions; do
2281 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2282 ac_cv_prog_ac_ct_CC
="$ac_prog"
2283 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2291 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2292 if test -n "$ac_ct_CC"; then
2293 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2294 echo "${ECHO_T}$ac_ct_CC" >&6
2296 echo "$as_me:$LINENO: result: no" >&5
2297 echo "${ECHO_T}no" >&6
2300 test -n "$ac_ct_CC" && break
2309 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2310 See \`config.log' for more details." >&5
2311 echo "$as_me: error: no acceptable C compiler found in \$PATH
2312 See \`config.log' for more details." >&2;}
2313 { (exit 1); exit 1; }; }
2315 # Provide some information about the compiler.
2316 echo "$as_me:$LINENO:" \
2317 "checking for C compiler version" >&5
2318 ac_compiler
=`set X $ac_compile; echo $2`
2319 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2320 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
2322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2323 (exit $ac_status); }
2324 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2325 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
2327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2328 (exit $ac_status); }
2329 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2330 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
2332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2333 (exit $ac_status); }
2335 cat >conftest.
$ac_ext <<_ACEOF
2338 cat confdefs.h
>>conftest.
$ac_ext
2339 cat >>conftest.
$ac_ext <<_ACEOF
2340 /* end confdefs.h. */
2350 ac_clean_files_save
=$ac_clean_files
2351 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
2352 # Try to create an executable without -o first, disregard a.out.
2353 # It will help us diagnose broken compilers, and finding out an intuition
2355 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2356 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2357 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2358 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2359 (eval $ac_link_default) 2>&5
2361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2362 (exit $ac_status); }; then
2363 # Find the output, starting from the most likely. This scheme is
2364 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2367 # Be careful to initialize this variable, since it used to be cached.
2368 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2370 # b.out is created by i960 compilers.
2371 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
2373 test -f "$ac_file" ||
continue
2375 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
)
2378 # This is the source file.
2381 # We found the default executable, but exeext='' is most
2385 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2386 # FIXME: I believe we export ac_cv_exeext for Libtool,
2387 # but it would be cool to find out if it's true. Does anybody
2388 # maintain Libtool? --akim.
2396 echo "$as_me: failed program was:" >&5
2397 sed 's/^/| /' conftest.
$ac_ext >&5
2399 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2400 See \`config.log' for more details." >&5
2401 echo "$as_me: error: C compiler cannot create executables
2402 See \`config.log' for more details." >&2;}
2403 { (exit 77); exit 77; }; }
2406 ac_exeext
=$ac_cv_exeext
2407 echo "$as_me:$LINENO: result: $ac_file" >&5
2408 echo "${ECHO_T}$ac_file" >&6
2410 # Check the compiler produces executables we can run. If not, either
2411 # the compiler is broken, or we cross compile.
2412 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2413 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2414 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2415 # If not cross compiling, check that we can run a simple program.
2416 if test "$cross_compiling" != yes; then
2417 if { ac_try
='./$ac_file'
2418 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2422 (exit $ac_status); }; }; then
2425 if test "$cross_compiling" = maybe
; then
2428 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2429 If you meant to cross compile, use \`--host'.
2430 See \`config.log' for more details." >&5
2431 echo "$as_me: error: cannot run C compiled programs.
2432 If you meant to cross compile, use \`--host'.
2433 See \`config.log' for more details." >&2;}
2434 { (exit 1); exit 1; }; }
2438 echo "$as_me:$LINENO: result: yes" >&5
2439 echo "${ECHO_T}yes" >&6
2441 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
2442 ac_clean_files
=$ac_clean_files_save
2443 # Check the compiler produces executables we can run. If not, either
2444 # the compiler is broken, or we cross compile.
2445 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2446 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2447 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2448 echo "${ECHO_T}$cross_compiling" >&6
2450 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2451 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2452 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2453 (eval $ac_link) 2>&5
2455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2456 (exit $ac_status); }; then
2457 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2458 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2459 # work properly (i.e., refer to `conftest.exe'), while it won't with
2461 for ac_file
in conftest.exe conftest conftest.
*; do
2462 test -f "$ac_file" ||
continue
2464 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
) ;;
2465 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2472 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2473 See \`config.log' for more details." >&5
2474 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2475 See \`config.log' for more details." >&2;}
2476 { (exit 1); exit 1; }; }
2479 rm -f conftest
$ac_cv_exeext
2480 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2481 echo "${ECHO_T}$ac_cv_exeext" >&6
2483 rm -f conftest.
$ac_ext
2484 EXEEXT
=$ac_cv_exeext
2486 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2487 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2488 if test "${ac_cv_objext+set}" = set; then
2489 echo $ECHO_N "(cached) $ECHO_C" >&6
2491 cat >conftest.
$ac_ext <<_ACEOF
2494 cat confdefs.h
>>conftest.
$ac_ext
2495 cat >>conftest.
$ac_ext <<_ACEOF
2496 /* end confdefs.h. */
2506 rm -f conftest.o conftest.obj
2507 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2508 (eval $ac_compile) 2>&5
2510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2511 (exit $ac_status); }; then
2512 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2514 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg
) ;;
2515 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
2520 echo "$as_me: failed program was:" >&5
2521 sed 's/^/| /' conftest.
$ac_ext >&5
2523 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2524 See \`config.log' for more details." >&5
2525 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2526 See \`config.log' for more details." >&2;}
2527 { (exit 1); exit 1; }; }
2530 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
2532 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2533 echo "${ECHO_T}$ac_cv_objext" >&6
2534 OBJEXT
=$ac_cv_objext
2536 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2537 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2538 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2539 echo $ECHO_N "(cached) $ECHO_C" >&6
2541 cat >conftest.
$ac_ext <<_ACEOF
2544 cat confdefs.h
>>conftest.
$ac_ext
2545 cat >>conftest.
$ac_ext <<_ACEOF
2546 /* end confdefs.h. */
2559 rm -f conftest.
$ac_objext
2560 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2561 (eval $ac_compile) 2>conftest.er1
2563 grep -v '^ *+' conftest.er1
>conftest.err
2565 cat conftest.err
>&5
2566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2567 (exit $ac_status); } &&
2568 { ac_try
='test -z "$ac_c_werror_flag"
2569 || test ! -s conftest.err'
2570 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2574 (exit $ac_status); }; } &&
2575 { ac_try
='test -s conftest.$ac_objext'
2576 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2580 (exit $ac_status); }; }; then
2583 echo "$as_me: failed program was:" >&5
2584 sed 's/^/| /' conftest.
$ac_ext >&5
2588 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2589 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
2592 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2593 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2594 GCC
=`test $ac_compiler_gnu = yes && echo yes`
2595 ac_test_CFLAGS
=${CFLAGS+set}
2596 ac_save_CFLAGS
=$CFLAGS
2598 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2599 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2600 if test "${ac_cv_prog_cc_g+set}" = set; then
2601 echo $ECHO_N "(cached) $ECHO_C" >&6
2603 cat >conftest.
$ac_ext <<_ACEOF
2606 cat confdefs.h
>>conftest.
$ac_ext
2607 cat >>conftest.
$ac_ext <<_ACEOF
2608 /* end confdefs.h. */
2618 rm -f conftest.
$ac_objext
2619 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2620 (eval $ac_compile) 2>conftest.er1
2622 grep -v '^ *+' conftest.er1
>conftest.err
2624 cat conftest.err
>&5
2625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2626 (exit $ac_status); } &&
2627 { ac_try
='test -z "$ac_c_werror_flag"
2628 || test ! -s conftest.err'
2629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2633 (exit $ac_status); }; } &&
2634 { ac_try
='test -s conftest.$ac_objext'
2635 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2639 (exit $ac_status); }; }; then
2642 echo "$as_me: failed program was:" >&5
2643 sed 's/^/| /' conftest.
$ac_ext >&5
2647 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2649 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2650 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2651 if test "$ac_test_CFLAGS" = set; then
2652 CFLAGS
=$ac_save_CFLAGS
2653 elif test $ac_cv_prog_cc_g = yes; then
2654 if test "$GCC" = yes; then
2660 if test "$GCC" = yes; then
2666 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2667 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2668 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2669 echo $ECHO_N "(cached) $ECHO_C" >&6
2671 ac_cv_prog_cc_stdc
=no
2673 cat >conftest.
$ac_ext <<_ACEOF
2676 cat confdefs.h
>>conftest.
$ac_ext
2677 cat >>conftest.
$ac_ext <<_ACEOF
2678 /* end confdefs.h. */
2681 #include <sys/types.h>
2682 #include <sys/stat.h>
2683 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2684 struct buf { int x; };
2685 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2686 static char *e (p, i)
2692 static char *f (char * (*g) (char **, int), char **p, ...)
2697 s = g (p, va_arg (v,int));
2702 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2703 function prototypes and stuff, but not '\xHH' hex character constants.
2704 These don't provoke an error unfortunately, instead are silently treated
2705 as 'x'. The following induces an error, until -std1 is added to get
2706 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2707 array size at least. It's necessary to write '\x00'==0 to get something
2708 that's true only with -std1. */
2709 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2711 int test (int i, double x);
2712 struct s1 {int (*f) (int a);};
2713 struct s2 {int (*f) (double a);};
2714 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2720 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2725 # Don't try gcc -ansi; that turns off useful extensions and
2726 # breaks some systems' header files.
2727 # AIX -qlanglvl=ansi
2728 # Ultrix and OSF/1 -std1
2729 # HP-UX 10.20 and later -Ae
2730 # HP-UX older versions -Aa -D_HPUX_SOURCE
2731 # SVR4 -Xc -D__EXTENSIONS__
2732 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2734 CC
="$ac_save_CC $ac_arg"
2735 rm -f conftest.
$ac_objext
2736 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2737 (eval $ac_compile) 2>conftest.er1
2739 grep -v '^ *+' conftest.er1
>conftest.err
2741 cat conftest.err
>&5
2742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2743 (exit $ac_status); } &&
2744 { ac_try
='test -z "$ac_c_werror_flag"
2745 || test ! -s conftest.err'
2746 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2750 (exit $ac_status); }; } &&
2751 { ac_try
='test -s conftest.$ac_objext'
2752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2756 (exit $ac_status); }; }; then
2757 ac_cv_prog_cc_stdc
=$ac_arg
2760 echo "$as_me: failed program was:" >&5
2761 sed 's/^/| /' conftest.
$ac_ext >&5
2764 rm -f conftest.err conftest.
$ac_objext
2766 rm -f conftest.
$ac_ext conftest.
$ac_objext
2771 case "x$ac_cv_prog_cc_stdc" in
2773 echo "$as_me:$LINENO: result: none needed" >&5
2774 echo "${ECHO_T}none needed" >&6 ;;
2776 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2777 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2778 CC
="$CC $ac_cv_prog_cc_stdc" ;;
2781 # Some people use a C++ compiler to compile C. Since we use `exit',
2782 # in C++ we need to declare it. In case someone uses the same compiler
2783 # for both compiling C and C++ we need to have the C++ compiler decide
2784 # the declaration of exit, since it's the most demanding environment.
2785 cat >conftest.
$ac_ext <<_ACEOF
2790 rm -f conftest.
$ac_objext
2791 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2792 (eval $ac_compile) 2>conftest.er1
2794 grep -v '^ *+' conftest.er1
>conftest.err
2796 cat conftest.err
>&5
2797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2798 (exit $ac_status); } &&
2799 { ac_try
='test -z "$ac_c_werror_flag"
2800 || test ! -s conftest.err'
2801 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2805 (exit $ac_status); }; } &&
2806 { ac_try
='test -s conftest.$ac_objext'
2807 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2811 (exit $ac_status); }; }; then
2812 for ac_declaration
in \
2814 'extern "C" void std::exit (int) throw (); using std::exit;' \
2815 'extern "C" void std::exit (int); using std::exit;' \
2816 'extern "C" void exit (int) throw ();' \
2817 'extern "C" void exit (int);' \
2820 cat >conftest.
$ac_ext <<_ACEOF
2823 cat confdefs.h
>>conftest.
$ac_ext
2824 cat >>conftest.
$ac_ext <<_ACEOF
2825 /* end confdefs.h. */
2836 rm -f conftest.
$ac_objext
2837 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2838 (eval $ac_compile) 2>conftest.er1
2840 grep -v '^ *+' conftest.er1
>conftest.err
2842 cat conftest.err
>&5
2843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2844 (exit $ac_status); } &&
2845 { ac_try
='test -z "$ac_c_werror_flag"
2846 || test ! -s conftest.err'
2847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2851 (exit $ac_status); }; } &&
2852 { ac_try
='test -s conftest.$ac_objext'
2853 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2857 (exit $ac_status); }; }; then
2860 echo "$as_me: failed program was:" >&5
2861 sed 's/^/| /' conftest.
$ac_ext >&5
2865 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2866 cat >conftest.
$ac_ext <<_ACEOF
2869 cat confdefs.h
>>conftest.
$ac_ext
2870 cat >>conftest.
$ac_ext <<_ACEOF
2871 /* end confdefs.h. */
2881 rm -f conftest.
$ac_objext
2882 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2883 (eval $ac_compile) 2>conftest.er1
2885 grep -v '^ *+' conftest.er1
>conftest.err
2887 cat conftest.err
>&5
2888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2889 (exit $ac_status); } &&
2890 { ac_try
='test -z "$ac_c_werror_flag"
2891 || test ! -s conftest.err'
2892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2896 (exit $ac_status); }; } &&
2897 { ac_try
='test -s conftest.$ac_objext'
2898 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2902 (exit $ac_status); }; }; then
2905 echo "$as_me: failed program was:" >&5
2906 sed 's/^/| /' conftest.
$ac_ext >&5
2909 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2912 if test -n "$ac_declaration"; then
2913 echo '#ifdef __cplusplus' >>confdefs.h
2914 echo $ac_declaration >>confdefs.h
2915 echo '#endif' >>confdefs.h
2919 echo "$as_me: failed program was:" >&5
2920 sed 's/^/| /' conftest.
$ac_ext >&5
2923 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2925 ac_cpp
='$CPP $CPPFLAGS'
2926 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2927 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2928 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2934 # Add -Wall if we are using GCC.
2935 if test "x$GCC" = "xyes"; then
2936 CFLAGS
="$CFLAGS -Wall"
2939 # Find other programs we need.
2940 if test -n "$ac_tool_prefix"; then
2941 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
2942 set dummy
${ac_tool_prefix}as
; ac_word
=$2
2943 echo "$as_me:$LINENO: checking for $ac_word" >&5
2944 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2945 if test "${ac_cv_prog_AS+set}" = set; then
2946 echo $ECHO_N "(cached) $ECHO_C" >&6
2948 if test -n "$AS"; then
2949 ac_cv_prog_AS
="$AS" # Let the user override the test.
2951 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2955 test -z "$as_dir" && as_dir
=.
2956 for ac_exec_ext
in '' $ac_executable_extensions; do
2957 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2958 ac_cv_prog_AS
="${ac_tool_prefix}as"
2959 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2968 if test -n "$AS"; then
2969 echo "$as_me:$LINENO: result: $AS" >&5
2970 echo "${ECHO_T}$AS" >&6
2972 echo "$as_me:$LINENO: result: no" >&5
2973 echo "${ECHO_T}no" >&6
2977 if test -z "$ac_cv_prog_AS"; then
2979 # Extract the first word of "as", so it can be a program name with args.
2980 set dummy as
; ac_word
=$2
2981 echo "$as_me:$LINENO: checking for $ac_word" >&5
2982 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2983 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
2984 echo $ECHO_N "(cached) $ECHO_C" >&6
2986 if test -n "$ac_ct_AS"; then
2987 ac_cv_prog_ac_ct_AS
="$ac_ct_AS" # Let the user override the test.
2989 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2993 test -z "$as_dir" && as_dir
=.
2994 for ac_exec_ext
in '' $ac_executable_extensions; do
2995 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2996 ac_cv_prog_ac_ct_AS
="as"
2997 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3005 ac_ct_AS
=$ac_cv_prog_ac_ct_AS
3006 if test -n "$ac_ct_AS"; then
3007 echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
3008 echo "${ECHO_T}$ac_ct_AS" >&6
3010 echo "$as_me:$LINENO: result: no" >&5
3011 echo "${ECHO_T}no" >&6
3019 if test -n "$ac_tool_prefix"; then
3020 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
3021 set dummy
${ac_tool_prefix}ar; ac_word
=$2
3022 echo "$as_me:$LINENO: checking for $ac_word" >&5
3023 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3024 if test "${ac_cv_prog_AR+set}" = set; then
3025 echo $ECHO_N "(cached) $ECHO_C" >&6
3027 if test -n "$AR"; then
3028 ac_cv_prog_AR
="$AR" # Let the user override the test.
3030 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3034 test -z "$as_dir" && as_dir
=.
3035 for ac_exec_ext
in '' $ac_executable_extensions; do
3036 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3037 ac_cv_prog_AR
="${ac_tool_prefix}ar"
3038 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3047 if test -n "$AR"; then
3048 echo "$as_me:$LINENO: result: $AR" >&5
3049 echo "${ECHO_T}$AR" >&6
3051 echo "$as_me:$LINENO: result: no" >&5
3052 echo "${ECHO_T}no" >&6
3056 if test -z "$ac_cv_prog_AR"; then
3058 # Extract the first word of "ar", so it can be a program name with args.
3059 set dummy
ar; ac_word
=$2
3060 echo "$as_me:$LINENO: checking for $ac_word" >&5
3061 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3062 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
3063 echo $ECHO_N "(cached) $ECHO_C" >&6
3065 if test -n "$ac_ct_AR"; then
3066 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
3068 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3072 test -z "$as_dir" && as_dir
=.
3073 for ac_exec_ext
in '' $ac_executable_extensions; do
3074 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3075 ac_cv_prog_ac_ct_AR
="ar"
3076 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3084 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
3085 if test -n "$ac_ct_AR"; then
3086 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
3087 echo "${ECHO_T}$ac_ct_AR" >&6
3089 echo "$as_me:$LINENO: result: no" >&5
3090 echo "${ECHO_T}no" >&6
3098 if test -n "$ac_tool_prefix"; then
3099 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3100 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
3101 echo "$as_me:$LINENO: checking for $ac_word" >&5
3102 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3103 if test "${ac_cv_prog_RANLIB+set}" = set; then
3104 echo $ECHO_N "(cached) $ECHO_C" >&6
3106 if test -n "$RANLIB"; then
3107 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
3109 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3113 test -z "$as_dir" && as_dir
=.
3114 for ac_exec_ext
in '' $ac_executable_extensions; do
3115 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3116 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
3117 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3125 RANLIB
=$ac_cv_prog_RANLIB
3126 if test -n "$RANLIB"; then
3127 echo "$as_me:$LINENO: result: $RANLIB" >&5
3128 echo "${ECHO_T}$RANLIB" >&6
3130 echo "$as_me:$LINENO: result: no" >&5
3131 echo "${ECHO_T}no" >&6
3135 if test -z "$ac_cv_prog_RANLIB"; then
3136 ac_ct_RANLIB
=$RANLIB
3137 # Extract the first word of "ranlib", so it can be a program name with args.
3138 set dummy ranlib
; ac_word
=$2
3139 echo "$as_me:$LINENO: checking for $ac_word" >&5
3140 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3141 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3142 echo $ECHO_N "(cached) $ECHO_C" >&6
3144 if test -n "$ac_ct_RANLIB"; then
3145 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
3147 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3151 test -z "$as_dir" && as_dir
=.
3152 for ac_exec_ext
in '' $ac_executable_extensions; do
3153 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3154 ac_cv_prog_ac_ct_RANLIB
="ranlib"
3155 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3161 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
="ranlib-not-found-in-path-error"
3164 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
3165 if test -n "$ac_ct_RANLIB"; then
3166 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3167 echo "${ECHO_T}$ac_ct_RANLIB" >&6
3169 echo "$as_me:$LINENO: result: no" >&5
3170 echo "${ECHO_T}no" >&6
3173 RANLIB
=$ac_ct_RANLIB
3175 RANLIB
="$ac_cv_prog_RANLIB"
3178 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3179 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
3180 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
3181 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
3182 echo $ECHO_N "(cached) $ECHO_C" >&6
3184 cat >conftest.
make <<\_ACEOF
3186 @
echo 'ac_maketemp="$(MAKE)"'
3188 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3189 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
3190 if test -n "$ac_maketemp"; then
3191 eval ac_cv_prog_make_
${ac_make}_set
=yes
3193 eval ac_cv_prog_make_
${ac_make}_set
=no
3197 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
3198 echo "$as_me:$LINENO: result: yes" >&5
3199 echo "${ECHO_T}yes" >&6
3202 echo "$as_me:$LINENO: result: no" >&5
3203 echo "${ECHO_T}no" >&6
3204 SET_MAKE
="MAKE=${MAKE-make}"
3207 # Find a good install program. We prefer a C program (faster),
3208 # so one script is as good as another. But avoid the broken or
3209 # incompatible versions:
3210 # SysV /etc/install, /usr/sbin/install
3211 # SunOS /usr/etc/install
3212 # IRIX /sbin/install
3214 # AmigaOS /C/install, which installs bootblocks on floppy discs
3215 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3216 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3217 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3218 # OS/2's system install, which has a completely different semantic
3219 # ./install, which can be erroneously created by make from ./install.sh.
3220 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
3221 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
3222 if test -z "$INSTALL"; then
3223 if test "${ac_cv_path_install+set}" = set; then
3224 echo $ECHO_N "(cached) $ECHO_C" >&6
3226 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3230 test -z "$as_dir" && as_dir
=.
3231 # Account for people who put trailing slashes in PATH elements.
3233 .
/ | .
// |
/cC
/* | \
3234 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
3235 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
3238 # OSF1 and SCO ODT 3.0 have their own names for install.
3239 # Don't use installbsd from OSF since it installs stuff as root
3241 for ac_prog
in ginstall scoinst
install; do
3242 for ac_exec_ext
in '' $ac_executable_extensions; do
3243 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
3244 if test $ac_prog = install &&
3245 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3246 # AIX install. It has an incompatible calling convention.
3248 elif test $ac_prog = install &&
3249 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3250 # program-specific install script used by HP pwplus--don't use.
3253 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
3265 if test "${ac_cv_path_install+set}" = set; then
3266 INSTALL
=$ac_cv_path_install
3268 # As a last resort, use the slow shell script. We don't cache a
3269 # path for INSTALL within a source directory, because that will
3270 # break other packages using the cache if that directory is
3271 # removed, or if the path is relative.
3272 INSTALL
=$ac_install_sh
3275 echo "$as_me:$LINENO: result: $INSTALL" >&5
3276 echo "${ECHO_T}$INSTALL" >&6
3278 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3279 # It thinks the first close brace ends the variable substitution.
3280 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
3282 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
3284 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
3288 #AC_MSG_NOTICE([====== Starting libtool configuration])
3290 # Check whether --enable-shared or --disable-shared was given.
3291 if test "${enable_shared+set}" = set; then
3292 enableval
="$enable_shared"
3293 p
=${PACKAGE-default}
3295 yes) enable_shared
=yes ;;
3296 no
) enable_shared
=no
;;
3299 # Look at the argument we got. We use all the common list separators.
3300 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:,"
3301 for pkg
in $enableval; do
3302 if test "X$pkg" = "X$p"; then
3312 # Check whether --enable-static or --disable-static was given.
3313 if test "${enable_static+set}" = set; then
3314 enableval
="$enable_static"
3315 p
=${PACKAGE-default}
3317 yes) enable_static
=yes ;;
3318 no
) enable_static
=no
;;
3321 # Look at the argument we got. We use all the common list separators.
3322 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:,"
3323 for pkg
in $enableval; do
3324 if test "X$pkg" = "X$p"; then
3334 # Check whether --enable-fast-install or --disable-fast-install was given.
3335 if test "${enable_fast_install+set}" = set; then
3336 enableval
="$enable_fast_install"
3337 p
=${PACKAGE-default}
3339 yes) enable_fast_install
=yes ;;
3340 no
) enable_fast_install
=no
;;
3342 enable_fast_install
=no
3343 # Look at the argument we got. We use all the common list separators.
3344 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:,"
3345 for pkg
in $enableval; do
3346 if test "X$pkg" = "X$p"; then
3347 enable_fast_install
=yes
3354 enable_fast_install
=yes
3357 # Check whether --with-gnu-ld or --without-gnu-ld was given.
3358 if test "${with_gnu_ld+set}" = set; then
3359 withval
="$with_gnu_ld"
3360 test "$withval" = no || with_gnu_ld
=yes
3365 if test "$GCC" = yes; then
3366 # Check if gcc -print-prog-name=ld gives a path.
3367 echo "$as_me:$LINENO: checking for ld used by GCC" >&5
3368 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
3371 # gcc leaves a trailing carriage return which upsets mingw
3372 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
3374 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
3377 # Accept absolute paths.
3378 [\\/]* |
[A-Za-z
]:[\\/]*)
3379 re_direlt
='/[^/][^/]*/\.\./'
3380 # Canonicalize the path of ld
3381 ac_prog
=`echo $ac_prog| sed 's%\\\\%/%g'`
3382 while echo $ac_prog |
grep "$re_direlt" > /dev
/null
2>&1; do
3383 ac_prog
=`echo $ac_prog| sed "s%$re_direlt%/%"`
3385 test -z "$LD" && LD
="$ac_prog"
3388 # If it fails, then pretend we aren't using GCC.
3392 # If it is relative, then search for the first ld in PATH.
3396 elif test "$with_gnu_ld" = yes; then
3397 echo "$as_me:$LINENO: checking for GNU ld" >&5
3398 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
3400 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
3401 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
3403 if test "${lt_cv_path_LD+set}" = set; then
3404 echo $ECHO_N "(cached) $ECHO_C" >&6
3406 if test -z "$LD"; then
3407 IFS
="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
3408 for ac_dir
in $PATH; do
3409 test -z "$ac_dir" && ac_dir
=.
3410 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
3411 lt_cv_path_LD
="$ac_dir/$ac_prog"
3412 # Check to see if the program is GNU ld. I'd rather use --version,
3413 # but apparently some GNU ld's only accept -v.
3414 # Break only if it was the GNU/non-GNU ld that we prefer.
3415 if "$lt_cv_path_LD" -v 2>&1 < /dev
/null |
egrep '(GNU|with BFD)' > /dev
/null
; then
3416 test "$with_gnu_ld" != no
&& break
3418 test "$with_gnu_ld" != yes && break
3424 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
3429 if test -n "$LD"; then
3430 echo "$as_me:$LINENO: result: $LD" >&5
3431 echo "${ECHO_T}$LD" >&6
3433 echo "$as_me:$LINENO: result: no" >&5
3434 echo "${ECHO_T}no" >&6
3436 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
3437 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
3438 { (exit 1); exit 1; }; }
3439 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
3440 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
3441 if test "${lt_cv_prog_gnu_ld+set}" = set; then
3442 echo $ECHO_N "(cached) $ECHO_C" >&6
3444 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
3445 if $LD -v 2>&1 </dev
/null |
egrep '(GNU|with BFD)' 1>&5; then
3446 lt_cv_prog_gnu_ld
=yes
3448 lt_cv_prog_gnu_ld
=no
3451 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
3452 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
3453 with_gnu_ld
=$lt_cv_prog_gnu_ld
3456 echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
3457 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
3458 if test "${lt_cv_ld_reload_flag+set}" = set; then
3459 echo $ECHO_N "(cached) $ECHO_C" >&6
3461 lt_cv_ld_reload_flag
='-r'
3463 echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
3464 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
3465 reload_flag
=$lt_cv_ld_reload_flag
3466 test -n "$reload_flag" && reload_flag
=" $reload_flag"
3468 echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
3469 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
3470 if test "${lt_cv_path_NM+set}" = set; then
3471 echo $ECHO_N "(cached) $ECHO_C" >&6
3473 if test -n "$NM"; then
3474 # Let the user override the test.
3477 IFS
="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
3478 for ac_dir
in $PATH /usr
/ccs
/bin
/usr
/ucb
/bin
; do
3479 test -z "$ac_dir" && ac_dir
=.
3480 tmp_nm
=$ac_dir/${ac_tool_prefix}nm
3481 if test -f $tmp_nm ||
test -f $tmp_nm$ac_exeext ; then
3482 # Check to see if the nm accepts a BSD-compat flag.
3483 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
3484 # nm: unknown option "B" ignored
3485 # Tru64's nm complains that /dev/null is an invalid object file
3486 if ($tmp_nm -B /dev
/null
2>&1 |
sed '1q'; exit 0) |
egrep '(/dev/null|Invalid file or object type)' >/dev
/null
; then
3487 lt_cv_path_NM
="$tmp_nm -B"
3489 elif ($tmp_nm -p /dev
/null
2>&1 |
sed '1q'; exit 0) |
egrep /dev
/null
>/dev
/null
; then
3490 lt_cv_path_NM
="$tmp_nm -p"
3493 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
3494 continue # so that we can try to find one that supports BSD flags
3499 test -z "$lt_cv_path_NM" && lt_cv_path_NM
=nm
3504 echo "$as_me:$LINENO: result: $NM" >&5
3505 echo "${ECHO_T}$NM" >&6
3507 echo "$as_me:$LINENO: checking whether ln -s works" >&5
3508 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
3510 if test "$LN_S" = "ln -s"; then
3511 echo "$as_me:$LINENO: result: yes" >&5
3512 echo "${ECHO_T}yes" >&6
3514 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
3515 echo "${ECHO_T}no, using $LN_S" >&6
3518 echo "$as_me:$LINENO: checking how to recognise dependant libraries" >&5
3519 echo $ECHO_N "checking how to recognise dependant libraries... $ECHO_C" >&6
3520 if test "${lt_cv_deplibs_check_method+set}" = set; then
3521 echo $ECHO_N "(cached) $ECHO_C" >&6
3523 lt_cv_file_magic_cmd
='$MAGIC_CMD'
3524 lt_cv_file_magic_test_file
=
3525 lt_cv_deplibs_check_method
='unknown'
3526 # Need to set the preceding variable on all platforms that support
3527 # interlibrary dependencies.
3528 # 'none' -- dependencies not supported.
3529 # `unknown' -- same as none, but documents that we really don't know.
3530 # 'pass_all' -- all dependencies passed with no checks.
3531 # 'test_compile' -- check by making test program.
3532 # 'file_magic [regex]' -- check by looking for files in library path
3533 # which responds to the $file_magic_cmd with a given egrep regex.
3534 # If you have `file' or equivalent on your system and you're not sure
3535 # whether `pass_all' will *always* work, you probably want this one.
3539 lt_cv_deplibs_check_method
=pass_all
3543 lt_cv_deplibs_check_method
=pass_all
3547 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
3548 lt_cv_file_magic_cmd
='/usr/bin/file -L'
3549 lt_cv_file_magic_test_file
=/shlib
/libc.so
3552 cygwin
* | mingw
* |pw32
*)
3553 lt_cv_deplibs_check_method
='file_magic file format pei*-i386(.*architecture: i386)?'
3554 lt_cv_file_magic_cmd
='$OBJDUMP -f'
3557 darwin
* | rhapsody
*)
3558 # this will be overwritten by pass_all, but leave it in just in case
3559 lt_cv_deplibs_check_method
='file_magic Mach-O dynamically linked shared library'
3560 lt_cv_file_magic_cmd
='/usr/bin/file -L'
3562 rhapsody
* | darwin1.012
)
3563 lt_cv_file_magic_test_file
='/System/Library/Frameworks/System.framework/System'
3566 lt_cv_file_magic_test_file
='/usr/lib/libSystem.dylib'
3569 lt_cv_deplibs_check_method
=pass_all
3572 freebsd
* | kfreebsd
*-gnu)
3573 if echo __ELF__ |
$CC -E - |
grep __ELF__
> /dev
/null
; then
3576 # Not sure whether the presence of OpenBSD here was a mistake.
3577 # Let's accept both of them until this is cleared up.
3578 lt_cv_deplibs_check_method
='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
3579 lt_cv_file_magic_cmd
=/usr
/bin
/file
3580 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so.*`
3584 lt_cv_deplibs_check_method
=pass_all
3589 lt_cv_deplibs_check_method
=pass_all
3595 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
3596 lt_cv_file_magic_cmd
=/usr
/bin
/file
3597 lt_cv_file_magic_test_file
=/usr
/lib
/libc.sl
3600 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
3601 lt_cv_file_magic_cmd
=/usr
/bin
/file
3602 lt_cv_file_magic_test_file
=/usr
/lib
/hpux32
/libc.so
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 32-bit MSB dynamic lib MIPS - version 1"
3615 *-32|
*"-32 ") libmagic
=32-bit;;
3616 *-n32|
*"-n32 ") libmagic
=N32
;;
3617 *-64|
*"-64 ") libmagic
=64-bit;;
3618 *) libmagic
=never-match
;;
3620 # this will be overridden with pass_all, but let us keep it just in case
3621 lt_cv_deplibs_check_method
="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
3624 lt_cv_file_magic_test_file
=`echo /lib${libsuff}/libc.so*`
3625 lt_cv_deplibs_check_method
=pass_all
3628 # This must be Linux ELF.
3631 alpha
* | mips
* | hppa
* | i
*86 | powerpc
* | sparc
* | ia64
* | sh
* )
3632 lt_cv_deplibs_check_method
=pass_all
;;
3634 # glibc up to 2.1.1 does not perform some relocations on ARM
3635 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;;
3637 lt_cv_file_magic_test_file
=`echo /lib/libc.so* /lib/libc-*.so`
3640 netbsd
* | knetbsd
*-gnu)
3641 if echo __ELF__ |
$CC -E - |
grep __ELF__
> /dev
/null
; then
3642 lt_cv_deplibs_check_method
='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'
3644 lt_cv_deplibs_check_method
='match_pattern /lib[^/\.]+\.so$'
3649 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
3650 lt_cv_file_magic_cmd
=/usr
/bin
/file
3651 lt_cv_file_magic_test_file
=/usr
/lib
/libnls.so
3654 osf3
* | osf4
* | osf5
*)
3655 # this will be overridden with pass_all, but let us keep it just in case
3656 lt_cv_deplibs_check_method
='file_magic COFF format alpha shared library'
3657 lt_cv_file_magic_test_file
=/shlib
/libc.so
3658 lt_cv_deplibs_check_method
=pass_all
3662 lt_cv_deplibs_check_method
=pass_all
3666 lt_cv_deplibs_check_method
=pass_all
3667 lt_cv_file_magic_test_file
=/lib
/libc.so
3670 sysv5uw
[78]* | sysv4
*uw2
*)
3671 lt_cv_deplibs_check_method
=pass_all
3674 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
3675 case $host_vendor in
3677 lt_cv_deplibs_check_method
=pass_all
3680 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]'
3681 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so*`
3688 echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
3689 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
3690 file_magic_cmd
=$lt_cv_file_magic_cmd
3691 deplibs_check_method
=$lt_cv_deplibs_check_method
3697 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
3699 # Only perform the check for file, if the check method requires it
3700 case $deplibs_check_method in
3702 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
3703 echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
3704 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
3705 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
3706 echo $ECHO_N "(cached) $ECHO_C" >&6
3710 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
3713 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a dos path.
3716 ac_save_MAGIC_CMD
="$MAGIC_CMD"
3717 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
3718 ac_dummy
="/usr/bin:$PATH"
3719 for ac_dir
in $ac_dummy; do
3720 test -z "$ac_dir" && ac_dir
=.
3721 if test -f $ac_dir/${ac_tool_prefix}file; then
3722 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
3723 if test -n "$file_magic_test_file"; then
3724 case $deplibs_check_method in
3726 file_magic_regex
="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
3727 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
3728 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
3729 egrep "$file_magic_regex" > /dev
/null
; then
3734 *** Warning: the command libtool uses to detect shared libraries,
3735 *** $file_magic_cmd, produces output that libtool cannot recognize.
3736 *** The result is that libtool may fail to recognize shared libraries
3737 *** as such. This will affect the creation of libtool libraries that
3738 *** depend on shared libraries, but programs linked with such libtool
3739 *** libraries will work regardless of this problem. Nevertheless, you
3740 *** may want to report the problem to your system manager and/or to
3741 *** bug-libtool@gnu.org
3751 MAGIC_CMD
="$ac_save_MAGIC_CMD"
3756 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
3757 if test -n "$MAGIC_CMD"; then
3758 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
3759 echo "${ECHO_T}$MAGIC_CMD" >&6
3761 echo "$as_me:$LINENO: result: no" >&5
3762 echo "${ECHO_T}no" >&6
3765 if test -z "$lt_cv_path_MAGIC_CMD"; then
3766 if test -n "$ac_tool_prefix"; then
3767 echo "$as_me:$LINENO: checking for file" >&5
3768 echo $ECHO_N "checking for file... $ECHO_C" >&6
3769 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
3770 echo $ECHO_N "(cached) $ECHO_C" >&6
3774 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
3777 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a dos path.
3780 ac_save_MAGIC_CMD
="$MAGIC_CMD"
3781 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
3782 ac_dummy
="/usr/bin:$PATH"
3783 for ac_dir
in $ac_dummy; do
3784 test -z "$ac_dir" && ac_dir
=.
3785 if test -f $ac_dir/file; then
3786 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
3787 if test -n "$file_magic_test_file"; then
3788 case $deplibs_check_method in
3790 file_magic_regex
="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
3791 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
3792 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
3793 egrep "$file_magic_regex" > /dev
/null
; then
3798 *** Warning: the command libtool uses to detect shared libraries,
3799 *** $file_magic_cmd, produces output that libtool cannot recognize.
3800 *** The result is that libtool may fail to recognize shared libraries
3801 *** as such. This will affect the creation of libtool libraries that
3802 *** depend on shared libraries, but programs linked with such libtool
3803 *** libraries will work regardless of this problem. Nevertheless, you
3804 *** may want to report the problem to your system manager and/or to
3805 *** bug-libtool@gnu.org
3815 MAGIC_CMD
="$ac_save_MAGIC_CMD"
3820 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
3821 if test -n "$MAGIC_CMD"; then
3822 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
3823 echo "${ECHO_T}$MAGIC_CMD" >&6
3825 echo "$as_me:$LINENO: result: no" >&5
3826 echo "${ECHO_T}no" >&6
3838 if test -n "$ac_tool_prefix"; then
3839 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3840 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
3841 echo "$as_me:$LINENO: checking for $ac_word" >&5
3842 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3843 if test "${ac_cv_prog_RANLIB+set}" = set; then
3844 echo $ECHO_N "(cached) $ECHO_C" >&6
3846 if test -n "$RANLIB"; then
3847 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
3849 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3853 test -z "$as_dir" && as_dir
=.
3854 for ac_exec_ext
in '' $ac_executable_extensions; do
3855 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3856 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
3857 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3865 RANLIB
=$ac_cv_prog_RANLIB
3866 if test -n "$RANLIB"; then
3867 echo "$as_me:$LINENO: result: $RANLIB" >&5
3868 echo "${ECHO_T}$RANLIB" >&6
3870 echo "$as_me:$LINENO: result: no" >&5
3871 echo "${ECHO_T}no" >&6
3875 if test -z "$ac_cv_prog_RANLIB"; then
3876 ac_ct_RANLIB
=$RANLIB
3877 # Extract the first word of "ranlib", so it can be a program name with args.
3878 set dummy ranlib
; ac_word
=$2
3879 echo "$as_me:$LINENO: checking for $ac_word" >&5
3880 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3881 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3882 echo $ECHO_N "(cached) $ECHO_C" >&6
3884 if test -n "$ac_ct_RANLIB"; then
3885 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
3887 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3891 test -z "$as_dir" && as_dir
=.
3892 for ac_exec_ext
in '' $ac_executable_extensions; do
3893 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3894 ac_cv_prog_ac_ct_RANLIB
="ranlib"
3895 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3901 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
3904 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
3905 if test -n "$ac_ct_RANLIB"; then
3906 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3907 echo "${ECHO_T}$ac_ct_RANLIB" >&6
3909 echo "$as_me:$LINENO: result: no" >&5
3910 echo "${ECHO_T}no" >&6
3913 RANLIB
=$ac_ct_RANLIB
3915 RANLIB
="$ac_cv_prog_RANLIB"
3918 if test -n "$ac_tool_prefix"; then
3919 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3920 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
3921 echo "$as_me:$LINENO: checking for $ac_word" >&5
3922 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3923 if test "${ac_cv_prog_STRIP+set}" = set; then
3924 echo $ECHO_N "(cached) $ECHO_C" >&6
3926 if test -n "$STRIP"; then
3927 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
3929 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3933 test -z "$as_dir" && as_dir
=.
3934 for ac_exec_ext
in '' $ac_executable_extensions; do
3935 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3936 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
3937 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3945 STRIP
=$ac_cv_prog_STRIP
3946 if test -n "$STRIP"; then
3947 echo "$as_me:$LINENO: result: $STRIP" >&5
3948 echo "${ECHO_T}$STRIP" >&6
3950 echo "$as_me:$LINENO: result: no" >&5
3951 echo "${ECHO_T}no" >&6
3955 if test -z "$ac_cv_prog_STRIP"; then
3957 # Extract the first word of "strip", so it can be a program name with args.
3958 set dummy strip
; ac_word
=$2
3959 echo "$as_me:$LINENO: checking for $ac_word" >&5
3960 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3961 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
3962 echo $ECHO_N "(cached) $ECHO_C" >&6
3964 if test -n "$ac_ct_STRIP"; then
3965 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
3967 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3971 test -z "$as_dir" && as_dir
=.
3972 for ac_exec_ext
in '' $ac_executable_extensions; do
3973 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3974 ac_cv_prog_ac_ct_STRIP
="strip"
3975 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3981 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
3984 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
3985 if test -n "$ac_ct_STRIP"; then
3986 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
3987 echo "${ECHO_T}$ac_ct_STRIP" >&6
3989 echo "$as_me:$LINENO: result: no" >&5
3990 echo "${ECHO_T}no" >&6
3995 STRIP
="$ac_cv_prog_STRIP"
3999 # Check for any special flags to pass to ltconfig.
4000 libtool_flags
="--cache-file=$cache_file"
4001 test "$enable_shared" = no
&& libtool_flags
="$libtool_flags --disable-shared"
4002 test "$enable_static" = no
&& libtool_flags
="$libtool_flags --disable-static"
4003 test "$enable_fast_install" = no
&& libtool_flags
="$libtool_flags --disable-fast-install"
4004 test "$GCC" = yes && libtool_flags
="$libtool_flags --with-gcc"
4005 test "$lt_cv_prog_gnu_ld" = yes && libtool_flags
="$libtool_flags --with-gnu-ld"
4008 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
4009 if test "${enable_libtool_lock+set}" = set; then
4010 enableval
="$enable_libtool_lock"
4013 test "x$enable_libtool_lock" = xno
&& libtool_flags
="$libtool_flags --disable-lock"
4014 test x
"$silent" = xyes
&& libtool_flags
="$libtool_flags --silent"
4017 # Check whether --with-pic or --without-pic was given.
4018 if test "${with_pic+set}" = set; then
4024 test x
"$pic_mode" = xyes
&& libtool_flags
="$libtool_flags --prefer-pic"
4025 test x
"$pic_mode" = xno
&& libtool_flags
="$libtool_flags --prefer-non-pic"
4027 # Some flags need to be propagated to the compiler or linker for good
4031 # Find out which ABI we are using.
4032 echo '#line 4032 "configure"' > conftest.
$ac_ext
4033 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4034 (eval $ac_compile) 2>&5
4036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4037 (exit $ac_status); }; then
4038 if test "$lt_cv_prog_gnu_ld" = yes; then
4039 case `/usr/bin/file conftest.$ac_objext` in
4041 LD
="${LD-ld} -melf32bsmip"
4044 LD
="${LD-ld} -melf32bmipn32"
4047 LD
="${LD-ld} -melf64bmip"
4051 case `/usr/bin/file conftest.$ac_objext` in
4068 # Find out which ABI we are using.
4069 echo 'int i;' > conftest.
$ac_ext
4070 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4071 (eval $ac_compile) 2>&5
4073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4074 (exit $ac_status); }; then
4075 case "`/usr/bin/file conftest.o`" in
4087 x86_64-
*linux
*|ppc
*-*linux
*|powerpc
*-*linux
*|s390
*-*linux
*|sparc
*-*linux
*)
4088 # Find out which ABI we are using.
4089 echo 'int i;' > conftest.
$ac_ext
4090 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4091 (eval $ac_compile) 2>&5
4093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4094 (exit $ac_status); }; then
4095 case "`/usr/bin/file conftest.o`" in
4099 LD
="${LD-ld} -m elf_i386"
4101 ppc64-
*linux
*|powerpc64-
*linux
*)
4102 LD
="${LD-ld} -m elf32ppclinux"
4105 LD
="${LD-ld} -m elf_s390"
4108 LD
="${LD-ld} -m elf32_sparc"
4115 LD
="${LD-ld} -m elf_x86_64"
4117 ppc
*-*linux
*|powerpc
*-*linux
*)
4118 LD
="${LD-ld} -m elf64ppc"
4121 LD
="${LD-ld} -m elf64_s390"
4124 LD
="${LD-ld} -m elf64_sparc"
4134 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
4135 SAVE_CFLAGS
="$CFLAGS"
4136 CFLAGS
="$CFLAGS -belf"
4137 echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
4138 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
4139 if test "${lt_cv_cc_needs_belf+set}" = set; then
4140 echo $ECHO_N "(cached) $ECHO_C" >&6
4145 ac_cpp
='$CPP $CPPFLAGS'
4146 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4147 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4148 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4150 cat >conftest.
$ac_ext <<_ACEOF
4153 cat confdefs.h
>>conftest.
$ac_ext
4154 cat >>conftest.
$ac_ext <<_ACEOF
4155 /* end confdefs.h. */
4165 rm -f conftest.
$ac_objext conftest
$ac_exeext
4166 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4167 (eval $ac_link) 2>conftest.er1
4169 grep -v '^ *+' conftest.er1
>conftest.err
4171 cat conftest.err
>&5
4172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4173 (exit $ac_status); } &&
4174 { ac_try
='test -z "$ac_c_werror_flag"
4175 || test ! -s conftest.err'
4176 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4180 (exit $ac_status); }; } &&
4181 { ac_try
='test -s conftest$ac_exeext'
4182 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4186 (exit $ac_status); }; }; then
4187 lt_cv_cc_needs_belf
=yes
4189 echo "$as_me: failed program was:" >&5
4190 sed 's/^/| /' conftest.
$ac_ext >&5
4192 lt_cv_cc_needs_belf
=no
4194 rm -f conftest.err conftest.
$ac_objext \
4195 conftest
$ac_exeext conftest.
$ac_ext
4197 ac_cpp
='$CPP $CPPFLAGS'
4198 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4199 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4200 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4203 echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
4204 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
4205 if test x
"$lt_cv_cc_needs_belf" != x
"yes"; then
4206 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
4207 CFLAGS
="$SAVE_CFLAGS"
4215 # Save cache, so that ltconfig can load it
4216 cat >confcache
<<\_ACEOF
4217 # This file is a shell script that caches the results of configure
4218 # tests run on this system so they can be shared between configure
4219 # scripts and configure runs, see configure's option --config-cache.
4220 # It is not useful on other systems. If it contains results you don't
4221 # want to keep, you may remove or edit it.
4223 # config.status only pays attention to the cache file if you give it
4224 # the --recheck option to rerun configure.
4226 # `ac_cv_env_foo' variables (set or unset) will be overridden when
4227 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4232 # The following way of writing the cache mishandles newlines in values,
4233 # but we know of no workaround that is simple, portable, and efficient.
4234 # So, don't put newlines in cache variables' values.
4235 # Ultrix sh set writes to stderr and can't be redirected directly,
4236 # and sets the high bit in the cache file unless we assign to the vars.
4239 case `(ac_space=' '; set | grep ac_space) 2>&1` in
4241 # `set' does not quote correctly, so add quotes (double-quote
4242 # substitution turns \\\\ into \\, and sed turns \\ into \).
4245 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4248 # `set' quotes correctly as required by POSIX, so do not add quotes.
4250 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
4257 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4259 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4261 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
4262 if test -w $cache_file; then
4263 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
4264 cat confcache
>$cache_file
4266 echo "not updating unwritable cache $cache_file"
4271 # Actually configure libtool. ac_aux_dir is where install-sh is found.
4272 AR
="$AR" LTCC
="$CC" CC
="$CC" CFLAGS
="$CFLAGS" CPPFLAGS
="$CPPFLAGS" \
4273 MAGIC_CMD
="$MAGIC_CMD" LD
="$LD" LDFLAGS
="$LDFLAGS" LIBS
="$LIBS" \
4274 LN_S
="$LN_S" NM
="$NM" RANLIB
="$RANLIB" STRIP
="$STRIP" \
4275 AS
="$AS" DLLTOOL
="$DLLTOOL" OBJDUMP
="$OBJDUMP" \
4276 objext
="$OBJEXT" exeext
="$EXEEXT" reload_flag
="$reload_flag" \
4277 deplibs_check_method
="$deplibs_check_method" file_magic_cmd
="$file_magic_cmd" \
4278 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig
--no-reexec \
4279 $libtool_flags --no-verify --build="$build" $ac_aux_dir/ltmain.sh
$host \
4280 ||
{ { echo "$as_me:$LINENO: error: libtool configure failed" >&5
4281 echo "$as_me: error: libtool configure failed" >&2;}
4282 { (exit 1); exit 1; }; }
4284 # Reload cache, that may have been modified by ltconfig
4285 if test -r "$cache_file"; then
4286 # Some versions of bash will fail to source /dev/null (special
4287 # files actually), so we avoid doing that.
4288 if test -f "$cache_file"; then
4289 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
4290 echo "$as_me: loading cache $cache_file" >&6;}
4292 [\\/]* | ?
:[\\/]* ) .
$cache_file;;
4293 *) . .
/$cache_file;;
4297 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
4298 echo "$as_me: creating cache $cache_file" >&6;}
4303 # This can be used to rebuild libtool when needed
4304 LIBTOOL_DEPS
="$ac_aux_dir/ltconfig $ac_aux_dir/ltmain.sh $ac_aux_dir/ltcf-c.sh"
4306 # Always use our own libtool.
4307 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
4309 # Redirect the config.log output again, so that the ltconfig log is not
4310 # clobbered by the next message.
4311 exec 5>>.
/config.log
4320 #AC_MSG_NOTICE([====== Finished libtool configuration]) ; sleep 10
4322 # We need gfortran to compile parts of the library
4323 # We can't use AC_PROG_F77 because it expects a fully working gfortran.
4324 #AC_PROG_F77(gfortran)
4327 ac_compile
='$F77 -c $FFLAGS conftest.$ac_ext >&5'
4328 ac_link
='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4329 ac_compiler_gnu
=$ac_cv_f77_compiler_gnu
4330 if test -n "$ac_tool_prefix"; then
4331 for ac_prog
in gfortran
4333 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4334 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4335 echo "$as_me:$LINENO: checking for $ac_word" >&5
4336 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4337 if test "${ac_cv_prog_F77+set}" = set; then
4338 echo $ECHO_N "(cached) $ECHO_C" >&6
4340 if test -n "$F77"; then
4341 ac_cv_prog_F77
="$F77" # Let the user override the test.
4343 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4347 test -z "$as_dir" && as_dir
=.
4348 for ac_exec_ext
in '' $ac_executable_extensions; do
4349 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4350 ac_cv_prog_F77
="$ac_tool_prefix$ac_prog"
4351 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4360 if test -n "$F77"; then
4361 echo "$as_me:$LINENO: result: $F77" >&5
4362 echo "${ECHO_T}$F77" >&6
4364 echo "$as_me:$LINENO: result: no" >&5
4365 echo "${ECHO_T}no" >&6
4368 test -n "$F77" && break
4371 if test -z "$F77"; then
4373 for ac_prog
in gfortran
4375 # Extract the first word of "$ac_prog", so it can be a program name with args.
4376 set dummy
$ac_prog; ac_word
=$2
4377 echo "$as_me:$LINENO: checking for $ac_word" >&5
4378 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4379 if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
4380 echo $ECHO_N "(cached) $ECHO_C" >&6
4382 if test -n "$ac_ct_F77"; then
4383 ac_cv_prog_ac_ct_F77
="$ac_ct_F77" # Let the user override the test.
4385 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4389 test -z "$as_dir" && as_dir
=.
4390 for ac_exec_ext
in '' $ac_executable_extensions; do
4391 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4392 ac_cv_prog_ac_ct_F77
="$ac_prog"
4393 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4401 ac_ct_F77
=$ac_cv_prog_ac_ct_F77
4402 if test -n "$ac_ct_F77"; then
4403 echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
4404 echo "${ECHO_T}$ac_ct_F77" >&6
4406 echo "$as_me:$LINENO: result: no" >&5
4407 echo "${ECHO_T}no" >&6
4410 test -n "$ac_ct_F77" && break
4417 # Provide some information about the compiler.
4418 echo "$as_me:4418:" \
4419 "checking for Fortran 77 compiler version" >&5
4420 ac_compiler
=`set X $ac_compile; echo $2`
4421 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
4422 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
4424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4425 (exit $ac_status); }
4426 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
4427 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
4429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4430 (exit $ac_status); }
4431 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
4432 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
4434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4435 (exit $ac_status); }
4438 # If we don't use `.F' as extension, the preprocessor is not run on the
4439 # input file. (Note that this only needs to work for GNU compilers.)
4442 echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
4443 echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6
4444 if test "${ac_cv_f77_compiler_gnu+set}" = set; then
4445 echo $ECHO_N "(cached) $ECHO_C" >&6
4447 cat >conftest.
$ac_ext <<_ACEOF
4455 rm -f conftest.
$ac_objext
4456 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4457 (eval $ac_compile) 2>conftest.er1
4459 grep -v '^ *+' conftest.er1
>conftest.err
4461 cat conftest.err
>&5
4462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4463 (exit $ac_status); } &&
4464 { ac_try
='test -z "$ac_f77_werror_flag"
4465 || test ! -s conftest.err'
4466 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4470 (exit $ac_status); }; } &&
4471 { ac_try
='test -s conftest.$ac_objext'
4472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4476 (exit $ac_status); }; }; then
4479 echo "$as_me: failed program was:" >&5
4480 sed 's/^/| /' conftest.
$ac_ext >&5
4484 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4485 ac_cv_f77_compiler_gnu
=$ac_compiler_gnu
4488 echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
4489 echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6
4491 ac_test_FFLAGS
=${FFLAGS+set}
4492 ac_save_FFLAGS
=$FFLAGS
4494 echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
4495 echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6
4496 if test "${ac_cv_prog_f77_g+set}" = set; then
4497 echo $ECHO_N "(cached) $ECHO_C" >&6
4500 cat >conftest.
$ac_ext <<_ACEOF
4505 rm -f conftest.
$ac_objext
4506 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4507 (eval $ac_compile) 2>conftest.er1
4509 grep -v '^ *+' conftest.er1
>conftest.err
4511 cat conftest.err
>&5
4512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4513 (exit $ac_status); } &&
4514 { ac_try
='test -z "$ac_f77_werror_flag"
4515 || test ! -s conftest.err'
4516 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4520 (exit $ac_status); }; } &&
4521 { ac_try
='test -s conftest.$ac_objext'
4522 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4526 (exit $ac_status); }; }; then
4527 ac_cv_prog_f77_g
=yes
4529 echo "$as_me: failed program was:" >&5
4530 sed 's/^/| /' conftest.
$ac_ext >&5
4534 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4537 echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
4538 echo "${ECHO_T}$ac_cv_prog_f77_g" >&6
4539 if test "$ac_test_FFLAGS" = set; then
4540 FFLAGS
=$ac_save_FFLAGS
4541 elif test $ac_cv_prog_f77_g = yes; then
4542 if test "x$ac_cv_f77_compiler_gnu" = xyes
; then
4548 if test "x$ac_cv_f77_compiler_gnu" = xyes
; then
4555 G77
=`test $ac_compiler_gnu = yes && echo yes`
4557 ac_cpp
='$CPP $CPPFLAGS'
4558 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4559 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4560 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4562 FFLAGS
="$FFLAGS -Wall -fno-repack-arrays -fno-underscoring"
4565 ac_cpp
='$CPP $CPPFLAGS'
4566 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4567 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4568 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4569 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
4570 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
4571 # On Suns, sometimes $CPP names a directory.
4572 if test -n "$CPP" && test -d "$CPP"; then
4575 if test -z "$CPP"; then
4576 if test "${ac_cv_prog_CPP+set}" = set; then
4577 echo $ECHO_N "(cached) $ECHO_C" >&6
4579 # Double quotes because CPP needs to be expanded
4580 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4583 for ac_c_preproc_warn_flag
in '' yes
4585 # Use a header file that comes with gcc, so configuring glibc
4586 # with a fresh cross-compiler works.
4587 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4588 # <limits.h> exists even on freestanding compilers.
4589 # On the NeXT, cc -E runs the code through the compiler's parser,
4590 # not just through cpp. "Syntax error" is here to catch this case.
4591 cat >conftest.
$ac_ext <<_ACEOF
4594 cat confdefs.h
>>conftest.
$ac_ext
4595 cat >>conftest.
$ac_ext <<_ACEOF
4596 /* end confdefs.h. */
4598 # include <limits.h>
4600 # include <assert.h>
4604 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4605 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4607 grep -v '^ *+' conftest.er1
>conftest.err
4609 cat conftest.err
>&5
4610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4611 (exit $ac_status); } >/dev
/null
; then
4612 if test -s conftest.err
; then
4613 ac_cpp_err
=$ac_c_preproc_warn_flag
4614 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
4621 if test -z "$ac_cpp_err"; then
4624 echo "$as_me: failed program was:" >&5
4625 sed 's/^/| /' conftest.
$ac_ext >&5
4627 # Broken: fails on valid input.
4630 rm -f conftest.err conftest.
$ac_ext
4632 # OK, works on sane cases. Now check whether non-existent headers
4633 # can be detected and how.
4634 cat >conftest.
$ac_ext <<_ACEOF
4637 cat confdefs.h
>>conftest.
$ac_ext
4638 cat >>conftest.
$ac_ext <<_ACEOF
4639 /* end confdefs.h. */
4640 #include <ac_nonexistent.h>
4642 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4643 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4645 grep -v '^ *+' conftest.er1
>conftest.err
4647 cat conftest.err
>&5
4648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4649 (exit $ac_status); } >/dev
/null
; then
4650 if test -s conftest.err
; then
4651 ac_cpp_err
=$ac_c_preproc_warn_flag
4652 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
4659 if test -z "$ac_cpp_err"; then
4660 # Broken: success on invalid input.
4663 echo "$as_me: failed program was:" >&5
4664 sed 's/^/| /' conftest.
$ac_ext >&5
4666 # Passes both tests.
4670 rm -f conftest.err conftest.
$ac_ext
4673 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4674 rm -f conftest.err conftest.
$ac_ext
4675 if $ac_preproc_ok; then
4687 echo "$as_me:$LINENO: result: $CPP" >&5
4688 echo "${ECHO_T}$CPP" >&6
4690 for ac_c_preproc_warn_flag
in '' yes
4692 # Use a header file that comes with gcc, so configuring glibc
4693 # with a fresh cross-compiler works.
4694 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4695 # <limits.h> exists even on freestanding compilers.
4696 # On the NeXT, cc -E runs the code through the compiler's parser,
4697 # not just through cpp. "Syntax error" is here to catch this case.
4698 cat >conftest.
$ac_ext <<_ACEOF
4701 cat confdefs.h
>>conftest.
$ac_ext
4702 cat >>conftest.
$ac_ext <<_ACEOF
4703 /* end confdefs.h. */
4705 # include <limits.h>
4707 # include <assert.h>
4711 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4712 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4714 grep -v '^ *+' conftest.er1
>conftest.err
4716 cat conftest.err
>&5
4717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4718 (exit $ac_status); } >/dev
/null
; then
4719 if test -s conftest.err
; then
4720 ac_cpp_err
=$ac_c_preproc_warn_flag
4721 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
4728 if test -z "$ac_cpp_err"; then
4731 echo "$as_me: failed program was:" >&5
4732 sed 's/^/| /' conftest.
$ac_ext >&5
4734 # Broken: fails on valid input.
4737 rm -f conftest.err conftest.
$ac_ext
4739 # OK, works on sane cases. Now check whether non-existent headers
4740 # can be detected and how.
4741 cat >conftest.
$ac_ext <<_ACEOF
4744 cat confdefs.h
>>conftest.
$ac_ext
4745 cat >>conftest.
$ac_ext <<_ACEOF
4746 /* end confdefs.h. */
4747 #include <ac_nonexistent.h>
4749 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4750 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4752 grep -v '^ *+' conftest.er1
>conftest.err
4754 cat conftest.err
>&5
4755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4756 (exit $ac_status); } >/dev
/null
; then
4757 if test -s conftest.err
; then
4758 ac_cpp_err
=$ac_c_preproc_warn_flag
4759 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
4766 if test -z "$ac_cpp_err"; then
4767 # Broken: success on invalid input.
4770 echo "$as_me: failed program was:" >&5
4771 sed 's/^/| /' conftest.
$ac_ext >&5
4773 # Passes both tests.
4777 rm -f conftest.err conftest.
$ac_ext
4780 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4781 rm -f conftest.err conftest.
$ac_ext
4782 if $ac_preproc_ok; then
4785 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
4786 See \`config.log' for more details." >&5
4787 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
4788 See \`config.log' for more details." >&2;}
4789 { (exit 1); exit 1; }; }
4793 ac_cpp
='$CPP $CPPFLAGS'
4794 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4795 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4796 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4799 echo "$as_me:$LINENO: checking for egrep" >&5
4800 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
4801 if test "${ac_cv_prog_egrep+set}" = set; then
4802 echo $ECHO_N "(cached) $ECHO_C" >&6
4804 if echo a |
(grep -E '(a|b)') >/dev
/null
2>&1
4805 then ac_cv_prog_egrep
='grep -E'
4806 else ac_cv_prog_egrep
='egrep'
4809 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
4810 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
4811 EGREP
=$ac_cv_prog_egrep
4814 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4815 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
4816 if test "${ac_cv_header_stdc+set}" = set; then
4817 echo $ECHO_N "(cached) $ECHO_C" >&6
4819 cat >conftest.
$ac_ext <<_ACEOF
4822 cat confdefs.h
>>conftest.
$ac_ext
4823 cat >>conftest.
$ac_ext <<_ACEOF
4824 /* end confdefs.h. */
4838 rm -f conftest.
$ac_objext
4839 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4840 (eval $ac_compile) 2>conftest.er1
4842 grep -v '^ *+' conftest.er1
>conftest.err
4844 cat conftest.err
>&5
4845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4846 (exit $ac_status); } &&
4847 { ac_try
='test -z "$ac_c_werror_flag"
4848 || test ! -s conftest.err'
4849 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4853 (exit $ac_status); }; } &&
4854 { ac_try
='test -s conftest.$ac_objext'
4855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4859 (exit $ac_status); }; }; then
4860 ac_cv_header_stdc
=yes
4862 echo "$as_me: failed program was:" >&5
4863 sed 's/^/| /' conftest.
$ac_ext >&5
4865 ac_cv_header_stdc
=no
4867 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4869 if test $ac_cv_header_stdc = yes; then
4870 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4871 cat >conftest.
$ac_ext <<_ACEOF
4874 cat confdefs.h
>>conftest.
$ac_ext
4875 cat >>conftest.
$ac_ext <<_ACEOF
4876 /* end confdefs.h. */
4880 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4881 $EGREP "memchr" >/dev
/null
2>&1; then
4884 ac_cv_header_stdc
=no
4890 if test $ac_cv_header_stdc = yes; then
4891 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4892 cat >conftest.
$ac_ext <<_ACEOF
4895 cat confdefs.h
>>conftest.
$ac_ext
4896 cat >>conftest.
$ac_ext <<_ACEOF
4897 /* end confdefs.h. */
4901 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4902 $EGREP "free" >/dev
/null
2>&1; then
4905 ac_cv_header_stdc
=no
4911 if test $ac_cv_header_stdc = yes; then
4912 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4913 if test "$cross_compiling" = yes; then
4916 cat >conftest.
$ac_ext <<_ACEOF
4919 cat confdefs.h
>>conftest.
$ac_ext
4920 cat >>conftest.
$ac_ext <<_ACEOF
4921 /* end confdefs.h. */
4923 #if ((' ' & 0x0FF) == 0x020)
4924 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4925 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4927 # define ISLOWER(c) \
4928 (('a' <= (c) && (c) <= 'i') \
4929 || ('j' <= (c) && (c) <= 'r') \
4930 || ('s' <= (c) && (c) <= 'z'))
4931 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4934 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4939 for (i = 0; i < 256; i++)
4940 if (XOR (islower (i), ISLOWER (i))
4941 || toupper (i) != TOUPPER (i))
4946 rm -f conftest
$ac_exeext
4947 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4948 (eval $ac_link) 2>&5
4950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4951 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
4952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4956 (exit $ac_status); }; }; then
4959 echo "$as_me: program exited with status $ac_status" >&5
4960 echo "$as_me: failed program was:" >&5
4961 sed 's/^/| /' conftest.
$ac_ext >&5
4964 ac_cv_header_stdc
=no
4966 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
4970 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4971 echo "${ECHO_T}$ac_cv_header_stdc" >&6
4972 if test $ac_cv_header_stdc = yes; then
4974 cat >>confdefs.h
<<\_ACEOF
4975 #define STDC_HEADERS 1
4980 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4990 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
4991 inttypes.h stdint.h unistd.h
4993 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4994 echo "$as_me:$LINENO: checking for $ac_header" >&5
4995 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4996 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4997 echo $ECHO_N "(cached) $ECHO_C" >&6
4999 cat >conftest.
$ac_ext <<_ACEOF
5002 cat confdefs.h
>>conftest.
$ac_ext
5003 cat >>conftest.
$ac_ext <<_ACEOF
5004 /* end confdefs.h. */
5005 $ac_includes_default
5007 #include <$ac_header>
5009 rm -f conftest.
$ac_objext
5010 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5011 (eval $ac_compile) 2>conftest.er1
5013 grep -v '^ *+' conftest.er1
>conftest.err
5015 cat conftest.err
>&5
5016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5017 (exit $ac_status); } &&
5018 { ac_try
='test -z "$ac_c_werror_flag"
5019 || test ! -s conftest.err'
5020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5024 (exit $ac_status); }; } &&
5025 { ac_try
='test -s conftest.$ac_objext'
5026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5030 (exit $ac_status); }; }; then
5031 eval "$as_ac_Header=yes"
5033 echo "$as_me: failed program was:" >&5
5034 sed 's/^/| /' conftest.
$ac_ext >&5
5036 eval "$as_ac_Header=no"
5038 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5040 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5041 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5042 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5043 cat >>confdefs.h
<<_ACEOF
5044 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5054 for ac_header
in stdlib.h unistd.h
5056 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5057 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5058 echo "$as_me:$LINENO: checking for $ac_header" >&5
5059 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5060 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5061 echo $ECHO_N "(cached) $ECHO_C" >&6
5063 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5064 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5066 # Is the header compilable?
5067 echo "$as_me:$LINENO: checking $ac_header usability" >&5
5068 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5069 cat >conftest.
$ac_ext <<_ACEOF
5072 cat confdefs.h
>>conftest.
$ac_ext
5073 cat >>conftest.
$ac_ext <<_ACEOF
5074 /* end confdefs.h. */
5075 $ac_includes_default
5076 #include <$ac_header>
5078 rm -f conftest.
$ac_objext
5079 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5080 (eval $ac_compile) 2>conftest.er1
5082 grep -v '^ *+' conftest.er1
>conftest.err
5084 cat conftest.err
>&5
5085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5086 (exit $ac_status); } &&
5087 { ac_try
='test -z "$ac_c_werror_flag"
5088 || test ! -s conftest.err'
5089 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5093 (exit $ac_status); }; } &&
5094 { ac_try
='test -s conftest.$ac_objext'
5095 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5099 (exit $ac_status); }; }; then
5100 ac_header_compiler
=yes
5102 echo "$as_me: failed program was:" >&5
5103 sed 's/^/| /' conftest.
$ac_ext >&5
5105 ac_header_compiler
=no
5107 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5108 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5109 echo "${ECHO_T}$ac_header_compiler" >&6
5111 # Is the header present?
5112 echo "$as_me:$LINENO: checking $ac_header presence" >&5
5113 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5114 cat >conftest.
$ac_ext <<_ACEOF
5117 cat confdefs.h
>>conftest.
$ac_ext
5118 cat >>conftest.
$ac_ext <<_ACEOF
5119 /* end confdefs.h. */
5120 #include <$ac_header>
5122 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5123 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5125 grep -v '^ *+' conftest.er1
>conftest.err
5127 cat conftest.err
>&5
5128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5129 (exit $ac_status); } >/dev
/null
; then
5130 if test -s conftest.err
; then
5131 ac_cpp_err
=$ac_c_preproc_warn_flag
5132 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
5139 if test -z "$ac_cpp_err"; then
5140 ac_header_preproc
=yes
5142 echo "$as_me: failed program was:" >&5
5143 sed 's/^/| /' conftest.
$ac_ext >&5
5145 ac_header_preproc
=no
5147 rm -f conftest.err conftest.
$ac_ext
5148 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5149 echo "${ECHO_T}$ac_header_preproc" >&6
5151 # So? What about this header?
5152 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5154 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5155 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5156 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5157 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5158 ac_header_preproc
=yes
5161 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5162 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5163 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5164 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5165 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5166 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5167 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5168 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5169 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5170 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5171 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5172 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5175 ## ------------------------------------------------------ ##
5176 ## Report this to the GNU Fortran Runtime Library lists. ##
5177 ## ------------------------------------------------------ ##
5180 sed "s/^/$as_me: WARNING: /" >&2
5183 echo "$as_me:$LINENO: checking for $ac_header" >&5
5184 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5185 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5186 echo $ECHO_N "(cached) $ECHO_C" >&6
5188 eval "$as_ac_Header=\$ac_header_preproc"
5190 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5191 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5194 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5195 cat >>confdefs.h
<<_ACEOF
5196 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5204 for ac_func
in getpagesize
5206 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5207 echo "$as_me:$LINENO: checking for $ac_func" >&5
5208 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
5209 if eval "test \"\${$as_ac_var+set}\" = set"; then
5210 echo $ECHO_N "(cached) $ECHO_C" >&6
5212 cat >conftest.
$ac_ext <<_ACEOF
5215 cat confdefs.h
>>conftest.
$ac_ext
5216 cat >>conftest.
$ac_ext <<_ACEOF
5217 /* end confdefs.h. */
5218 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
5219 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5220 #define $ac_func innocuous_$ac_func
5222 /* System header to define __stub macros and hopefully few prototypes,
5223 which can conflict with char $ac_func (); below.
5224 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5225 <limits.h> exists even on freestanding compilers. */
5228 # include <limits.h>
5230 # include <assert.h>
5235 /* Override any gcc2 internal prototype to avoid an error. */
5240 /* We use char because int might match the return type of a gcc2
5241 builtin and then its argument prototype would still apply. */
5243 /* The GNU C library defines this for functions which it implements
5244 to always fail with ENOSYS. Some functions are actually named
5245 something starting with __ and the normal name is an alias. */
5246 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5249 char (*f) () = $ac_func;
5258 return f != $ac_func;
5263 rm -f conftest.
$ac_objext conftest
$ac_exeext
5264 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5265 (eval $ac_link) 2>conftest.er1
5267 grep -v '^ *+' conftest.er1
>conftest.err
5269 cat conftest.err
>&5
5270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5271 (exit $ac_status); } &&
5272 { ac_try
='test -z "$ac_c_werror_flag"
5273 || test ! -s conftest.err'
5274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5278 (exit $ac_status); }; } &&
5279 { ac_try
='test -s conftest$ac_exeext'
5280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5284 (exit $ac_status); }; }; then
5285 eval "$as_ac_var=yes"
5287 echo "$as_me: failed program was:" >&5
5288 sed 's/^/| /' conftest.
$ac_ext >&5
5290 eval "$as_ac_var=no"
5292 rm -f conftest.err conftest.
$ac_objext \
5293 conftest
$ac_exeext conftest.
$ac_ext
5295 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
5296 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
5297 if test `eval echo '${'$as_ac_var'}'` = yes; then
5298 cat >>confdefs.h
<<_ACEOF
5299 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5305 echo "$as_me:$LINENO: checking for working mmap" >&5
5306 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
5307 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
5308 echo $ECHO_N "(cached) $ECHO_C" >&6
5310 if test "$cross_compiling" = yes; then
5311 ac_cv_func_mmap_fixed_mapped
=no
5313 cat >conftest.
$ac_ext <<_ACEOF
5316 cat confdefs.h
>>conftest.
$ac_ext
5317 cat >>conftest.
$ac_ext <<_ACEOF
5318 /* end confdefs.h. */
5319 $ac_includes_default
5320 /* malloc might have been renamed as rpl_malloc. */
5323 /* Thanks to Mike Haertel and Jim Avera for this test.
5324 Here is a matrix of mmap possibilities:
5325 mmap private not fixed
5326 mmap private fixed at somewhere currently unmapped
5327 mmap private fixed at somewhere already mapped
5328 mmap shared not fixed
5329 mmap shared fixed at somewhere currently unmapped
5330 mmap shared fixed at somewhere already mapped
5331 For private mappings, we should verify that changes cannot be read()
5332 back from the file, nor mmap's back from the file at a different
5333 address. (There have been systems where private was not correctly
5334 implemented like the infamous i386 svr4.0, and systems where the
5335 VM page cache was not coherent with the file system buffer cache
5336 like early versions of FreeBSD and possibly contemporary NetBSD.)
5337 For shared mappings, we should conversely verify that changes get
5338 propagated back to all the places they're supposed to be.
5340 Grep wants private fixed already mapped.
5341 The main things grep needs to know about mmap are:
5342 * does it exist and is it safe to write into the mmap'd area
5343 * how to use it (BSD variants) */
5346 #include <sys/mman.h>
5348 #if !STDC_HEADERS && !HAVE_STDLIB_H
5352 /* This mess was copied from the GNU getpagesize.h. */
5353 #if !HAVE_GETPAGESIZE
5354 /* Assume that all systems that can run configure have sys/param.h. */
5355 # if !HAVE_SYS_PARAM_H
5356 # define HAVE_SYS_PARAM_H 1
5359 # ifdef _SC_PAGESIZE
5360 # define getpagesize() sysconf(_SC_PAGESIZE)
5361 # else /* no _SC_PAGESIZE */
5362 # if HAVE_SYS_PARAM_H
5363 # include <sys/param.h>
5364 # ifdef EXEC_PAGESIZE
5365 # define getpagesize() EXEC_PAGESIZE
5366 # else /* no EXEC_PAGESIZE */
5368 # define getpagesize() NBPG * CLSIZE
5371 # endif /* no CLSIZE */
5372 # else /* no NBPG */
5374 # define getpagesize() NBPC
5375 # else /* no NBPC */
5377 # define getpagesize() PAGESIZE
5378 # endif /* PAGESIZE */
5379 # endif /* no NBPC */
5380 # endif /* no NBPG */
5381 # endif /* no EXEC_PAGESIZE */
5382 # else /* no HAVE_SYS_PARAM_H */
5383 # define getpagesize() 8192 /* punt totally */
5384 # endif /* no HAVE_SYS_PARAM_H */
5385 # endif /* no _SC_PAGESIZE */
5387 #endif /* no HAVE_GETPAGESIZE */
5392 char *data, *data2, *data3;
5396 pagesize = getpagesize ();
5398 /* First, make a file with some known garbage in it. */
5399 data = (char *) malloc (pagesize);
5402 for (i = 0; i < pagesize; ++i)
5403 *(data + i) = rand ();
5405 fd = creat ("conftest.mmap", 0600);
5408 if (write (fd, data, pagesize) != pagesize)
5412 /* Next, try to mmap the file at a fixed address which already has
5413 something else allocated at it. If we can, also make sure that
5414 we see the same garbage. */
5415 fd = open ("conftest.mmap", O_RDWR);
5418 data2 = (char *) malloc (2 * pagesize);
5421 data2 += (pagesize - ((long) data2 & (pagesize - 1))) & (pagesize - 1);
5422 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
5423 MAP_PRIVATE | MAP_FIXED, fd, 0L))
5425 for (i = 0; i < pagesize; ++i)
5426 if (*(data + i) != *(data2 + i))
5429 /* Finally, make sure that changes to the mapped area do not
5430 percolate back to the file as seen by read(). (This is a bug on
5431 some variants of i386 svr4.0.) */
5432 for (i = 0; i < pagesize; ++i)
5433 *(data2 + i) = *(data2 + i) + 1;
5434 data3 = (char *) malloc (pagesize);
5437 if (read (fd, data3, pagesize) != pagesize)
5439 for (i = 0; i < pagesize; ++i)
5440 if (*(data + i) != *(data3 + i))
5446 rm -f conftest
$ac_exeext
5447 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5448 (eval $ac_link) 2>&5
5450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5451 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
5452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5456 (exit $ac_status); }; }; then
5457 ac_cv_func_mmap_fixed_mapped
=yes
5459 echo "$as_me: program exited with status $ac_status" >&5
5460 echo "$as_me: failed program was:" >&5
5461 sed 's/^/| /' conftest.
$ac_ext >&5
5464 ac_cv_func_mmap_fixed_mapped
=no
5466 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
5469 echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
5470 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
5471 if test $ac_cv_func_mmap_fixed_mapped = yes; then
5473 cat >>confdefs.h
<<\_ACEOF
5480 echo "$as_me:$LINENO: checking for off_t" >&5
5481 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
5482 if test "${ac_cv_type_off_t+set}" = set; then
5483 echo $ECHO_N "(cached) $ECHO_C" >&6
5485 cat >conftest.
$ac_ext <<_ACEOF
5488 cat confdefs.h
>>conftest.
$ac_ext
5489 cat >>conftest.
$ac_ext <<_ACEOF
5490 /* end confdefs.h. */
5491 $ac_includes_default
5503 rm -f conftest.
$ac_objext
5504 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5505 (eval $ac_compile) 2>conftest.er1
5507 grep -v '^ *+' conftest.er1
>conftest.err
5509 cat conftest.err
>&5
5510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5511 (exit $ac_status); } &&
5512 { ac_try
='test -z "$ac_c_werror_flag"
5513 || test ! -s conftest.err'
5514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5518 (exit $ac_status); }; } &&
5519 { ac_try
='test -s conftest.$ac_objext'
5520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5524 (exit $ac_status); }; }; then
5525 ac_cv_type_off_t
=yes
5527 echo "$as_me: failed program was:" >&5
5528 sed 's/^/| /' conftest.
$ac_ext >&5
5532 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5534 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
5535 echo "${ECHO_T}$ac_cv_type_off_t" >&6
5536 if test $ac_cv_type_off_t = yes; then
5540 cat >>confdefs.h
<<_ACEOF
5547 # check header files
5548 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5549 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
5550 if test "${ac_cv_header_stdc+set}" = set; then
5551 echo $ECHO_N "(cached) $ECHO_C" >&6
5553 cat >conftest.
$ac_ext <<_ACEOF
5556 cat confdefs.h
>>conftest.
$ac_ext
5557 cat >>conftest.
$ac_ext <<_ACEOF
5558 /* end confdefs.h. */
5572 rm -f conftest.
$ac_objext
5573 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5574 (eval $ac_compile) 2>conftest.er1
5576 grep -v '^ *+' conftest.er1
>conftest.err
5578 cat conftest.err
>&5
5579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5580 (exit $ac_status); } &&
5581 { ac_try
='test -z "$ac_c_werror_flag"
5582 || test ! -s conftest.err'
5583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5587 (exit $ac_status); }; } &&
5588 { ac_try
='test -s conftest.$ac_objext'
5589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5593 (exit $ac_status); }; }; then
5594 ac_cv_header_stdc
=yes
5596 echo "$as_me: failed program was:" >&5
5597 sed 's/^/| /' conftest.
$ac_ext >&5
5599 ac_cv_header_stdc
=no
5601 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5603 if test $ac_cv_header_stdc = yes; then
5604 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5605 cat >conftest.
$ac_ext <<_ACEOF
5608 cat confdefs.h
>>conftest.
$ac_ext
5609 cat >>conftest.
$ac_ext <<_ACEOF
5610 /* end confdefs.h. */
5614 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5615 $EGREP "memchr" >/dev
/null
2>&1; then
5618 ac_cv_header_stdc
=no
5624 if test $ac_cv_header_stdc = yes; then
5625 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5626 cat >conftest.
$ac_ext <<_ACEOF
5629 cat confdefs.h
>>conftest.
$ac_ext
5630 cat >>conftest.
$ac_ext <<_ACEOF
5631 /* end confdefs.h. */
5635 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5636 $EGREP "free" >/dev
/null
2>&1; then
5639 ac_cv_header_stdc
=no
5645 if test $ac_cv_header_stdc = yes; then
5646 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5647 if test "$cross_compiling" = yes; then
5650 cat >conftest.
$ac_ext <<_ACEOF
5653 cat confdefs.h
>>conftest.
$ac_ext
5654 cat >>conftest.
$ac_ext <<_ACEOF
5655 /* end confdefs.h. */
5657 #if ((' ' & 0x0FF) == 0x020)
5658 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5659 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5661 # define ISLOWER(c) \
5662 (('a' <= (c) && (c) <= 'i') \
5663 || ('j' <= (c) && (c) <= 'r') \
5664 || ('s' <= (c) && (c) <= 'z'))
5665 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5668 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5673 for (i = 0; i < 256; i++)
5674 if (XOR (islower (i), ISLOWER (i))
5675 || toupper (i) != TOUPPER (i))
5680 rm -f conftest
$ac_exeext
5681 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5682 (eval $ac_link) 2>&5
5684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5685 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
5686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5690 (exit $ac_status); }; }; then
5693 echo "$as_me: program exited with status $ac_status" >&5
5694 echo "$as_me: failed program was:" >&5
5695 sed 's/^/| /' conftest.
$ac_ext >&5
5698 ac_cv_header_stdc
=no
5700 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
5704 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5705 echo "${ECHO_T}$ac_cv_header_stdc" >&6
5706 if test $ac_cv_header_stdc = yes; then
5708 cat >>confdefs.h
<<\_ACEOF
5709 #define STDC_HEADERS 1
5720 for ac_header
in stdlib.h stdio.h string.h stddef.h math.h unistd.h
5722 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5723 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5724 echo "$as_me:$LINENO: checking for $ac_header" >&5
5725 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5726 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5727 echo $ECHO_N "(cached) $ECHO_C" >&6
5729 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5730 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5732 # Is the header compilable?
5733 echo "$as_me:$LINENO: checking $ac_header usability" >&5
5734 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5735 cat >conftest.
$ac_ext <<_ACEOF
5738 cat confdefs.h
>>conftest.
$ac_ext
5739 cat >>conftest.
$ac_ext <<_ACEOF
5740 /* end confdefs.h. */
5741 $ac_includes_default
5742 #include <$ac_header>
5744 rm -f conftest.
$ac_objext
5745 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5746 (eval $ac_compile) 2>conftest.er1
5748 grep -v '^ *+' conftest.er1
>conftest.err
5750 cat conftest.err
>&5
5751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5752 (exit $ac_status); } &&
5753 { ac_try
='test -z "$ac_c_werror_flag"
5754 || test ! -s conftest.err'
5755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5759 (exit $ac_status); }; } &&
5760 { ac_try
='test -s conftest.$ac_objext'
5761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5765 (exit $ac_status); }; }; then
5766 ac_header_compiler
=yes
5768 echo "$as_me: failed program was:" >&5
5769 sed 's/^/| /' conftest.
$ac_ext >&5
5771 ac_header_compiler
=no
5773 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5774 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5775 echo "${ECHO_T}$ac_header_compiler" >&6
5777 # Is the header present?
5778 echo "$as_me:$LINENO: checking $ac_header presence" >&5
5779 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5780 cat >conftest.
$ac_ext <<_ACEOF
5783 cat confdefs.h
>>conftest.
$ac_ext
5784 cat >>conftest.
$ac_ext <<_ACEOF
5785 /* end confdefs.h. */
5786 #include <$ac_header>
5788 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5789 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5791 grep -v '^ *+' conftest.er1
>conftest.err
5793 cat conftest.err
>&5
5794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5795 (exit $ac_status); } >/dev
/null
; then
5796 if test -s conftest.err
; then
5797 ac_cpp_err
=$ac_c_preproc_warn_flag
5798 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
5805 if test -z "$ac_cpp_err"; then
5806 ac_header_preproc
=yes
5808 echo "$as_me: failed program was:" >&5
5809 sed 's/^/| /' conftest.
$ac_ext >&5
5811 ac_header_preproc
=no
5813 rm -f conftest.err conftest.
$ac_ext
5814 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5815 echo "${ECHO_T}$ac_header_preproc" >&6
5817 # So? What about this header?
5818 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5820 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5821 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5822 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5823 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5824 ac_header_preproc
=yes
5827 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5828 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5829 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5830 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5831 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5832 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5833 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5834 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5835 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5836 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5837 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5838 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5841 ## ------------------------------------------------------ ##
5842 ## Report this to the GNU Fortran Runtime Library lists. ##
5843 ## ------------------------------------------------------ ##
5846 sed "s/^/$as_me: WARNING: /" >&2
5849 echo "$as_me:$LINENO: checking for $ac_header" >&5
5850 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5851 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5852 echo $ECHO_N "(cached) $ECHO_C" >&6
5854 eval "$as_ac_Header=\$ac_header_preproc"
5856 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5857 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5860 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5861 cat >>confdefs.h
<<_ACEOF
5862 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5874 for ac_header
in time.h sys
/params.h sys
/time.h sys
/times.h sys
/resource.h
5876 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5877 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5878 echo "$as_me:$LINENO: checking for $ac_header" >&5
5879 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5880 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5881 echo $ECHO_N "(cached) $ECHO_C" >&6
5883 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5884 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5886 # Is the header compilable?
5887 echo "$as_me:$LINENO: checking $ac_header usability" >&5
5888 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5889 cat >conftest.
$ac_ext <<_ACEOF
5892 cat confdefs.h
>>conftest.
$ac_ext
5893 cat >>conftest.
$ac_ext <<_ACEOF
5894 /* end confdefs.h. */
5895 $ac_includes_default
5896 #include <$ac_header>
5898 rm -f conftest.
$ac_objext
5899 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5900 (eval $ac_compile) 2>conftest.er1
5902 grep -v '^ *+' conftest.er1
>conftest.err
5904 cat conftest.err
>&5
5905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5906 (exit $ac_status); } &&
5907 { ac_try
='test -z "$ac_c_werror_flag"
5908 || test ! -s conftest.err'
5909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5913 (exit $ac_status); }; } &&
5914 { ac_try
='test -s conftest.$ac_objext'
5915 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5919 (exit $ac_status); }; }; then
5920 ac_header_compiler
=yes
5922 echo "$as_me: failed program was:" >&5
5923 sed 's/^/| /' conftest.
$ac_ext >&5
5925 ac_header_compiler
=no
5927 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5928 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5929 echo "${ECHO_T}$ac_header_compiler" >&6
5931 # Is the header present?
5932 echo "$as_me:$LINENO: checking $ac_header presence" >&5
5933 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5934 cat >conftest.
$ac_ext <<_ACEOF
5937 cat confdefs.h
>>conftest.
$ac_ext
5938 cat >>conftest.
$ac_ext <<_ACEOF
5939 /* end confdefs.h. */
5940 #include <$ac_header>
5942 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5943 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5945 grep -v '^ *+' conftest.er1
>conftest.err
5947 cat conftest.err
>&5
5948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5949 (exit $ac_status); } >/dev
/null
; then
5950 if test -s conftest.err
; then
5951 ac_cpp_err
=$ac_c_preproc_warn_flag
5952 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
5959 if test -z "$ac_cpp_err"; then
5960 ac_header_preproc
=yes
5962 echo "$as_me: failed program was:" >&5
5963 sed 's/^/| /' conftest.
$ac_ext >&5
5965 ac_header_preproc
=no
5967 rm -f conftest.err conftest.
$ac_ext
5968 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5969 echo "${ECHO_T}$ac_header_preproc" >&6
5971 # So? What about this header?
5972 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5974 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5975 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5976 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5977 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5978 ac_header_preproc
=yes
5981 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5982 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5983 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5984 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5985 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5986 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5987 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5988 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5989 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5990 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5991 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5992 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5995 ## ------------------------------------------------------ ##
5996 ## Report this to the GNU Fortran Runtime Library lists. ##
5997 ## ------------------------------------------------------ ##
6000 sed "s/^/$as_me: WARNING: /" >&2
6003 echo "$as_me:$LINENO: checking for $ac_header" >&5
6004 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6005 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6006 echo $ECHO_N "(cached) $ECHO_C" >&6
6008 eval "$as_ac_Header=\$ac_header_preproc"
6010 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6011 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6014 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6015 cat >>confdefs.h
<<_ACEOF
6016 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6023 if test "${ac_cv_header_complex_h+set}" = set; then
6024 echo "$as_me:$LINENO: checking for complex.h" >&5
6025 echo $ECHO_N "checking for complex.h... $ECHO_C" >&6
6026 if test "${ac_cv_header_complex_h+set}" = set; then
6027 echo $ECHO_N "(cached) $ECHO_C" >&6
6029 echo "$as_me:$LINENO: result: $ac_cv_header_complex_h" >&5
6030 echo "${ECHO_T}$ac_cv_header_complex_h" >&6
6032 # Is the header compilable?
6033 echo "$as_me:$LINENO: checking complex.h usability" >&5
6034 echo $ECHO_N "checking complex.h usability... $ECHO_C" >&6
6035 cat >conftest.
$ac_ext <<_ACEOF
6038 cat confdefs.h
>>conftest.
$ac_ext
6039 cat >>conftest.
$ac_ext <<_ACEOF
6040 /* end confdefs.h. */
6041 $ac_includes_default
6042 #include <complex.h>
6044 rm -f conftest.
$ac_objext
6045 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6046 (eval $ac_compile) 2>conftest.er1
6048 grep -v '^ *+' conftest.er1
>conftest.err
6050 cat conftest.err
>&5
6051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6052 (exit $ac_status); } &&
6053 { ac_try
='test -z "$ac_c_werror_flag"
6054 || test ! -s conftest.err'
6055 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6059 (exit $ac_status); }; } &&
6060 { ac_try
='test -s conftest.$ac_objext'
6061 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6065 (exit $ac_status); }; }; then
6066 ac_header_compiler
=yes
6068 echo "$as_me: failed program was:" >&5
6069 sed 's/^/| /' conftest.
$ac_ext >&5
6071 ac_header_compiler
=no
6073 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6074 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6075 echo "${ECHO_T}$ac_header_compiler" >&6
6077 # Is the header present?
6078 echo "$as_me:$LINENO: checking complex.h presence" >&5
6079 echo $ECHO_N "checking complex.h presence... $ECHO_C" >&6
6080 cat >conftest.
$ac_ext <<_ACEOF
6083 cat confdefs.h
>>conftest.
$ac_ext
6084 cat >>conftest.
$ac_ext <<_ACEOF
6085 /* end confdefs.h. */
6086 #include <complex.h>
6088 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6089 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6091 grep -v '^ *+' conftest.er1
>conftest.err
6093 cat conftest.err
>&5
6094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6095 (exit $ac_status); } >/dev
/null
; then
6096 if test -s conftest.err
; then
6097 ac_cpp_err
=$ac_c_preproc_warn_flag
6098 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
6105 if test -z "$ac_cpp_err"; then
6106 ac_header_preproc
=yes
6108 echo "$as_me: failed program was:" >&5
6109 sed 's/^/| /' conftest.
$ac_ext >&5
6111 ac_header_preproc
=no
6113 rm -f conftest.err conftest.
$ac_ext
6114 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6115 echo "${ECHO_T}$ac_header_preproc" >&6
6117 # So? What about this header?
6118 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6120 { echo "$as_me:$LINENO: WARNING: complex.h: accepted by the compiler, rejected by the preprocessor!" >&5
6121 echo "$as_me: WARNING: complex.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
6122 { echo "$as_me:$LINENO: WARNING: complex.h: proceeding with the compiler's result" >&5
6123 echo "$as_me: WARNING: complex.h: proceeding with the compiler's result" >&2;}
6124 ac_header_preproc
=yes
6127 { echo "$as_me:$LINENO: WARNING: complex.h: present but cannot be compiled" >&5
6128 echo "$as_me: WARNING: complex.h: present but cannot be compiled" >&2;}
6129 { echo "$as_me:$LINENO: WARNING: complex.h: check for missing prerequisite headers?" >&5
6130 echo "$as_me: WARNING: complex.h: check for missing prerequisite headers?" >&2;}
6131 { echo "$as_me:$LINENO: WARNING: complex.h: see the Autoconf documentation" >&5
6132 echo "$as_me: WARNING: complex.h: see the Autoconf documentation" >&2;}
6133 { echo "$as_me:$LINENO: WARNING: complex.h: section \"Present But Cannot Be Compiled\"" >&5
6134 echo "$as_me: WARNING: complex.h: section \"Present But Cannot Be Compiled\"" >&2;}
6135 { echo "$as_me:$LINENO: WARNING: complex.h: proceeding with the preprocessor's result" >&5
6136 echo "$as_me: WARNING: complex.h: proceeding with the preprocessor's result" >&2;}
6137 { echo "$as_me:$LINENO: WARNING: complex.h: in the future, the compiler will take precedence" >&5
6138 echo "$as_me: WARNING: complex.h: in the future, the compiler will take precedence" >&2;}
6141 ## ------------------------------------------------------ ##
6142 ## Report this to the GNU Fortran Runtime Library lists. ##
6143 ## ------------------------------------------------------ ##
6146 sed "s/^/$as_me: WARNING: /" >&2
6149 echo "$as_me:$LINENO: checking for complex.h" >&5
6150 echo $ECHO_N "checking for complex.h... $ECHO_C" >&6
6151 if test "${ac_cv_header_complex_h+set}" = set; then
6152 echo $ECHO_N "(cached) $ECHO_C" >&6
6154 ac_cv_header_complex_h
=$ac_header_preproc
6156 echo "$as_me:$LINENO: result: $ac_cv_header_complex_h" >&5
6157 echo "${ECHO_T}$ac_cv_header_complex_h" >&6
6160 if test $ac_cv_header_complex_h = yes; then
6162 cat >>confdefs.h
<<\_ACEOF
6163 #define HAVE_COMPLEX_H 1
6170 # Check for complex math functions
6171 echo "$as_me:$LINENO: checking for csin in -lm" >&5
6172 echo $ECHO_N "checking for csin in -lm... $ECHO_C" >&6
6173 if test "${ac_cv_lib_m_csin+set}" = set; then
6174 echo $ECHO_N "(cached) $ECHO_C" >&6
6176 ac_check_lib_save_LIBS
=$LIBS
6178 cat >conftest.
$ac_ext <<_ACEOF
6181 cat confdefs.h
>>conftest.
$ac_ext
6182 cat >>conftest.
$ac_ext <<_ACEOF
6183 /* end confdefs.h. */
6185 /* Override any gcc2 internal prototype to avoid an error. */
6189 /* We use char because int might match the return type of a gcc2
6190 builtin and then its argument prototype would still apply. */
6200 rm -f conftest.
$ac_objext conftest
$ac_exeext
6201 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6202 (eval $ac_link) 2>conftest.er1
6204 grep -v '^ *+' conftest.er1
>conftest.err
6206 cat conftest.err
>&5
6207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6208 (exit $ac_status); } &&
6209 { ac_try
='test -z "$ac_c_werror_flag"
6210 || test ! -s conftest.err'
6211 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6215 (exit $ac_status); }; } &&
6216 { ac_try
='test -s conftest$ac_exeext'
6217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6221 (exit $ac_status); }; }; then
6222 ac_cv_lib_m_csin
=yes
6224 echo "$as_me: failed program was:" >&5
6225 sed 's/^/| /' conftest.
$ac_ext >&5
6229 rm -f conftest.err conftest.
$ac_objext \
6230 conftest
$ac_exeext conftest.
$ac_ext
6231 LIBS
=$ac_check_lib_save_LIBS
6233 echo "$as_me:$LINENO: result: $ac_cv_lib_m_csin" >&5
6234 echo "${ECHO_T}$ac_cv_lib_m_csin" >&6
6235 if test $ac_cv_lib_m_csin = yes; then
6242 # Check for library functions.
6245 for ac_func
in getrusage
times
6247 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6248 echo "$as_me:$LINENO: checking for $ac_func" >&5
6249 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
6250 if eval "test \"\${$as_ac_var+set}\" = set"; then
6251 echo $ECHO_N "(cached) $ECHO_C" >&6
6253 cat >conftest.
$ac_ext <<_ACEOF
6256 cat confdefs.h
>>conftest.
$ac_ext
6257 cat >>conftest.
$ac_ext <<_ACEOF
6258 /* end confdefs.h. */
6259 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6260 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6261 #define $ac_func innocuous_$ac_func
6263 /* System header to define __stub macros and hopefully few prototypes,
6264 which can conflict with char $ac_func (); below.
6265 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6266 <limits.h> exists even on freestanding compilers. */
6269 # include <limits.h>
6271 # include <assert.h>
6276 /* Override any gcc2 internal prototype to avoid an error. */
6281 /* We use char because int might match the return type of a gcc2
6282 builtin and then its argument prototype would still apply. */
6284 /* The GNU C library defines this for functions which it implements
6285 to always fail with ENOSYS. Some functions are actually named
6286 something starting with __ and the normal name is an alias. */
6287 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6290 char (*f) () = $ac_func;
6299 return f != $ac_func;
6304 rm -f conftest.
$ac_objext conftest
$ac_exeext
6305 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6306 (eval $ac_link) 2>conftest.er1
6308 grep -v '^ *+' conftest.er1
>conftest.err
6310 cat conftest.err
>&5
6311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6312 (exit $ac_status); } &&
6313 { ac_try
='test -z "$ac_c_werror_flag"
6314 || test ! -s conftest.err'
6315 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6319 (exit $ac_status); }; } &&
6320 { ac_try
='test -s conftest$ac_exeext'
6321 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6325 (exit $ac_status); }; }; then
6326 eval "$as_ac_var=yes"
6328 echo "$as_me: failed program was:" >&5
6329 sed 's/^/| /' conftest.
$ac_ext >&5
6331 eval "$as_ac_var=no"
6333 rm -f conftest.err conftest.
$ac_objext \
6334 conftest
$ac_exeext conftest.
$ac_ext
6336 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
6337 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
6338 if test `eval echo '${'$as_ac_var'}'` = yes; then
6339 cat >>confdefs.h
<<_ACEOF
6340 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6347 # Check for some C99 functions
6348 echo "$as_me:$LINENO: checking for round in -lm" >&5
6349 echo $ECHO_N "checking for round in -lm... $ECHO_C" >&6
6350 if test "${ac_cv_lib_m_round+set}" = set; then
6351 echo $ECHO_N "(cached) $ECHO_C" >&6
6353 ac_check_lib_save_LIBS
=$LIBS
6355 cat >conftest.
$ac_ext <<_ACEOF
6358 cat confdefs.h
>>conftest.
$ac_ext
6359 cat >>conftest.
$ac_ext <<_ACEOF
6360 /* end confdefs.h. */
6362 /* Override any gcc2 internal prototype to avoid an error. */
6366 /* We use char because int might match the return type of a gcc2
6367 builtin and then its argument prototype would still apply. */
6377 rm -f conftest.
$ac_objext conftest
$ac_exeext
6378 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6379 (eval $ac_link) 2>conftest.er1
6381 grep -v '^ *+' conftest.er1
>conftest.err
6383 cat conftest.err
>&5
6384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6385 (exit $ac_status); } &&
6386 { ac_try
='test -z "$ac_c_werror_flag"
6387 || test ! -s conftest.err'
6388 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6392 (exit $ac_status); }; } &&
6393 { ac_try
='test -s conftest$ac_exeext'
6394 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6398 (exit $ac_status); }; }; then
6399 ac_cv_lib_m_round
=yes
6401 echo "$as_me: failed program was:" >&5
6402 sed 's/^/| /' conftest.
$ac_ext >&5
6404 ac_cv_lib_m_round
=no
6406 rm -f conftest.err conftest.
$ac_objext \
6407 conftest
$ac_exeext conftest.
$ac_ext
6408 LIBS
=$ac_check_lib_save_LIBS
6410 echo "$as_me:$LINENO: result: $ac_cv_lib_m_round" >&5
6411 echo "${ECHO_T}$ac_cv_lib_m_round" >&6
6412 if test $ac_cv_lib_m_round = yes; then
6414 cat >>confdefs.h
<<\_ACEOF
6415 #define HAVE_ROUND 1
6420 echo "$as_me:$LINENO: checking for roundf in -lm" >&5
6421 echo $ECHO_N "checking for roundf in -lm... $ECHO_C" >&6
6422 if test "${ac_cv_lib_m_roundf+set}" = set; then
6423 echo $ECHO_N "(cached) $ECHO_C" >&6
6425 ac_check_lib_save_LIBS
=$LIBS
6427 cat >conftest.
$ac_ext <<_ACEOF
6430 cat confdefs.h
>>conftest.
$ac_ext
6431 cat >>conftest.
$ac_ext <<_ACEOF
6432 /* end confdefs.h. */
6434 /* Override any gcc2 internal prototype to avoid an error. */
6438 /* We use char because int might match the return type of a gcc2
6439 builtin and then its argument prototype would still apply. */
6449 rm -f conftest.
$ac_objext conftest
$ac_exeext
6450 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6451 (eval $ac_link) 2>conftest.er1
6453 grep -v '^ *+' conftest.er1
>conftest.err
6455 cat conftest.err
>&5
6456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6457 (exit $ac_status); } &&
6458 { ac_try
='test -z "$ac_c_werror_flag"
6459 || test ! -s conftest.err'
6460 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6464 (exit $ac_status); }; } &&
6465 { ac_try
='test -s conftest$ac_exeext'
6466 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6470 (exit $ac_status); }; }; then
6471 ac_cv_lib_m_roundf
=yes
6473 echo "$as_me: failed program was:" >&5
6474 sed 's/^/| /' conftest.
$ac_ext >&5
6476 ac_cv_lib_m_roundf
=no
6478 rm -f conftest.err conftest.
$ac_objext \
6479 conftest
$ac_exeext conftest.
$ac_ext
6480 LIBS
=$ac_check_lib_save_LIBS
6482 echo "$as_me:$LINENO: result: $ac_cv_lib_m_roundf" >&5
6483 echo "${ECHO_T}$ac_cv_lib_m_roundf" >&6
6484 if test $ac_cv_lib_m_roundf = yes; then
6486 cat >>confdefs.h
<<\_ACEOF
6487 #define HAVE_ROUNDF 1
6492 # And other IEEE math functions
6493 echo "$as_me:$LINENO: checking for nextafter in -lm" >&5
6494 echo $ECHO_N "checking for nextafter in -lm... $ECHO_C" >&6
6495 if test "${ac_cv_lib_m_nextafter+set}" = set; then
6496 echo $ECHO_N "(cached) $ECHO_C" >&6
6498 ac_check_lib_save_LIBS
=$LIBS
6500 cat >conftest.
$ac_ext <<_ACEOF
6503 cat confdefs.h
>>conftest.
$ac_ext
6504 cat >>conftest.
$ac_ext <<_ACEOF
6505 /* end confdefs.h. */
6507 /* Override any gcc2 internal prototype to avoid an error. */
6511 /* We use char because int might match the return type of a gcc2
6512 builtin and then its argument prototype would still apply. */
6522 rm -f conftest.
$ac_objext conftest
$ac_exeext
6523 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6524 (eval $ac_link) 2>conftest.er1
6526 grep -v '^ *+' conftest.er1
>conftest.err
6528 cat conftest.err
>&5
6529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6530 (exit $ac_status); } &&
6531 { ac_try
='test -z "$ac_c_werror_flag"
6532 || test ! -s conftest.err'
6533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6537 (exit $ac_status); }; } &&
6538 { ac_try
='test -s conftest$ac_exeext'
6539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6543 (exit $ac_status); }; }; then
6544 ac_cv_lib_m_nextafter
=yes
6546 echo "$as_me: failed program was:" >&5
6547 sed 's/^/| /' conftest.
$ac_ext >&5
6549 ac_cv_lib_m_nextafter
=no
6551 rm -f conftest.err conftest.
$ac_objext \
6552 conftest
$ac_exeext conftest.
$ac_ext
6553 LIBS
=$ac_check_lib_save_LIBS
6555 echo "$as_me:$LINENO: result: $ac_cv_lib_m_nextafter" >&5
6556 echo "${ECHO_T}$ac_cv_lib_m_nextafter" >&6
6557 if test $ac_cv_lib_m_nextafter = yes; then
6559 cat >>confdefs.h
<<\_ACEOF
6560 #define HAVE_NEXTAFTER 1
6565 echo "$as_me:$LINENO: checking for nextafterf in -lm" >&5
6566 echo $ECHO_N "checking for nextafterf in -lm... $ECHO_C" >&6
6567 if test "${ac_cv_lib_m_nextafterf+set}" = set; then
6568 echo $ECHO_N "(cached) $ECHO_C" >&6
6570 ac_check_lib_save_LIBS
=$LIBS
6572 cat >conftest.
$ac_ext <<_ACEOF
6575 cat confdefs.h
>>conftest.
$ac_ext
6576 cat >>conftest.
$ac_ext <<_ACEOF
6577 /* end confdefs.h. */
6579 /* Override any gcc2 internal prototype to avoid an error. */
6583 /* We use char because int might match the return type of a gcc2
6584 builtin and then its argument prototype would still apply. */
6594 rm -f conftest.
$ac_objext conftest
$ac_exeext
6595 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6596 (eval $ac_link) 2>conftest.er1
6598 grep -v '^ *+' conftest.er1
>conftest.err
6600 cat conftest.err
>&5
6601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6602 (exit $ac_status); } &&
6603 { ac_try
='test -z "$ac_c_werror_flag"
6604 || test ! -s conftest.err'
6605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6609 (exit $ac_status); }; } &&
6610 { ac_try
='test -s conftest$ac_exeext'
6611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6615 (exit $ac_status); }; }; then
6616 ac_cv_lib_m_nextafterf
=yes
6618 echo "$as_me: failed program was:" >&5
6619 sed 's/^/| /' conftest.
$ac_ext >&5
6621 ac_cv_lib_m_nextafterf
=no
6623 rm -f conftest.err conftest.
$ac_objext \
6624 conftest
$ac_exeext conftest.
$ac_ext
6625 LIBS
=$ac_check_lib_save_LIBS
6627 echo "$as_me:$LINENO: result: $ac_cv_lib_m_nextafterf" >&5
6628 echo "${ECHO_T}$ac_cv_lib_m_nextafterf" >&6
6629 if test $ac_cv_lib_m_nextafterf = yes; then
6631 cat >>confdefs.h
<<\_ACEOF
6632 #define HAVE_NEXTAFTERF 1
6638 # Let the user override this
6639 # Check whether --enable-cmath or --disable-cmath was given.
6640 if test "${enable_cmath+set}" = set; then
6641 enableval
="$enable_cmath"
6642 need_math
=$enableval
6644 if test "$need_math" = "yes"; then
6645 { echo "$as_me:$LINENO: Including complex math functions in libgfor" >&5
6646 echo "$as_me: Including complex math functions in libgfor" >&6;};
6647 extra_math_obj
='$(gfor_cmath_obj)'
6650 MATH_OBJ
="$extra_math_obj"
6653 # The standard autoconf HAVE_STRUCT_TIMEZONE doesn't actually check
6654 # for struct timezone, as you might think. We also need to check how
6655 # to call gettimeofday if we have it.
6656 echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
6657 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
6658 if test "${ac_cv_header_time+set}" = set; then
6659 echo $ECHO_N "(cached) $ECHO_C" >&6
6661 cat >conftest.
$ac_ext <<_ACEOF
6664 cat confdefs.h
>>conftest.
$ac_ext
6665 cat >>conftest.
$ac_ext <<_ACEOF
6666 /* end confdefs.h. */
6667 #include <sys/types.h>
6668 #include <sys/time.h>
6674 if ((struct tm *) 0)
6680 rm -f conftest.
$ac_objext
6681 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6682 (eval $ac_compile) 2>conftest.er1
6684 grep -v '^ *+' conftest.er1
>conftest.err
6686 cat conftest.err
>&5
6687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6688 (exit $ac_status); } &&
6689 { ac_try
='test -z "$ac_c_werror_flag"
6690 || test ! -s conftest.err'
6691 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6695 (exit $ac_status); }; } &&
6696 { ac_try
='test -s conftest.$ac_objext'
6697 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6701 (exit $ac_status); }; }; then
6702 ac_cv_header_time
=yes
6704 echo "$as_me: failed program was:" >&5
6705 sed 's/^/| /' conftest.
$ac_ext >&5
6707 ac_cv_header_time
=no
6709 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6711 echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
6712 echo "${ECHO_T}$ac_cv_header_time" >&6
6713 if test $ac_cv_header_time = yes; then
6715 cat >>confdefs.h
<<\_ACEOF
6716 #define TIME_WITH_SYS_TIME 1
6723 for ac_func
in gettimeofday
6725 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6726 echo "$as_me:$LINENO: checking for $ac_func" >&5
6727 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
6728 if eval "test \"\${$as_ac_var+set}\" = set"; then
6729 echo $ECHO_N "(cached) $ECHO_C" >&6
6731 cat >conftest.
$ac_ext <<_ACEOF
6734 cat confdefs.h
>>conftest.
$ac_ext
6735 cat >>conftest.
$ac_ext <<_ACEOF
6736 /* end confdefs.h. */
6737 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6738 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6739 #define $ac_func innocuous_$ac_func
6741 /* System header to define __stub macros and hopefully few prototypes,
6742 which can conflict with char $ac_func (); below.
6743 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6744 <limits.h> exists even on freestanding compilers. */
6747 # include <limits.h>
6749 # include <assert.h>
6754 /* Override any gcc2 internal prototype to avoid an error. */
6759 /* We use char because int might match the return type of a gcc2
6760 builtin and then its argument prototype would still apply. */
6762 /* The GNU C library defines this for functions which it implements
6763 to always fail with ENOSYS. Some functions are actually named
6764 something starting with __ and the normal name is an alias. */
6765 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6768 char (*f) () = $ac_func;
6777 return f != $ac_func;
6782 rm -f conftest.
$ac_objext conftest
$ac_exeext
6783 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6784 (eval $ac_link) 2>conftest.er1
6786 grep -v '^ *+' conftest.er1
>conftest.err
6788 cat conftest.err
>&5
6789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6790 (exit $ac_status); } &&
6791 { ac_try
='test -z "$ac_c_werror_flag"
6792 || test ! -s conftest.err'
6793 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6797 (exit $ac_status); }; } &&
6798 { ac_try
='test -s conftest$ac_exeext'
6799 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6803 (exit $ac_status); }; }; then
6804 eval "$as_ac_var=yes"
6806 echo "$as_me: failed program was:" >&5
6807 sed 's/^/| /' conftest.
$ac_ext >&5
6809 eval "$as_ac_var=no"
6811 rm -f conftest.err conftest.
$ac_objext \
6812 conftest
$ac_exeext conftest.
$ac_ext
6814 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
6815 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
6816 if test `eval echo '${'$as_ac_var'}'` = yes; then
6817 cat >>confdefs.h
<<_ACEOF
6818 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6824 if test "$ac_cv_func_gettimeofday" = yes; then
6825 echo "$as_me:$LINENO: checking for struct timezone" >&5
6826 echo $ECHO_N "checking for struct timezone... $ECHO_C" >&6
6827 if test "${gfor_cv_struct_timezone+set}" = set; then
6828 echo $ECHO_N "(cached) $ECHO_C" >&6
6830 cat >conftest.
$ac_ext <<_ACEOF
6833 cat confdefs.h
>>conftest.
$ac_ext
6834 cat >>conftest.
$ac_ext <<_ACEOF
6835 /* end confdefs.h. */
6836 #include <sys/time.h>
6845 rm -f conftest.
$ac_objext
6846 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6847 (eval $ac_compile) 2>conftest.er1
6849 grep -v '^ *+' conftest.er1
>conftest.err
6851 cat conftest.err
>&5
6852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6853 (exit $ac_status); } &&
6854 { ac_try
='test -z "$ac_c_werror_flag"
6855 || test ! -s conftest.err'
6856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6860 (exit $ac_status); }; } &&
6861 { ac_try
='test -s conftest.$ac_objext'
6862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6866 (exit $ac_status); }; }; then
6867 gfor_cv_struct_timezone
=yes
6869 echo "$as_me: failed program was:" >&5
6870 sed 's/^/| /' conftest.
$ac_ext >&5
6872 gfor_cv_struct_timezone
=no
6874 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6876 echo "$as_me:$LINENO: result: $gfor_cv_struct_timezone" >&5
6877 echo "${ECHO_T}$gfor_cv_struct_timezone" >&6
6878 if test $gfor_cv_struct_timezone = yes; then
6879 if test "$cross_compiling" = yes; then
6880 gfor_have_struct_timezone
=yes
6882 cat >conftest.
$ac_ext <<_ACEOF
6885 cat confdefs.h
>>conftest.
$ac_ext
6886 cat >>conftest.
$ac_ext <<_ACEOF
6887 /* end confdefs.h. */
6889 #ifdef TIME_WITH_SYS_TIME
6890 #include <sys/time.h>
6893 #ifdef HAVE_SYS_TIME_H
6894 #include <sys/time.h>
6901 struct timeval time;
6902 struct timezone dummy;
6903 if (gettimeofday (&time, &dummy))
6909 rm -f conftest
$ac_exeext
6910 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6911 (eval $ac_link) 2>&5
6913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6914 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
6915 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6919 (exit $ac_status); }; }; then
6920 gfor_have_struct_timezone
=yes
6922 echo "$as_me: program exited with status $ac_status" >&5
6923 echo "$as_me: failed program was:" >&5
6924 sed 's/^/| /' conftest.
$ac_ext >&5
6927 gfor_have_struct_timezone
=no
6929 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
6931 if test $gfor_have_struct_timezone = yes; then
6933 cat >>confdefs.h
<<\_ACEOF
6934 #define HAVE_TIMEZONE 1
6940 echo "$as_me:$LINENO: checking whether gettimeofday can accept two arguments" >&5
6941 echo $ECHO_N "checking whether gettimeofday can accept two arguments... $ECHO_C" >&6
6942 if test "${emacs_cv_gettimeofday_two_arguments+set}" = set; then
6943 echo $ECHO_N "(cached) $ECHO_C" >&6
6945 cat >conftest.
$ac_ext <<_ACEOF
6948 cat confdefs.h
>>conftest.
$ac_ext
6949 cat >>conftest.
$ac_ext <<_ACEOF
6950 /* end confdefs.h. */
6952 #ifdef TIME_WITH_SYS_TIME
6953 #include <sys/time.h>
6956 #ifdef HAVE_SYS_TIME_H
6957 #include <sys/time.h>
6967 struct timeval time;
6968 #ifdef HAVE_TIMEZONE
6969 struct timezone dummy;
6970 #define DUMMY &dummy
6974 gettimeofday (&time, DUMMY);
6979 rm -f conftest.
$ac_objext conftest
$ac_exeext
6980 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6981 (eval $ac_link) 2>conftest.er1
6983 grep -v '^ *+' conftest.er1
>conftest.err
6985 cat conftest.err
>&5
6986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6987 (exit $ac_status); } &&
6988 { ac_try
='test -z "$ac_c_werror_flag"
6989 || test ! -s conftest.err'
6990 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6994 (exit $ac_status); }; } &&
6995 { ac_try
='test -s conftest$ac_exeext'
6996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7000 (exit $ac_status); }; }; then
7001 emacs_cv_gettimeofday_two_arguments
=yes
7003 echo "$as_me: failed program was:" >&5
7004 sed 's/^/| /' conftest.
$ac_ext >&5
7006 emacs_cv_gettimeofday_two_arguments
=no
7008 rm -f conftest.err conftest.
$ac_objext \
7009 conftest
$ac_exeext conftest.
$ac_ext
7011 echo "$as_me:$LINENO: result: $emacs_cv_gettimeofday_two_arguments" >&5
7012 echo "${ECHO_T}$emacs_cv_gettimeofday_two_arguments" >&6
7013 if test $emacs_cv_gettimeofday_two_arguments = no
; then
7015 cat >>confdefs.h
<<\_ACEOF
7016 #define GETTIMEOFDAY_ONE_ARGUMENT 1
7022 cat >confcache
<<\_ACEOF
7023 # This file is a shell script that caches the results of configure
7024 # tests run on this system so they can be shared between configure
7025 # scripts and configure runs, see configure's option --config-cache.
7026 # It is not useful on other systems. If it contains results you don't
7027 # want to keep, you may remove or edit it.
7029 # config.status only pays attention to the cache file if you give it
7030 # the --recheck option to rerun configure.
7032 # `ac_cv_env_foo' variables (set or unset) will be overridden when
7033 # loading this file, other *unset* `ac_cv_foo' will be assigned the
7038 # The following way of writing the cache mishandles newlines in values,
7039 # but we know of no workaround that is simple, portable, and efficient.
7040 # So, don't put newlines in cache variables' values.
7041 # Ultrix sh set writes to stderr and can't be redirected directly,
7042 # and sets the high bit in the cache file unless we assign to the vars.
7045 case `(ac_space=' '; set | grep ac_space) 2>&1` in
7047 # `set' does not quote correctly, so add quotes (double-quote
7048 # substitution turns \\\\ into \\, and sed turns \\ into \).
7051 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
7054 # `set' quotes correctly as required by POSIX, so do not add quotes.
7056 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
7063 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
7065 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
7067 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
7068 if test -w $cache_file; then
7069 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
7070 cat confcache
>$cache_file
7072 echo "not updating unwritable cache $cache_file"
7077 if test ${multilib} = yes; then
7078 multilib_arg
="--enable-multilib"
7083 # Write our Makefile.
7084 ac_config_files
="$ac_config_files Makefile"
7086 cat >confcache
<<\_ACEOF
7087 # This file is a shell script that caches the results of configure
7088 # tests run on this system so they can be shared between configure
7089 # scripts and configure runs, see configure's option --config-cache.
7090 # It is not useful on other systems. If it contains results you don't
7091 # want to keep, you may remove or edit it.
7093 # config.status only pays attention to the cache file if you give it
7094 # the --recheck option to rerun configure.
7096 # `ac_cv_env_foo' variables (set or unset) will be overridden when
7097 # loading this file, other *unset* `ac_cv_foo' will be assigned the
7102 # The following way of writing the cache mishandles newlines in values,
7103 # but we know of no workaround that is simple, portable, and efficient.
7104 # So, don't put newlines in cache variables' values.
7105 # Ultrix sh set writes to stderr and can't be redirected directly,
7106 # and sets the high bit in the cache file unless we assign to the vars.
7109 case `(ac_space=' '; set | grep ac_space) 2>&1` in
7111 # `set' does not quote correctly, so add quotes (double-quote
7112 # substitution turns \\\\ into \\, and sed turns \\ into \).
7115 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
7118 # `set' quotes correctly as required by POSIX, so do not add quotes.
7120 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
7127 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
7129 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
7131 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
7132 if test -w $cache_file; then
7133 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
7134 cat confcache
>$cache_file
7136 echo "not updating unwritable cache $cache_file"
7141 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
7142 # Let make expand exec_prefix.
7143 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
7145 # VPATH may cause trouble with some makes, so we remove $(srcdir),
7146 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
7147 # trailing colons and then remove the whole line if VPATH becomes empty
7148 # (actually we leave an empty line to preserve line numbers).
7149 if test "x$srcdir" = x.
; then
7150 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
7151 s/:*\$(srcdir):*/:/;
7152 s/:*\${srcdir}:*/:/;
7154 s/^\([^=]*=[ ]*\):*/\1/;
7160 DEFS
=-DHAVE_CONFIG_H
7164 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
7165 # 1. Remove the extension, and $U if already installed.
7166 ac_i
=`echo "$ac_i" |
7167 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
7169 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
7170 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
7174 LTLIBOBJS
=$ac_ltlibobjs
7177 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
7178 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
7179 Usually this means the macro was only invoked conditionally." >&5
7180 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
7181 Usually this means the macro was only invoked conditionally." >&2;}
7182 { (exit 1); exit 1; }; }
7185 : ${CONFIG_STATUS=./config.status}
7186 ac_clean_files_save
=$ac_clean_files
7187 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
7188 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
7189 echo "$as_me: creating $CONFIG_STATUS" >&6;}
7190 cat >$CONFIG_STATUS <<_ACEOF
7192 # Generated by $as_me.
7193 # Run this file to recreate the current configuration.
7194 # Compiler output produced by configure, useful for debugging
7195 # configure, is in config.log if it exists.
7200 SHELL=\${CONFIG_SHELL-$SHELL}
7203 cat >>$CONFIG_STATUS <<\_ACEOF
7204 ## --------------------- ##
7205 ## M4sh Initialization. ##
7206 ## --------------------- ##
7208 # Be Bourne compatible
7209 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
7212 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
7213 # is contrary to our usage. Disable this feature.
7214 alias -g '${1+"$@"}'='"$@"'
7215 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
7218 DUALCASE
=1; export DUALCASE
# for MKS sh
7220 # Support unset when possible.
7221 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
7228 # Work around bugs in pre-3.0 UWIN ksh.
7229 $as_unset ENV MAIL MAILPATH
7236 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
7237 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
7238 LC_TELEPHONE LC_TIME
7240 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
7241 eval $as_var=C
; export $as_var
7247 # Required to use basename.
7248 if expr a
: '\(a\)' >/dev
/null
2>&1; then
7254 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
7255 as_basename
=basename
7261 # Name of the executable.
7262 as_me
=`$as_basename "$0" ||
7263 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
7264 X"$0" : 'X\(//\)$' \| \
7265 X"$0" : 'X\(/\)$' \| \
7266 . : '\(.\)' 2>/dev/null ||
7268 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
7269 /^X\/\(\/\/\)$/{ s//\1/; q; }
7270 /^X\/\(\/\).*/{ s//\1/; q; }
7274 # PATH needs CR, and LINENO needs CR and PATH.
7275 # Avoid depending upon Character Ranges.
7276 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
7277 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
7278 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
7279 as_cr_digits
='0123456789'
7280 as_cr_alnum
=$as_cr_Letters$as_cr_digits
7282 # The user is always right.
7283 if test "${PATH_SEPARATOR+set}" != set; then
7284 echo "#! /bin/sh" >conf$$.sh
7285 echo "exit 0" >>conf$$.sh
7287 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
7298 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
7299 test "x$as_lineno_1" != "x$as_lineno_2" &&
7300 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
7301 # Find who we are. Look in the path if we contain no path at all
7304 *[\\/]* ) as_myself
=$0 ;;
7305 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7309 test -z "$as_dir" && as_dir
=.
7310 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
7315 # We did not find ourselves, most probably we were run as `sh COMMAND'
7316 # in which case we are not to be found in the path.
7317 if test "x$as_myself" = x
; then
7320 if test ! -f "$as_myself"; then
7321 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
7322 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
7323 { (exit 1); exit 1; }; }
7325 case $CONFIG_SHELL in
7327 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7328 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
7331 test -z "$as_dir" && as_dir
=.
7332 for as_base
in sh bash ksh sh5
; do
7335 if ("$as_dir/$as_base" -c '
7338 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
7339 test "x$as_lineno_1" != "x$as_lineno_2" &&
7340 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
7341 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
7342 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
7343 CONFIG_SHELL
=$as_dir/$as_base
7345 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
7353 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
7354 # uniformly replaced by the line number. The first 'sed' inserts a
7355 # line-number line before each line; the second 'sed' does the real
7356 # work. The second script uses 'N' to pair each line-number line
7357 # with the numbered line, and appends trailing '-' during
7358 # substitution so that $LINENO is not a special case at line end.
7359 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
7360 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
7361 sed '=' <$as_myself |
7366 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
7369 s,^['$as_cr_digits']*\n,,
7371 chmod +x
$as_me.lineno ||
7372 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
7373 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
7374 { (exit 1); exit 1; }; }
7376 # Don't try to exec as it changes $[0], causing all sort of problems
7377 # (the dirname of $[0] is not the place where we might find the
7378 # original and so on. Autoconf is especially sensible to this).
7380 # Exit status is that of the last command.
7385 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
7386 *c
*,-n*) ECHO_N
= ECHO_C
='
7388 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
7389 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
7392 if expr a
: '\(a\)' >/dev
/null
2>&1; then
7398 rm -f conf$$ conf$$.exe conf$$.
file
7400 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
7401 # We could just check for DJGPP; but this test a) works b) is more generic
7402 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
7403 if test -f conf$$.exe
; then
7404 # Don't use ln at all; we don't have any links
7409 elif ln conf$$.
file conf$$
2>/dev
/null
; then
7414 rm -f conf$$ conf$$.exe conf$$.
file
7416 if mkdir
-p .
2>/dev
/null
; then
7419 test -d .
/-p && rmdir .
/-p
7423 as_executable_p
="test -f"
7425 # Sed expression to map a string onto a valid CPP name.
7426 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
7428 # Sed expression to map a string onto a valid variable name.
7429 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
7433 # We need space, tab and new line, in precisely that order.
7443 # Open the log real soon, to keep \$[0] and so on meaningful, and to
7444 # report actual input values of CONFIG_FILES etc. instead of their
7445 # values after options handling. Logging --version etc. is OK.
7449 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
7450 ## Running $as_me. ##
7455 This file was extended by GNU Fortran Runtime Library $as_me 0.2, which was
7456 generated by GNU Autoconf 2.59. Invocation command line was
7458 CONFIG_FILES = $CONFIG_FILES
7459 CONFIG_HEADERS = $CONFIG_HEADERS
7460 CONFIG_LINKS = $CONFIG_LINKS
7461 CONFIG_COMMANDS = $CONFIG_COMMANDS
7465 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
7469 # Files that config.status was made for.
7470 if test -n "$ac_config_files"; then
7471 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
7474 if test -n "$ac_config_headers"; then
7475 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
7478 if test -n "$ac_config_links"; then
7479 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
7482 if test -n "$ac_config_commands"; then
7483 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
7486 cat >>$CONFIG_STATUS <<\_ACEOF
7489 \`$as_me' instantiates files from templates according to the
7490 current configuration.
7492 Usage: $0 [OPTIONS] [FILE]...
7494 -h, --help print this help, then exit
7495 -V, --version print version number, then exit
7496 -q, --quiet do not print progress messages
7497 -d, --debug don't remove temporary files
7498 --recheck update $as_me by reconfiguring in the same conditions
7499 --file=FILE[:TEMPLATE]
7500 instantiate the configuration file FILE
7501 --header=FILE[:TEMPLATE]
7502 instantiate the configuration header FILE
7504 Configuration files:
7507 Configuration headers:
7510 Configuration commands:
7513 Report bugs to <bug-autoconf@gnu.org>."
7516 cat >>$CONFIG_STATUS <<_ACEOF
7518 GNU Fortran Runtime Library config.status 0.2
7519 configured by $0, generated by GNU Autoconf 2.59,
7520 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
7522 Copyright (C) 2003 Free Software Foundation, Inc.
7523 This config.status script is free software; the Free Software Foundation
7524 gives unlimited permission to copy, distribute and modify it."
7529 cat >>$CONFIG_STATUS <<\_ACEOF
7530 # If no file are specified by the user, then we need to provide default
7531 # value. By we need to know if files were specified by the user.
7537 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
7538 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
7546 *) # This is not an option, so the user has probably given explicit
7549 ac_need_defaults
=false
;;
7553 # Handling of the options.
7555 cat >>$CONFIG_STATUS <<\_ACEOF
7556 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
7558 --version |
--vers* |
-V )
7559 echo "$ac_cs_version"; exit 0 ;;
7561 # Conflict between --help and --header
7562 { { echo "$as_me:$LINENO: error: ambiguous option: $1
7563 Try \`$0 --help' for more information." >&5
7564 echo "$as_me: error: ambiguous option: $1
7565 Try \`$0 --help' for more information." >&2;}
7566 { (exit 1); exit 1; }; };;
7567 --help |
--hel |
-h )
7568 echo "$ac_cs_usage"; exit 0 ;;
7569 --debug |
--d* |
-d )
7571 --file |
--fil |
--fi |
--f )
7573 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
7574 ac_need_defaults
=false
;;
7575 --header |
--heade |
--head |
--hea )
7577 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
7578 ac_need_defaults
=false
;;
7579 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
7580 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
7584 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
7585 Try \`$0 --help' for more information." >&5
7586 echo "$as_me: error: unrecognized option: $1
7587 Try \`$0 --help' for more information." >&2;}
7588 { (exit 1); exit 1; }; } ;;
7590 *) ac_config_targets
="$ac_config_targets $1" ;;
7596 ac_configure_extra_args
=
7598 if $ac_cs_silent; then
7600 ac_configure_extra_args
="$ac_configure_extra_args --silent"
7604 cat >>$CONFIG_STATUS <<_ACEOF
7605 if \$ac_cs_recheck; then
7606 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
7607 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
7612 cat >>$CONFIG_STATUS <<_ACEOF
7614 # INIT-COMMANDS section.
7621 with_multisubdir="$with_multisubdir"
7622 with_multisrctop="$with_multisrctop"
7623 with_target_subdir="$with_target_subdir"
7624 ac_configure_args="${multilib_arg} ${ac_configure_args}"
7625 multi_basedir="$multi_basedir"
7626 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
7633 cat >>$CONFIG_STATUS <<\_ACEOF
7634 for ac_config_target
in $ac_config_targets
7636 case "$ac_config_target" in
7637 # Handling of arguments.
7638 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
7639 "default-1" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS default-1" ;;
7640 "config.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
7641 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
7642 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
7643 { (exit 1); exit 1; }; };;
7647 # If the user did not use the arguments to specify the items to instantiate,
7648 # then the envvar interface is used. Set only those that are not.
7649 # We use the long form for the default assignment because of an extremely
7650 # bizarre bug on SunOS 4.1.3.
7651 if $ac_need_defaults; then
7652 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
7653 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
7654 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
7657 # Have a temporary directory for convenience. Make it in the build tree
7658 # simply because there is no reason to put it here, and in addition,
7659 # creating and moving files from /tmp can sometimes cause problems.
7660 # Create a temporary directory, and hook for its removal unless debugging.
7663 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
7664 trap '{ (exit 1); exit 1; }' 1 2 13 15
7667 # Create a (secure) tmp directory for tmp files.
7670 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
7671 test -n "$tmp" && test -d "$tmp"
7674 tmp
=.
/confstat$$
-$RANDOM
7675 (umask 077 && mkdir
$tmp)
7678 echo "$me: cannot create a temporary directory in ." >&2
7679 { (exit 1); exit 1; }
7684 cat >>$CONFIG_STATUS <<_ACEOF
7687 # CONFIG_FILES section.
7690 # No need to generate the scripts if there are no CONFIG_FILES.
7691 # This happens for instance when ./config.status config.h
7692 if test -n "\$CONFIG_FILES"; then
7693 # Protect against being on the right side of a sed subst in config.status.
7694 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
7695 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
7696 s,@SHELL@,$SHELL,;t t
7697 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
7698 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
7699 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
7700 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
7701 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
7702 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
7703 s,@exec_prefix@,$exec_prefix,;t t
7704 s,@prefix@,$prefix,;t t
7705 s,@program_transform_name@,$program_transform_name,;t t
7706 s,@bindir@,$bindir,;t t
7707 s,@sbindir@,$sbindir,;t t
7708 s,@libexecdir@,$libexecdir,;t t
7709 s,@datadir@,$datadir,;t t
7710 s,@sysconfdir@,$sysconfdir,;t t
7711 s,@sharedstatedir@,$sharedstatedir,;t t
7712 s,@localstatedir@,$localstatedir,;t t
7713 s,@libdir@,$libdir,;t t
7714 s,@includedir@,$includedir,;t t
7715 s,@oldincludedir@,$oldincludedir,;t t
7716 s,@infodir@,$infodir,;t t
7717 s,@mandir@,$mandir,;t t
7718 s,@build_alias@,$build_alias,;t t
7719 s,@host_alias@,$host_alias,;t t
7720 s,@target_alias@,$target_alias,;t t
7722 s,@ECHO_C@,$ECHO_C,;t t
7723 s,@ECHO_N@,$ECHO_N,;t t
7724 s,@ECHO_T@,$ECHO_T,;t t
7726 s,@libtool_VERSION@,$libtool_VERSION,;t t
7727 s,@build@,$build,;t t
7728 s,@build_cpu@,$build_cpu,;t t
7729 s,@build_vendor@,$build_vendor,;t t
7730 s,@build_os@,$build_os,;t t
7732 s,@host_cpu@,$host_cpu,;t t
7733 s,@host_vendor@,$host_vendor,;t t
7734 s,@host_os@,$host_os,;t t
7735 s,@target@,$target,;t t
7736 s,@target_cpu@,$target_cpu,;t t
7737 s,@target_vendor@,$target_vendor,;t t
7738 s,@target_os@,$target_os,;t t
7739 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
7740 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
7741 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
7742 s,@CYGPATH_W@,$CYGPATH_W,;t t
7743 s,@PACKAGE@,$PACKAGE,;t t
7744 s,@VERSION@,$VERSION,;t t
7745 s,@ACLOCAL@,$ACLOCAL,;t t
7746 s,@AUTOCONF@,$AUTOCONF,;t t
7747 s,@AUTOMAKE@,$AUTOMAKE,;t t
7748 s,@AUTOHEADER@,$AUTOHEADER,;t t
7749 s,@MAKEINFO@,$MAKEINFO,;t t
7750 s,@AMTAR@,$AMTAR,;t t
7751 s,@install_sh@,$install_sh,;t t
7752 s,@STRIP@,$STRIP,;t t
7753 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
7754 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
7755 s,@mkdir_p@,$mkdir_p,;t t
7757 s,@SET_MAKE@,$SET_MAKE,;t t
7758 s,@am__leading_dot@,$am__leading_dot,;t t
7759 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
7760 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
7761 s,@MAINT@,$MAINT,;t t
7762 s,@multi_basedir@,$multi_basedir,;t t
7763 s,@gcc_version@,$gcc_version,;t t
7764 s,@toolexecdir@,$toolexecdir,;t t
7765 s,@toolexeclibdir@,$toolexeclibdir,;t t
7767 s,@ac_ct_CC@,$ac_ct_CC,;t t
7768 s,@EXEEXT@,$EXEEXT,;t t
7769 s,@OBJEXT@,$OBJEXT,;t t
7770 s,@CFLAGS@,$CFLAGS,;t t
7772 s,@ac_ct_AS@,$ac_ct_AS,;t t
7774 s,@ac_ct_AR@,$ac_ct_AR,;t t
7775 s,@RANLIB@,$RANLIB,;t t
7776 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
7778 s,@LIBTOOL@,$LIBTOOL,;t t
7779 s,@enable_shared@,$enable_shared,;t t
7780 s,@enable_static@,$enable_static,;t t
7782 s,@FFLAGS@,$FFLAGS,;t t
7783 s,@LDFLAGS@,$LDFLAGS,;t t
7784 s,@ac_ct_F77@,$ac_ct_F77,;t t
7786 s,@CPPFLAGS@,$CPPFLAGS,;t t
7787 s,@EGREP@,$EGREP,;t t
7788 s,@MATH_OBJ@,$MATH_OBJ,;t t
7789 s,@LIBOBJS@,$LIBOBJS,;t t
7790 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
7795 cat >>$CONFIG_STATUS <<\_ACEOF
7796 # Split the substitutions into bite-sized pieces for seds with
7797 # small command number limits, like on Digital OSF/1 and HP-UX.
7799 ac_sed_frag
=1 # Number of current file.
7800 ac_beg
=1 # First line for current file.
7801 ac_end
=$ac_max_sed_lines # Line after last line for current file.
7804 while $ac_more_lines; do
7805 if test $ac_beg -gt 1; then
7806 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
7808 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
7810 if test ! -s $tmp/subs.frag
; then
7813 # The purpose of the label and of the branching condition is to
7814 # speed up the sed processing (if there are no `@' at all, there
7815 # is no need to browse any of the substitutions).
7816 # These are the two extra sed commands mentioned above.
7818 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
7819 if test -z "$ac_sed_cmds"; then
7820 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
7822 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
7824 ac_sed_frag
=`expr $ac_sed_frag + 1`
7826 ac_end
=`expr $ac_end + $ac_max_sed_lines`
7829 if test -z "$ac_sed_cmds"; then
7832 fi # test -n "$CONFIG_FILES"
7835 cat >>$CONFIG_STATUS <<\_ACEOF
7836 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
7837 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
7839 - |
*:- |
*:-:* ) # input from stdin
7841 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
7842 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
7843 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
7844 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
7845 * ) ac_file_in
=$ac_file.
in ;;
7848 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
7849 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
7850 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7851 X"$ac_file" : 'X\(//\)[^/]' \| \
7852 X"$ac_file" : 'X\(//\)$' \| \
7853 X"$ac_file" : 'X\(/\)' \| \
7854 . : '\(.\)' 2>/dev/null ||
7856 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7857 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7858 /^X\(\/\/\)$/{ s//\1/; q; }
7859 /^X\(\/\).*/{ s//\1/; q; }
7861 { if $as_mkdir_p; then
7866 while test ! -d "$as_dir"; do
7867 as_dirs
="$as_dir $as_dirs"
7868 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
7869 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7870 X"$as_dir" : 'X\(//\)[^/]' \| \
7871 X"$as_dir" : 'X\(//\)$' \| \
7872 X"$as_dir" : 'X\(/\)' \| \
7873 . : '\(.\)' 2>/dev/null ||
7875 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7876 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7877 /^X\(\/\/\)$/{ s//\1/; q; }
7878 /^X\(\/\).*/{ s//\1/; q; }
7881 test ! -n "$as_dirs" || mkdir
$as_dirs
7882 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
7883 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
7884 { (exit 1); exit 1; }; }; }
7888 if test "$ac_dir" != .
; then
7889 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
7890 # A "../" for each directory in $ac_dir_suffix.
7891 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
7893 ac_dir_suffix
= ac_top_builddir
=
7897 .
) # No --srcdir option. We are building in place.
7899 if test -z "$ac_top_builddir"; then
7902 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
7904 [\\/]* | ?
:[\\/]* ) # Absolute path.
7905 ac_srcdir
=$srcdir$ac_dir_suffix;
7906 ac_top_srcdir
=$srcdir ;;
7908 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
7909 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
7912 # Do not use `cd foo && pwd` to compute absolute paths, because
7913 # the directories may not exist.
7915 .
) ac_abs_builddir
="$ac_dir";;
7918 .
) ac_abs_builddir
=`pwd`;;
7919 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
7920 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
7923 case $ac_abs_builddir in
7924 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
7926 case ${ac_top_builddir}.
in
7927 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
7928 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
7929 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
7932 case $ac_abs_builddir in
7933 .
) ac_abs_srcdir
=$ac_srcdir;;
7936 .
) ac_abs_srcdir
=$ac_abs_builddir;;
7937 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
7938 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
7941 case $ac_abs_builddir in
7942 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
7944 case $ac_top_srcdir in
7945 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
7946 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
7947 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
7953 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
7954 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
7957 if test x
"$ac_file" != x-
; then
7958 { echo "$as_me:$LINENO: creating $ac_file" >&5
7959 echo "$as_me: creating $ac_file" >&6;}
7962 # Let's still pretend it is `configure' which instantiates (i.e., don't
7963 # use $as_me), people would be surprised to read:
7964 # /* config.h. Generated by config.status. */
7965 if test x
"$ac_file" = x-
; then
7968 configure_input
="$ac_file. "
7970 configure_input
=$configure_input"Generated from `echo $ac_file_in |
7971 sed 's,.*/,,'` by configure."
7973 # First look for the input files in the build tree, otherwise in the
7975 ac_file_inputs
=`IFS=:
7976 for f in $ac_file_in; do
7978 -) echo $tmp/stdin ;;
7980 # Absolute (can't be DOS-style, as IFS=:)
7981 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
7982 echo "$as_me: error: cannot find input file: $f" >&2;}
7983 { (exit 1); exit 1; }; }
7986 if test -f "$f"; then
7989 elif test -f "$srcdir/$f"; then
7994 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
7995 echo "$as_me: error: cannot find input file: $f" >&2;}
7996 { (exit 1); exit 1; }; }
7999 done` ||
{ (exit 1); exit 1; }
8001 cat >>$CONFIG_STATUS <<_ACEOF
8005 cat >>$CONFIG_STATUS <<\_ACEOF
8007 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
8008 s
,@configure_input@
,$configure_input,;t t
8009 s
,@srcdir@
,$ac_srcdir,;t t
8010 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
8011 s
,@top_srcdir@
,$ac_top_srcdir,;t t
8012 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
8013 s
,@builddir@
,$ac_builddir,;t t
8014 s
,@abs_builddir@
,$ac_abs_builddir,;t t
8015 s
,@top_builddir@
,$ac_top_builddir,;t t
8016 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
8017 s
,@INSTALL@
,$ac_INSTALL,;t t
8018 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
8020 if test x"$ac_file" != x-; then
8021 mv $tmp/out $ac_file
8029 cat >>$CONFIG_STATUS <<\_ACEOF
8032 # CONFIG_HEADER section.
8035 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
8036 # NAME is the cpp macro being defined and VALUE is the value it is being given.
8038 # ac_d sets the value in "#define NAME VALUE" lines.
8039 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
8040 ac_dB
='[ ].*$,\1#\2'
8043 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
8044 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
8045 ac_uB
='$,\1#\2define\3'
8049 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
8050 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
8052 - |
*:- |
*:-:* ) # input from stdin
8054 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
8055 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
8056 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
8057 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
8058 * ) ac_file_in
=$ac_file.
in ;;
8061 test x
"$ac_file" != x-
&& { echo "$as_me:$LINENO: creating $ac_file" >&5
8062 echo "$as_me: creating $ac_file" >&6;}
8064 # First look for the input files in the build tree, otherwise in the
8066 ac_file_inputs
=`IFS=:
8067 for f in $ac_file_in; do
8069 -) echo $tmp/stdin ;;
8071 # Absolute (can't be DOS-style, as IFS=:)
8072 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
8073 echo "$as_me: error: cannot find input file: $f" >&2;}
8074 { (exit 1); exit 1; }; }
8075 # Do quote $f, to prevent DOS paths from being IFS'd.
8078 if test -f "$f"; then
8081 elif test -f "$srcdir/$f"; then
8086 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
8087 echo "$as_me: error: cannot find input file: $f" >&2;}
8088 { (exit 1); exit 1; }; }
8091 done` ||
{ (exit 1); exit 1; }
8092 # Remove the trailing spaces.
8093 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
8097 # Transform confdefs.h into two sed scripts, `conftest.defines' and
8098 # `conftest.undefs', that substitutes the proper values into
8099 # config.h.in to produce config.h. The first handles `#define'
8100 # templates, and the second `#undef' templates.
8101 # And first: Protect against being on the right side of a sed subst in
8102 # config.status. Protect against being in an unquoted here document
8104 rm -f conftest.defines conftest.undefs
8105 # Using a here document instead of a string reduces the quoting nightmare.
8106 # Putting comments in sed scripts is not portable.
8108 # `end' is used to avoid that the second main sed command (meant for
8109 # 0-ary CPP macros) applies to n-ary macro definitions.
8110 # See the Autoconf documentation for `clear'.
8111 cat >confdef2sed.
sed <<\_ACEOF
8116 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
8118 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
8121 # If some macros were called several times there might be several times
8122 # the same #defines, which is useless. Nevertheless, we may not want to
8123 # sort them, since we want the *last* AC-DEFINE to be honored.
8124 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
8125 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
8126 rm -f confdef2sed.sed
8128 # This sed command replaces #undef with comments. This is necessary, for
8129 # example, in the case of _POSIX_SOURCE, which is predefined and required
8130 # on some systems where configure will not decide to define it.
8131 cat >>conftest.undefs <<\_ACEOF
8132 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
8135 # Break up conftest.defines because some shells have a limit on the size
8136 # of here documents, and old seds have small limits too (100 cmds).
8137 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
8138 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
8139 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
8140 echo ' :' >>$CONFIG_STATUS
8142 while grep . conftest.defines >/dev/null
8144 # Write a limited-size here document to $tmp/defines.sed.
8145 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
8146 # Speed up: don't consider the non `#define' lines.
8147 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
8148 # Work around the forget-to-reset-the-flag bug.
8149 echo 't clr' >>$CONFIG_STATUS
8150 echo ': clr' >>$CONFIG_STATUS
8151 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
8153 sed -f $tmp/defines.sed $tmp/in >$tmp/out
8157 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
8158 rm -f conftest.defines
8159 mv conftest.
tail conftest.defines
8161 rm -f conftest.defines
8162 echo ' fi # grep' >>$CONFIG_STATUS
8163 echo >>$CONFIG_STATUS
8165 # Break up conftest.undefs because some shells have a limit on the size
8166 # of here documents, and old seds have small limits too (100 cmds).
8167 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
8169 while grep . conftest.undefs
>/dev
/null
8171 # Write a limited-size here document to $tmp/undefs.sed.
8172 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
8173 # Speed up: don't consider the non
`#undef'
8174 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
8175 # Work around the forget-to-reset-the-flag bug.
8176 echo 't clr' >>$CONFIG_STATUS
8177 echo ': clr' >>$CONFIG_STATUS
8178 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
8180 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
8184 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
8185 rm -f conftest.undefs
8186 mv conftest.tail conftest.undefs
8188 rm -f conftest.undefs
8190 cat >>$CONFIG_STATUS <<\_ACEOF
8191 # Let's still pretend it is `configure
' which instantiates (i.e., don't
8192 # use $as_me), people would be surprised to read:
8193 # /* config.h. Generated by config.status. */
8194 if test x
"$ac_file" = x-
; then
8195 echo "/* Generated by configure. */" >$tmp/config.h
8197 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
8199 cat $tmp/in >>$tmp/config.h
8201 if test x
"$ac_file" != x-
; then
8202 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
8203 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
8204 echo "$as_me: $ac_file is unchanged" >&6;}
8206 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
8207 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8208 X"$ac_file" : 'X\(//\)[^/]' \| \
8209 X"$ac_file" : 'X\(//\)$' \| \
8210 X"$ac_file" : 'X\(/\)' \| \
8211 . : '\(.\)' 2>/dev/null ||
8213 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8214 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
8215 /^X\(\/\/\)$/{ s//\1/; q; }
8216 /^X\(\/\).*/{ s//\1/; q; }
8218 { if $as_mkdir_p; then
8223 while test ! -d "$as_dir"; do
8224 as_dirs
="$as_dir $as_dirs"
8225 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
8226 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8227 X"$as_dir" : 'X\(//\)[^/]' \| \
8228 X"$as_dir" : 'X\(//\)$' \| \
8229 X"$as_dir" : 'X\(/\)' \| \
8230 . : '\(.\)' 2>/dev/null ||
8232 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8233 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
8234 /^X\(\/\/\)$/{ s//\1/; q; }
8235 /^X\(\/\).*/{ s//\1/; q; }
8238 test ! -n "$as_dirs" || mkdir
$as_dirs
8239 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
8240 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
8241 { (exit 1); exit 1; }; }; }
8244 mv $tmp/config.h
$ac_file
8250 # Compute $ac_file's index in $config_headers.
8252 for _am_header
in $config_headers :; do
8254 $ac_file |
$ac_file:* )
8257 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
8260 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
8261 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8262 X$ac_file : 'X\(//\)[^/]' \| \
8263 X$ac_file : 'X\(//\)$' \| \
8264 X$ac_file : 'X\(/\)' \| \
8265 . : '\(.\)' 2>/dev/null ||
8267 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8268 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
8269 /^X\(\/\/\)$/{ s//\1/; q; }
8270 /^X\(\/\).*/{ s//\1/; q; }
8271 s/.*/./; q'`/stamp-h
$_am_stamp_count
8274 cat >>$CONFIG_STATUS <<\_ACEOF
8277 # CONFIG_COMMANDS section.
8279 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
8280 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
8281 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
8282 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
8283 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8284 X"$ac_dest" : 'X\(//\)[^/]' \| \
8285 X"$ac_dest" : 'X\(//\)$' \| \
8286 X"$ac_dest" : 'X\(/\)' \| \
8287 . : '\(.\)' 2>/dev/null ||
8289 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8290 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
8291 /^X\(\/\/\)$/{ s//\1/; q; }
8292 /^X\(\/\).*/{ s//\1/; q; }
8294 { if $as_mkdir_p; then
8299 while test ! -d "$as_dir"; do
8300 as_dirs
="$as_dir $as_dirs"
8301 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
8302 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8303 X"$as_dir" : 'X\(//\)[^/]' \| \
8304 X"$as_dir" : 'X\(//\)$' \| \
8305 X"$as_dir" : 'X\(/\)' \| \
8306 . : '\(.\)' 2>/dev/null ||
8308 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8309 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
8310 /^X\(\/\/\)$/{ s//\1/; q; }
8311 /^X\(\/\).*/{ s//\1/; q; }
8314 test ! -n "$as_dirs" || mkdir
$as_dirs
8315 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
8316 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
8317 { (exit 1); exit 1; }; }; }
8321 if test "$ac_dir" != .
; then
8322 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
8323 # A "../" for each directory in $ac_dir_suffix.
8324 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
8326 ac_dir_suffix
= ac_top_builddir
=
8330 .
) # No --srcdir option. We are building in place.
8332 if test -z "$ac_top_builddir"; then
8335 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
8337 [\\/]* | ?
:[\\/]* ) # Absolute path.
8338 ac_srcdir
=$srcdir$ac_dir_suffix;
8339 ac_top_srcdir
=$srcdir ;;
8341 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
8342 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
8345 # Do not use `cd foo && pwd` to compute absolute paths, because
8346 # the directories may not exist.
8348 .
) ac_abs_builddir
="$ac_dir";;
8351 .
) ac_abs_builddir
=`pwd`;;
8352 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
8353 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
8356 case $ac_abs_builddir in
8357 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
8359 case ${ac_top_builddir}.
in
8360 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
8361 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
8362 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
8365 case $ac_abs_builddir in
8366 .
) ac_abs_srcdir
=$ac_srcdir;;
8369 .
) ac_abs_srcdir
=$ac_abs_builddir;;
8370 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
8371 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
8374 case $ac_abs_builddir in
8375 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
8377 case $ac_top_srcdir in
8378 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
8379 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
8380 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
8385 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
8386 echo "$as_me: executing $ac_dest commands" >&6;}
8389 # Only add multilib support code if we just rebuilt the top-level
8391 case " $CONFIG_FILES " in
8393 ac_file
=Makefile .
${multi_basedir}/config-ml.
in
8400 cat >>$CONFIG_STATUS <<\_ACEOF
8402 { (exit 0); exit 0; }
8404 chmod +x
$CONFIG_STATUS
8405 ac_clean_files
=$ac_clean_files_save
8408 # configure is writing to config.log, and then calls config.status.
8409 # config.status does its own redirection, appending to config.log.
8410 # Unfortunately, on DOS this fails, as config.log is still kept open
8411 # by configure, so config.status won't be able to write to it; its
8412 # output is simply discarded. So we exec the FD to /dev/null,
8413 # effectively closing config.log, so it can be properly (re)opened and
8414 # appended to by config.status. When coming back to configure, we
8415 # need to make the FD available again.
8416 if test "$no_create" != yes; then
8418 ac_config_status_args
=
8419 test "$silent" = yes &&
8420 ac_config_status_args
="$ac_config_status_args --quiet"
8422 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
8424 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
8425 # would make configure fail if this is the last instruction.
8426 $ac_cs_success ||
{ (exit 1); exit 1; }