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 complex math functions in -lmx also
6243 echo "$as_me:$LINENO: checking for csin in -lmx" >&5
6244 echo $ECHO_N "checking for csin in -lmx... $ECHO_C" >&6
6245 if test "${ac_cv_lib_mx_csin+set}" = set; then
6246 echo $ECHO_N "(cached) $ECHO_C" >&6
6248 ac_check_lib_save_LIBS
=$LIBS
6250 cat >conftest.
$ac_ext <<_ACEOF
6253 cat confdefs.h
>>conftest.
$ac_ext
6254 cat >>conftest.
$ac_ext <<_ACEOF
6255 /* end confdefs.h. */
6257 /* Override any gcc2 internal prototype to avoid an error. */
6261 /* We use char because int might match the return type of a gcc2
6262 builtin and then its argument prototype would still apply. */
6272 rm -f conftest.
$ac_objext conftest
$ac_exeext
6273 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6274 (eval $ac_link) 2>conftest.er1
6276 grep -v '^ *+' conftest.er1
>conftest.err
6278 cat conftest.err
>&5
6279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6280 (exit $ac_status); } &&
6281 { ac_try
='test -z "$ac_c_werror_flag"
6282 || test ! -s conftest.err'
6283 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6287 (exit $ac_status); }; } &&
6288 { ac_try
='test -s conftest$ac_exeext'
6289 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6293 (exit $ac_status); }; }; then
6294 ac_cv_lib_mx_csin
=yes
6296 echo "$as_me: failed program was:" >&5
6297 sed 's/^/| /' conftest.
$ac_ext >&5
6299 ac_cv_lib_mx_csin
=no
6301 rm -f conftest.err conftest.
$ac_objext \
6302 conftest
$ac_exeext conftest.
$ac_ext
6303 LIBS
=$ac_check_lib_save_LIBS
6305 echo "$as_me:$LINENO: result: $ac_cv_lib_mx_csin" >&5
6306 echo "${ECHO_T}$ac_cv_lib_mx_csin" >&6
6307 if test $ac_cv_lib_mx_csin = yes; then
6314 # Check for library functions.
6317 for ac_func
in getrusage
times
6319 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6320 echo "$as_me:$LINENO: checking for $ac_func" >&5
6321 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
6322 if eval "test \"\${$as_ac_var+set}\" = set"; then
6323 echo $ECHO_N "(cached) $ECHO_C" >&6
6325 cat >conftest.
$ac_ext <<_ACEOF
6328 cat confdefs.h
>>conftest.
$ac_ext
6329 cat >>conftest.
$ac_ext <<_ACEOF
6330 /* end confdefs.h. */
6331 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6332 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6333 #define $ac_func innocuous_$ac_func
6335 /* System header to define __stub macros and hopefully few prototypes,
6336 which can conflict with char $ac_func (); below.
6337 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6338 <limits.h> exists even on freestanding compilers. */
6341 # include <limits.h>
6343 # include <assert.h>
6348 /* Override any gcc2 internal prototype to avoid an error. */
6353 /* We use char because int might match the return type of a gcc2
6354 builtin and then its argument prototype would still apply. */
6356 /* The GNU C library defines this for functions which it implements
6357 to always fail with ENOSYS. Some functions are actually named
6358 something starting with __ and the normal name is an alias. */
6359 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6362 char (*f) () = $ac_func;
6371 return f != $ac_func;
6376 rm -f conftest.
$ac_objext conftest
$ac_exeext
6377 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6378 (eval $ac_link) 2>conftest.er1
6380 grep -v '^ *+' conftest.er1
>conftest.err
6382 cat conftest.err
>&5
6383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6384 (exit $ac_status); } &&
6385 { ac_try
='test -z "$ac_c_werror_flag"
6386 || test ! -s conftest.err'
6387 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6391 (exit $ac_status); }; } &&
6392 { ac_try
='test -s conftest$ac_exeext'
6393 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6397 (exit $ac_status); }; }; then
6398 eval "$as_ac_var=yes"
6400 echo "$as_me: failed program was:" >&5
6401 sed 's/^/| /' conftest.
$ac_ext >&5
6403 eval "$as_ac_var=no"
6405 rm -f conftest.err conftest.
$ac_objext \
6406 conftest
$ac_exeext conftest.
$ac_ext
6408 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
6409 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
6410 if test `eval echo '${'$as_ac_var'}'` = yes; then
6411 cat >>confdefs.h
<<_ACEOF
6412 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6419 # Let the user override this
6420 # Check whether --enable-cmath or --disable-cmath was given.
6421 if test "${enable_cmath+set}" = set; then
6422 enableval
="$enable_cmath"
6423 need_math
=$enableval
6425 if test "$need_math" = "yes"; then
6426 { echo "$as_me:$LINENO: Including complex math functions in libgfor" >&5
6427 echo "$as_me: Including complex math functions in libgfor" >&6;};
6428 extra_math_obj
='$(gfor_cmath_obj)'
6431 MATH_OBJ
="$extra_math_obj"
6434 # The standard autoconf HAVE_STRUCT_TIMEZONE doesn't actually check
6435 # for struct timezone, as you might think. We also need to check how
6436 # to call gettimeofday if we have it.
6437 echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
6438 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
6439 if test "${ac_cv_header_time+set}" = set; then
6440 echo $ECHO_N "(cached) $ECHO_C" >&6
6442 cat >conftest.
$ac_ext <<_ACEOF
6445 cat confdefs.h
>>conftest.
$ac_ext
6446 cat >>conftest.
$ac_ext <<_ACEOF
6447 /* end confdefs.h. */
6448 #include <sys/types.h>
6449 #include <sys/time.h>
6455 if ((struct tm *) 0)
6461 rm -f conftest.
$ac_objext
6462 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6463 (eval $ac_compile) 2>conftest.er1
6465 grep -v '^ *+' conftest.er1
>conftest.err
6467 cat conftest.err
>&5
6468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6469 (exit $ac_status); } &&
6470 { ac_try
='test -z "$ac_c_werror_flag"
6471 || test ! -s conftest.err'
6472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6476 (exit $ac_status); }; } &&
6477 { ac_try
='test -s conftest.$ac_objext'
6478 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6482 (exit $ac_status); }; }; then
6483 ac_cv_header_time
=yes
6485 echo "$as_me: failed program was:" >&5
6486 sed 's/^/| /' conftest.
$ac_ext >&5
6488 ac_cv_header_time
=no
6490 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6492 echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
6493 echo "${ECHO_T}$ac_cv_header_time" >&6
6494 if test $ac_cv_header_time = yes; then
6496 cat >>confdefs.h
<<\_ACEOF
6497 #define TIME_WITH_SYS_TIME 1
6504 for ac_func
in gettimeofday
6506 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6507 echo "$as_me:$LINENO: checking for $ac_func" >&5
6508 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
6509 if eval "test \"\${$as_ac_var+set}\" = set"; then
6510 echo $ECHO_N "(cached) $ECHO_C" >&6
6512 cat >conftest.
$ac_ext <<_ACEOF
6515 cat confdefs.h
>>conftest.
$ac_ext
6516 cat >>conftest.
$ac_ext <<_ACEOF
6517 /* end confdefs.h. */
6518 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6519 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6520 #define $ac_func innocuous_$ac_func
6522 /* System header to define __stub macros and hopefully few prototypes,
6523 which can conflict with char $ac_func (); below.
6524 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6525 <limits.h> exists even on freestanding compilers. */
6528 # include <limits.h>
6530 # include <assert.h>
6535 /* Override any gcc2 internal prototype to avoid an error. */
6540 /* We use char because int might match the return type of a gcc2
6541 builtin and then its argument prototype would still apply. */
6543 /* The GNU C library defines this for functions which it implements
6544 to always fail with ENOSYS. Some functions are actually named
6545 something starting with __ and the normal name is an alias. */
6546 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6549 char (*f) () = $ac_func;
6558 return f != $ac_func;
6563 rm -f conftest.
$ac_objext conftest
$ac_exeext
6564 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6565 (eval $ac_link) 2>conftest.er1
6567 grep -v '^ *+' conftest.er1
>conftest.err
6569 cat conftest.err
>&5
6570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6571 (exit $ac_status); } &&
6572 { ac_try
='test -z "$ac_c_werror_flag"
6573 || test ! -s conftest.err'
6574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6578 (exit $ac_status); }; } &&
6579 { ac_try
='test -s conftest$ac_exeext'
6580 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6584 (exit $ac_status); }; }; then
6585 eval "$as_ac_var=yes"
6587 echo "$as_me: failed program was:" >&5
6588 sed 's/^/| /' conftest.
$ac_ext >&5
6590 eval "$as_ac_var=no"
6592 rm -f conftest.err conftest.
$ac_objext \
6593 conftest
$ac_exeext conftest.
$ac_ext
6595 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
6596 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
6597 if test `eval echo '${'$as_ac_var'}'` = yes; then
6598 cat >>confdefs.h
<<_ACEOF
6599 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6605 if test "$ac_cv_func_gettimeofday" = yes; then
6606 echo "$as_me:$LINENO: checking for struct timezone" >&5
6607 echo $ECHO_N "checking for struct timezone... $ECHO_C" >&6
6608 if test "${gfor_cv_struct_timezone+set}" = set; then
6609 echo $ECHO_N "(cached) $ECHO_C" >&6
6611 cat >conftest.
$ac_ext <<_ACEOF
6614 cat confdefs.h
>>conftest.
$ac_ext
6615 cat >>conftest.
$ac_ext <<_ACEOF
6616 /* end confdefs.h. */
6617 #include <sys/time.h>
6626 rm -f conftest.
$ac_objext
6627 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6628 (eval $ac_compile) 2>conftest.er1
6630 grep -v '^ *+' conftest.er1
>conftest.err
6632 cat conftest.err
>&5
6633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6634 (exit $ac_status); } &&
6635 { ac_try
='test -z "$ac_c_werror_flag"
6636 || test ! -s conftest.err'
6637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6641 (exit $ac_status); }; } &&
6642 { ac_try
='test -s conftest.$ac_objext'
6643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6647 (exit $ac_status); }; }; then
6648 gfor_cv_struct_timezone
=yes
6650 echo "$as_me: failed program was:" >&5
6651 sed 's/^/| /' conftest.
$ac_ext >&5
6653 gfor_cv_struct_timezone
=no
6655 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6657 echo "$as_me:$LINENO: result: $gfor_cv_struct_timezone" >&5
6658 echo "${ECHO_T}$gfor_cv_struct_timezone" >&6
6659 if test $gfor_cv_struct_timezone = yes; then
6660 if test "$cross_compiling" = yes; then
6661 gfor_have_struct_timezone
=yes
6663 cat >conftest.
$ac_ext <<_ACEOF
6666 cat confdefs.h
>>conftest.
$ac_ext
6667 cat >>conftest.
$ac_ext <<_ACEOF
6668 /* end confdefs.h. */
6670 #ifdef TIME_WITH_SYS_TIME
6671 #include <sys/time.h>
6674 #ifdef HAVE_SYS_TIME_H
6675 #include <sys/time.h>
6682 struct timeval time;
6683 struct timezone dummy;
6684 if (gettimeofday (&time, &dummy))
6690 rm -f conftest
$ac_exeext
6691 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6692 (eval $ac_link) 2>&5
6694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6695 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
6696 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6700 (exit $ac_status); }; }; then
6701 gfor_have_struct_timezone
=yes
6703 echo "$as_me: program exited with status $ac_status" >&5
6704 echo "$as_me: failed program was:" >&5
6705 sed 's/^/| /' conftest.
$ac_ext >&5
6708 gfor_have_struct_timezone
=no
6710 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
6712 if test $gfor_have_struct_timezone = yes; then
6714 cat >>confdefs.h
<<\_ACEOF
6715 #define HAVE_TIMEZONE 1
6721 echo "$as_me:$LINENO: checking whether gettimeofday can accept two arguments" >&5
6722 echo $ECHO_N "checking whether gettimeofday can accept two arguments... $ECHO_C" >&6
6723 if test "${emacs_cv_gettimeofday_two_arguments+set}" = set; then
6724 echo $ECHO_N "(cached) $ECHO_C" >&6
6726 cat >conftest.
$ac_ext <<_ACEOF
6729 cat confdefs.h
>>conftest.
$ac_ext
6730 cat >>conftest.
$ac_ext <<_ACEOF
6731 /* end confdefs.h. */
6733 #ifdef TIME_WITH_SYS_TIME
6734 #include <sys/time.h>
6737 #ifdef HAVE_SYS_TIME_H
6738 #include <sys/time.h>
6748 struct timeval time;
6749 #ifdef HAVE_TIMEZONE
6750 struct timezone dummy;
6751 #define DUMMY &dummy
6755 gettimeofday (&time, DUMMY);
6760 rm -f conftest.
$ac_objext conftest
$ac_exeext
6761 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6762 (eval $ac_link) 2>conftest.er1
6764 grep -v '^ *+' conftest.er1
>conftest.err
6766 cat conftest.err
>&5
6767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6768 (exit $ac_status); } &&
6769 { ac_try
='test -z "$ac_c_werror_flag"
6770 || test ! -s conftest.err'
6771 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6775 (exit $ac_status); }; } &&
6776 { ac_try
='test -s conftest$ac_exeext'
6777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6781 (exit $ac_status); }; }; then
6782 emacs_cv_gettimeofday_two_arguments
=yes
6784 echo "$as_me: failed program was:" >&5
6785 sed 's/^/| /' conftest.
$ac_ext >&5
6787 emacs_cv_gettimeofday_two_arguments
=no
6789 rm -f conftest.err conftest.
$ac_objext \
6790 conftest
$ac_exeext conftest.
$ac_ext
6792 echo "$as_me:$LINENO: result: $emacs_cv_gettimeofday_two_arguments" >&5
6793 echo "${ECHO_T}$emacs_cv_gettimeofday_two_arguments" >&6
6794 if test $emacs_cv_gettimeofday_two_arguments = no
; then
6796 cat >>confdefs.h
<<\_ACEOF
6797 #define GETTIMEOFDAY_ONE_ARGUMENT 1
6803 cat >confcache
<<\_ACEOF
6804 # This file is a shell script that caches the results of configure
6805 # tests run on this system so they can be shared between configure
6806 # scripts and configure runs, see configure's option --config-cache.
6807 # It is not useful on other systems. If it contains results you don't
6808 # want to keep, you may remove or edit it.
6810 # config.status only pays attention to the cache file if you give it
6811 # the --recheck option to rerun configure.
6813 # `ac_cv_env_foo' variables (set or unset) will be overridden when
6814 # loading this file, other *unset* `ac_cv_foo' will be assigned the
6819 # The following way of writing the cache mishandles newlines in values,
6820 # but we know of no workaround that is simple, portable, and efficient.
6821 # So, don't put newlines in cache variables' values.
6822 # Ultrix sh set writes to stderr and can't be redirected directly,
6823 # and sets the high bit in the cache file unless we assign to the vars.
6826 case `(ac_space=' '; set | grep ac_space) 2>&1` in
6828 # `set' does not quote correctly, so add quotes (double-quote
6829 # substitution turns \\\\ into \\, and sed turns \\ into \).
6832 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
6835 # `set' quotes correctly as required by POSIX, so do not add quotes.
6837 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
6844 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
6846 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
6848 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
6849 if test -w $cache_file; then
6850 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
6851 cat confcache
>$cache_file
6853 echo "not updating unwritable cache $cache_file"
6858 if test ${multilib} = yes; then
6859 multilib_arg
="--enable-multilib"
6864 # Write our Makefile.
6865 ac_config_files
="$ac_config_files Makefile"
6867 cat >confcache
<<\_ACEOF
6868 # This file is a shell script that caches the results of configure
6869 # tests run on this system so they can be shared between configure
6870 # scripts and configure runs, see configure's option --config-cache.
6871 # It is not useful on other systems. If it contains results you don't
6872 # want to keep, you may remove or edit it.
6874 # config.status only pays attention to the cache file if you give it
6875 # the --recheck option to rerun configure.
6877 # `ac_cv_env_foo' variables (set or unset) will be overridden when
6878 # loading this file, other *unset* `ac_cv_foo' will be assigned the
6883 # The following way of writing the cache mishandles newlines in values,
6884 # but we know of no workaround that is simple, portable, and efficient.
6885 # So, don't put newlines in cache variables' values.
6886 # Ultrix sh set writes to stderr and can't be redirected directly,
6887 # and sets the high bit in the cache file unless we assign to the vars.
6890 case `(ac_space=' '; set | grep ac_space) 2>&1` in
6892 # `set' does not quote correctly, so add quotes (double-quote
6893 # substitution turns \\\\ into \\, and sed turns \\ into \).
6896 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
6899 # `set' quotes correctly as required by POSIX, so do not add quotes.
6901 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
6908 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
6910 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
6912 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
6913 if test -w $cache_file; then
6914 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
6915 cat confcache
>$cache_file
6917 echo "not updating unwritable cache $cache_file"
6922 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
6923 # Let make expand exec_prefix.
6924 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
6926 # VPATH may cause trouble with some makes, so we remove $(srcdir),
6927 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
6928 # trailing colons and then remove the whole line if VPATH becomes empty
6929 # (actually we leave an empty line to preserve line numbers).
6930 if test "x$srcdir" = x.
; then
6931 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
6932 s/:*\$(srcdir):*/:/;
6933 s/:*\${srcdir}:*/:/;
6935 s/^\([^=]*=[ ]*\):*/\1/;
6941 DEFS
=-DHAVE_CONFIG_H
6945 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
6946 # 1. Remove the extension, and $U if already installed.
6947 ac_i
=`echo "$ac_i" |
6948 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
6950 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
6951 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
6955 LTLIBOBJS
=$ac_ltlibobjs
6958 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
6959 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
6960 Usually this means the macro was only invoked conditionally." >&5
6961 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
6962 Usually this means the macro was only invoked conditionally." >&2;}
6963 { (exit 1); exit 1; }; }
6966 : ${CONFIG_STATUS=./config.status}
6967 ac_clean_files_save
=$ac_clean_files
6968 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
6969 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
6970 echo "$as_me: creating $CONFIG_STATUS" >&6;}
6971 cat >$CONFIG_STATUS <<_ACEOF
6973 # Generated by $as_me.
6974 # Run this file to recreate the current configuration.
6975 # Compiler output produced by configure, useful for debugging
6976 # configure, is in config.log if it exists.
6981 SHELL=\${CONFIG_SHELL-$SHELL}
6984 cat >>$CONFIG_STATUS <<\_ACEOF
6985 ## --------------------- ##
6986 ## M4sh Initialization. ##
6987 ## --------------------- ##
6989 # Be Bourne compatible
6990 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
6993 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
6994 # is contrary to our usage. Disable this feature.
6995 alias -g '${1+"$@"}'='"$@"'
6996 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
6999 DUALCASE
=1; export DUALCASE
# for MKS sh
7001 # Support unset when possible.
7002 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
7009 # Work around bugs in pre-3.0 UWIN ksh.
7010 $as_unset ENV MAIL MAILPATH
7017 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
7018 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
7019 LC_TELEPHONE LC_TIME
7021 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
7022 eval $as_var=C
; export $as_var
7028 # Required to use basename.
7029 if expr a
: '\(a\)' >/dev
/null
2>&1; then
7035 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
7036 as_basename
=basename
7042 # Name of the executable.
7043 as_me
=`$as_basename "$0" ||
7044 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
7045 X"$0" : 'X\(//\)$' \| \
7046 X"$0" : 'X\(/\)$' \| \
7047 . : '\(.\)' 2>/dev/null ||
7049 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
7050 /^X\/\(\/\/\)$/{ s//\1/; q; }
7051 /^X\/\(\/\).*/{ s//\1/; q; }
7055 # PATH needs CR, and LINENO needs CR and PATH.
7056 # Avoid depending upon Character Ranges.
7057 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
7058 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
7059 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
7060 as_cr_digits
='0123456789'
7061 as_cr_alnum
=$as_cr_Letters$as_cr_digits
7063 # The user is always right.
7064 if test "${PATH_SEPARATOR+set}" != set; then
7065 echo "#! /bin/sh" >conf$$.sh
7066 echo "exit 0" >>conf$$.sh
7068 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
7079 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
7080 test "x$as_lineno_1" != "x$as_lineno_2" &&
7081 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
7082 # Find who we are. Look in the path if we contain no path at all
7085 *[\\/]* ) as_myself
=$0 ;;
7086 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7090 test -z "$as_dir" && as_dir
=.
7091 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
7096 # We did not find ourselves, most probably we were run as `sh COMMAND'
7097 # in which case we are not to be found in the path.
7098 if test "x$as_myself" = x
; then
7101 if test ! -f "$as_myself"; then
7102 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
7103 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
7104 { (exit 1); exit 1; }; }
7106 case $CONFIG_SHELL in
7108 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7109 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
7112 test -z "$as_dir" && as_dir
=.
7113 for as_base
in sh bash ksh sh5
; do
7116 if ("$as_dir/$as_base" -c '
7119 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
7120 test "x$as_lineno_1" != "x$as_lineno_2" &&
7121 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
7122 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
7123 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
7124 CONFIG_SHELL
=$as_dir/$as_base
7126 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
7134 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
7135 # uniformly replaced by the line number. The first 'sed' inserts a
7136 # line-number line before each line; the second 'sed' does the real
7137 # work. The second script uses 'N' to pair each line-number line
7138 # with the numbered line, and appends trailing '-' during
7139 # substitution so that $LINENO is not a special case at line end.
7140 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
7141 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
7142 sed '=' <$as_myself |
7147 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
7150 s,^['$as_cr_digits']*\n,,
7152 chmod +x
$as_me.lineno ||
7153 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
7154 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
7155 { (exit 1); exit 1; }; }
7157 # Don't try to exec as it changes $[0], causing all sort of problems
7158 # (the dirname of $[0] is not the place where we might find the
7159 # original and so on. Autoconf is especially sensible to this).
7161 # Exit status is that of the last command.
7166 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
7167 *c
*,-n*) ECHO_N
= ECHO_C
='
7169 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
7170 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
7173 if expr a
: '\(a\)' >/dev
/null
2>&1; then
7179 rm -f conf$$ conf$$.exe conf$$.
file
7181 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
7182 # We could just check for DJGPP; but this test a) works b) is more generic
7183 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
7184 if test -f conf$$.exe
; then
7185 # Don't use ln at all; we don't have any links
7190 elif ln conf$$.
file conf$$
2>/dev
/null
; then
7195 rm -f conf$$ conf$$.exe conf$$.
file
7197 if mkdir
-p .
2>/dev
/null
; then
7200 test -d .
/-p && rmdir .
/-p
7204 as_executable_p
="test -f"
7206 # Sed expression to map a string onto a valid CPP name.
7207 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
7209 # Sed expression to map a string onto a valid variable name.
7210 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
7214 # We need space, tab and new line, in precisely that order.
7224 # Open the log real soon, to keep \$[0] and so on meaningful, and to
7225 # report actual input values of CONFIG_FILES etc. instead of their
7226 # values after options handling. Logging --version etc. is OK.
7230 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
7231 ## Running $as_me. ##
7236 This file was extended by GNU Fortran Runtime Library $as_me 0.2, which was
7237 generated by GNU Autoconf 2.59. Invocation command line was
7239 CONFIG_FILES = $CONFIG_FILES
7240 CONFIG_HEADERS = $CONFIG_HEADERS
7241 CONFIG_LINKS = $CONFIG_LINKS
7242 CONFIG_COMMANDS = $CONFIG_COMMANDS
7246 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
7250 # Files that config.status was made for.
7251 if test -n "$ac_config_files"; then
7252 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
7255 if test -n "$ac_config_headers"; then
7256 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
7259 if test -n "$ac_config_links"; then
7260 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
7263 if test -n "$ac_config_commands"; then
7264 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
7267 cat >>$CONFIG_STATUS <<\_ACEOF
7270 \`$as_me' instantiates files from templates according to the
7271 current configuration.
7273 Usage: $0 [OPTIONS] [FILE]...
7275 -h, --help print this help, then exit
7276 -V, --version print version number, then exit
7277 -q, --quiet do not print progress messages
7278 -d, --debug don't remove temporary files
7279 --recheck update $as_me by reconfiguring in the same conditions
7280 --file=FILE[:TEMPLATE]
7281 instantiate the configuration file FILE
7282 --header=FILE[:TEMPLATE]
7283 instantiate the configuration header FILE
7285 Configuration files:
7288 Configuration headers:
7291 Configuration commands:
7294 Report bugs to <bug-autoconf@gnu.org>."
7297 cat >>$CONFIG_STATUS <<_ACEOF
7299 GNU Fortran Runtime Library config.status 0.2
7300 configured by $0, generated by GNU Autoconf 2.59,
7301 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
7303 Copyright (C) 2003 Free Software Foundation, Inc.
7304 This config.status script is free software; the Free Software Foundation
7305 gives unlimited permission to copy, distribute and modify it."
7310 cat >>$CONFIG_STATUS <<\_ACEOF
7311 # If no file are specified by the user, then we need to provide default
7312 # value. By we need to know if files were specified by the user.
7318 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
7319 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
7327 *) # This is not an option, so the user has probably given explicit
7330 ac_need_defaults
=false
;;
7334 # Handling of the options.
7336 cat >>$CONFIG_STATUS <<\_ACEOF
7337 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
7339 --version |
--vers* |
-V )
7340 echo "$ac_cs_version"; exit 0 ;;
7342 # Conflict between --help and --header
7343 { { echo "$as_me:$LINENO: error: ambiguous option: $1
7344 Try \`$0 --help' for more information." >&5
7345 echo "$as_me: error: ambiguous option: $1
7346 Try \`$0 --help' for more information." >&2;}
7347 { (exit 1); exit 1; }; };;
7348 --help |
--hel |
-h )
7349 echo "$ac_cs_usage"; exit 0 ;;
7350 --debug |
--d* |
-d )
7352 --file |
--fil |
--fi |
--f )
7354 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
7355 ac_need_defaults
=false
;;
7356 --header |
--heade |
--head |
--hea )
7358 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
7359 ac_need_defaults
=false
;;
7360 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
7361 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
7365 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
7366 Try \`$0 --help' for more information." >&5
7367 echo "$as_me: error: unrecognized option: $1
7368 Try \`$0 --help' for more information." >&2;}
7369 { (exit 1); exit 1; }; } ;;
7371 *) ac_config_targets
="$ac_config_targets $1" ;;
7377 ac_configure_extra_args
=
7379 if $ac_cs_silent; then
7381 ac_configure_extra_args
="$ac_configure_extra_args --silent"
7385 cat >>$CONFIG_STATUS <<_ACEOF
7386 if \$ac_cs_recheck; then
7387 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
7388 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
7393 cat >>$CONFIG_STATUS <<_ACEOF
7395 # INIT-COMMANDS section.
7402 with_multisubdir="$with_multisubdir"
7403 with_multisrctop="$with_multisrctop"
7404 with_target_subdir="$with_target_subdir"
7405 ac_configure_args="${multilib_arg} ${ac_configure_args}"
7406 multi_basedir="$multi_basedir"
7407 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
7414 cat >>$CONFIG_STATUS <<\_ACEOF
7415 for ac_config_target
in $ac_config_targets
7417 case "$ac_config_target" in
7418 # Handling of arguments.
7419 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
7420 "default-1" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS default-1" ;;
7421 "config.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
7422 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
7423 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
7424 { (exit 1); exit 1; }; };;
7428 # If the user did not use the arguments to specify the items to instantiate,
7429 # then the envvar interface is used. Set only those that are not.
7430 # We use the long form for the default assignment because of an extremely
7431 # bizarre bug on SunOS 4.1.3.
7432 if $ac_need_defaults; then
7433 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
7434 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
7435 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
7438 # Have a temporary directory for convenience. Make it in the build tree
7439 # simply because there is no reason to put it here, and in addition,
7440 # creating and moving files from /tmp can sometimes cause problems.
7441 # Create a temporary directory, and hook for its removal unless debugging.
7444 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
7445 trap '{ (exit 1); exit 1; }' 1 2 13 15
7448 # Create a (secure) tmp directory for tmp files.
7451 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
7452 test -n "$tmp" && test -d "$tmp"
7455 tmp
=.
/confstat$$
-$RANDOM
7456 (umask 077 && mkdir
$tmp)
7459 echo "$me: cannot create a temporary directory in ." >&2
7460 { (exit 1); exit 1; }
7465 cat >>$CONFIG_STATUS <<_ACEOF
7468 # CONFIG_FILES section.
7471 # No need to generate the scripts if there are no CONFIG_FILES.
7472 # This happens for instance when ./config.status config.h
7473 if test -n "\$CONFIG_FILES"; then
7474 # Protect against being on the right side of a sed subst in config.status.
7475 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
7476 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
7477 s,@SHELL@,$SHELL,;t t
7478 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
7479 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
7480 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
7481 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
7482 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
7483 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
7484 s,@exec_prefix@,$exec_prefix,;t t
7485 s,@prefix@,$prefix,;t t
7486 s,@program_transform_name@,$program_transform_name,;t t
7487 s,@bindir@,$bindir,;t t
7488 s,@sbindir@,$sbindir,;t t
7489 s,@libexecdir@,$libexecdir,;t t
7490 s,@datadir@,$datadir,;t t
7491 s,@sysconfdir@,$sysconfdir,;t t
7492 s,@sharedstatedir@,$sharedstatedir,;t t
7493 s,@localstatedir@,$localstatedir,;t t
7494 s,@libdir@,$libdir,;t t
7495 s,@includedir@,$includedir,;t t
7496 s,@oldincludedir@,$oldincludedir,;t t
7497 s,@infodir@,$infodir,;t t
7498 s,@mandir@,$mandir,;t t
7499 s,@build_alias@,$build_alias,;t t
7500 s,@host_alias@,$host_alias,;t t
7501 s,@target_alias@,$target_alias,;t t
7503 s,@ECHO_C@,$ECHO_C,;t t
7504 s,@ECHO_N@,$ECHO_N,;t t
7505 s,@ECHO_T@,$ECHO_T,;t t
7507 s,@libtool_VERSION@,$libtool_VERSION,;t t
7508 s,@build@,$build,;t t
7509 s,@build_cpu@,$build_cpu,;t t
7510 s,@build_vendor@,$build_vendor,;t t
7511 s,@build_os@,$build_os,;t t
7513 s,@host_cpu@,$host_cpu,;t t
7514 s,@host_vendor@,$host_vendor,;t t
7515 s,@host_os@,$host_os,;t t
7516 s,@target@,$target,;t t
7517 s,@target_cpu@,$target_cpu,;t t
7518 s,@target_vendor@,$target_vendor,;t t
7519 s,@target_os@,$target_os,;t t
7520 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
7521 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
7522 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
7523 s,@CYGPATH_W@,$CYGPATH_W,;t t
7524 s,@PACKAGE@,$PACKAGE,;t t
7525 s,@VERSION@,$VERSION,;t t
7526 s,@ACLOCAL@,$ACLOCAL,;t t
7527 s,@AUTOCONF@,$AUTOCONF,;t t
7528 s,@AUTOMAKE@,$AUTOMAKE,;t t
7529 s,@AUTOHEADER@,$AUTOHEADER,;t t
7530 s,@MAKEINFO@,$MAKEINFO,;t t
7531 s,@AMTAR@,$AMTAR,;t t
7532 s,@install_sh@,$install_sh,;t t
7533 s,@STRIP@,$STRIP,;t t
7534 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
7535 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
7536 s,@mkdir_p@,$mkdir_p,;t t
7538 s,@SET_MAKE@,$SET_MAKE,;t t
7539 s,@am__leading_dot@,$am__leading_dot,;t t
7540 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
7541 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
7542 s,@MAINT@,$MAINT,;t t
7543 s,@multi_basedir@,$multi_basedir,;t t
7544 s,@gcc_version@,$gcc_version,;t t
7545 s,@toolexecdir@,$toolexecdir,;t t
7546 s,@toolexeclibdir@,$toolexeclibdir,;t t
7548 s,@ac_ct_CC@,$ac_ct_CC,;t t
7549 s,@EXEEXT@,$EXEEXT,;t t
7550 s,@OBJEXT@,$OBJEXT,;t t
7551 s,@CFLAGS@,$CFLAGS,;t t
7553 s,@ac_ct_AS@,$ac_ct_AS,;t t
7555 s,@ac_ct_AR@,$ac_ct_AR,;t t
7556 s,@RANLIB@,$RANLIB,;t t
7557 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
7559 s,@LIBTOOL@,$LIBTOOL,;t t
7560 s,@enable_shared@,$enable_shared,;t t
7561 s,@enable_static@,$enable_static,;t t
7563 s,@FFLAGS@,$FFLAGS,;t t
7564 s,@LDFLAGS@,$LDFLAGS,;t t
7565 s,@ac_ct_F77@,$ac_ct_F77,;t t
7567 s,@CPPFLAGS@,$CPPFLAGS,;t t
7568 s,@EGREP@,$EGREP,;t t
7569 s,@MATH_OBJ@,$MATH_OBJ,;t t
7570 s,@LIBOBJS@,$LIBOBJS,;t t
7571 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
7576 cat >>$CONFIG_STATUS <<\_ACEOF
7577 # Split the substitutions into bite-sized pieces for seds with
7578 # small command number limits, like on Digital OSF/1 and HP-UX.
7580 ac_sed_frag
=1 # Number of current file.
7581 ac_beg
=1 # First line for current file.
7582 ac_end
=$ac_max_sed_lines # Line after last line for current file.
7585 while $ac_more_lines; do
7586 if test $ac_beg -gt 1; then
7587 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
7589 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
7591 if test ! -s $tmp/subs.frag
; then
7594 # The purpose of the label and of the branching condition is to
7595 # speed up the sed processing (if there are no `@' at all, there
7596 # is no need to browse any of the substitutions).
7597 # These are the two extra sed commands mentioned above.
7599 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
7600 if test -z "$ac_sed_cmds"; then
7601 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
7603 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
7605 ac_sed_frag
=`expr $ac_sed_frag + 1`
7607 ac_end
=`expr $ac_end + $ac_max_sed_lines`
7610 if test -z "$ac_sed_cmds"; then
7613 fi # test -n "$CONFIG_FILES"
7616 cat >>$CONFIG_STATUS <<\_ACEOF
7617 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
7618 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
7620 - |
*:- |
*:-:* ) # input from stdin
7622 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
7623 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
7624 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
7625 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
7626 * ) ac_file_in
=$ac_file.
in ;;
7629 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
7630 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
7631 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7632 X"$ac_file" : 'X\(//\)[^/]' \| \
7633 X"$ac_file" : 'X\(//\)$' \| \
7634 X"$ac_file" : 'X\(/\)' \| \
7635 . : '\(.\)' 2>/dev/null ||
7637 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7638 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7639 /^X\(\/\/\)$/{ s//\1/; q; }
7640 /^X\(\/\).*/{ s//\1/; q; }
7642 { if $as_mkdir_p; then
7647 while test ! -d "$as_dir"; do
7648 as_dirs
="$as_dir $as_dirs"
7649 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
7650 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7651 X"$as_dir" : 'X\(//\)[^/]' \| \
7652 X"$as_dir" : 'X\(//\)$' \| \
7653 X"$as_dir" : 'X\(/\)' \| \
7654 . : '\(.\)' 2>/dev/null ||
7656 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7657 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7658 /^X\(\/\/\)$/{ s//\1/; q; }
7659 /^X\(\/\).*/{ s//\1/; q; }
7662 test ! -n "$as_dirs" || mkdir
$as_dirs
7663 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
7664 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
7665 { (exit 1); exit 1; }; }; }
7669 if test "$ac_dir" != .
; then
7670 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
7671 # A "../" for each directory in $ac_dir_suffix.
7672 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
7674 ac_dir_suffix
= ac_top_builddir
=
7678 .
) # No --srcdir option. We are building in place.
7680 if test -z "$ac_top_builddir"; then
7683 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
7685 [\\/]* | ?
:[\\/]* ) # Absolute path.
7686 ac_srcdir
=$srcdir$ac_dir_suffix;
7687 ac_top_srcdir
=$srcdir ;;
7689 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
7690 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
7693 # Do not use `cd foo && pwd` to compute absolute paths, because
7694 # the directories may not exist.
7696 .
) ac_abs_builddir
="$ac_dir";;
7699 .
) ac_abs_builddir
=`pwd`;;
7700 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
7701 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
7704 case $ac_abs_builddir in
7705 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
7707 case ${ac_top_builddir}.
in
7708 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
7709 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
7710 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
7713 case $ac_abs_builddir in
7714 .
) ac_abs_srcdir
=$ac_srcdir;;
7717 .
) ac_abs_srcdir
=$ac_abs_builddir;;
7718 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
7719 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
7722 case $ac_abs_builddir in
7723 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
7725 case $ac_top_srcdir in
7726 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
7727 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
7728 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
7734 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
7735 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
7738 if test x
"$ac_file" != x-
; then
7739 { echo "$as_me:$LINENO: creating $ac_file" >&5
7740 echo "$as_me: creating $ac_file" >&6;}
7743 # Let's still pretend it is `configure' which instantiates (i.e., don't
7744 # use $as_me), people would be surprised to read:
7745 # /* config.h. Generated by config.status. */
7746 if test x
"$ac_file" = x-
; then
7749 configure_input
="$ac_file. "
7751 configure_input
=$configure_input"Generated from `echo $ac_file_in |
7752 sed 's,.*/,,'` by configure."
7754 # First look for the input files in the build tree, otherwise in the
7756 ac_file_inputs
=`IFS=:
7757 for f in $ac_file_in; do
7759 -) echo $tmp/stdin ;;
7761 # Absolute (can't be DOS-style, as IFS=:)
7762 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
7763 echo "$as_me: error: cannot find input file: $f" >&2;}
7764 { (exit 1); exit 1; }; }
7767 if test -f "$f"; then
7770 elif test -f "$srcdir/$f"; then
7775 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
7776 echo "$as_me: error: cannot find input file: $f" >&2;}
7777 { (exit 1); exit 1; }; }
7780 done` ||
{ (exit 1); exit 1; }
7782 cat >>$CONFIG_STATUS <<_ACEOF
7786 cat >>$CONFIG_STATUS <<\_ACEOF
7788 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
7789 s
,@configure_input@
,$configure_input,;t t
7790 s
,@srcdir@
,$ac_srcdir,;t t
7791 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
7792 s
,@top_srcdir@
,$ac_top_srcdir,;t t
7793 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
7794 s
,@builddir@
,$ac_builddir,;t t
7795 s
,@abs_builddir@
,$ac_abs_builddir,;t t
7796 s
,@top_builddir@
,$ac_top_builddir,;t t
7797 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
7798 s
,@INSTALL@
,$ac_INSTALL,;t t
7799 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
7801 if test x"$ac_file" != x-; then
7802 mv $tmp/out $ac_file
7810 cat >>$CONFIG_STATUS <<\_ACEOF
7813 # CONFIG_HEADER section.
7816 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
7817 # NAME is the cpp macro being defined and VALUE is the value it is being given.
7819 # ac_d sets the value in "#define NAME VALUE" lines.
7820 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
7821 ac_dB
='[ ].*$,\1#\2'
7824 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
7825 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
7826 ac_uB
='$,\1#\2define\3'
7830 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
7831 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
7833 - |
*:- |
*:-:* ) # input from stdin
7835 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
7836 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
7837 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
7838 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
7839 * ) ac_file_in
=$ac_file.
in ;;
7842 test x
"$ac_file" != x-
&& { echo "$as_me:$LINENO: creating $ac_file" >&5
7843 echo "$as_me: creating $ac_file" >&6;}
7845 # First look for the input files in the build tree, otherwise in the
7847 ac_file_inputs
=`IFS=:
7848 for f in $ac_file_in; do
7850 -) echo $tmp/stdin ;;
7852 # Absolute (can't be DOS-style, as IFS=:)
7853 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
7854 echo "$as_me: error: cannot find input file: $f" >&2;}
7855 { (exit 1); exit 1; }; }
7856 # Do quote $f, to prevent DOS paths from being IFS'd.
7859 if test -f "$f"; then
7862 elif test -f "$srcdir/$f"; then
7867 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
7868 echo "$as_me: error: cannot find input file: $f" >&2;}
7869 { (exit 1); exit 1; }; }
7872 done` ||
{ (exit 1); exit 1; }
7873 # Remove the trailing spaces.
7874 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
7878 # Transform confdefs.h into two sed scripts, `conftest.defines' and
7879 # `conftest.undefs', that substitutes the proper values into
7880 # config.h.in to produce config.h. The first handles `#define'
7881 # templates, and the second `#undef' templates.
7882 # And first: Protect against being on the right side of a sed subst in
7883 # config.status. Protect against being in an unquoted here document
7885 rm -f conftest.defines conftest.undefs
7886 # Using a here document instead of a string reduces the quoting nightmare.
7887 # Putting comments in sed scripts is not portable.
7889 # `end' is used to avoid that the second main sed command (meant for
7890 # 0-ary CPP macros) applies to n-ary macro definitions.
7891 # See the Autoconf documentation for `clear'.
7892 cat >confdef2sed.
sed <<\_ACEOF
7897 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
7899 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
7902 # If some macros were called several times there might be several times
7903 # the same #defines, which is useless. Nevertheless, we may not want to
7904 # sort them, since we want the *last* AC-DEFINE to be honored.
7905 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
7906 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
7907 rm -f confdef2sed.sed
7909 # This sed command replaces #undef with comments. This is necessary, for
7910 # example, in the case of _POSIX_SOURCE, which is predefined and required
7911 # on some systems where configure will not decide to define it.
7912 cat >>conftest.undefs <<\_ACEOF
7913 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
7916 # Break up conftest.defines because some shells have a limit on the size
7917 # of here documents, and old seds have small limits too (100 cmds).
7918 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
7919 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
7920 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
7921 echo ' :' >>$CONFIG_STATUS
7923 while grep . conftest.defines >/dev/null
7925 # Write a limited-size here document to $tmp/defines.sed.
7926 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
7927 # Speed up: don't consider the non `#define' lines.
7928 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
7929 # Work around the forget-to-reset-the-flag bug.
7930 echo 't clr' >>$CONFIG_STATUS
7931 echo ': clr' >>$CONFIG_STATUS
7932 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
7934 sed -f $tmp/defines.sed $tmp/in >$tmp/out
7938 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
7939 rm -f conftest.defines
7940 mv conftest.
tail conftest.defines
7942 rm -f conftest.defines
7943 echo ' fi # grep' >>$CONFIG_STATUS
7944 echo >>$CONFIG_STATUS
7946 # Break up conftest.undefs because some shells have a limit on the size
7947 # of here documents, and old seds have small limits too (100 cmds).
7948 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
7950 while grep . conftest.undefs
>/dev
/null
7952 # Write a limited-size here document to $tmp/undefs.sed.
7953 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
7954 # Speed up: don't consider the non
`#undef'
7955 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
7956 # Work around the forget-to-reset-the-flag bug.
7957 echo 't clr' >>$CONFIG_STATUS
7958 echo ': clr' >>$CONFIG_STATUS
7959 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
7961 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
7965 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
7966 rm -f conftest.undefs
7967 mv conftest.tail conftest.undefs
7969 rm -f conftest.undefs
7971 cat >>$CONFIG_STATUS <<\_ACEOF
7972 # Let's still pretend it is `configure
' which instantiates (i.e., don't
7973 # use $as_me), people would be surprised to read:
7974 # /* config.h. Generated by config.status. */
7975 if test x
"$ac_file" = x-
; then
7976 echo "/* Generated by configure. */" >$tmp/config.h
7978 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
7980 cat $tmp/in >>$tmp/config.h
7982 if test x
"$ac_file" != x-
; then
7983 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
7984 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
7985 echo "$as_me: $ac_file is unchanged" >&6;}
7987 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
7988 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7989 X"$ac_file" : 'X\(//\)[^/]' \| \
7990 X"$ac_file" : 'X\(//\)$' \| \
7991 X"$ac_file" : 'X\(/\)' \| \
7992 . : '\(.\)' 2>/dev/null ||
7994 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7995 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7996 /^X\(\/\/\)$/{ s//\1/; q; }
7997 /^X\(\/\).*/{ s//\1/; q; }
7999 { if $as_mkdir_p; then
8004 while test ! -d "$as_dir"; do
8005 as_dirs
="$as_dir $as_dirs"
8006 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
8007 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8008 X"$as_dir" : 'X\(//\)[^/]' \| \
8009 X"$as_dir" : 'X\(//\)$' \| \
8010 X"$as_dir" : 'X\(/\)' \| \
8011 . : '\(.\)' 2>/dev/null ||
8013 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8014 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
8015 /^X\(\/\/\)$/{ s//\1/; q; }
8016 /^X\(\/\).*/{ s//\1/; q; }
8019 test ! -n "$as_dirs" || mkdir
$as_dirs
8020 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
8021 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
8022 { (exit 1); exit 1; }; }; }
8025 mv $tmp/config.h
$ac_file
8031 # Compute $ac_file's index in $config_headers.
8033 for _am_header
in $config_headers :; do
8035 $ac_file |
$ac_file:* )
8038 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
8041 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
8042 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8043 X$ac_file : 'X\(//\)[^/]' \| \
8044 X$ac_file : 'X\(//\)$' \| \
8045 X$ac_file : 'X\(/\)' \| \
8046 . : '\(.\)' 2>/dev/null ||
8048 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8049 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
8050 /^X\(\/\/\)$/{ s//\1/; q; }
8051 /^X\(\/\).*/{ s//\1/; q; }
8052 s/.*/./; q'`/stamp-h
$_am_stamp_count
8055 cat >>$CONFIG_STATUS <<\_ACEOF
8058 # CONFIG_COMMANDS section.
8060 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
8061 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
8062 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
8063 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
8064 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8065 X"$ac_dest" : 'X\(//\)[^/]' \| \
8066 X"$ac_dest" : 'X\(//\)$' \| \
8067 X"$ac_dest" : 'X\(/\)' \| \
8068 . : '\(.\)' 2>/dev/null ||
8070 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8071 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
8072 /^X\(\/\/\)$/{ s//\1/; q; }
8073 /^X\(\/\).*/{ s//\1/; q; }
8075 { if $as_mkdir_p; then
8080 while test ! -d "$as_dir"; do
8081 as_dirs
="$as_dir $as_dirs"
8082 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
8083 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8084 X"$as_dir" : 'X\(//\)[^/]' \| \
8085 X"$as_dir" : 'X\(//\)$' \| \
8086 X"$as_dir" : 'X\(/\)' \| \
8087 . : '\(.\)' 2>/dev/null ||
8089 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8090 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
8091 /^X\(\/\/\)$/{ s//\1/; q; }
8092 /^X\(\/\).*/{ s//\1/; q; }
8095 test ! -n "$as_dirs" || mkdir
$as_dirs
8096 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
8097 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
8098 { (exit 1); exit 1; }; }; }
8102 if test "$ac_dir" != .
; then
8103 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
8104 # A "../" for each directory in $ac_dir_suffix.
8105 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
8107 ac_dir_suffix
= ac_top_builddir
=
8111 .
) # No --srcdir option. We are building in place.
8113 if test -z "$ac_top_builddir"; then
8116 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
8118 [\\/]* | ?
:[\\/]* ) # Absolute path.
8119 ac_srcdir
=$srcdir$ac_dir_suffix;
8120 ac_top_srcdir
=$srcdir ;;
8122 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
8123 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
8126 # Do not use `cd foo && pwd` to compute absolute paths, because
8127 # the directories may not exist.
8129 .
) ac_abs_builddir
="$ac_dir";;
8132 .
) ac_abs_builddir
=`pwd`;;
8133 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
8134 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
8137 case $ac_abs_builddir in
8138 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
8140 case ${ac_top_builddir}.
in
8141 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
8142 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
8143 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
8146 case $ac_abs_builddir in
8147 .
) ac_abs_srcdir
=$ac_srcdir;;
8150 .
) ac_abs_srcdir
=$ac_abs_builddir;;
8151 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
8152 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
8155 case $ac_abs_builddir in
8156 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
8158 case $ac_top_srcdir in
8159 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
8160 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
8161 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
8166 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
8167 echo "$as_me: executing $ac_dest commands" >&6;}
8170 # Only add multilib support code if we just rebuilt the top-level
8172 case " $CONFIG_FILES " in
8174 ac_file
=Makefile .
${multi_basedir}/config-ml.
in
8181 cat >>$CONFIG_STATUS <<\_ACEOF
8183 { (exit 0); exit 0; }
8185 chmod +x
$CONFIG_STATUS
8186 ac_clean_files
=$ac_clean_files_save
8189 # configure is writing to config.log, and then calls config.status.
8190 # config.status does its own redirection, appending to config.log.
8191 # Unfortunately, on DOS this fails, as config.log is still kept open
8192 # by configure, so config.status won't be able to write to it; its
8193 # output is simply discarded. So we exec the FD to /dev/null,
8194 # effectively closing config.log, so it can be properly (re)opened and
8195 # appended to by config.status. When coming back to configure, we
8196 # need to make the FD available again.
8197 if test "$no_create" != yes; then
8199 ac_config_status_args
=
8200 test "$silent" = yes &&
8201 ac_config_status_args
="$ac_config_status_args --quiet"
8203 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
8205 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
8206 # would make configure fail if this is the last instruction.
8207 $ac_cs_success ||
{ (exit 1); exit 1; }