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 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 enable_shared enable_static CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE F77 FFLAGS ac_ct_F77 CPP EGREP MATH_OBJ AR RANLIB ac_ct_RANLIB build build_cpu build_vendor build_os host host_cpu host_vendor host_os LN_S LIBTOOL 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_CC_set
=${CC+set}
754 ac_cv_env_CC_set
=${CC+set}
755 ac_cv_env_CC_value
=$CC
756 ac_env_CFLAGS_set
=${CFLAGS+set}
757 ac_env_CFLAGS_value
=$CFLAGS
758 ac_cv_env_CFLAGS_set
=${CFLAGS+set}
759 ac_cv_env_CFLAGS_value
=$CFLAGS
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_CPPFLAGS_set
=${CPPFLAGS+set}
765 ac_env_CPPFLAGS_value
=$CPPFLAGS
766 ac_cv_env_CPPFLAGS_set
=${CPPFLAGS+set}
767 ac_cv_env_CPPFLAGS_value
=$CPPFLAGS
768 ac_env_F77_set
=${F77+set}
769 ac_env_F77_value
=$F77
770 ac_cv_env_F77_set
=${F77+set}
771 ac_cv_env_F77_value
=$F77
772 ac_env_FFLAGS_set
=${FFLAGS+set}
773 ac_env_FFLAGS_value
=$FFLAGS
774 ac_cv_env_FFLAGS_set
=${FFLAGS+set}
775 ac_cv_env_FFLAGS_value
=$FFLAGS
776 ac_env_CPP_set
=${CPP+set}
777 ac_env_CPP_value
=$CPP
778 ac_cv_env_CPP_set
=${CPP+set}
779 ac_cv_env_CPP_value
=$CPP
782 # Report the --help message.
784 if test "$ac_init_help" = "long"; then
785 # Omit some internal or obsolete options to make the list less imposing.
786 # This message is too long to be a string in the A/UX 3.1 sh.
788 \`configure' configures GNU Fortran Runtime Library 0.2 to adapt to many kinds of systems.
790 Usage: $0 [OPTION]... [VAR=VALUE]...
792 To assign environment variables (e.g., CC, CFLAGS...), specify them as
793 VAR=VALUE. See below for descriptions of some of the useful variables.
795 Defaults for the options are specified in brackets.
798 -h, --help display this help and exit
799 --help=short display options specific to this package
800 --help=recursive display the short help of all the included packages
801 -V, --version display version information and exit
802 -q, --quiet, --silent do not print \`checking...' messages
803 --cache-file=FILE cache test results in FILE [disabled]
804 -C, --config-cache alias for \`--cache-file=config.cache'
805 -n, --no-create do not create output files
806 --srcdir=DIR find the sources in DIR [configure dir or \`..']
811 Installation directories:
812 --prefix=PREFIX install architecture-independent files in PREFIX
814 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
817 By default, \`make install' will install all the files in
818 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
819 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
820 for instance \`--prefix=\$HOME'.
822 For better control, use the options below.
824 Fine tuning of the installation directories:
825 --bindir=DIR user executables [EPREFIX/bin]
826 --sbindir=DIR system admin executables [EPREFIX/sbin]
827 --libexecdir=DIR program executables [EPREFIX/libexec]
828 --datadir=DIR read-only architecture-independent data [PREFIX/share]
829 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
830 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
831 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
832 --libdir=DIR object code libraries [EPREFIX/lib]
833 --includedir=DIR C header files [PREFIX/include]
834 --oldincludedir=DIR C header files for non-gcc [/usr/include]
835 --infodir=DIR info documentation [PREFIX/info]
836 --mandir=DIR man documentation [PREFIX/man]
842 --program-prefix=PREFIX prepend PREFIX to installed program names
843 --program-suffix=SUFFIX append SUFFIX to installed program names
844 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
847 --build=BUILD configure
for building on BUILD
[guessed
]
848 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
852 if test -n "$ac_init_help"; then
853 case $ac_init_help in
854 short | recursive
) echo "Configuration of GNU Fortran Runtime Library 0.2:";;
859 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
860 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
861 --enable-maintainer-mode enable make rules and dependencies not useful
862 (and sometimes confusing
) to the casual installer
863 --disable-dependency-tracking speeds up one-time build
864 --enable-dependency-tracking do not reject slow dependency extractors
865 --enable-cmath Include complex math functions
866 --enable-shared=PKGS build shared libraries default
=yes
867 --enable-static=PKGS build static libraries default
=yes
868 --enable-fast-install=PKGS optimize
for fast installation default
=yes
869 --disable-libtool-lock avoid locking
(might
break parallel builds
)
872 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
873 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
874 --with-gnu-ld assume the C compiler uses GNU ld default
=no
875 --with-pic try to use only PIC
/non-PIC objects default
=use both
877 Some influential environment variables
:
878 CC C compiler
command
879 CFLAGS C compiler flags
880 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
881 nonstandard directory
<lib dir
>
882 CPPFLAGS C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if you have
883 headers
in a nonstandard directory
<include dir
>
884 F77 Fortran
77 compiler
command
885 FFLAGS Fortran
77 compiler flags
888 Use these variables to override the choices made by
`configure' or to help
889 it to find libraries and programs with nonstandard names/locations.
894 if test "$ac_init_help" = "recursive"; then
895 # If there are subdirs, report their specific --help.
897 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
898 test -d $ac_dir || continue
901 if test "$ac_dir" != .; then
902 ac_dir_suffix=/`echo "$ac_dir" |
sed 's,^\.[\\/],,'`
903 # A "../" for each directory in $ac_dir_suffix.
904 ac_top_builddir=`echo "$ac_dir_suffix" |
sed 's,/[^\\/]*,../,g'`
906 ac_dir_suffix= ac_top_builddir=
910 .) # No --srcdir option. We are building in place.
912 if test -z "$ac_top_builddir"; then
915 ac_top_srcdir=`echo $ac_top_builddir |
sed 's,/$,,'`
917 [\\/]* | ?:[\\/]* ) # Absolute path.
918 ac_srcdir=$srcdir$ac_dir_suffix;
919 ac_top_srcdir=$srcdir ;;
921 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
922 ac_top_srcdir=$ac_top_builddir$srcdir ;;
925 # Do not use `cd foo
&& pwd` to compute absolute paths, because
926 # the directories may not exist.
928 .) ac_abs_builddir="$ac_dir";;
931 .) ac_abs_builddir=`pwd`;;
932 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
933 *) ac_abs_builddir=`pwd`/"$ac_dir";;
936 case $ac_abs_builddir in
937 .) ac_abs_top_builddir=${ac_top_builddir}.;;
939 case ${ac_top_builddir}. in
940 .) ac_abs_top_builddir=$ac_abs_builddir;;
941 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
942 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
945 case $ac_abs_builddir in
946 .) ac_abs_srcdir=$ac_srcdir;;
949 .) ac_abs_srcdir=$ac_abs_builddir;;
950 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
951 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
954 case $ac_abs_builddir in
955 .) ac_abs_top_srcdir=$ac_top_srcdir;;
957 case $ac_top_srcdir in
958 .) ac_abs_top_srcdir=$ac_abs_builddir;;
959 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
960 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
965 # Check for guested configure; otherwise get Cygnus style configure.
966 if test -f $ac_srcdir/configure.gnu; then
968 $SHELL $ac_srcdir/configure.gnu --help=recursive
969 elif test -f $ac_srcdir/configure; then
971 $SHELL $ac_srcdir/configure --help=recursive
972 elif test -f $ac_srcdir/configure.ac ||
973 test -f $ac_srcdir/configure.in; then
977 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
983 test -n "$ac_init_help" && exit 0
984 if $ac_init_version; then
986 GNU Fortran Runtime Library configure 0.2
987 generated by GNU Autoconf 2.59
989 Copyright (C) 2003 Free Software Foundation, Inc.
990 This configure script is free software; the Free Software Foundation
991 gives unlimited permission to copy, distribute and modify it.
997 This file contains any messages produced by compilers while
998 running configure, to aid debugging if configure makes a mistake.
1000 It was created by GNU Fortran Runtime Library $as_me 0.2, which was
1001 generated by GNU Autoconf 2.59. Invocation command line was
1012 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1013 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1014 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1015 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1016 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1018 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1019 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1021 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1022 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1023 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1024 hostinfo = `(hostinfo
) 2>/dev
/null ||
echo unknown
`
1025 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1026 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1027 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1031 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1035 test -z "$as_dir" && as_dir=.
1036 echo "PATH: $as_dir"
1051 # Keep a trace of the command line.
1052 # Strip out --no-create and --no-recursion so they do not pile up.
1053 # Strip out --silent because we don't want to record it for future runs.
1054 # Also quote any args containing shell meta-characters.
1055 # Make two passes to allow for proper duplicate-argument suppression.
1060 ac_must_keep_next=false
1066 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1067 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1068 | -silent | --silent | --silen | --sile | --sil)
1070 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1071 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1074 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1076 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1077 if test $ac_must_keep_next = true; then
1078 ac_must_keep_next=false # Got value, back to normal.
1081 *=* | --config-cache | -C | -disable-* | --disable-* \
1082 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1083 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1084 | -with-* | --with-* | -without-* | --without-* | --x)
1085 case "$ac_configure_args0 " in
1086 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1089 -* ) ac_must_keep_next=true ;;
1092 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1093 # Get rid of the leading space.
1099 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1100 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1102 # When interrupted or exit'd, cleanup temporary files, and complete
1103 # config.log. We remove comments because anyway the quotes in there
1104 # would cause problems or look ugly.
1105 # WARNING: Be sure not to use single quotes in there, as some shells,
1106 # such as our DU 5.0 friend, will then `close
' the trap.
1107 trap 'exit_status
=$?
1108 # Save into config.log some information that might help in debugging.
1113 ## ---------------- ##
1114 ## Cache variables. ##
1115 ## ---------------- ##
1118 # The following way of writing the cache mishandles newlines in values,
1121 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1124 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1125 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1129 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1136 ## ----------------- ##
1137 ## Output variables. ##
1138 ## ----------------- ##
1141 for ac_var
in $ac_subst_vars
1143 eval ac_val
=$
`echo $ac_var`
1144 echo "$ac_var='"'"'$ac_val'"'"'"
1148 if test -n "$ac_subst_files"; then
1155 for ac_var
in $ac_subst_files
1157 eval ac_val
=$
`echo $ac_var`
1158 echo "$ac_var='"'"'$ac_val'"'"'"
1163 if test -s confdefs.h
; then
1170 sed "/^$/d" confdefs.h |
sort
1173 test "$ac_signal" != 0 &&
1174 echo "$as_me: caught signal $ac_signal"
1175 echo "$as_me: exit $exit_status"
1177 rm -f core
*.core
&&
1178 rm -rf conftest
* confdefs
* conf$$
* $ac_clean_files &&
1181 for ac_signal in 1 2 13 15; do
1182 trap 'ac_signal
='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1186 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1187 rm -rf conftest* confdefs.h
1188 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1191 # Predefined preprocessor variables.
1193 cat >>confdefs.h <<_ACEOF
1194 #define PACKAGE_NAME "$PACKAGE_NAME"
1198 cat >>confdefs.h <<_ACEOF
1199 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1203 cat >>confdefs.h <<_ACEOF
1204 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1208 cat >>confdefs.h <<_ACEOF
1209 #define PACKAGE_STRING "$PACKAGE_STRING"
1213 cat >>confdefs.h <<_ACEOF
1214 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1218 # Let the site file select an alternate cache file if it wants to.
1219 # Prefer explicitly selected file to automatically selected ones.
1220 if test -z "$CONFIG_SITE"; then
1221 if test "x$prefix" != xNONE; then
1222 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1224 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1227 for ac_site_file in $CONFIG_SITE; do
1228 if test -r "$ac_site_file"; then
1229 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1230 echo "$as_me: loading site script $ac_site_file" >&6;}
1231 sed 's
/^
/|
/' "$ac_site_file" >&5
1236 if test -r "$cache_file"; then
1237 # Some versions of bash will fail to source /dev/null (special
1238 # files actually), so we avoid doing that.
1239 if test -f "$cache_file"; then
1240 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1241 echo "$as_me: loading cache $cache_file" >&6;}
1243 [\\/]* | ?:[\\/]* ) . $cache_file;;
1244 *) . ./$cache_file;;
1248 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1249 echo "$as_me: creating cache $cache_file" >&6;}
1253 # Check that the precious variables saved in the cache have kept the same
1255 ac_cache_corrupted=false
1256 for ac_var in `(set) 2>&1 |
1257 sed -n 's
/^ac_env_\
([a-zA-Z_0-9
]*\
)_set
=.
*/\
1/p
'`; do
1258 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1259 eval ac_new_set=\$ac_env_${ac_var}_set
1260 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1261 eval ac_new_val="\$ac_env_${ac_var}_value"
1262 case $ac_old_set,$ac_new_set in
1264 { echo "$as_me:$LINENO: error: \`$ac_var' was
set to \
`$ac_old_val' in the previous run" >&5
1265 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&2;}
1266 ac_cache_corrupted=: ;;
1268 { echo "$as_me:$LINENO: error
: \
`$ac_var' was not set in the previous run" >&5
1269 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1270 ac_cache_corrupted=: ;;
1273 if test "x$ac_old_val" != "x$ac_new_val"; then
1274 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run
:" >&5
1275 echo "$as_me: error
: \
`$ac_var' has changed since the previous run:" >&2;}
1276 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1277 echo "$as_me: former value: $ac_old_val" >&2;}
1278 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1279 echo "$as_me: current value: $ac_new_val" >&2;}
1280 ac_cache_corrupted=:
1283 # Pass precious variables to config.status.
1284 if test "$ac_new_set" = set; then
1286 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1287 ac_arg=$ac_var=`echo "$ac_new_val" |
sed "s/'/'\\\\\\\\''/g"` ;;
1288 *) ac_arg=$ac_var=$ac_new_val ;;
1290 case " $ac_configure_args " in
1291 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1292 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1296 if $ac_cache_corrupted; then
1297 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1298 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1299 { { echo "$as_me:$LINENO: error: run \`make distclean
' and/or \`rm $cache_file' and start over
" >&5
1300 echo "$as_me: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1301 { (exit 1); exit 1; }; }
1305 ac_cpp='$CPP $CPPFLAGS'
1306 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
1307 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
1308 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1336 am__api_version="1.8"
1338 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1339 if test -f $ac_dir/install-sh; then
1341 ac_install_sh="$ac_aux_dir/install-sh -c"
1343 elif test -f $ac_dir/install.sh; then
1345 ac_install_sh="$ac_aux_dir/install.sh -c"
1347 elif test -f $ac_dir/shtool; then
1349 ac_install_sh="$ac_aux_dir/shtool install -c"
1353 if test -z "$ac_aux_dir"; then
1354 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1355 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1356 { (exit 1); exit 1; }; }
1358 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1359 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1360 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1362 # Find a good install program. We prefer a C program (faster),
1363 # so one script is as good as another. But avoid the broken or
1364 # incompatible versions:
1365 # SysV /etc/install, /usr/sbin/install
1366 # SunOS /usr/etc/install
1367 # IRIX /sbin/install
1369 # AmigaOS /C/install, which installs bootblocks on floppy discs
1370 # AIX 4 /usr/bin/installbsd, which doesn't work without a
-g flag
1371 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1372 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1373 # OS/2's system install, which has a completely different semantic
1374 # ./install, which can be erroneously created by make from ./install.sh.
1375 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1376 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1377 if test -z "$INSTALL"; then
1378 if test "${ac_cv_path_install+set}" = set; then
1379 echo $ECHO_N "(cached) $ECHO_C" >&6
1381 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1385 test -z "$as_dir" && as_dir
=.
1386 # Account for people who put trailing slashes in PATH elements.
1388 .
/ | .
// |
/cC
/* | \
1389 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
1390 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
1393 # OSF1 and SCO ODT 3.0 have their own names for install.
1394 # Don't use installbsd from OSF since it installs stuff as root
1396 for ac_prog
in ginstall scoinst
install; do
1397 for ac_exec_ext
in '' $ac_executable_extensions; do
1398 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1399 if test $ac_prog = install &&
1400 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
1401 # AIX install. It has an incompatible calling convention.
1403 elif test $ac_prog = install &&
1404 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
1405 # program-specific install script used by HP pwplus--don't use.
1408 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
1420 if test "${ac_cv_path_install+set}" = set; then
1421 INSTALL
=$ac_cv_path_install
1423 # As a last resort, use the slow shell script. We don't cache a
1424 # path for INSTALL within a source directory, because that will
1425 # break other packages using the cache if that directory is
1426 # removed, or if the path is relative.
1427 INSTALL
=$ac_install_sh
1430 echo "$as_me:$LINENO: result: $INSTALL" >&5
1431 echo "${ECHO_T}$INSTALL" >&6
1433 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1434 # It thinks the first close brace ends the variable substitution.
1435 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
1437 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
1439 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
1441 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1442 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1445 echo timestamp
> conftest.
file
1446 # Do `set' in a subshell so we don't clobber the current shell's
1447 # arguments. Must try -L first in case configure is actually a
1448 # symlink; some systems play weird games with the mod time of symlinks
1449 # (eg FreeBSD returns the mod time of the symlink's containing
1452 set X
`ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1453 if test "$*" = "X"; then
1455 set X
`ls -t $srcdir/configure conftest.file`
1458 if test "$*" != "X $srcdir/configure conftest.file" \
1459 && test "$*" != "X conftest.file $srcdir/configure"; then
1461 # If neither matched, then we have a broken ls. This can happen
1462 # if, for instance, CONFIG_SHELL is bash and it inherits a
1463 # broken ls alias from the environment. This has actually
1464 # happened. Such a system could not be considered "sane".
1465 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1466 alias in your environment" >&5
1467 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1468 alias in your environment" >&2;}
1469 { (exit 1); exit 1; }; }
1472 test "$2" = conftest.
file
1478 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1479 Check your system clock" >&5
1480 echo "$as_me: error: newly created file is older than distributed files!
1481 Check your system clock" >&2;}
1482 { (exit 1); exit 1; }; }
1484 echo "$as_me:$LINENO: result: yes" >&5
1485 echo "${ECHO_T}yes" >&6
1486 test "$program_prefix" != NONE
&&
1487 program_transform_name
="s,^,$program_prefix,;$program_transform_name"
1488 # Use a double $ so make ignores it.
1489 test "$program_suffix" != NONE
&&
1490 program_transform_name
="s,\$,$program_suffix,;$program_transform_name"
1491 # Double any \ or $. echo might interpret backslashes.
1492 # By default was `s,x,x', remove it if useless.
1493 cat <<\_ACEOF
>conftest.
sed
1494 s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//
1496 program_transform_name
=`echo $program_transform_name | sed -f conftest.sed`
1499 # expand $ac_aux_dir to an absolute path
1500 am_aux_dir
=`cd $ac_aux_dir && pwd`
1502 test x
"${MISSING+set}" = xset || MISSING
="\${SHELL} $am_aux_dir/missing"
1503 # Use eval to expand $SHELL
1504 if eval "$MISSING --run true"; then
1505 am_missing_run
="$MISSING --run "
1508 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1509 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1512 if mkdir
-p -- .
2>/dev
/null
; then
1513 # Keeping the `.' argument allows $(mkdir_p) to be used without
1514 # argument. Indeed, we sometimes output rules like
1515 # $(mkdir_p) $(somedir)
1516 # where $(somedir) is conditionally defined.
1517 # (`test -n '$(somedir)' && $(mkdir_p) $(somedir)' is a more
1518 # expensive solution, as it forces Make to start a sub-shell.)
1519 mkdir_p
='mkdir -p -- .'
1521 # On NextStep and OpenStep, the `mkdir' command does not
1522 # recognize any option. It will interpret all options as
1523 # directories to create, and then abort because `.' already
1527 test -d $d && rmdir $d
1529 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1530 if test -f "$ac_aux_dir/mkinstalldirs"; then
1531 mkdir_p
='$(mkinstalldirs)'
1533 mkdir_p
='$(install_sh) -d'
1537 for ac_prog
in gawk mawk nawk
awk
1539 # Extract the first word of "$ac_prog", so it can be a program name with args.
1540 set dummy
$ac_prog; ac_word
=$2
1541 echo "$as_me:$LINENO: checking for $ac_word" >&5
1542 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1543 if test "${ac_cv_prog_AWK+set}" = set; then
1544 echo $ECHO_N "(cached) $ECHO_C" >&6
1546 if test -n "$AWK"; then
1547 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
1549 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1553 test -z "$as_dir" && as_dir
=.
1554 for ac_exec_ext
in '' $ac_executable_extensions; do
1555 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1556 ac_cv_prog_AWK
="$ac_prog"
1557 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1566 if test -n "$AWK"; then
1567 echo "$as_me:$LINENO: result: $AWK" >&5
1568 echo "${ECHO_T}$AWK" >&6
1570 echo "$as_me:$LINENO: result: no" >&5
1571 echo "${ECHO_T}no" >&6
1574 test -n "$AWK" && break
1577 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1578 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1579 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
1580 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1581 echo $ECHO_N "(cached) $ECHO_C" >&6
1583 cat >conftest.
make <<\_ACEOF
1585 @
echo 'ac_maketemp="$(MAKE)"'
1587 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1588 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1589 if test -n "$ac_maketemp"; then
1590 eval ac_cv_prog_make_
${ac_make}_set
=yes
1592 eval ac_cv_prog_make_
${ac_make}_set
=no
1596 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1597 echo "$as_me:$LINENO: result: yes" >&5
1598 echo "${ECHO_T}yes" >&6
1601 echo "$as_me:$LINENO: result: no" >&5
1602 echo "${ECHO_T}no" >&6
1603 SET_MAKE
="MAKE=${MAKE-make}"
1606 rm -rf .tst
2>/dev
/null
1607 mkdir .tst
2>/dev
/null
1608 if test -d .tst
; then
1613 rmdir .tst
2>/dev
/null
1615 # test to see if srcdir already configured
1616 if test "`cd $srcdir && pwd`" != "`pwd`" &&
1617 test -f $srcdir/config.status
; then
1618 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1619 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1620 { (exit 1); exit 1; }; }
1623 # test whether we have cygpath
1624 if test -z "$CYGPATH_W"; then
1625 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
1626 CYGPATH_W
='cygpath -w'
1633 # Define the identity of the package.
1634 PACKAGE
='libgfortran'
1638 cat >>confdefs.h
<<_ACEOF
1639 #define PACKAGE "$PACKAGE"
1643 cat >>confdefs.h
<<_ACEOF
1644 #define VERSION "$VERSION"
1647 # Some tools Automake needs.
1649 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1652 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
1655 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1658 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
1661 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
1664 AMTAR
=${AMTAR-"${am_missing_run}tar"}
1666 install_sh
=${install_sh-"$am_aux_dir/install-sh"}
1668 # Installed binaries are usually stripped using `strip' when the user
1669 # run `make install-strip'. However `strip' might not be the right
1670 # tool to use in cross-compilation environments, therefore Automake
1671 # will honor the `STRIP' environment variable to overrule this program.
1672 if test "$cross_compiling" != no
; then
1673 if test -n "$ac_tool_prefix"; then
1674 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1675 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
1676 echo "$as_me:$LINENO: checking for $ac_word" >&5
1677 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1678 if test "${ac_cv_prog_STRIP+set}" = set; then
1679 echo $ECHO_N "(cached) $ECHO_C" >&6
1681 if test -n "$STRIP"; then
1682 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
1684 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1688 test -z "$as_dir" && as_dir
=.
1689 for ac_exec_ext
in '' $ac_executable_extensions; do
1690 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1691 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
1692 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1700 STRIP
=$ac_cv_prog_STRIP
1701 if test -n "$STRIP"; then
1702 echo "$as_me:$LINENO: result: $STRIP" >&5
1703 echo "${ECHO_T}$STRIP" >&6
1705 echo "$as_me:$LINENO: result: no" >&5
1706 echo "${ECHO_T}no" >&6
1710 if test -z "$ac_cv_prog_STRIP"; then
1712 # Extract the first word of "strip", so it can be a program name with args.
1713 set dummy strip
; ac_word
=$2
1714 echo "$as_me:$LINENO: checking for $ac_word" >&5
1715 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1716 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1717 echo $ECHO_N "(cached) $ECHO_C" >&6
1719 if test -n "$ac_ct_STRIP"; then
1720 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
1722 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1726 test -z "$as_dir" && as_dir
=.
1727 for ac_exec_ext
in '' $ac_executable_extensions; do
1728 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1729 ac_cv_prog_ac_ct_STRIP
="strip"
1730 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1736 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
1739 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
1740 if test -n "$ac_ct_STRIP"; then
1741 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1742 echo "${ECHO_T}$ac_ct_STRIP" >&6
1744 echo "$as_me:$LINENO: result: no" >&5
1745 echo "${ECHO_T}no" >&6
1750 STRIP
="$ac_cv_prog_STRIP"
1754 INSTALL_STRIP_PROGRAM
="\${SHELL} \$(install_sh) -c -s"
1756 # We need awk for the "check" target. The system "awk" is bad on
1761 ac_config_headers
="$ac_config_headers config.h"
1763 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
1764 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
1765 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
1766 if test "${enable_maintainer_mode+set}" = set; then
1767 enableval
="$enable_maintainer_mode"
1768 USE_MAINTAINER_MODE
=$enableval
1770 USE_MAINTAINER_MODE
=no
1772 echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
1773 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
1776 if test $USE_MAINTAINER_MODE = yes; then
1777 MAINTAINER_MODE_TRUE
=
1778 MAINTAINER_MODE_FALSE
='#'
1780 MAINTAINER_MODE_TRUE
='#'
1781 MAINTAINER_MODE_FALSE
=
1784 MAINT
=$MAINTAINER_MODE_TRUE
1791 # check for compiler
1793 ac_cpp
='$CPP $CPPFLAGS'
1794 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1795 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1796 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1797 if test -n "$ac_tool_prefix"; then
1798 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1799 set dummy
${ac_tool_prefix}gcc
; 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_CC+set}" = set; then
1803 echo $ECHO_N "(cached) $ECHO_C" >&6
1805 if test -n "$CC"; then
1806 ac_cv_prog_CC
="$CC" # 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_CC
="${ac_tool_prefix}gcc"
1816 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1825 if test -n "$CC"; then
1826 echo "$as_me:$LINENO: result: $CC" >&5
1827 echo "${ECHO_T}$CC" >&6
1829 echo "$as_me:$LINENO: result: no" >&5
1830 echo "${ECHO_T}no" >&6
1834 if test -z "$ac_cv_prog_CC"; then
1836 # Extract the first word of "gcc", so it can be a program name with args.
1837 set dummy gcc
; 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_CC+set}" = set; then
1841 echo $ECHO_N "(cached) $ECHO_C" >&6
1843 if test -n "$ac_ct_CC"; then
1844 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # 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_CC
="gcc"
1854 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1862 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1863 if test -n "$ac_ct_CC"; then
1864 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1865 echo "${ECHO_T}$ac_ct_CC" >&6
1867 echo "$as_me:$LINENO: result: no" >&5
1868 echo "${ECHO_T}no" >&6
1876 if test -z "$CC"; then
1877 if test -n "$ac_tool_prefix"; then
1878 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1879 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
1880 echo "$as_me:$LINENO: checking for $ac_word" >&5
1881 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1882 if test "${ac_cv_prog_CC+set}" = set; then
1883 echo $ECHO_N "(cached) $ECHO_C" >&6
1885 if test -n "$CC"; then
1886 ac_cv_prog_CC
="$CC" # Let the user override the test.
1888 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1892 test -z "$as_dir" && as_dir
=.
1893 for ac_exec_ext
in '' $ac_executable_extensions; do
1894 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1895 ac_cv_prog_CC
="${ac_tool_prefix}cc"
1896 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1905 if test -n "$CC"; then
1906 echo "$as_me:$LINENO: result: $CC" >&5
1907 echo "${ECHO_T}$CC" >&6
1909 echo "$as_me:$LINENO: result: no" >&5
1910 echo "${ECHO_T}no" >&6
1914 if test -z "$ac_cv_prog_CC"; then
1916 # Extract the first word of "cc", so it can be a program name with args.
1917 set dummy cc
; ac_word
=$2
1918 echo "$as_me:$LINENO: checking for $ac_word" >&5
1919 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1920 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1921 echo $ECHO_N "(cached) $ECHO_C" >&6
1923 if test -n "$ac_ct_CC"; then
1924 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1926 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1930 test -z "$as_dir" && as_dir
=.
1931 for ac_exec_ext
in '' $ac_executable_extensions; do
1932 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1933 ac_cv_prog_ac_ct_CC
="cc"
1934 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1942 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1943 if test -n "$ac_ct_CC"; then
1944 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1945 echo "${ECHO_T}$ac_ct_CC" >&6
1947 echo "$as_me:$LINENO: result: no" >&5
1948 echo "${ECHO_T}no" >&6
1957 if test -z "$CC"; then
1958 # Extract the first word of "cc", so it can be a program name with args.
1959 set dummy cc
; ac_word
=$2
1960 echo "$as_me:$LINENO: checking for $ac_word" >&5
1961 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1962 if test "${ac_cv_prog_CC+set}" = set; then
1963 echo $ECHO_N "(cached) $ECHO_C" >&6
1965 if test -n "$CC"; then
1966 ac_cv_prog_CC
="$CC" # Let the user override the test.
1969 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1973 test -z "$as_dir" && as_dir
=.
1974 for ac_exec_ext
in '' $ac_executable_extensions; do
1975 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1976 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1977 ac_prog_rejected
=yes
1981 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1987 if test $ac_prog_rejected = yes; then
1988 # We found a bogon in the path, so make sure we never use it.
1989 set dummy
$ac_cv_prog_CC
1991 if test $# != 0; then
1992 # We chose a different compiler from the bogus one.
1993 # However, it has the same basename, so the bogon will be chosen
1994 # first if we set CC to just the basename; use the full file name.
1996 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2002 if test -n "$CC"; then
2003 echo "$as_me:$LINENO: result: $CC" >&5
2004 echo "${ECHO_T}$CC" >&6
2006 echo "$as_me:$LINENO: result: no" >&5
2007 echo "${ECHO_T}no" >&6
2011 if test -z "$CC"; then
2012 if test -n "$ac_tool_prefix"; then
2015 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2016 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2017 echo "$as_me:$LINENO: checking for $ac_word" >&5
2018 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2019 if test "${ac_cv_prog_CC+set}" = set; then
2020 echo $ECHO_N "(cached) $ECHO_C" >&6
2022 if test -n "$CC"; then
2023 ac_cv_prog_CC
="$CC" # Let the user override the test.
2025 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2029 test -z "$as_dir" && as_dir
=.
2030 for ac_exec_ext
in '' $ac_executable_extensions; do
2031 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2032 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2033 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2042 if test -n "$CC"; then
2043 echo "$as_me:$LINENO: result: $CC" >&5
2044 echo "${ECHO_T}$CC" >&6
2046 echo "$as_me:$LINENO: result: no" >&5
2047 echo "${ECHO_T}no" >&6
2050 test -n "$CC" && break
2053 if test -z "$CC"; then
2057 # Extract the first word of "$ac_prog", so it can be a program name with args.
2058 set dummy
$ac_prog; ac_word
=$2
2059 echo "$as_me:$LINENO: checking for $ac_word" >&5
2060 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2061 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2062 echo $ECHO_N "(cached) $ECHO_C" >&6
2064 if test -n "$ac_ct_CC"; then
2065 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2067 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2071 test -z "$as_dir" && as_dir
=.
2072 for ac_exec_ext
in '' $ac_executable_extensions; do
2073 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2074 ac_cv_prog_ac_ct_CC
="$ac_prog"
2075 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2083 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2084 if test -n "$ac_ct_CC"; then
2085 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2086 echo "${ECHO_T}$ac_ct_CC" >&6
2088 echo "$as_me:$LINENO: result: no" >&5
2089 echo "${ECHO_T}no" >&6
2092 test -n "$ac_ct_CC" && break
2101 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2102 See \`config.log' for more details." >&5
2103 echo "$as_me: error: no acceptable C compiler found in \$PATH
2104 See \`config.log' for more details." >&2;}
2105 { (exit 1); exit 1; }; }
2107 # Provide some information about the compiler.
2108 echo "$as_me:$LINENO:" \
2109 "checking for C compiler version" >&5
2110 ac_compiler
=`set X $ac_compile; echo $2`
2111 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2112 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
2114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2115 (exit $ac_status); }
2116 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2117 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
2119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2120 (exit $ac_status); }
2121 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2122 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
2124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2125 (exit $ac_status); }
2127 cat >conftest.
$ac_ext <<_ACEOF
2130 cat confdefs.h
>>conftest.
$ac_ext
2131 cat >>conftest.
$ac_ext <<_ACEOF
2132 /* end confdefs.h. */
2142 ac_clean_files_save
=$ac_clean_files
2143 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
2144 # Try to create an executable without -o first, disregard a.out.
2145 # It will help us diagnose broken compilers, and finding out an intuition
2147 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2148 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2149 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2150 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2151 (eval $ac_link_default) 2>&5
2153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2154 (exit $ac_status); }; then
2155 # Find the output, starting from the most likely. This scheme is
2156 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2159 # Be careful to initialize this variable, since it used to be cached.
2160 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2162 # b.out is created by i960 compilers.
2163 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
2165 test -f "$ac_file" ||
continue
2167 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
)
2170 # This is the source file.
2173 # We found the default executable, but exeext='' is most
2177 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2178 # FIXME: I believe we export ac_cv_exeext for Libtool,
2179 # but it would be cool to find out if it's true. Does anybody
2180 # maintain Libtool? --akim.
2188 echo "$as_me: failed program was:" >&5
2189 sed 's/^/| /' conftest.
$ac_ext >&5
2191 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2192 See \`config.log' for more details." >&5
2193 echo "$as_me: error: C compiler cannot create executables
2194 See \`config.log' for more details." >&2;}
2195 { (exit 77); exit 77; }; }
2198 ac_exeext
=$ac_cv_exeext
2199 echo "$as_me:$LINENO: result: $ac_file" >&5
2200 echo "${ECHO_T}$ac_file" >&6
2202 # Check the compiler produces executables we can run. If not, either
2203 # the compiler is broken, or we cross compile.
2204 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2205 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2206 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2207 # If not cross compiling, check that we can run a simple program.
2208 if test "$cross_compiling" != yes; then
2209 if { ac_try
='./$ac_file'
2210 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2214 (exit $ac_status); }; }; then
2217 if test "$cross_compiling" = maybe
; then
2220 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2221 If you meant to cross compile, use \`--host'.
2222 See \`config.log' for more details." >&5
2223 echo "$as_me: error: cannot run C compiled programs.
2224 If you meant to cross compile, use \`--host'.
2225 See \`config.log' for more details." >&2;}
2226 { (exit 1); exit 1; }; }
2230 echo "$as_me:$LINENO: result: yes" >&5
2231 echo "${ECHO_T}yes" >&6
2233 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
2234 ac_clean_files
=$ac_clean_files_save
2235 # Check the compiler produces executables we can run. If not, either
2236 # the compiler is broken, or we cross compile.
2237 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2238 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2239 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2240 echo "${ECHO_T}$cross_compiling" >&6
2242 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2243 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2244 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2245 (eval $ac_link) 2>&5
2247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2248 (exit $ac_status); }; then
2249 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2250 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2251 # work properly (i.e., refer to `conftest.exe'), while it won't with
2253 for ac_file
in conftest.exe conftest conftest.
*; do
2254 test -f "$ac_file" ||
continue
2256 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
) ;;
2257 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2264 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2265 See \`config.log' for more details." >&5
2266 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2267 See \`config.log' for more details." >&2;}
2268 { (exit 1); exit 1; }; }
2271 rm -f conftest
$ac_cv_exeext
2272 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2273 echo "${ECHO_T}$ac_cv_exeext" >&6
2275 rm -f conftest.
$ac_ext
2276 EXEEXT
=$ac_cv_exeext
2278 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2279 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2280 if test "${ac_cv_objext+set}" = set; then
2281 echo $ECHO_N "(cached) $ECHO_C" >&6
2283 cat >conftest.
$ac_ext <<_ACEOF
2286 cat confdefs.h
>>conftest.
$ac_ext
2287 cat >>conftest.
$ac_ext <<_ACEOF
2288 /* end confdefs.h. */
2298 rm -f conftest.o conftest.obj
2299 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2300 (eval $ac_compile) 2>&5
2302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2303 (exit $ac_status); }; then
2304 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2306 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg
) ;;
2307 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
2312 echo "$as_me: failed program was:" >&5
2313 sed 's/^/| /' conftest.
$ac_ext >&5
2315 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2316 See \`config.log' for more details." >&5
2317 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2318 See \`config.log' for more details." >&2;}
2319 { (exit 1); exit 1; }; }
2322 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
2324 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2325 echo "${ECHO_T}$ac_cv_objext" >&6
2326 OBJEXT
=$ac_cv_objext
2328 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2329 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2330 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2331 echo $ECHO_N "(cached) $ECHO_C" >&6
2333 cat >conftest.
$ac_ext <<_ACEOF
2336 cat confdefs.h
>>conftest.
$ac_ext
2337 cat >>conftest.
$ac_ext <<_ACEOF
2338 /* end confdefs.h. */
2351 rm -f conftest.
$ac_objext
2352 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2353 (eval $ac_compile) 2>conftest.er1
2355 grep -v '^ *+' conftest.er1
>conftest.err
2357 cat conftest.err
>&5
2358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2359 (exit $ac_status); } &&
2360 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2361 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2365 (exit $ac_status); }; } &&
2366 { ac_try
='test -s conftest.$ac_objext'
2367 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2371 (exit $ac_status); }; }; then
2374 echo "$as_me: failed program was:" >&5
2375 sed 's/^/| /' conftest.
$ac_ext >&5
2379 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2380 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
2383 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2384 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2385 GCC
=`test $ac_compiler_gnu = yes && echo yes`
2386 ac_test_CFLAGS
=${CFLAGS+set}
2387 ac_save_CFLAGS
=$CFLAGS
2389 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2390 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2391 if test "${ac_cv_prog_cc_g+set}" = set; then
2392 echo $ECHO_N "(cached) $ECHO_C" >&6
2394 cat >conftest.
$ac_ext <<_ACEOF
2397 cat confdefs.h
>>conftest.
$ac_ext
2398 cat >>conftest.
$ac_ext <<_ACEOF
2399 /* end confdefs.h. */
2409 rm -f conftest.
$ac_objext
2410 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2411 (eval $ac_compile) 2>conftest.er1
2413 grep -v '^ *+' conftest.er1
>conftest.err
2415 cat conftest.err
>&5
2416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2417 (exit $ac_status); } &&
2418 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2419 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2423 (exit $ac_status); }; } &&
2424 { ac_try
='test -s conftest.$ac_objext'
2425 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2429 (exit $ac_status); }; }; then
2432 echo "$as_me: failed program was:" >&5
2433 sed 's/^/| /' conftest.
$ac_ext >&5
2437 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2439 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2440 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2441 if test "$ac_test_CFLAGS" = set; then
2442 CFLAGS
=$ac_save_CFLAGS
2443 elif test $ac_cv_prog_cc_g = yes; then
2444 if test "$GCC" = yes; then
2450 if test "$GCC" = yes; then
2456 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2457 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2458 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2459 echo $ECHO_N "(cached) $ECHO_C" >&6
2461 ac_cv_prog_cc_stdc
=no
2463 cat >conftest.
$ac_ext <<_ACEOF
2466 cat confdefs.h
>>conftest.
$ac_ext
2467 cat >>conftest.
$ac_ext <<_ACEOF
2468 /* end confdefs.h. */
2471 #include <sys/types.h>
2472 #include <sys/stat.h>
2473 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2474 struct buf { int x; };
2475 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2476 static char *e (p, i)
2482 static char *f (char * (*g) (char **, int), char **p, ...)
2487 s = g (p, va_arg (v,int));
2492 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2493 function prototypes and stuff, but not '\xHH' hex character constants.
2494 These don't provoke an error unfortunately, instead are silently treated
2495 as 'x'. The following induces an error, until -std1 is added to get
2496 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2497 array size at least. It's necessary to write '\x00'==0 to get something
2498 that's true only with -std1. */
2499 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2501 int test (int i, double x);
2502 struct s1 {int (*f) (int a);};
2503 struct s2 {int (*f) (double a);};
2504 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2510 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2515 # Don't try gcc -ansi; that turns off useful extensions and
2516 # breaks some systems' header files.
2517 # AIX -qlanglvl=ansi
2518 # Ultrix and OSF/1 -std1
2519 # HP-UX 10.20 and later -Ae
2520 # HP-UX older versions -Aa -D_HPUX_SOURCE
2521 # SVR4 -Xc -D__EXTENSIONS__
2522 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2524 CC
="$ac_save_CC $ac_arg"
2525 rm -f conftest.
$ac_objext
2526 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2527 (eval $ac_compile) 2>conftest.er1
2529 grep -v '^ *+' conftest.er1
>conftest.err
2531 cat conftest.err
>&5
2532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2533 (exit $ac_status); } &&
2534 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2535 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2539 (exit $ac_status); }; } &&
2540 { ac_try
='test -s conftest.$ac_objext'
2541 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2545 (exit $ac_status); }; }; then
2546 ac_cv_prog_cc_stdc
=$ac_arg
2549 echo "$as_me: failed program was:" >&5
2550 sed 's/^/| /' conftest.
$ac_ext >&5
2553 rm -f conftest.err conftest.
$ac_objext
2555 rm -f conftest.
$ac_ext conftest.
$ac_objext
2560 case "x$ac_cv_prog_cc_stdc" in
2562 echo "$as_me:$LINENO: result: none needed" >&5
2563 echo "${ECHO_T}none needed" >&6 ;;
2565 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2566 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2567 CC
="$CC $ac_cv_prog_cc_stdc" ;;
2570 # Some people use a C++ compiler to compile C. Since we use `exit',
2571 # in C++ we need to declare it. In case someone uses the same compiler
2572 # for both compiling C and C++ we need to have the C++ compiler decide
2573 # the declaration of exit, since it's the most demanding environment.
2574 cat >conftest.
$ac_ext <<_ACEOF
2579 rm -f conftest.
$ac_objext
2580 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2581 (eval $ac_compile) 2>conftest.er1
2583 grep -v '^ *+' conftest.er1
>conftest.err
2585 cat conftest.err
>&5
2586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2587 (exit $ac_status); } &&
2588 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2593 (exit $ac_status); }; } &&
2594 { ac_try
='test -s conftest.$ac_objext'
2595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2599 (exit $ac_status); }; }; then
2600 for ac_declaration
in \
2602 'extern "C" void std::exit (int) throw (); using std::exit;' \
2603 'extern "C" void std::exit (int); using std::exit;' \
2604 'extern "C" void exit (int) throw ();' \
2605 'extern "C" void exit (int);' \
2608 cat >conftest.
$ac_ext <<_ACEOF
2611 cat confdefs.h
>>conftest.
$ac_ext
2612 cat >>conftest.
$ac_ext <<_ACEOF
2613 /* end confdefs.h. */
2624 rm -f conftest.
$ac_objext
2625 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2626 (eval $ac_compile) 2>conftest.er1
2628 grep -v '^ *+' conftest.er1
>conftest.err
2630 cat conftest.err
>&5
2631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2632 (exit $ac_status); } &&
2633 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2634 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2638 (exit $ac_status); }; } &&
2639 { ac_try
='test -s conftest.$ac_objext'
2640 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2644 (exit $ac_status); }; }; then
2647 echo "$as_me: failed program was:" >&5
2648 sed 's/^/| /' conftest.
$ac_ext >&5
2652 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2653 cat >conftest.
$ac_ext <<_ACEOF
2656 cat confdefs.h
>>conftest.
$ac_ext
2657 cat >>conftest.
$ac_ext <<_ACEOF
2658 /* end confdefs.h. */
2668 rm -f conftest.
$ac_objext
2669 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2670 (eval $ac_compile) 2>conftest.er1
2672 grep -v '^ *+' conftest.er1
>conftest.err
2674 cat conftest.err
>&5
2675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2676 (exit $ac_status); } &&
2677 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2678 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2682 (exit $ac_status); }; } &&
2683 { ac_try
='test -s conftest.$ac_objext'
2684 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2688 (exit $ac_status); }; }; then
2691 echo "$as_me: failed program was:" >&5
2692 sed 's/^/| /' conftest.
$ac_ext >&5
2695 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2698 if test -n "$ac_declaration"; then
2699 echo '#ifdef __cplusplus' >>confdefs.h
2700 echo $ac_declaration >>confdefs.h
2701 echo '#endif' >>confdefs.h
2705 echo "$as_me: failed program was:" >&5
2706 sed 's/^/| /' conftest.
$ac_ext >&5
2709 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2711 ac_cpp
='$CPP $CPPFLAGS'
2712 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2713 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2714 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2715 DEPDIR
="${am__leading_dot}deps"
2717 ac_config_commands
="$ac_config_commands depfiles"
2720 am_make
=${MAKE-make}
2721 cat > confinc
<< 'END'
2726 # If we don't find an include directive, just comment out the code.
2727 echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2728 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
2732 # First try GNU make style include.
2733 echo "include confinc" > confmf
2734 # We grep out `Entering directory' and `Leaving directory'
2735 # messages which can occur if `w' ends up in MAKEFLAGS.
2736 # In particular we don't look at `^make:' because GNU make might
2737 # be invoked under some other name (usually "gmake"), in which
2738 # case it prints its new name instead of `make'.
2739 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2744 # Now try BSD make style include.
2745 if test "$am__include" = "#"; then
2746 echo '.include "confinc"' > confmf
2747 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2748 am__include
=.include
2755 echo "$as_me:$LINENO: result: $_am_result" >&5
2756 echo "${ECHO_T}$_am_result" >&6
2757 rm -f confinc confmf
2759 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
2760 if test "${enable_dependency_tracking+set}" = set; then
2761 enableval
="$enable_dependency_tracking"
2764 if test "x$enable_dependency_tracking" != xno
; then
2765 am_depcomp
="$ac_aux_dir/depcomp"
2770 if test "x$enable_dependency_tracking" != xno; then
2781 depcc
="$CC" am_compiler_list
=
2783 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
2784 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
2785 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
2786 echo $ECHO_N "(cached) $ECHO_C" >&6
2788 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
2789 # We make a subdir and do the tests there. Otherwise we can end up
2790 # making bogus files that we don't know about and never remove. For
2791 # instance it was reported that on HP-UX the gcc test will end up
2792 # making a dummy file named `D' -- because `-MD' means `put the output
2795 # Copy depcomp to subdir because otherwise we won't find it if we're
2796 # using a relative directory.
2797 cp "$am_depcomp" conftest.dir
2799 # We will build objects and dependencies in a subdirectory because
2800 # it helps to detect inapplicable dependency modes. For instance
2801 # both Tru64's cc and ICC support -MD to output dependencies as a
2802 # side effect of compilation, but ICC will put the dependencies in
2803 # the current directory while Tru64 will put them in the object
2807 am_cv_CC_dependencies_compiler_type
=none
2808 if test "$am_compiler_list" = ""; then
2809 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
2811 for depmode
in $am_compiler_list; do
2812 # Setup a source with many dependencies, because some compilers
2813 # like to wrap large dependency lists on column 80 (with \), and
2814 # we should not choose a depcomp mode which is confused by this.
2816 # We need to recreate these files for each test, as the compiler may
2817 # overwrite some of them when testing with obscure command lines.
2818 # This happens at least with the AIX C compiler.
2820 for i
in 1 2 3 4 5 6; do
2821 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
2824 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
2828 # after this tag, mechanisms are not by side-effect, so they'll
2829 # only be used when explicitly requested
2830 if test "x$enable_dependency_tracking" = xyes
; then
2838 # We check with `-c' and `-o' for the sake of the "dashmstdout"
2839 # mode. It turns out that the SunPro C++ compiler does not properly
2840 # handle `-M -o', and we need to detect this.
2841 if depmode
=$depmode \
2842 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
2843 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
2844 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
2845 >/dev
/null
2>conftest.err
&&
2846 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
2847 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
2848 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
2849 # icc doesn't choke on unknown options, it will just issue warnings
2850 # (even with -Werror). So we grep stderr for any message
2851 # that says an option was ignored.
2852 if grep 'ignoring option' conftest.err
>/dev
/null
2>&1; then :; else
2853 am_cv_CC_dependencies_compiler_type
=$depmode
2862 am_cv_CC_dependencies_compiler_type
=none
2866 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
2867 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
2868 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
2873 test "x$enable_dependency_tracking" != xno \
2874 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
2876 am__fastdepCC_FALSE
='#'
2878 am__fastdepCC_TRUE
='#'
2879 am__fastdepCC_FALSE
=
2883 if test "x$GCC" = "xyes"; then
2884 CFLAGS
="$CFLAGS -Wall"
2887 # We need gfortran to compile parts of the library
2888 # We can't use AC_PROG_F77 because it expects a fully working gfortran.
2889 #AC_PROG_F77(gfortran)
2892 ac_compile
='$F77 -c $FFLAGS conftest.$ac_ext >&5'
2893 ac_link
='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2894 ac_compiler_gnu
=$ac_cv_f77_compiler_gnu
2895 if test -n "$ac_tool_prefix"; then
2896 for ac_prog
in gfortran
2898 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2899 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2900 echo "$as_me:$LINENO: checking for $ac_word" >&5
2901 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2902 if test "${ac_cv_prog_F77+set}" = set; then
2903 echo $ECHO_N "(cached) $ECHO_C" >&6
2905 if test -n "$F77"; then
2906 ac_cv_prog_F77
="$F77" # Let the user override the test.
2908 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2912 test -z "$as_dir" && as_dir
=.
2913 for ac_exec_ext
in '' $ac_executable_extensions; do
2914 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2915 ac_cv_prog_F77
="$ac_tool_prefix$ac_prog"
2916 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2925 if test -n "$F77"; then
2926 echo "$as_me:$LINENO: result: $F77" >&5
2927 echo "${ECHO_T}$F77" >&6
2929 echo "$as_me:$LINENO: result: no" >&5
2930 echo "${ECHO_T}no" >&6
2933 test -n "$F77" && break
2936 if test -z "$F77"; then
2938 for ac_prog
in gfortran
2940 # Extract the first word of "$ac_prog", so it can be a program name with args.
2941 set dummy
$ac_prog; ac_word
=$2
2942 echo "$as_me:$LINENO: checking for $ac_word" >&5
2943 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2944 if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
2945 echo $ECHO_N "(cached) $ECHO_C" >&6
2947 if test -n "$ac_ct_F77"; then
2948 ac_cv_prog_ac_ct_F77
="$ac_ct_F77" # Let the user override the test.
2950 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2954 test -z "$as_dir" && as_dir
=.
2955 for ac_exec_ext
in '' $ac_executable_extensions; do
2956 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2957 ac_cv_prog_ac_ct_F77
="$ac_prog"
2958 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2966 ac_ct_F77
=$ac_cv_prog_ac_ct_F77
2967 if test -n "$ac_ct_F77"; then
2968 echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
2969 echo "${ECHO_T}$ac_ct_F77" >&6
2971 echo "$as_me:$LINENO: result: no" >&5
2972 echo "${ECHO_T}no" >&6
2975 test -n "$ac_ct_F77" && break
2982 # Provide some information about the compiler.
2983 echo "$as_me:2983:" \
2984 "checking for Fortran 77 compiler version" >&5
2985 ac_compiler
=`set X $ac_compile; echo $2`
2986 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2987 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
2989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2990 (exit $ac_status); }
2991 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2992 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
2994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2995 (exit $ac_status); }
2996 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2997 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
2999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3000 (exit $ac_status); }
3003 # If we don't use `.F' as extension, the preprocessor is not run on the
3004 # input file. (Note that this only needs to work for GNU compilers.)
3007 echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
3008 echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6
3009 if test "${ac_cv_f77_compiler_gnu+set}" = set; then
3010 echo $ECHO_N "(cached) $ECHO_C" >&6
3012 cat >conftest.
$ac_ext <<_ACEOF
3020 rm -f conftest.
$ac_objext
3021 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3022 (eval $ac_compile) 2>conftest.er1
3024 grep -v '^ *+' conftest.er1
>conftest.err
3026 cat conftest.err
>&5
3027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3028 (exit $ac_status); } &&
3029 { ac_try
='test -z "$ac_f77_werror_flag" || test ! -s conftest.err'
3030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3034 (exit $ac_status); }; } &&
3035 { ac_try
='test -s conftest.$ac_objext'
3036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3040 (exit $ac_status); }; }; then
3043 echo "$as_me: failed program was:" >&5
3044 sed 's/^/| /' conftest.
$ac_ext >&5
3048 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3049 ac_cv_f77_compiler_gnu
=$ac_compiler_gnu
3052 echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
3053 echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6
3055 ac_test_FFLAGS
=${FFLAGS+set}
3056 ac_save_FFLAGS
=$FFLAGS
3058 echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
3059 echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6
3060 if test "${ac_cv_prog_f77_g+set}" = set; then
3061 echo $ECHO_N "(cached) $ECHO_C" >&6
3064 cat >conftest.
$ac_ext <<_ACEOF
3069 rm -f conftest.
$ac_objext
3070 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3071 (eval $ac_compile) 2>conftest.er1
3073 grep -v '^ *+' conftest.er1
>conftest.err
3075 cat conftest.err
>&5
3076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3077 (exit $ac_status); } &&
3078 { ac_try
='test -z "$ac_f77_werror_flag" || test ! -s conftest.err'
3079 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3083 (exit $ac_status); }; } &&
3084 { ac_try
='test -s conftest.$ac_objext'
3085 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3089 (exit $ac_status); }; }; then
3090 ac_cv_prog_f77_g
=yes
3092 echo "$as_me: failed program was:" >&5
3093 sed 's/^/| /' conftest.
$ac_ext >&5
3097 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3100 echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
3101 echo "${ECHO_T}$ac_cv_prog_f77_g" >&6
3102 if test "$ac_test_FFLAGS" = set; then
3103 FFLAGS
=$ac_save_FFLAGS
3104 elif test $ac_cv_prog_f77_g = yes; then
3105 if test "x$ac_cv_f77_compiler_gnu" = xyes
; then
3111 if test "x$ac_cv_f77_compiler_gnu" = xyes
; then
3118 G77
=`test $ac_compiler_gnu = yes && echo yes`
3120 ac_cpp
='$CPP $CPPFLAGS'
3121 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3122 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3123 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3125 FFLAGS
="$FFLAGS -Wall -fno-repack-arrays -fno-underscoring"
3129 ac_cpp
='$CPP $CPPFLAGS'
3130 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3131 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3132 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3133 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3134 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
3135 # On Suns, sometimes $CPP names a directory.
3136 if test -n "$CPP" && test -d "$CPP"; then
3139 if test -z "$CPP"; then
3140 if test "${ac_cv_prog_CPP+set}" = set; then
3141 echo $ECHO_N "(cached) $ECHO_C" >&6
3143 # Double quotes because CPP needs to be expanded
3144 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3147 for ac_c_preproc_warn_flag
in '' yes
3149 # Use a header file that comes with gcc, so configuring glibc
3150 # with a fresh cross-compiler works.
3151 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3152 # <limits.h> exists even on freestanding compilers.
3153 # On the NeXT, cc -E runs the code through the compiler's parser,
3154 # not just through cpp. "Syntax error" is here to catch this case.
3155 cat >conftest.
$ac_ext <<_ACEOF
3158 cat confdefs.h
>>conftest.
$ac_ext
3159 cat >>conftest.
$ac_ext <<_ACEOF
3160 /* end confdefs.h. */
3162 # include <limits.h>
3164 # include <assert.h>
3168 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3169 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3171 grep -v '^ *+' conftest.er1
>conftest.err
3173 cat conftest.err
>&5
3174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3175 (exit $ac_status); } >/dev
/null
; then
3176 if test -s conftest.err
; then
3177 ac_cpp_err
=$ac_c_preproc_warn_flag
3178 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3185 if test -z "$ac_cpp_err"; then
3188 echo "$as_me: failed program was:" >&5
3189 sed 's/^/| /' conftest.
$ac_ext >&5
3191 # Broken: fails on valid input.
3194 rm -f conftest.err conftest.
$ac_ext
3196 # OK, works on sane cases. Now check whether non-existent headers
3197 # can be detected and how.
3198 cat >conftest.
$ac_ext <<_ACEOF
3201 cat confdefs.h
>>conftest.
$ac_ext
3202 cat >>conftest.
$ac_ext <<_ACEOF
3203 /* end confdefs.h. */
3204 #include <ac_nonexistent.h>
3206 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3207 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3209 grep -v '^ *+' conftest.er1
>conftest.err
3211 cat conftest.err
>&5
3212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3213 (exit $ac_status); } >/dev
/null
; then
3214 if test -s conftest.err
; then
3215 ac_cpp_err
=$ac_c_preproc_warn_flag
3216 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3223 if test -z "$ac_cpp_err"; then
3224 # Broken: success on invalid input.
3227 echo "$as_me: failed program was:" >&5
3228 sed 's/^/| /' conftest.
$ac_ext >&5
3230 # Passes both tests.
3234 rm -f conftest.err conftest.
$ac_ext
3237 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3238 rm -f conftest.err conftest.
$ac_ext
3239 if $ac_preproc_ok; then
3251 echo "$as_me:$LINENO: result: $CPP" >&5
3252 echo "${ECHO_T}$CPP" >&6
3254 for ac_c_preproc_warn_flag
in '' yes
3256 # Use a header file that comes with gcc, so configuring glibc
3257 # with a fresh cross-compiler works.
3258 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3259 # <limits.h> exists even on freestanding compilers.
3260 # On the NeXT, cc -E runs the code through the compiler's parser,
3261 # not just through cpp. "Syntax error" is here to catch this case.
3262 cat >conftest.
$ac_ext <<_ACEOF
3265 cat confdefs.h
>>conftest.
$ac_ext
3266 cat >>conftest.
$ac_ext <<_ACEOF
3267 /* end confdefs.h. */
3269 # include <limits.h>
3271 # include <assert.h>
3275 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3276 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3278 grep -v '^ *+' conftest.er1
>conftest.err
3280 cat conftest.err
>&5
3281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3282 (exit $ac_status); } >/dev
/null
; then
3283 if test -s conftest.err
; then
3284 ac_cpp_err
=$ac_c_preproc_warn_flag
3285 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3292 if test -z "$ac_cpp_err"; then
3295 echo "$as_me: failed program was:" >&5
3296 sed 's/^/| /' conftest.
$ac_ext >&5
3298 # Broken: fails on valid input.
3301 rm -f conftest.err conftest.
$ac_ext
3303 # OK, works on sane cases. Now check whether non-existent headers
3304 # can be detected and how.
3305 cat >conftest.
$ac_ext <<_ACEOF
3308 cat confdefs.h
>>conftest.
$ac_ext
3309 cat >>conftest.
$ac_ext <<_ACEOF
3310 /* end confdefs.h. */
3311 #include <ac_nonexistent.h>
3313 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3314 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3316 grep -v '^ *+' conftest.er1
>conftest.err
3318 cat conftest.err
>&5
3319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3320 (exit $ac_status); } >/dev
/null
; then
3321 if test -s conftest.err
; then
3322 ac_cpp_err
=$ac_c_preproc_warn_flag
3323 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3330 if test -z "$ac_cpp_err"; then
3331 # Broken: success on invalid input.
3334 echo "$as_me: failed program was:" >&5
3335 sed 's/^/| /' conftest.
$ac_ext >&5
3337 # Passes both tests.
3341 rm -f conftest.err conftest.
$ac_ext
3344 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3345 rm -f conftest.err conftest.
$ac_ext
3346 if $ac_preproc_ok; then
3349 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3350 See \`config.log' for more details." >&5
3351 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3352 See \`config.log' for more details." >&2;}
3353 { (exit 1); exit 1; }; }
3357 ac_cpp
='$CPP $CPPFLAGS'
3358 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3359 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3360 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3363 echo "$as_me:$LINENO: checking for egrep" >&5
3364 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
3365 if test "${ac_cv_prog_egrep+set}" = set; then
3366 echo $ECHO_N "(cached) $ECHO_C" >&6
3368 if echo a |
(grep -E '(a|b)') >/dev
/null
2>&1
3369 then ac_cv_prog_egrep
='grep -E'
3370 else ac_cv_prog_egrep
='egrep'
3373 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
3374 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
3375 EGREP
=$ac_cv_prog_egrep
3378 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3379 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
3380 if test "${ac_cv_header_stdc+set}" = set; then
3381 echo $ECHO_N "(cached) $ECHO_C" >&6
3383 cat >conftest.
$ac_ext <<_ACEOF
3386 cat confdefs.h
>>conftest.
$ac_ext
3387 cat >>conftest.
$ac_ext <<_ACEOF
3388 /* end confdefs.h. */
3402 rm -f conftest.
$ac_objext
3403 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3404 (eval $ac_compile) 2>conftest.er1
3406 grep -v '^ *+' conftest.er1
>conftest.err
3408 cat conftest.err
>&5
3409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3410 (exit $ac_status); } &&
3411 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3412 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3416 (exit $ac_status); }; } &&
3417 { ac_try
='test -s conftest.$ac_objext'
3418 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3422 (exit $ac_status); }; }; then
3423 ac_cv_header_stdc
=yes
3425 echo "$as_me: failed program was:" >&5
3426 sed 's/^/| /' conftest.
$ac_ext >&5
3428 ac_cv_header_stdc
=no
3430 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3432 if test $ac_cv_header_stdc = yes; then
3433 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3434 cat >conftest.
$ac_ext <<_ACEOF
3437 cat confdefs.h
>>conftest.
$ac_ext
3438 cat >>conftest.
$ac_ext <<_ACEOF
3439 /* end confdefs.h. */
3443 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3444 $EGREP "memchr" >/dev
/null
2>&1; then
3447 ac_cv_header_stdc
=no
3453 if test $ac_cv_header_stdc = yes; then
3454 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3455 cat >conftest.
$ac_ext <<_ACEOF
3458 cat confdefs.h
>>conftest.
$ac_ext
3459 cat >>conftest.
$ac_ext <<_ACEOF
3460 /* end confdefs.h. */
3464 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3465 $EGREP "free" >/dev
/null
2>&1; then
3468 ac_cv_header_stdc
=no
3474 if test $ac_cv_header_stdc = yes; then
3475 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3476 if test "$cross_compiling" = yes; then
3479 cat >conftest.
$ac_ext <<_ACEOF
3482 cat confdefs.h
>>conftest.
$ac_ext
3483 cat >>conftest.
$ac_ext <<_ACEOF
3484 /* end confdefs.h. */
3486 #if ((' ' & 0x0FF) == 0x020)
3487 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3488 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3490 # define ISLOWER(c) \
3491 (('a' <= (c) && (c) <= 'i') \
3492 || ('j' <= (c) && (c) <= 'r') \
3493 || ('s' <= (c) && (c) <= 'z'))
3494 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3497 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3502 for (i = 0; i < 256; i++)
3503 if (XOR (islower (i), ISLOWER (i))
3504 || toupper (i) != TOUPPER (i))
3509 rm -f conftest
$ac_exeext
3510 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3511 (eval $ac_link) 2>&5
3513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3514 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
3515 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3519 (exit $ac_status); }; }; then
3522 echo "$as_me: program exited with status $ac_status" >&5
3523 echo "$as_me: failed program was:" >&5
3524 sed 's/^/| /' conftest.
$ac_ext >&5
3527 ac_cv_header_stdc
=no
3529 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
3533 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
3534 echo "${ECHO_T}$ac_cv_header_stdc" >&6
3535 if test $ac_cv_header_stdc = yes; then
3537 cat >>confdefs.h
<<\_ACEOF
3538 #define STDC_HEADERS 1
3543 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3553 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
3554 inttypes.h stdint.h unistd.h
3556 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3557 echo "$as_me:$LINENO: checking for $ac_header" >&5
3558 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3559 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3560 echo $ECHO_N "(cached) $ECHO_C" >&6
3562 cat >conftest.
$ac_ext <<_ACEOF
3565 cat confdefs.h
>>conftest.
$ac_ext
3566 cat >>conftest.
$ac_ext <<_ACEOF
3567 /* end confdefs.h. */
3568 $ac_includes_default
3570 #include <$ac_header>
3572 rm -f conftest.
$ac_objext
3573 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3574 (eval $ac_compile) 2>conftest.er1
3576 grep -v '^ *+' conftest.er1
>conftest.err
3578 cat conftest.err
>&5
3579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3580 (exit $ac_status); } &&
3581 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3582 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3586 (exit $ac_status); }; } &&
3587 { ac_try
='test -s conftest.$ac_objext'
3588 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3592 (exit $ac_status); }; }; then
3593 eval "$as_ac_Header=yes"
3595 echo "$as_me: failed program was:" >&5
3596 sed 's/^/| /' conftest.
$ac_ext >&5
3598 eval "$as_ac_Header=no"
3600 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3602 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3603 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3604 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3605 cat >>confdefs.h
<<_ACEOF
3606 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3616 for ac_header
in stdlib.h unistd.h
3618 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3619 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3620 echo "$as_me:$LINENO: checking for $ac_header" >&5
3621 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3622 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3623 echo $ECHO_N "(cached) $ECHO_C" >&6
3625 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3626 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3628 # Is the header compilable?
3629 echo "$as_me:$LINENO: checking $ac_header usability" >&5
3630 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
3631 cat >conftest.
$ac_ext <<_ACEOF
3634 cat confdefs.h
>>conftest.
$ac_ext
3635 cat >>conftest.
$ac_ext <<_ACEOF
3636 /* end confdefs.h. */
3637 $ac_includes_default
3638 #include <$ac_header>
3640 rm -f conftest.
$ac_objext
3641 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3642 (eval $ac_compile) 2>conftest.er1
3644 grep -v '^ *+' conftest.er1
>conftest.err
3646 cat conftest.err
>&5
3647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3648 (exit $ac_status); } &&
3649 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3650 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3654 (exit $ac_status); }; } &&
3655 { ac_try
='test -s conftest.$ac_objext'
3656 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3660 (exit $ac_status); }; }; then
3661 ac_header_compiler
=yes
3663 echo "$as_me: failed program was:" >&5
3664 sed 's/^/| /' conftest.
$ac_ext >&5
3666 ac_header_compiler
=no
3668 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3669 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3670 echo "${ECHO_T}$ac_header_compiler" >&6
3672 # Is the header present?
3673 echo "$as_me:$LINENO: checking $ac_header presence" >&5
3674 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
3675 cat >conftest.
$ac_ext <<_ACEOF
3678 cat confdefs.h
>>conftest.
$ac_ext
3679 cat >>conftest.
$ac_ext <<_ACEOF
3680 /* end confdefs.h. */
3681 #include <$ac_header>
3683 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3684 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3686 grep -v '^ *+' conftest.er1
>conftest.err
3688 cat conftest.err
>&5
3689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3690 (exit $ac_status); } >/dev
/null
; then
3691 if test -s conftest.err
; then
3692 ac_cpp_err
=$ac_c_preproc_warn_flag
3693 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3700 if test -z "$ac_cpp_err"; then
3701 ac_header_preproc
=yes
3703 echo "$as_me: failed program was:" >&5
3704 sed 's/^/| /' conftest.
$ac_ext >&5
3706 ac_header_preproc
=no
3708 rm -f conftest.err conftest.
$ac_ext
3709 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3710 echo "${ECHO_T}$ac_header_preproc" >&6
3712 # So? What about this header?
3713 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
3715 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
3716 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
3717 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
3718 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
3719 ac_header_preproc
=yes
3722 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
3723 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
3724 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
3725 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
3726 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
3727 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
3728 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
3729 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
3730 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3731 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
3732 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
3733 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
3736 ## ------------------------------------------------------ ##
3737 ## Report this to the GNU Fortran Runtime Library lists. ##
3738 ## ------------------------------------------------------ ##
3741 sed "s/^/$as_me: WARNING: /" >&2
3744 echo "$as_me:$LINENO: checking for $ac_header" >&5
3745 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3746 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3747 echo $ECHO_N "(cached) $ECHO_C" >&6
3749 eval "$as_ac_Header=\$ac_header_preproc"
3751 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3752 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3755 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3756 cat >>confdefs.h
<<_ACEOF
3757 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3765 for ac_func
in getpagesize
3767 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
3768 echo "$as_me:$LINENO: checking for $ac_func" >&5
3769 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
3770 if eval "test \"\${$as_ac_var+set}\" = set"; then
3771 echo $ECHO_N "(cached) $ECHO_C" >&6
3773 cat >conftest.
$ac_ext <<_ACEOF
3776 cat confdefs.h
>>conftest.
$ac_ext
3777 cat >>conftest.
$ac_ext <<_ACEOF
3778 /* end confdefs.h. */
3779 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
3780 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3781 #define $ac_func innocuous_$ac_func
3783 /* System header to define __stub macros and hopefully few prototypes,
3784 which can conflict with char $ac_func (); below.
3785 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3786 <limits.h> exists even on freestanding compilers. */
3789 # include <limits.h>
3791 # include <assert.h>
3796 /* Override any gcc2 internal prototype to avoid an error. */
3801 /* We use char because int might match the return type of a gcc2
3802 builtin and then its argument prototype would still apply. */
3804 /* The GNU C library defines this for functions which it implements
3805 to always fail with ENOSYS. Some functions are actually named
3806 something starting with __ and the normal name is an alias. */
3807 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
3810 char (*f) () = $ac_func;
3819 return f != $ac_func;
3824 rm -f conftest.
$ac_objext conftest
$ac_exeext
3825 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3826 (eval $ac_link) 2>conftest.er1
3828 grep -v '^ *+' conftest.er1
>conftest.err
3830 cat conftest.err
>&5
3831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3832 (exit $ac_status); } &&
3833 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3838 (exit $ac_status); }; } &&
3839 { ac_try
='test -s conftest$ac_exeext'
3840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3844 (exit $ac_status); }; }; then
3845 eval "$as_ac_var=yes"
3847 echo "$as_me: failed program was:" >&5
3848 sed 's/^/| /' conftest.
$ac_ext >&5
3850 eval "$as_ac_var=no"
3852 rm -f conftest.err conftest.
$ac_objext \
3853 conftest
$ac_exeext conftest.
$ac_ext
3855 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
3856 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
3857 if test `eval echo '${'$as_ac_var'}'` = yes; then
3858 cat >>confdefs.h
<<_ACEOF
3859 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
3865 echo "$as_me:$LINENO: checking for working mmap" >&5
3866 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
3867 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
3868 echo $ECHO_N "(cached) $ECHO_C" >&6
3870 if test "$cross_compiling" = yes; then
3871 ac_cv_func_mmap_fixed_mapped
=no
3873 cat >conftest.
$ac_ext <<_ACEOF
3876 cat confdefs.h
>>conftest.
$ac_ext
3877 cat >>conftest.
$ac_ext <<_ACEOF
3878 /* end confdefs.h. */
3879 $ac_includes_default
3880 /* malloc might have been renamed as rpl_malloc. */
3883 /* Thanks to Mike Haertel and Jim Avera for this test.
3884 Here is a matrix of mmap possibilities:
3885 mmap private not fixed
3886 mmap private fixed at somewhere currently unmapped
3887 mmap private fixed at somewhere already mapped
3888 mmap shared not fixed
3889 mmap shared fixed at somewhere currently unmapped
3890 mmap shared fixed at somewhere already mapped
3891 For private mappings, we should verify that changes cannot be read()
3892 back from the file, nor mmap's back from the file at a different
3893 address. (There have been systems where private was not correctly
3894 implemented like the infamous i386 svr4.0, and systems where the
3895 VM page cache was not coherent with the file system buffer cache
3896 like early versions of FreeBSD and possibly contemporary NetBSD.)
3897 For shared mappings, we should conversely verify that changes get
3898 propagated back to all the places they're supposed to be.
3900 Grep wants private fixed already mapped.
3901 The main things grep needs to know about mmap are:
3902 * does it exist and is it safe to write into the mmap'd area
3903 * how to use it (BSD variants) */
3906 #include <sys/mman.h>
3908 #if !STDC_HEADERS && !HAVE_STDLIB_H
3912 /* This mess was copied from the GNU getpagesize.h. */
3913 #if !HAVE_GETPAGESIZE
3914 /* Assume that all systems that can run configure have sys/param.h. */
3915 # if !HAVE_SYS_PARAM_H
3916 # define HAVE_SYS_PARAM_H 1
3919 # ifdef _SC_PAGESIZE
3920 # define getpagesize() sysconf(_SC_PAGESIZE)
3921 # else /* no _SC_PAGESIZE */
3922 # if HAVE_SYS_PARAM_H
3923 # include <sys/param.h>
3924 # ifdef EXEC_PAGESIZE
3925 # define getpagesize() EXEC_PAGESIZE
3926 # else /* no EXEC_PAGESIZE */
3928 # define getpagesize() NBPG * CLSIZE
3931 # endif /* no CLSIZE */
3932 # else /* no NBPG */
3934 # define getpagesize() NBPC
3935 # else /* no NBPC */
3937 # define getpagesize() PAGESIZE
3938 # endif /* PAGESIZE */
3939 # endif /* no NBPC */
3940 # endif /* no NBPG */
3941 # endif /* no EXEC_PAGESIZE */
3942 # else /* no HAVE_SYS_PARAM_H */
3943 # define getpagesize() 8192 /* punt totally */
3944 # endif /* no HAVE_SYS_PARAM_H */
3945 # endif /* no _SC_PAGESIZE */
3947 #endif /* no HAVE_GETPAGESIZE */
3952 char *data, *data2, *data3;
3956 pagesize = getpagesize ();
3958 /* First, make a file with some known garbage in it. */
3959 data = (char *) malloc (pagesize);
3962 for (i = 0; i < pagesize; ++i)
3963 *(data + i) = rand ();
3965 fd = creat ("conftest.mmap", 0600);
3968 if (write (fd, data, pagesize) != pagesize)
3972 /* Next, try to mmap the file at a fixed address which already has
3973 something else allocated at it. If we can, also make sure that
3974 we see the same garbage. */
3975 fd = open ("conftest.mmap", O_RDWR);
3978 data2 = (char *) malloc (2 * pagesize);
3981 data2 += (pagesize - ((long) data2 & (pagesize - 1))) & (pagesize - 1);
3982 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
3983 MAP_PRIVATE | MAP_FIXED, fd, 0L))
3985 for (i = 0; i < pagesize; ++i)
3986 if (*(data + i) != *(data2 + i))
3989 /* Finally, make sure that changes to the mapped area do not
3990 percolate back to the file as seen by read(). (This is a bug on
3991 some variants of i386 svr4.0.) */
3992 for (i = 0; i < pagesize; ++i)
3993 *(data2 + i) = *(data2 + i) + 1;
3994 data3 = (char *) malloc (pagesize);
3997 if (read (fd, data3, pagesize) != pagesize)
3999 for (i = 0; i < pagesize; ++i)
4000 if (*(data + i) != *(data3 + i))
4006 rm -f conftest
$ac_exeext
4007 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4008 (eval $ac_link) 2>&5
4010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4011 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
4012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4016 (exit $ac_status); }; }; then
4017 ac_cv_func_mmap_fixed_mapped
=yes
4019 echo "$as_me: program exited with status $ac_status" >&5
4020 echo "$as_me: failed program was:" >&5
4021 sed 's/^/| /' conftest.
$ac_ext >&5
4024 ac_cv_func_mmap_fixed_mapped
=no
4026 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
4029 echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
4030 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
4031 if test $ac_cv_func_mmap_fixed_mapped = yes; then
4033 cat >>confdefs.h
<<\_ACEOF
4040 echo "$as_me:$LINENO: checking for off_t" >&5
4041 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
4042 if test "${ac_cv_type_off_t+set}" = set; then
4043 echo $ECHO_N "(cached) $ECHO_C" >&6
4045 cat >conftest.
$ac_ext <<_ACEOF
4048 cat confdefs.h
>>conftest.
$ac_ext
4049 cat >>conftest.
$ac_ext <<_ACEOF
4050 /* end confdefs.h. */
4051 $ac_includes_default
4063 rm -f conftest.
$ac_objext
4064 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4065 (eval $ac_compile) 2>conftest.er1
4067 grep -v '^ *+' conftest.er1
>conftest.err
4069 cat conftest.err
>&5
4070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4071 (exit $ac_status); } &&
4072 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4073 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4077 (exit $ac_status); }; } &&
4078 { ac_try
='test -s conftest.$ac_objext'
4079 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4083 (exit $ac_status); }; }; then
4084 ac_cv_type_off_t
=yes
4086 echo "$as_me: failed program was:" >&5
4087 sed 's/^/| /' conftest.
$ac_ext >&5
4091 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4093 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
4094 echo "${ECHO_T}$ac_cv_type_off_t" >&6
4095 if test $ac_cv_type_off_t = yes; then
4099 cat >>confdefs.h
<<_ACEOF
4107 # Find a good install program. We prefer a C program (faster),
4108 # so one script is as good as another. But avoid the broken or
4109 # incompatible versions:
4110 # SysV /etc/install, /usr/sbin/install
4111 # SunOS /usr/etc/install
4112 # IRIX /sbin/install
4114 # AmigaOS /C/install, which installs bootblocks on floppy discs
4115 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
4116 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
4117 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
4118 # OS/2's system install, which has a completely different semantic
4119 # ./install, which can be erroneously created by make from ./install.sh.
4120 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
4121 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
4122 if test -z "$INSTALL"; then
4123 if test "${ac_cv_path_install+set}" = set; then
4124 echo $ECHO_N "(cached) $ECHO_C" >&6
4126 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4130 test -z "$as_dir" && as_dir
=.
4131 # Account for people who put trailing slashes in PATH elements.
4133 .
/ | .
// |
/cC
/* | \
4134 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
4135 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
4138 # OSF1 and SCO ODT 3.0 have their own names for install.
4139 # Don't use installbsd from OSF since it installs stuff as root
4141 for ac_prog
in ginstall scoinst
install; do
4142 for ac_exec_ext
in '' $ac_executable_extensions; do
4143 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
4144 if test $ac_prog = install &&
4145 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
4146 # AIX install. It has an incompatible calling convention.
4148 elif test $ac_prog = install &&
4149 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
4150 # program-specific install script used by HP pwplus--don't use.
4153 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
4165 if test "${ac_cv_path_install+set}" = set; then
4166 INSTALL
=$ac_cv_path_install
4168 # As a last resort, use the slow shell script. We don't cache a
4169 # path for INSTALL within a source directory, because that will
4170 # break other packages using the cache if that directory is
4171 # removed, or if the path is relative.
4172 INSTALL
=$ac_install_sh
4175 echo "$as_me:$LINENO: result: $INSTALL" >&5
4176 echo "${ECHO_T}$INSTALL" >&6
4178 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
4179 # It thinks the first close brace ends the variable substitution.
4180 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
4182 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
4184 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
4187 # check header files
4188 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4189 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
4190 if test "${ac_cv_header_stdc+set}" = set; then
4191 echo $ECHO_N "(cached) $ECHO_C" >&6
4193 cat >conftest.
$ac_ext <<_ACEOF
4196 cat confdefs.h
>>conftest.
$ac_ext
4197 cat >>conftest.
$ac_ext <<_ACEOF
4198 /* end confdefs.h. */
4212 rm -f conftest.
$ac_objext
4213 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4214 (eval $ac_compile) 2>conftest.er1
4216 grep -v '^ *+' conftest.er1
>conftest.err
4218 cat conftest.err
>&5
4219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4220 (exit $ac_status); } &&
4221 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4226 (exit $ac_status); }; } &&
4227 { ac_try
='test -s conftest.$ac_objext'
4228 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4232 (exit $ac_status); }; }; then
4233 ac_cv_header_stdc
=yes
4235 echo "$as_me: failed program was:" >&5
4236 sed 's/^/| /' conftest.
$ac_ext >&5
4238 ac_cv_header_stdc
=no
4240 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4242 if test $ac_cv_header_stdc = yes; then
4243 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4244 cat >conftest.
$ac_ext <<_ACEOF
4247 cat confdefs.h
>>conftest.
$ac_ext
4248 cat >>conftest.
$ac_ext <<_ACEOF
4249 /* end confdefs.h. */
4253 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4254 $EGREP "memchr" >/dev
/null
2>&1; then
4257 ac_cv_header_stdc
=no
4263 if test $ac_cv_header_stdc = yes; then
4264 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4265 cat >conftest.
$ac_ext <<_ACEOF
4268 cat confdefs.h
>>conftest.
$ac_ext
4269 cat >>conftest.
$ac_ext <<_ACEOF
4270 /* end confdefs.h. */
4274 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4275 $EGREP "free" >/dev
/null
2>&1; then
4278 ac_cv_header_stdc
=no
4284 if test $ac_cv_header_stdc = yes; then
4285 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4286 if test "$cross_compiling" = yes; then
4289 cat >conftest.
$ac_ext <<_ACEOF
4292 cat confdefs.h
>>conftest.
$ac_ext
4293 cat >>conftest.
$ac_ext <<_ACEOF
4294 /* end confdefs.h. */
4296 #if ((' ' & 0x0FF) == 0x020)
4297 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4298 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4300 # define ISLOWER(c) \
4301 (('a' <= (c) && (c) <= 'i') \
4302 || ('j' <= (c) && (c) <= 'r') \
4303 || ('s' <= (c) && (c) <= 'z'))
4304 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4307 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4312 for (i = 0; i < 256; i++)
4313 if (XOR (islower (i), ISLOWER (i))
4314 || toupper (i) != TOUPPER (i))
4319 rm -f conftest
$ac_exeext
4320 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4321 (eval $ac_link) 2>&5
4323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4324 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
4325 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4329 (exit $ac_status); }; }; then
4332 echo "$as_me: program exited with status $ac_status" >&5
4333 echo "$as_me: failed program was:" >&5
4334 sed 's/^/| /' conftest.
$ac_ext >&5
4337 ac_cv_header_stdc
=no
4339 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
4343 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4344 echo "${ECHO_T}$ac_cv_header_stdc" >&6
4345 if test $ac_cv_header_stdc = yes; then
4347 cat >>confdefs.h
<<\_ACEOF
4348 #define STDC_HEADERS 1
4359 for ac_header
in stdlib.h stdio.h string.h stddef.h math.h unistd.h
4361 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4362 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4363 echo "$as_me:$LINENO: checking for $ac_header" >&5
4364 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4365 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4366 echo $ECHO_N "(cached) $ECHO_C" >&6
4368 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4369 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4371 # Is the header compilable?
4372 echo "$as_me:$LINENO: checking $ac_header usability" >&5
4373 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4374 cat >conftest.
$ac_ext <<_ACEOF
4377 cat confdefs.h
>>conftest.
$ac_ext
4378 cat >>conftest.
$ac_ext <<_ACEOF
4379 /* end confdefs.h. */
4380 $ac_includes_default
4381 #include <$ac_header>
4383 rm -f conftest.
$ac_objext
4384 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4385 (eval $ac_compile) 2>conftest.er1
4387 grep -v '^ *+' conftest.er1
>conftest.err
4389 cat conftest.err
>&5
4390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4391 (exit $ac_status); } &&
4392 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4393 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4397 (exit $ac_status); }; } &&
4398 { ac_try
='test -s conftest.$ac_objext'
4399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4403 (exit $ac_status); }; }; then
4404 ac_header_compiler
=yes
4406 echo "$as_me: failed program was:" >&5
4407 sed 's/^/| /' conftest.
$ac_ext >&5
4409 ac_header_compiler
=no
4411 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4412 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4413 echo "${ECHO_T}$ac_header_compiler" >&6
4415 # Is the header present?
4416 echo "$as_me:$LINENO: checking $ac_header presence" >&5
4417 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4418 cat >conftest.
$ac_ext <<_ACEOF
4421 cat confdefs.h
>>conftest.
$ac_ext
4422 cat >>conftest.
$ac_ext <<_ACEOF
4423 /* end confdefs.h. */
4424 #include <$ac_header>
4426 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4427 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4429 grep -v '^ *+' conftest.er1
>conftest.err
4431 cat conftest.err
>&5
4432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4433 (exit $ac_status); } >/dev
/null
; then
4434 if test -s conftest.err
; then
4435 ac_cpp_err
=$ac_c_preproc_warn_flag
4436 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
4443 if test -z "$ac_cpp_err"; then
4444 ac_header_preproc
=yes
4446 echo "$as_me: failed program was:" >&5
4447 sed 's/^/| /' conftest.
$ac_ext >&5
4449 ac_header_preproc
=no
4451 rm -f conftest.err conftest.
$ac_ext
4452 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4453 echo "${ECHO_T}$ac_header_preproc" >&6
4455 # So? What about this header?
4456 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4458 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4459 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4460 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4461 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4462 ac_header_preproc
=yes
4465 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4466 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4467 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4468 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4469 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4470 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4471 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4472 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4473 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4474 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4475 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4476 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4479 ## ------------------------------------------------------ ##
4480 ## Report this to the GNU Fortran Runtime Library lists. ##
4481 ## ------------------------------------------------------ ##
4484 sed "s/^/$as_me: WARNING: /" >&2
4487 echo "$as_me:$LINENO: checking for $ac_header" >&5
4488 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4489 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4490 echo $ECHO_N "(cached) $ECHO_C" >&6
4492 eval "$as_ac_Header=\$ac_header_preproc"
4494 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4495 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4498 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4499 cat >>confdefs.h
<<_ACEOF
4500 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4512 for ac_header
in time.h sys
/params.h sys
/time.h sys
/times.h sys
/resource.h
4514 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4515 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4516 echo "$as_me:$LINENO: checking for $ac_header" >&5
4517 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4518 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4519 echo $ECHO_N "(cached) $ECHO_C" >&6
4521 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4522 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4524 # Is the header compilable?
4525 echo "$as_me:$LINENO: checking $ac_header usability" >&5
4526 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4527 cat >conftest.
$ac_ext <<_ACEOF
4530 cat confdefs.h
>>conftest.
$ac_ext
4531 cat >>conftest.
$ac_ext <<_ACEOF
4532 /* end confdefs.h. */
4533 $ac_includes_default
4534 #include <$ac_header>
4536 rm -f conftest.
$ac_objext
4537 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4538 (eval $ac_compile) 2>conftest.er1
4540 grep -v '^ *+' conftest.er1
>conftest.err
4542 cat conftest.err
>&5
4543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4544 (exit $ac_status); } &&
4545 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4546 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4550 (exit $ac_status); }; } &&
4551 { ac_try
='test -s conftest.$ac_objext'
4552 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4556 (exit $ac_status); }; }; then
4557 ac_header_compiler
=yes
4559 echo "$as_me: failed program was:" >&5
4560 sed 's/^/| /' conftest.
$ac_ext >&5
4562 ac_header_compiler
=no
4564 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4565 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4566 echo "${ECHO_T}$ac_header_compiler" >&6
4568 # Is the header present?
4569 echo "$as_me:$LINENO: checking $ac_header presence" >&5
4570 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4571 cat >conftest.
$ac_ext <<_ACEOF
4574 cat confdefs.h
>>conftest.
$ac_ext
4575 cat >>conftest.
$ac_ext <<_ACEOF
4576 /* end confdefs.h. */
4577 #include <$ac_header>
4579 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4580 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4582 grep -v '^ *+' conftest.er1
>conftest.err
4584 cat conftest.err
>&5
4585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4586 (exit $ac_status); } >/dev
/null
; then
4587 if test -s conftest.err
; then
4588 ac_cpp_err
=$ac_c_preproc_warn_flag
4589 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
4596 if test -z "$ac_cpp_err"; then
4597 ac_header_preproc
=yes
4599 echo "$as_me: failed program was:" >&5
4600 sed 's/^/| /' conftest.
$ac_ext >&5
4602 ac_header_preproc
=no
4604 rm -f conftest.err conftest.
$ac_ext
4605 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4606 echo "${ECHO_T}$ac_header_preproc" >&6
4608 # So? What about this header?
4609 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4611 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4612 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4613 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4614 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4615 ac_header_preproc
=yes
4618 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4619 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4620 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4621 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4622 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4623 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4624 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4625 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4626 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4627 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4628 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4629 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4632 ## ------------------------------------------------------ ##
4633 ## Report this to the GNU Fortran Runtime Library lists. ##
4634 ## ------------------------------------------------------ ##
4637 sed "s/^/$as_me: WARNING: /" >&2
4640 echo "$as_me:$LINENO: checking for $ac_header" >&5
4641 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4642 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4643 echo $ECHO_N "(cached) $ECHO_C" >&6
4645 eval "$as_ac_Header=\$ac_header_preproc"
4647 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4648 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4651 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4652 cat >>confdefs.h
<<_ACEOF
4653 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4660 if test "${ac_cv_header_complex_h+set}" = set; then
4661 echo "$as_me:$LINENO: checking for complex.h" >&5
4662 echo $ECHO_N "checking for complex.h... $ECHO_C" >&6
4663 if test "${ac_cv_header_complex_h+set}" = set; then
4664 echo $ECHO_N "(cached) $ECHO_C" >&6
4666 echo "$as_me:$LINENO: result: $ac_cv_header_complex_h" >&5
4667 echo "${ECHO_T}$ac_cv_header_complex_h" >&6
4669 # Is the header compilable?
4670 echo "$as_me:$LINENO: checking complex.h usability" >&5
4671 echo $ECHO_N "checking complex.h usability... $ECHO_C" >&6
4672 cat >conftest.
$ac_ext <<_ACEOF
4675 cat confdefs.h
>>conftest.
$ac_ext
4676 cat >>conftest.
$ac_ext <<_ACEOF
4677 /* end confdefs.h. */
4678 $ac_includes_default
4679 #include <complex.h>
4681 rm -f conftest.
$ac_objext
4682 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4683 (eval $ac_compile) 2>conftest.er1
4685 grep -v '^ *+' conftest.er1
>conftest.err
4687 cat conftest.err
>&5
4688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4689 (exit $ac_status); } &&
4690 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4691 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4695 (exit $ac_status); }; } &&
4696 { ac_try
='test -s conftest.$ac_objext'
4697 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4701 (exit $ac_status); }; }; then
4702 ac_header_compiler
=yes
4704 echo "$as_me: failed program was:" >&5
4705 sed 's/^/| /' conftest.
$ac_ext >&5
4707 ac_header_compiler
=no
4709 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4710 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4711 echo "${ECHO_T}$ac_header_compiler" >&6
4713 # Is the header present?
4714 echo "$as_me:$LINENO: checking complex.h presence" >&5
4715 echo $ECHO_N "checking complex.h presence... $ECHO_C" >&6
4716 cat >conftest.
$ac_ext <<_ACEOF
4719 cat confdefs.h
>>conftest.
$ac_ext
4720 cat >>conftest.
$ac_ext <<_ACEOF
4721 /* end confdefs.h. */
4722 #include <complex.h>
4724 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4725 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4727 grep -v '^ *+' conftest.er1
>conftest.err
4729 cat conftest.err
>&5
4730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4731 (exit $ac_status); } >/dev
/null
; then
4732 if test -s conftest.err
; then
4733 ac_cpp_err
=$ac_c_preproc_warn_flag
4734 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
4741 if test -z "$ac_cpp_err"; then
4742 ac_header_preproc
=yes
4744 echo "$as_me: failed program was:" >&5
4745 sed 's/^/| /' conftest.
$ac_ext >&5
4747 ac_header_preproc
=no
4749 rm -f conftest.err conftest.
$ac_ext
4750 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4751 echo "${ECHO_T}$ac_header_preproc" >&6
4753 # So? What about this header?
4754 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4756 { echo "$as_me:$LINENO: WARNING: complex.h: accepted by the compiler, rejected by the preprocessor!" >&5
4757 echo "$as_me: WARNING: complex.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
4758 { echo "$as_me:$LINENO: WARNING: complex.h: proceeding with the compiler's result" >&5
4759 echo "$as_me: WARNING: complex.h: proceeding with the compiler's result" >&2;}
4760 ac_header_preproc
=yes
4763 { echo "$as_me:$LINENO: WARNING: complex.h: present but cannot be compiled" >&5
4764 echo "$as_me: WARNING: complex.h: present but cannot be compiled" >&2;}
4765 { echo "$as_me:$LINENO: WARNING: complex.h: check for missing prerequisite headers?" >&5
4766 echo "$as_me: WARNING: complex.h: check for missing prerequisite headers?" >&2;}
4767 { echo "$as_me:$LINENO: WARNING: complex.h: see the Autoconf documentation" >&5
4768 echo "$as_me: WARNING: complex.h: see the Autoconf documentation" >&2;}
4769 { echo "$as_me:$LINENO: WARNING: complex.h: section \"Present But Cannot Be Compiled\"" >&5
4770 echo "$as_me: WARNING: complex.h: section \"Present But Cannot Be Compiled\"" >&2;}
4771 { echo "$as_me:$LINENO: WARNING: complex.h: proceeding with the preprocessor's result" >&5
4772 echo "$as_me: WARNING: complex.h: proceeding with the preprocessor's result" >&2;}
4773 { echo "$as_me:$LINENO: WARNING: complex.h: in the future, the compiler will take precedence" >&5
4774 echo "$as_me: WARNING: complex.h: in the future, the compiler will take precedence" >&2;}
4777 ## ------------------------------------------------------ ##
4778 ## Report this to the GNU Fortran Runtime Library lists. ##
4779 ## ------------------------------------------------------ ##
4782 sed "s/^/$as_me: WARNING: /" >&2
4785 echo "$as_me:$LINENO: checking for complex.h" >&5
4786 echo $ECHO_N "checking for complex.h... $ECHO_C" >&6
4787 if test "${ac_cv_header_complex_h+set}" = set; then
4788 echo $ECHO_N "(cached) $ECHO_C" >&6
4790 ac_cv_header_complex_h
=$ac_header_preproc
4792 echo "$as_me:$LINENO: result: $ac_cv_header_complex_h" >&5
4793 echo "${ECHO_T}$ac_cv_header_complex_h" >&6
4796 if test $ac_cv_header_complex_h = yes; then
4798 cat >>confdefs.h
<<\_ACEOF
4799 #define HAVE_COMPLEX_H 1
4805 # Check for complex math functions
4806 echo "$as_me:$LINENO: checking for csin in -lm" >&5
4807 echo $ECHO_N "checking for csin in -lm... $ECHO_C" >&6
4808 if test "${ac_cv_lib_m_csin+set}" = set; then
4809 echo $ECHO_N "(cached) $ECHO_C" >&6
4811 ac_check_lib_save_LIBS
=$LIBS
4813 cat >conftest.
$ac_ext <<_ACEOF
4816 cat confdefs.h
>>conftest.
$ac_ext
4817 cat >>conftest.
$ac_ext <<_ACEOF
4818 /* end confdefs.h. */
4820 /* Override any gcc2 internal prototype to avoid an error. */
4824 /* We use char because int might match the return type of a gcc2
4825 builtin and then its argument prototype would still apply. */
4835 rm -f conftest.
$ac_objext conftest
$ac_exeext
4836 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4837 (eval $ac_link) 2>conftest.er1
4839 grep -v '^ *+' conftest.er1
>conftest.err
4841 cat conftest.err
>&5
4842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4843 (exit $ac_status); } &&
4844 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4845 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4849 (exit $ac_status); }; } &&
4850 { ac_try
='test -s conftest$ac_exeext'
4851 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4855 (exit $ac_status); }; }; then
4856 ac_cv_lib_m_csin
=yes
4858 echo "$as_me: failed program was:" >&5
4859 sed 's/^/| /' conftest.
$ac_ext >&5
4863 rm -f conftest.err conftest.
$ac_objext \
4864 conftest
$ac_exeext conftest.
$ac_ext
4865 LIBS
=$ac_check_lib_save_LIBS
4867 echo "$as_me:$LINENO: result: $ac_cv_lib_m_csin" >&5
4868 echo "${ECHO_T}$ac_cv_lib_m_csin" >&6
4869 if test $ac_cv_lib_m_csin = yes; then
4876 # Check for complex math functions in -lmx also
4877 echo "$as_me:$LINENO: checking for csin in -lmx" >&5
4878 echo $ECHO_N "checking for csin in -lmx... $ECHO_C" >&6
4879 if test "${ac_cv_lib_mx_csin+set}" = set; then
4880 echo $ECHO_N "(cached) $ECHO_C" >&6
4882 ac_check_lib_save_LIBS
=$LIBS
4884 cat >conftest.
$ac_ext <<_ACEOF
4887 cat confdefs.h
>>conftest.
$ac_ext
4888 cat >>conftest.
$ac_ext <<_ACEOF
4889 /* end confdefs.h. */
4891 /* Override any gcc2 internal prototype to avoid an error. */
4895 /* We use char because int might match the return type of a gcc2
4896 builtin and then its argument prototype would still apply. */
4906 rm -f conftest.
$ac_objext conftest
$ac_exeext
4907 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4908 (eval $ac_link) 2>conftest.er1
4910 grep -v '^ *+' conftest.er1
>conftest.err
4912 cat conftest.err
>&5
4913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4914 (exit $ac_status); } &&
4915 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4920 (exit $ac_status); }; } &&
4921 { ac_try
='test -s conftest$ac_exeext'
4922 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4926 (exit $ac_status); }; }; then
4927 ac_cv_lib_mx_csin
=yes
4929 echo "$as_me: failed program was:" >&5
4930 sed 's/^/| /' conftest.
$ac_ext >&5
4932 ac_cv_lib_mx_csin
=no
4934 rm -f conftest.err conftest.
$ac_objext \
4935 conftest
$ac_exeext conftest.
$ac_ext
4936 LIBS
=$ac_check_lib_save_LIBS
4938 echo "$as_me:$LINENO: result: $ac_cv_lib_mx_csin" >&5
4939 echo "${ECHO_T}$ac_cv_lib_mx_csin" >&6
4940 if test $ac_cv_lib_mx_csin = yes; then
4949 for ac_func
in getrusage
times
4951 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4952 echo "$as_me:$LINENO: checking for $ac_func" >&5
4953 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4954 if eval "test \"\${$as_ac_var+set}\" = set"; then
4955 echo $ECHO_N "(cached) $ECHO_C" >&6
4957 cat >conftest.
$ac_ext <<_ACEOF
4960 cat confdefs.h
>>conftest.
$ac_ext
4961 cat >>conftest.
$ac_ext <<_ACEOF
4962 /* end confdefs.h. */
4963 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
4964 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4965 #define $ac_func innocuous_$ac_func
4967 /* System header to define __stub macros and hopefully few prototypes,
4968 which can conflict with char $ac_func (); below.
4969 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4970 <limits.h> exists even on freestanding compilers. */
4973 # include <limits.h>
4975 # include <assert.h>
4980 /* Override any gcc2 internal prototype to avoid an error. */
4985 /* We use char because int might match the return type of a gcc2
4986 builtin and then its argument prototype would still apply. */
4988 /* The GNU C library defines this for functions which it implements
4989 to always fail with ENOSYS. Some functions are actually named
4990 something starting with __ and the normal name is an alias. */
4991 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4994 char (*f) () = $ac_func;
5003 return f != $ac_func;
5008 rm -f conftest.
$ac_objext conftest
$ac_exeext
5009 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5010 (eval $ac_link) 2>conftest.er1
5012 grep -v '^ *+' conftest.er1
>conftest.err
5014 cat conftest.err
>&5
5015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5016 (exit $ac_status); } &&
5017 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5018 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5022 (exit $ac_status); }; } &&
5023 { ac_try
='test -s conftest$ac_exeext'
5024 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5028 (exit $ac_status); }; }; then
5029 eval "$as_ac_var=yes"
5031 echo "$as_me: failed program was:" >&5
5032 sed 's/^/| /' conftest.
$ac_ext >&5
5034 eval "$as_ac_var=no"
5036 rm -f conftest.err conftest.
$ac_objext \
5037 conftest
$ac_exeext conftest.
$ac_ext
5039 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
5040 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
5041 if test `eval echo '${'$as_ac_var'}'` = yes; then
5042 cat >>confdefs.h
<<_ACEOF
5043 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5050 # Let the user override this
5051 # Check whether --enable-cmath or --disable-cmath was given.
5052 if test "${enable_cmath+set}" = set; then
5053 enableval
="$enable_cmath"
5054 need_math
=$enableval
5056 if test "$need_math" = "yes"; then
5057 { echo "$as_me:$LINENO: Including complex math functions in libgfor" >&5
5058 echo "$as_me: Including complex math functions in libgfor" >&6;};
5059 extra_math_obj
='$(gfor_cmath_obj)'
5062 MATH_OBJ
="$extra_math_obj"
5065 echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
5066 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
5067 if test "${ac_cv_header_time+set}" = set; then
5068 echo $ECHO_N "(cached) $ECHO_C" >&6
5070 cat >conftest.
$ac_ext <<_ACEOF
5073 cat confdefs.h
>>conftest.
$ac_ext
5074 cat >>conftest.
$ac_ext <<_ACEOF
5075 /* end confdefs.h. */
5076 #include <sys/types.h>
5077 #include <sys/time.h>
5083 if ((struct tm *) 0)
5089 rm -f conftest.
$ac_objext
5090 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5091 (eval $ac_compile) 2>conftest.er1
5093 grep -v '^ *+' conftest.er1
>conftest.err
5095 cat conftest.err
>&5
5096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5097 (exit $ac_status); } &&
5098 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5099 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5103 (exit $ac_status); }; } &&
5104 { ac_try
='test -s conftest.$ac_objext'
5105 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5109 (exit $ac_status); }; }; then
5110 ac_cv_header_time
=yes
5112 echo "$as_me: failed program was:" >&5
5113 sed 's/^/| /' conftest.
$ac_ext >&5
5115 ac_cv_header_time
=no
5117 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5119 echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
5120 echo "${ECHO_T}$ac_cv_header_time" >&6
5121 if test $ac_cv_header_time = yes; then
5123 cat >>confdefs.h
<<\_ACEOF
5124 #define TIME_WITH_SYS_TIME 1
5131 for ac_func
in gettimeofday
5133 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5134 echo "$as_me:$LINENO: checking for $ac_func" >&5
5135 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
5136 if eval "test \"\${$as_ac_var+set}\" = set"; then
5137 echo $ECHO_N "(cached) $ECHO_C" >&6
5139 cat >conftest.
$ac_ext <<_ACEOF
5142 cat confdefs.h
>>conftest.
$ac_ext
5143 cat >>conftest.
$ac_ext <<_ACEOF
5144 /* end confdefs.h. */
5145 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
5146 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5147 #define $ac_func innocuous_$ac_func
5149 /* System header to define __stub macros and hopefully few prototypes,
5150 which can conflict with char $ac_func (); below.
5151 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5152 <limits.h> exists even on freestanding compilers. */
5155 # include <limits.h>
5157 # include <assert.h>
5162 /* Override any gcc2 internal prototype to avoid an error. */
5167 /* We use char because int might match the return type of a gcc2
5168 builtin and then its argument prototype would still apply. */
5170 /* The GNU C library defines this for functions which it implements
5171 to always fail with ENOSYS. Some functions are actually named
5172 something starting with __ and the normal name is an alias. */
5173 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5176 char (*f) () = $ac_func;
5185 return f != $ac_func;
5190 rm -f conftest.
$ac_objext conftest
$ac_exeext
5191 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5192 (eval $ac_link) 2>conftest.er1
5194 grep -v '^ *+' conftest.er1
>conftest.err
5196 cat conftest.err
>&5
5197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5198 (exit $ac_status); } &&
5199 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5200 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5204 (exit $ac_status); }; } &&
5205 { ac_try
='test -s conftest$ac_exeext'
5206 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5210 (exit $ac_status); }; }; then
5211 eval "$as_ac_var=yes"
5213 echo "$as_me: failed program was:" >&5
5214 sed 's/^/| /' conftest.
$ac_ext >&5
5216 eval "$as_ac_var=no"
5218 rm -f conftest.err conftest.
$ac_objext \
5219 conftest
$ac_exeext conftest.
$ac_ext
5221 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
5222 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
5223 if test `eval echo '${'$as_ac_var'}'` = yes; then
5224 cat >>confdefs.h
<<_ACEOF
5225 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5231 if test "$ac_cv_func_gettimeofday" = yes; then
5232 echo "$as_me:$LINENO: checking for struct timezone" >&5
5233 echo $ECHO_N "checking for struct timezone... $ECHO_C" >&6
5234 if test "${gfor_cv_struct_timezone+set}" = set; then
5235 echo $ECHO_N "(cached) $ECHO_C" >&6
5237 cat >conftest.
$ac_ext <<_ACEOF
5240 cat confdefs.h
>>conftest.
$ac_ext
5241 cat >>conftest.
$ac_ext <<_ACEOF
5242 /* end confdefs.h. */
5243 #include <sys/time.h>
5252 rm -f conftest.
$ac_objext
5253 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5254 (eval $ac_compile) 2>conftest.er1
5256 grep -v '^ *+' conftest.er1
>conftest.err
5258 cat conftest.err
>&5
5259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5260 (exit $ac_status); } &&
5261 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5262 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5266 (exit $ac_status); }; } &&
5267 { ac_try
='test -s conftest.$ac_objext'
5268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5272 (exit $ac_status); }; }; then
5273 gfor_cv_struct_timezone
=yes
5275 echo "$as_me: failed program was:" >&5
5276 sed 's/^/| /' conftest.
$ac_ext >&5
5278 gfor_cv_struct_timezone
=no
5280 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5282 echo "$as_me:$LINENO: result: $gfor_cv_struct_timezone" >&5
5283 echo "${ECHO_T}$gfor_cv_struct_timezone" >&6
5284 if test $gfor_cv_struct_timezone = yes; then
5285 if test "$cross_compiling" = yes; then
5286 gfor_have_struct_timezone
=yes
5288 cat >conftest.
$ac_ext <<_ACEOF
5291 cat confdefs.h
>>conftest.
$ac_ext
5292 cat >>conftest.
$ac_ext <<_ACEOF
5293 /* end confdefs.h. */
5295 #ifdef TIME_WITH_SYS_TIME
5296 #include <sys/time.h>
5299 #ifdef HAVE_SYS_TIME_H
5300 #include <sys/time.h>
5307 struct timeval time;
5308 struct timezone dummy;
5309 if (gettimeofday (&time, &dummy))
5315 rm -f conftest
$ac_exeext
5316 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5317 (eval $ac_link) 2>&5
5319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5320 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
5321 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5325 (exit $ac_status); }; }; then
5326 gfor_have_struct_timezone
=yes
5328 echo "$as_me: program exited with status $ac_status" >&5
5329 echo "$as_me: failed program was:" >&5
5330 sed 's/^/| /' conftest.
$ac_ext >&5
5333 gfor_have_struct_timezone
=no
5335 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
5337 if test $gfor_have_struct_timezone = yes; then
5339 cat >>confdefs.h
<<\_ACEOF
5340 #define HAVE_TIMEZONE 1
5346 echo "$as_me:$LINENO: checking whether gettimeofday can accept two arguments" >&5
5347 echo $ECHO_N "checking whether gettimeofday can accept two arguments... $ECHO_C" >&6
5348 if test "${emacs_cv_gettimeofday_two_arguments+set}" = set; then
5349 echo $ECHO_N "(cached) $ECHO_C" >&6
5351 cat >conftest.
$ac_ext <<_ACEOF
5354 cat confdefs.h
>>conftest.
$ac_ext
5355 cat >>conftest.
$ac_ext <<_ACEOF
5356 /* end confdefs.h. */
5358 #ifdef TIME_WITH_SYS_TIME
5359 #include <sys/time.h>
5362 #ifdef HAVE_SYS_TIME_H
5363 #include <sys/time.h>
5373 struct timeval time;
5374 #ifdef HAVE_TIMEZONE
5375 struct timezone dummy;
5376 #define DUMMY &dummy
5380 gettimeofday (&time, DUMMY);
5385 rm -f conftest.
$ac_objext conftest
$ac_exeext
5386 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5387 (eval $ac_link) 2>conftest.er1
5389 grep -v '^ *+' conftest.er1
>conftest.err
5391 cat conftest.err
>&5
5392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5393 (exit $ac_status); } &&
5394 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5399 (exit $ac_status); }; } &&
5400 { ac_try
='test -s conftest$ac_exeext'
5401 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5405 (exit $ac_status); }; }; then
5406 emacs_cv_gettimeofday_two_arguments
=yes
5408 echo "$as_me: failed program was:" >&5
5409 sed 's/^/| /' conftest.
$ac_ext >&5
5411 emacs_cv_gettimeofday_two_arguments
=no
5413 rm -f conftest.err conftest.
$ac_objext \
5414 conftest
$ac_exeext conftest.
$ac_ext
5416 echo "$as_me:$LINENO: result: $emacs_cv_gettimeofday_two_arguments" >&5
5417 echo "${ECHO_T}$emacs_cv_gettimeofday_two_arguments" >&6
5418 if test $emacs_cv_gettimeofday_two_arguments = no
; then
5420 cat >>confdefs.h
<<\_ACEOF
5421 #define GETTIMEOFDAY_ONE_ARGUMENT 1
5429 if test "$RANLIB"; then :
5432 if test -n "$ac_tool_prefix"; then
5433 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5434 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
5435 echo "$as_me:$LINENO: checking for $ac_word" >&5
5436 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5437 if test "${ac_cv_prog_RANLIB+set}" = set; then
5438 echo $ECHO_N "(cached) $ECHO_C" >&6
5440 if test -n "$RANLIB"; then
5441 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
5443 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5447 test -z "$as_dir" && as_dir
=.
5448 for ac_exec_ext
in '' $ac_executable_extensions; do
5449 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5450 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
5451 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5459 RANLIB
=$ac_cv_prog_RANLIB
5460 if test -n "$RANLIB"; then
5461 echo "$as_me:$LINENO: result: $RANLIB" >&5
5462 echo "${ECHO_T}$RANLIB" >&6
5464 echo "$as_me:$LINENO: result: no" >&5
5465 echo "${ECHO_T}no" >&6
5469 if test -z "$ac_cv_prog_RANLIB"; then
5470 ac_ct_RANLIB
=$RANLIB
5471 # Extract the first word of "ranlib", so it can be a program name with args.
5472 set dummy ranlib
; ac_word
=$2
5473 echo "$as_me:$LINENO: checking for $ac_word" >&5
5474 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5475 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5476 echo $ECHO_N "(cached) $ECHO_C" >&6
5478 if test -n "$ac_ct_RANLIB"; then
5479 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
5481 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5485 test -z "$as_dir" && as_dir
=.
5486 for ac_exec_ext
in '' $ac_executable_extensions; do
5487 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5488 ac_cv_prog_ac_ct_RANLIB
="ranlib"
5489 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5495 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
5498 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
5499 if test -n "$ac_ct_RANLIB"; then
5500 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
5501 echo "${ECHO_T}$ac_ct_RANLIB" >&6
5503 echo "$as_me:$LINENO: result: no" >&5
5504 echo "${ECHO_T}no" >&6
5507 RANLIB
=$ac_ct_RANLIB
5509 RANLIB
="$ac_cv_prog_RANLIB"
5514 # Check whether --enable-shared or --disable-shared was given.
5515 if test "${enable_shared+set}" = set; then
5516 enableval
="$enable_shared"
5517 p
=${PACKAGE-default}
5519 yes) enable_shared
=yes ;;
5520 no
) enable_shared
=no
;;
5523 # Look at the argument we got. We use all the common list separators.
5524 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:,"
5525 for pkg
in $enableval; do
5526 if test "X$pkg" = "X$p"; then
5536 # Check whether --enable-static or --disable-static was given.
5537 if test "${enable_static+set}" = set; then
5538 enableval
="$enable_static"
5539 p
=${PACKAGE-default}
5541 yes) enable_static
=yes ;;
5542 no
) enable_static
=no
;;
5545 # Look at the argument we got. We use all the common list separators.
5546 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:,"
5547 for pkg
in $enableval; do
5548 if test "X$pkg" = "X$p"; then
5558 # Check whether --enable-fast-install or --disable-fast-install was given.
5559 if test "${enable_fast_install+set}" = set; then
5560 enableval
="$enable_fast_install"
5561 p
=${PACKAGE-default}
5563 yes) enable_fast_install
=yes ;;
5564 no
) enable_fast_install
=no
;;
5566 enable_fast_install
=no
5567 # Look at the argument we got. We use all the common list separators.
5568 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:,"
5569 for pkg
in $enableval; do
5570 if test "X$pkg" = "X$p"; then
5571 enable_fast_install
=yes
5578 enable_fast_install
=yes
5580 # Make sure we can run config.sub.
5581 $ac_config_sub sun4
>/dev
/null
2>&1 ||
5582 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
5583 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
5584 { (exit 1); exit 1; }; }
5586 echo "$as_me:$LINENO: checking build system type" >&5
5587 echo $ECHO_N "checking build system type... $ECHO_C" >&6
5588 if test "${ac_cv_build+set}" = set; then
5589 echo $ECHO_N "(cached) $ECHO_C" >&6
5591 ac_cv_build_alias
=$build_alias
5592 test -z "$ac_cv_build_alias" &&
5593 ac_cv_build_alias
=`$ac_config_guess`
5594 test -z "$ac_cv_build_alias" &&
5595 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
5596 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
5597 { (exit 1); exit 1; }; }
5598 ac_cv_build
=`$ac_config_sub $ac_cv_build_alias` ||
5599 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
5600 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
5601 { (exit 1); exit 1; }; }
5604 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
5605 echo "${ECHO_T}$ac_cv_build" >&6
5607 build_cpu
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
5608 build_vendor
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
5609 build_os
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
5612 echo "$as_me:$LINENO: checking host system type" >&5
5613 echo $ECHO_N "checking host system type... $ECHO_C" >&6
5614 if test "${ac_cv_host+set}" = set; then
5615 echo $ECHO_N "(cached) $ECHO_C" >&6
5617 ac_cv_host_alias
=$host_alias
5618 test -z "$ac_cv_host_alias" &&
5619 ac_cv_host_alias
=$ac_cv_build_alias
5620 ac_cv_host
=`$ac_config_sub $ac_cv_host_alias` ||
5621 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
5622 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
5623 { (exit 1); exit 1; }; }
5626 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
5627 echo "${ECHO_T}$ac_cv_host" >&6
5629 host_cpu
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
5630 host_vendor
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
5631 host_os
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
5635 # Check whether --with-gnu-ld or --without-gnu-ld was given.
5636 if test "${with_gnu_ld+set}" = set; then
5637 withval
="$with_gnu_ld"
5638 test "$withval" = no || with_gnu_ld
=yes
5643 if test "$GCC" = yes; then
5644 # Check if gcc -print-prog-name=ld gives a path.
5645 echo "$as_me:$LINENO: checking for ld used by GCC" >&5
5646 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
5649 # gcc leaves a trailing carriage return which upsets mingw
5650 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5652 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
5655 # Accept absolute paths.
5656 [\\/]* |
[A-Za-z
]:[\\/]*)
5657 re_direlt
='/[^/][^/]*/\.\./'
5658 # Canonicalize the path of ld
5659 ac_prog
=`echo $ac_prog| sed 's%\\\\%/%g'`
5660 while echo $ac_prog |
grep "$re_direlt" > /dev
/null
2>&1; do
5661 ac_prog
=`echo $ac_prog| sed "s%$re_direlt%/%"`
5663 test -z "$LD" && LD
="$ac_prog"
5666 # If it fails, then pretend we aren't using GCC.
5670 # If it is relative, then search for the first ld in PATH.
5674 elif test "$with_gnu_ld" = yes; then
5675 echo "$as_me:$LINENO: checking for GNU ld" >&5
5676 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
5678 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
5679 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
5681 if test "${lt_cv_path_LD+set}" = set; then
5682 echo $ECHO_N "(cached) $ECHO_C" >&6
5684 if test -z "$LD"; then
5685 IFS
="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
5686 for ac_dir
in $PATH; do
5687 test -z "$ac_dir" && ac_dir
=.
5688 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
5689 lt_cv_path_LD
="$ac_dir/$ac_prog"
5690 # Check to see if the program is GNU ld. I'd rather use --version,
5691 # but apparently some GNU ld's only accept -v.
5692 # Break only if it was the GNU/non-GNU ld that we prefer.
5693 if "$lt_cv_path_LD" -v 2>&1 < /dev
/null |
egrep '(GNU|with BFD)' > /dev
/null
; then
5694 test "$with_gnu_ld" != no
&& break
5696 test "$with_gnu_ld" != yes && break
5702 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
5707 if test -n "$LD"; then
5708 echo "$as_me:$LINENO: result: $LD" >&5
5709 echo "${ECHO_T}$LD" >&6
5711 echo "$as_me:$LINENO: result: no" >&5
5712 echo "${ECHO_T}no" >&6
5714 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
5715 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
5716 { (exit 1); exit 1; }; }
5717 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
5718 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
5719 if test "${lt_cv_prog_gnu_ld+set}" = set; then
5720 echo $ECHO_N "(cached) $ECHO_C" >&6
5722 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
5723 if $LD -v 2>&1 </dev
/null |
egrep '(GNU|with BFD)' 1>&5; then
5724 lt_cv_prog_gnu_ld
=yes
5726 lt_cv_prog_gnu_ld
=no
5729 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
5730 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
5731 with_gnu_ld
=$lt_cv_prog_gnu_ld
5734 echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
5735 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
5736 if test "${lt_cv_ld_reload_flag+set}" = set; then
5737 echo $ECHO_N "(cached) $ECHO_C" >&6
5739 lt_cv_ld_reload_flag
='-r'
5741 echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
5742 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
5743 reload_flag
=$lt_cv_ld_reload_flag
5744 test -n "$reload_flag" && reload_flag
=" $reload_flag"
5746 echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
5747 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
5748 if test "${lt_cv_path_NM+set}" = set; then
5749 echo $ECHO_N "(cached) $ECHO_C" >&6
5751 if test -n "$NM"; then
5752 # Let the user override the test.
5755 IFS
="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
5756 for ac_dir
in $PATH /usr
/ccs
/bin
/usr
/ucb
/bin
; do
5757 test -z "$ac_dir" && ac_dir
=.
5758 tmp_nm
=$ac_dir/${ac_tool_prefix}nm
5759 if test -f $tmp_nm ||
test -f $tmp_nm$ac_exeext ; then
5760 # Check to see if the nm accepts a BSD-compat flag.
5761 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5762 # nm: unknown option "B" ignored
5763 # Tru64's nm complains that /dev/null is an invalid object file
5764 if ($tmp_nm -B /dev
/null
2>&1 |
sed '1q'; exit 0) |
egrep '(/dev/null|Invalid file or object type)' >/dev
/null
; then
5765 lt_cv_path_NM
="$tmp_nm -B"
5767 elif ($tmp_nm -p /dev
/null
2>&1 |
sed '1q'; exit 0) |
egrep /dev
/null
>/dev
/null
; then
5768 lt_cv_path_NM
="$tmp_nm -p"
5771 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5772 continue # so that we can try to find one that supports BSD flags
5777 test -z "$lt_cv_path_NM" && lt_cv_path_NM
=nm
5782 echo "$as_me:$LINENO: result: $NM" >&5
5783 echo "${ECHO_T}$NM" >&6
5785 echo "$as_me:$LINENO: checking whether ln -s works" >&5
5786 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
5788 if test "$LN_S" = "ln -s"; then
5789 echo "$as_me:$LINENO: result: yes" >&5
5790 echo "${ECHO_T}yes" >&6
5792 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
5793 echo "${ECHO_T}no, using $LN_S" >&6
5796 echo "$as_me:$LINENO: checking how to recognise dependant libraries" >&5
5797 echo $ECHO_N "checking how to recognise dependant libraries... $ECHO_C" >&6
5798 if test "${lt_cv_deplibs_check_method+set}" = set; then
5799 echo $ECHO_N "(cached) $ECHO_C" >&6
5801 lt_cv_file_magic_cmd
='$MAGIC_CMD'
5802 lt_cv_file_magic_test_file
=
5803 lt_cv_deplibs_check_method
='unknown'
5804 # Need to set the preceding variable on all platforms that support
5805 # interlibrary dependencies.
5806 # 'none' -- dependencies not supported.
5807 # `unknown' -- same as none, but documents that we really don't know.
5808 # 'pass_all' -- all dependencies passed with no checks.
5809 # 'test_compile' -- check by making test program.
5810 # 'file_magic [regex]' -- check by looking for files in library path
5811 # which responds to the $file_magic_cmd with a given egrep regex.
5812 # If you have `file' or equivalent on your system and you're not sure
5813 # whether `pass_all' will *always* work, you probably want this one.
5817 lt_cv_deplibs_check_method
=pass_all
5821 lt_cv_deplibs_check_method
=pass_all
5825 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5826 lt_cv_file_magic_cmd
='/usr/bin/file -L'
5827 lt_cv_file_magic_test_file
=/shlib
/libc.so
5830 cygwin
* | mingw
* |pw32
*)
5831 lt_cv_deplibs_check_method
='file_magic file format pei*-i386(.*architecture: i386)?'
5832 lt_cv_file_magic_cmd
='$OBJDUMP -f'
5835 darwin
* | rhapsody
*)
5836 # this will be overwritten by pass_all, but leave it in just in case
5837 lt_cv_deplibs_check_method
='file_magic Mach-O dynamically linked shared library'
5838 lt_cv_file_magic_cmd
='/usr/bin/file -L'
5840 rhapsody
* | darwin1.012
)
5841 lt_cv_file_magic_test_file
='/System/Library/Frameworks/System.framework/System'
5844 lt_cv_file_magic_test_file
='/usr/lib/libSystem.dylib'
5847 lt_cv_deplibs_check_method
=pass_all
5851 if echo __ELF__ |
$CC -E - |
grep __ELF__
> /dev
/null
; then
5854 # Not sure whether the presence of OpenBSD here was a mistake.
5855 # Let's accept both of them until this is cleared up.
5856 lt_cv_deplibs_check_method
='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
5857 lt_cv_file_magic_cmd
=/usr
/bin
/file
5858 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so.*`
5862 lt_cv_deplibs_check_method
=pass_all
5867 lt_cv_deplibs_check_method
=pass_all
5873 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
5874 lt_cv_file_magic_cmd
=/usr
/bin
/file
5875 lt_cv_file_magic_test_file
=/usr
/lib
/libc.sl
5878 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5879 lt_cv_file_magic_cmd
=/usr
/bin
/file
5880 lt_cv_file_magic_test_file
=/usr
/lib
/hpux32
/libc.so
5888 # this will be overridden with pass_all, but let us keep it just in case
5889 lt_cv_deplibs_check_method
="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
5893 *-32|
*"-32 ") libmagic
=32-bit;;
5894 *-n32|
*"-n32 ") libmagic
=N32
;;
5895 *-64|
*"-64 ") libmagic
=64-bit;;
5896 *) libmagic
=never-match
;;
5898 # this will be overridden with pass_all, but let us keep it just in case
5899 lt_cv_deplibs_check_method
="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
5902 lt_cv_file_magic_test_file
=`echo /lib${libsuff}/libc.so*`
5903 lt_cv_deplibs_check_method
=pass_all
5906 # This must be Linux ELF.
5909 alpha
* | mips
* | hppa
* | i
*86 | powerpc
* | sparc
* | ia64
* )
5910 lt_cv_deplibs_check_method
=pass_all
;;
5912 # glibc up to 2.1.1 does not perform some relocations on ARM
5913 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;;
5915 lt_cv_file_magic_test_file
=`echo /lib/libc.so* /lib/libc-*.so`
5919 if echo __ELF__ |
$CC -E - |
grep __ELF__
> /dev
/null
; then
5920 lt_cv_deplibs_check_method
='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'
5922 lt_cv_deplibs_check_method
='match_pattern /lib[^/\.]+\.so$'
5927 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5928 lt_cv_file_magic_cmd
=/usr
/bin
/file
5929 lt_cv_file_magic_test_file
=/usr
/lib
/libnls.so
5932 osf3
* | osf4
* | osf5
*)
5933 # this will be overridden with pass_all, but let us keep it just in case
5934 lt_cv_deplibs_check_method
='file_magic COFF format alpha shared library'
5935 lt_cv_file_magic_test_file
=/shlib
/libc.so
5936 lt_cv_deplibs_check_method
=pass_all
5940 lt_cv_deplibs_check_method
=pass_all
5944 lt_cv_deplibs_check_method
=pass_all
5945 lt_cv_file_magic_test_file
=/lib
/libc.so
5948 sysv5uw
[78]* | sysv4
*uw2
*)
5949 lt_cv_deplibs_check_method
=pass_all
5952 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
5953 case $host_vendor in
5955 lt_cv_deplibs_check_method
=pass_all
5958 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]'
5959 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so*`
5966 echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
5967 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
5968 file_magic_cmd
=$lt_cv_file_magic_cmd
5969 deplibs_check_method
=$lt_cv_deplibs_check_method
5974 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
5976 # Only perform the check for file, if the check method requires it
5977 case $deplibs_check_method in
5979 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
5980 echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
5981 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
5982 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
5983 echo $ECHO_N "(cached) $ECHO_C" >&6
5987 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
5990 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a dos path.
5993 ac_save_MAGIC_CMD
="$MAGIC_CMD"
5994 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
5995 ac_dummy
="/usr/bin:$PATH"
5996 for ac_dir
in $ac_dummy; do
5997 test -z "$ac_dir" && ac_dir
=.
5998 if test -f $ac_dir/${ac_tool_prefix}file; then
5999 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
6000 if test -n "$file_magic_test_file"; then
6001 case $deplibs_check_method in
6003 file_magic_regex
="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
6004 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
6005 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
6006 egrep "$file_magic_regex" > /dev
/null
; then
6011 *** Warning: the command libtool uses to detect shared libraries,
6012 *** $file_magic_cmd, produces output that libtool cannot recognize.
6013 *** The result is that libtool may fail to recognize shared libraries
6014 *** as such. This will affect the creation of libtool libraries that
6015 *** depend on shared libraries, but programs linked with such libtool
6016 *** libraries will work regardless of this problem. Nevertheless, you
6017 *** may want to report the problem to your system manager and/or to
6018 *** bug-libtool@gnu.org
6028 MAGIC_CMD
="$ac_save_MAGIC_CMD"
6033 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
6034 if test -n "$MAGIC_CMD"; then
6035 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
6036 echo "${ECHO_T}$MAGIC_CMD" >&6
6038 echo "$as_me:$LINENO: result: no" >&5
6039 echo "${ECHO_T}no" >&6
6042 if test -z "$lt_cv_path_MAGIC_CMD"; then
6043 if test -n "$ac_tool_prefix"; then
6044 echo "$as_me:$LINENO: checking for file" >&5
6045 echo $ECHO_N "checking for file... $ECHO_C" >&6
6046 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
6047 echo $ECHO_N "(cached) $ECHO_C" >&6
6051 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
6054 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a dos path.
6057 ac_save_MAGIC_CMD
="$MAGIC_CMD"
6058 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
6059 ac_dummy
="/usr/bin:$PATH"
6060 for ac_dir
in $ac_dummy; do
6061 test -z "$ac_dir" && ac_dir
=.
6062 if test -f $ac_dir/file; then
6063 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
6064 if test -n "$file_magic_test_file"; then
6065 case $deplibs_check_method in
6067 file_magic_regex
="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
6068 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
6069 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
6070 egrep "$file_magic_regex" > /dev
/null
; then
6075 *** Warning: the command libtool uses to detect shared libraries,
6076 *** $file_magic_cmd, produces output that libtool cannot recognize.
6077 *** The result is that libtool may fail to recognize shared libraries
6078 *** as such. This will affect the creation of libtool libraries that
6079 *** depend on shared libraries, but programs linked with such libtool
6080 *** libraries will work regardless of this problem. Nevertheless, you
6081 *** may want to report the problem to your system manager and/or to
6082 *** bug-libtool@gnu.org
6092 MAGIC_CMD
="$ac_save_MAGIC_CMD"
6097 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
6098 if test -n "$MAGIC_CMD"; then
6099 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
6100 echo "${ECHO_T}$MAGIC_CMD" >&6
6102 echo "$as_me:$LINENO: result: no" >&5
6103 echo "${ECHO_T}no" >&6
6115 if test -n "$ac_tool_prefix"; then
6116 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6117 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
6118 echo "$as_me:$LINENO: checking for $ac_word" >&5
6119 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6120 if test "${ac_cv_prog_RANLIB+set}" = set; then
6121 echo $ECHO_N "(cached) $ECHO_C" >&6
6123 if test -n "$RANLIB"; then
6124 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
6126 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6130 test -z "$as_dir" && as_dir
=.
6131 for ac_exec_ext
in '' $ac_executable_extensions; do
6132 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6133 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
6134 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6142 RANLIB
=$ac_cv_prog_RANLIB
6143 if test -n "$RANLIB"; then
6144 echo "$as_me:$LINENO: result: $RANLIB" >&5
6145 echo "${ECHO_T}$RANLIB" >&6
6147 echo "$as_me:$LINENO: result: no" >&5
6148 echo "${ECHO_T}no" >&6
6152 if test -z "$ac_cv_prog_RANLIB"; then
6153 ac_ct_RANLIB
=$RANLIB
6154 # Extract the first word of "ranlib", so it can be a program name with args.
6155 set dummy ranlib
; ac_word
=$2
6156 echo "$as_me:$LINENO: checking for $ac_word" >&5
6157 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6158 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
6159 echo $ECHO_N "(cached) $ECHO_C" >&6
6161 if test -n "$ac_ct_RANLIB"; then
6162 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
6164 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6168 test -z "$as_dir" && as_dir
=.
6169 for ac_exec_ext
in '' $ac_executable_extensions; do
6170 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6171 ac_cv_prog_ac_ct_RANLIB
="ranlib"
6172 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6178 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
6181 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
6182 if test -n "$ac_ct_RANLIB"; then
6183 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
6184 echo "${ECHO_T}$ac_ct_RANLIB" >&6
6186 echo "$as_me:$LINENO: result: no" >&5
6187 echo "${ECHO_T}no" >&6
6190 RANLIB
=$ac_ct_RANLIB
6192 RANLIB
="$ac_cv_prog_RANLIB"
6195 if test -n "$ac_tool_prefix"; then
6196 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6197 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
6198 echo "$as_me:$LINENO: checking for $ac_word" >&5
6199 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6200 if test "${ac_cv_prog_STRIP+set}" = set; then
6201 echo $ECHO_N "(cached) $ECHO_C" >&6
6203 if test -n "$STRIP"; then
6204 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
6206 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6210 test -z "$as_dir" && as_dir
=.
6211 for ac_exec_ext
in '' $ac_executable_extensions; do
6212 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6213 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
6214 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6222 STRIP
=$ac_cv_prog_STRIP
6223 if test -n "$STRIP"; then
6224 echo "$as_me:$LINENO: result: $STRIP" >&5
6225 echo "${ECHO_T}$STRIP" >&6
6227 echo "$as_me:$LINENO: result: no" >&5
6228 echo "${ECHO_T}no" >&6
6232 if test -z "$ac_cv_prog_STRIP"; then
6234 # Extract the first word of "strip", so it can be a program name with args.
6235 set dummy strip
; ac_word
=$2
6236 echo "$as_me:$LINENO: checking for $ac_word" >&5
6237 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6238 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
6239 echo $ECHO_N "(cached) $ECHO_C" >&6
6241 if test -n "$ac_ct_STRIP"; then
6242 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
6244 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6248 test -z "$as_dir" && as_dir
=.
6249 for ac_exec_ext
in '' $ac_executable_extensions; do
6250 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6251 ac_cv_prog_ac_ct_STRIP
="strip"
6252 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6258 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
6261 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
6262 if test -n "$ac_ct_STRIP"; then
6263 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
6264 echo "${ECHO_T}$ac_ct_STRIP" >&6
6266 echo "$as_me:$LINENO: result: no" >&5
6267 echo "${ECHO_T}no" >&6
6272 STRIP
="$ac_cv_prog_STRIP"
6276 # Check for any special flags to pass to ltconfig.
6277 libtool_flags
="--cache-file=$cache_file"
6278 test "$enable_shared" = no
&& libtool_flags
="$libtool_flags --disable-shared"
6279 test "$enable_static" = no
&& libtool_flags
="$libtool_flags --disable-static"
6280 test "$enable_fast_install" = no
&& libtool_flags
="$libtool_flags --disable-fast-install"
6281 test "$GCC" = yes && libtool_flags
="$libtool_flags --with-gcc"
6282 test "$lt_cv_prog_gnu_ld" = yes && libtool_flags
="$libtool_flags --with-gnu-ld"
6285 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
6286 if test "${enable_libtool_lock+set}" = set; then
6287 enableval
="$enable_libtool_lock"
6290 test "x$enable_libtool_lock" = xno
&& libtool_flags
="$libtool_flags --disable-lock"
6291 test x
"$silent" = xyes
&& libtool_flags
="$libtool_flags --silent"
6294 # Check whether --with-pic or --without-pic was given.
6295 if test "${with_pic+set}" = set; then
6301 test x
"$pic_mode" = xyes
&& libtool_flags
="$libtool_flags --prefer-pic"
6302 test x
"$pic_mode" = xno
&& libtool_flags
="$libtool_flags --prefer-non-pic"
6304 # Some flags need to be propagated to the compiler or linker for good
6308 # Find out which ABI we are using.
6309 echo '#line 6309 "configure"' > conftest.
$ac_ext
6310 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6311 (eval $ac_compile) 2>&5
6313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6314 (exit $ac_status); }; then
6315 if test "$lt_cv_prog_gnu_ld" = yes; then
6316 case `/usr/bin/file conftest.$ac_objext` in
6318 LD
="${LD-ld} -melf32bsmip"
6321 LD
="${LD-ld} -melf32bmipn32"
6324 LD
="${LD-ld} -melf64bmip"
6328 case `/usr/bin/file conftest.$ac_objext` in
6345 # Find out which ABI we are using.
6346 echo 'int i;' > conftest.
$ac_ext
6347 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6348 (eval $ac_compile) 2>&5
6350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6351 (exit $ac_status); }; then
6352 case "`/usr/bin/file conftest.o`" in
6364 x86_64-
*linux
*|ppc
*-*linux
*|powerpc
*-*linux
*|s390
*-*linux
*|sparc
*-*linux
*)
6365 # Find out which ABI we are using.
6366 echo 'int i;' > conftest.
$ac_ext
6367 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6368 (eval $ac_compile) 2>&5
6370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6371 (exit $ac_status); }; then
6372 case "`/usr/bin/file conftest.o`" in
6376 LD
="${LD-ld} -m elf_i386"
6378 ppc64-
*linux
*|powerpc64-
*linux
*)
6379 LD
="${LD-ld} -m elf32ppclinux"
6382 LD
="${LD-ld} -m elf_s390"
6385 LD
="${LD-ld} -m elf32_sparc"
6392 LD
="${LD-ld} -m elf_x86_64"
6394 ppc
*-*linux
*|powerpc
*-*linux
*)
6395 LD
="${LD-ld} -m elf64ppc"
6398 LD
="${LD-ld} -m elf64_s390"
6401 LD
="${LD-ld} -m elf64_sparc"
6411 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6412 SAVE_CFLAGS
="$CFLAGS"
6413 CFLAGS
="$CFLAGS -belf"
6414 echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
6415 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
6416 if test "${lt_cv_cc_needs_belf+set}" = set; then
6417 echo $ECHO_N "(cached) $ECHO_C" >&6
6422 ac_cpp
='$CPP $CPPFLAGS'
6423 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6424 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6425 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6427 cat >conftest.
$ac_ext <<_ACEOF
6430 cat confdefs.h
>>conftest.
$ac_ext
6431 cat >>conftest.
$ac_ext <<_ACEOF
6432 /* end confdefs.h. */
6442 rm -f conftest.
$ac_objext conftest
$ac_exeext
6443 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6444 (eval $ac_link) 2>conftest.er1
6446 grep -v '^ *+' conftest.er1
>conftest.err
6448 cat conftest.err
>&5
6449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6450 (exit $ac_status); } &&
6451 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6456 (exit $ac_status); }; } &&
6457 { ac_try
='test -s conftest$ac_exeext'
6458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6462 (exit $ac_status); }; }; then
6463 lt_cv_cc_needs_belf
=yes
6465 echo "$as_me: failed program was:" >&5
6466 sed 's/^/| /' conftest.
$ac_ext >&5
6468 lt_cv_cc_needs_belf
=no
6470 rm -f conftest.err conftest.
$ac_objext \
6471 conftest
$ac_exeext conftest.
$ac_ext
6473 ac_cpp
='$CPP $CPPFLAGS'
6474 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6475 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6476 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6479 echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
6480 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
6481 if test x
"$lt_cv_cc_needs_belf" != x
"yes"; then
6482 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6483 CFLAGS
="$SAVE_CFLAGS"
6491 # Save cache, so that ltconfig can load it
6492 cat >confcache
<<\_ACEOF
6493 # This file is a shell script that caches the results of configure
6494 # tests run on this system so they can be shared between configure
6495 # scripts and configure runs, see configure's option --config-cache.
6496 # It is not useful on other systems. If it contains results you don't
6497 # want to keep, you may remove or edit it.
6499 # config.status only pays attention to the cache file if you give it
6500 # the --recheck option to rerun configure.
6502 # `ac_cv_env_foo' variables (set or unset) will be overridden when
6503 # loading this file, other *unset* `ac_cv_foo' will be assigned the
6508 # The following way of writing the cache mishandles newlines in values,
6509 # but we know of no workaround that is simple, portable, and efficient.
6510 # So, don't put newlines in cache variables' values.
6511 # Ultrix sh set writes to stderr and can't be redirected directly,
6512 # and sets the high bit in the cache file unless we assign to the vars.
6515 case `(ac_space=' '; set | grep ac_space) 2>&1` in
6517 # `set' does not quote correctly, so add quotes (double-quote
6518 # substitution turns \\\\ into \\, and sed turns \\ into \).
6521 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
6524 # `set' quotes correctly as required by POSIX, so do not add quotes.
6526 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
6533 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
6535 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
6537 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
6538 if test -w $cache_file; then
6539 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
6540 cat confcache
>$cache_file
6542 echo "not updating unwritable cache $cache_file"
6547 # Actually configure libtool. ac_aux_dir is where install-sh is found.
6548 AR
="$AR" LTCC
="$CC" CC
="$CC" CFLAGS
="$CFLAGS" CPPFLAGS
="$CPPFLAGS" \
6549 MAGIC_CMD
="$MAGIC_CMD" LD
="$LD" LDFLAGS
="$LDFLAGS" LIBS
="$LIBS" \
6550 LN_S
="$LN_S" NM
="$NM" RANLIB
="$RANLIB" STRIP
="$STRIP" \
6551 AS
="$AS" DLLTOOL
="$DLLTOOL" OBJDUMP
="$OBJDUMP" \
6552 objext
="$OBJEXT" exeext
="$EXEEXT" reload_flag
="$reload_flag" \
6553 deplibs_check_method
="$deplibs_check_method" file_magic_cmd
="$file_magic_cmd" \
6554 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig
--no-reexec \
6555 $libtool_flags --no-verify --build="$build" $ac_aux_dir/ltmain.sh
$host \
6556 ||
{ { echo "$as_me:$LINENO: error: libtool configure failed" >&5
6557 echo "$as_me: error: libtool configure failed" >&2;}
6558 { (exit 1); exit 1; }; }
6560 # Reload cache, that may have been modified by ltconfig
6561 if test -r "$cache_file"; then
6562 # Some versions of bash will fail to source /dev/null (special
6563 # files actually), so we avoid doing that.
6564 if test -f "$cache_file"; then
6565 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
6566 echo "$as_me: loading cache $cache_file" >&6;}
6568 [\\/]* | ?
:[\\/]* ) .
$cache_file;;
6569 *) . .
/$cache_file;;
6573 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
6574 echo "$as_me: creating cache $cache_file" >&6;}
6579 # This can be used to rebuild libtool when needed
6580 LIBTOOL_DEPS
="$ac_aux_dir/ltconfig $ac_aux_dir/ltmain.sh $ac_aux_dir/ltcf-c.sh"
6582 # Always use our own libtool.
6583 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
6585 # Redirect the config.log output again, so that the ltconfig log is not
6586 # clobbered by the next message.
6587 exec 5>>.
/config.log
6595 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
6596 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
6597 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
6598 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
6599 echo $ECHO_N "(cached) $ECHO_C" >&6
6601 cat >conftest.
make <<\_ACEOF
6603 @
echo 'ac_maketemp="$(MAKE)"'
6605 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
6606 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
6607 if test -n "$ac_maketemp"; then
6608 eval ac_cv_prog_make_
${ac_make}_set
=yes
6610 eval ac_cv_prog_make_
${ac_make}_set
=no
6614 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
6615 echo "$as_me:$LINENO: result: yes" >&5
6616 echo "${ECHO_T}yes" >&6
6619 echo "$as_me:$LINENO: result: no" >&5
6620 echo "${ECHO_T}no" >&6
6621 SET_MAKE
="MAKE=${MAKE-make}"
6624 # Find a good install program. We prefer a C program (faster),
6625 # so one script is as good as another. But avoid the broken or
6626 # incompatible versions:
6627 # SysV /etc/install, /usr/sbin/install
6628 # SunOS /usr/etc/install
6629 # IRIX /sbin/install
6631 # AmigaOS /C/install, which installs bootblocks on floppy discs
6632 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
6633 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
6634 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
6635 # OS/2's system install, which has a completely different semantic
6636 # ./install, which can be erroneously created by make from ./install.sh.
6637 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
6638 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
6639 if test -z "$INSTALL"; then
6640 if test "${ac_cv_path_install+set}" = set; then
6641 echo $ECHO_N "(cached) $ECHO_C" >&6
6643 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6647 test -z "$as_dir" && as_dir
=.
6648 # Account for people who put trailing slashes in PATH elements.
6650 .
/ | .
// |
/cC
/* | \
6651 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
6652 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
6655 # OSF1 and SCO ODT 3.0 have their own names for install.
6656 # Don't use installbsd from OSF since it installs stuff as root
6658 for ac_prog
in ginstall scoinst
install; do
6659 for ac_exec_ext
in '' $ac_executable_extensions; do
6660 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
6661 if test $ac_prog = install &&
6662 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
6663 # AIX install. It has an incompatible calling convention.
6665 elif test $ac_prog = install &&
6666 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
6667 # program-specific install script used by HP pwplus--don't use.
6670 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
6682 if test "${ac_cv_path_install+set}" = set; then
6683 INSTALL
=$ac_cv_path_install
6685 # As a last resort, use the slow shell script. We don't cache a
6686 # path for INSTALL within a source directory, because that will
6687 # break other packages using the cache if that directory is
6688 # removed, or if the path is relative.
6689 INSTALL
=$ac_install_sh
6692 echo "$as_me:$LINENO: result: $INSTALL" >&5
6693 echo "${ECHO_T}$INSTALL" >&6
6695 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
6696 # It thinks the first close brace ends the variable substitution.
6697 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
6699 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
6701 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
6704 ac_config_files
="$ac_config_files Makefile"
6705 cat >confcache
<<\_ACEOF
6706 # This file is a shell script that caches the results of configure
6707 # tests run on this system so they can be shared between configure
6708 # scripts and configure runs, see configure's option --config-cache.
6709 # It is not useful on other systems. If it contains results you don't
6710 # want to keep, you may remove or edit it.
6712 # config.status only pays attention to the cache file if you give it
6713 # the --recheck option to rerun configure.
6715 # `ac_cv_env_foo' variables (set or unset) will be overridden when
6716 # loading this file, other *unset* `ac_cv_foo' will be assigned the
6721 # The following way of writing the cache mishandles newlines in values,
6722 # but we know of no workaround that is simple, portable, and efficient.
6723 # So, don't put newlines in cache variables' values.
6724 # Ultrix sh set writes to stderr and can't be redirected directly,
6725 # and sets the high bit in the cache file unless we assign to the vars.
6728 case `(ac_space=' '; set | grep ac_space) 2>&1` in
6730 # `set' does not quote correctly, so add quotes (double-quote
6731 # substitution turns \\\\ into \\, and sed turns \\ into \).
6734 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
6737 # `set' quotes correctly as required by POSIX, so do not add quotes.
6739 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
6746 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
6748 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
6750 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
6751 if test -w $cache_file; then
6752 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
6753 cat confcache
>$cache_file
6755 echo "not updating unwritable cache $cache_file"
6760 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
6761 # Let make expand exec_prefix.
6762 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
6764 # VPATH may cause trouble with some makes, so we remove $(srcdir),
6765 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
6766 # trailing colons and then remove the whole line if VPATH becomes empty
6767 # (actually we leave an empty line to preserve line numbers).
6768 if test "x$srcdir" = x.
; then
6769 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
6770 s/:*\$(srcdir):*/:/;
6771 s/:*\${srcdir}:*/:/;
6773 s/^\([^=]*=[ ]*\):*/\1/;
6779 DEFS
=-DHAVE_CONFIG_H
6783 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
6784 # 1. Remove the extension, and $U if already installed.
6785 ac_i
=`echo "$ac_i" |
6786 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
6788 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
6789 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
6793 LTLIBOBJS
=$ac_ltlibobjs
6796 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
6797 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
6798 Usually this means the macro was only invoked conditionally." >&5
6799 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
6800 Usually this means the macro was only invoked conditionally." >&2;}
6801 { (exit 1); exit 1; }; }
6803 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
6804 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
6805 Usually this means the macro was only invoked conditionally." >&5
6806 echo "$as_me: error: conditional \"AMDEP\" was never defined.
6807 Usually this means the macro was only invoked conditionally." >&2;}
6808 { (exit 1); exit 1; }; }
6810 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
6811 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
6812 Usually this means the macro was only invoked conditionally." >&5
6813 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
6814 Usually this means the macro was only invoked conditionally." >&2;}
6815 { (exit 1); exit 1; }; }
6818 : ${CONFIG_STATUS=./config.status}
6819 ac_clean_files_save
=$ac_clean_files
6820 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
6821 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
6822 echo "$as_me: creating $CONFIG_STATUS" >&6;}
6823 cat >$CONFIG_STATUS <<_ACEOF
6825 # Generated by $as_me.
6826 # Run this file to recreate the current configuration.
6827 # Compiler output produced by configure, useful for debugging
6828 # configure, is in config.log if it exists.
6833 SHELL=\${CONFIG_SHELL-$SHELL}
6836 cat >>$CONFIG_STATUS <<\_ACEOF
6837 ## --------------------- ##
6838 ## M4sh Initialization. ##
6839 ## --------------------- ##
6841 # Be Bourne compatible
6842 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
6845 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
6846 # is contrary to our usage. Disable this feature.
6847 alias -g '${1+"$@"}'='"$@"'
6848 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
6851 DUALCASE
=1; export DUALCASE
# for MKS sh
6853 # Support unset when possible.
6854 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
6861 # Work around bugs in pre-3.0 UWIN ksh.
6862 $as_unset ENV MAIL MAILPATH
6869 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
6870 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
6871 LC_TELEPHONE LC_TIME
6873 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
6874 eval $as_var=C
; export $as_var
6880 # Required to use basename.
6881 if expr a
: '\(a\)' >/dev
/null
2>&1; then
6887 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
6888 as_basename
=basename
6894 # Name of the executable.
6895 as_me
=`$as_basename "$0" ||
6896 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
6897 X"$0" : 'X\(//\)$' \| \
6898 X"$0" : 'X\(/\)$' \| \
6899 . : '\(.\)' 2>/dev/null ||
6901 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
6902 /^X\/\(\/\/\)$/{ s//\1/; q; }
6903 /^X\/\(\/\).*/{ s//\1/; q; }
6907 # PATH needs CR, and LINENO needs CR and PATH.
6908 # Avoid depending upon Character Ranges.
6909 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
6910 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
6911 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
6912 as_cr_digits
='0123456789'
6913 as_cr_alnum
=$as_cr_Letters$as_cr_digits
6915 # The user is always right.
6916 if test "${PATH_SEPARATOR+set}" != set; then
6917 echo "#! /bin/sh" >conf$$.sh
6918 echo "exit 0" >>conf$$.sh
6920 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
6931 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
6932 test "x$as_lineno_1" != "x$as_lineno_2" &&
6933 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
6934 # Find who we are. Look in the path if we contain no path at all
6937 *[\\/]* ) as_myself
=$0 ;;
6938 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6942 test -z "$as_dir" && as_dir
=.
6943 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
6948 # We did not find ourselves, most probably we were run as `sh COMMAND'
6949 # in which case we are not to be found in the path.
6950 if test "x$as_myself" = x
; then
6953 if test ! -f "$as_myself"; then
6954 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
6955 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
6956 { (exit 1); exit 1; }; }
6958 case $CONFIG_SHELL in
6960 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6961 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
6964 test -z "$as_dir" && as_dir
=.
6965 for as_base
in sh bash ksh sh5
; do
6968 if ("$as_dir/$as_base" -c '
6971 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
6972 test "x$as_lineno_1" != "x$as_lineno_2" &&
6973 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
6974 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
6975 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
6976 CONFIG_SHELL
=$as_dir/$as_base
6978 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
6986 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
6987 # uniformly replaced by the line number. The first 'sed' inserts a
6988 # line-number line before each line; the second 'sed' does the real
6989 # work. The second script uses 'N' to pair each line-number line
6990 # with the numbered line, and appends trailing '-' during
6991 # substitution so that $LINENO is not a special case at line end.
6992 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
6993 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
6994 sed '=' <$as_myself |
6999 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
7002 s,^['$as_cr_digits']*\n,,
7004 chmod +x
$as_me.lineno ||
7005 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
7006 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
7007 { (exit 1); exit 1; }; }
7009 # Don't try to exec as it changes $[0], causing all sort of problems
7010 # (the dirname of $[0] is not the place where we might find the
7011 # original and so on. Autoconf is especially sensible to this).
7013 # Exit status is that of the last command.
7018 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
7019 *c
*,-n*) ECHO_N
= ECHO_C
='
7021 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
7022 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
7025 if expr a
: '\(a\)' >/dev
/null
2>&1; then
7031 rm -f conf$$ conf$$.exe conf$$.
file
7033 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
7034 # We could just check for DJGPP; but this test a) works b) is more generic
7035 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
7036 if test -f conf$$.exe
; then
7037 # Don't use ln at all; we don't have any links
7042 elif ln conf$$.
file conf$$
2>/dev
/null
; then
7047 rm -f conf$$ conf$$.exe conf$$.
file
7049 if mkdir
-p .
2>/dev
/null
; then
7052 test -d .
/-p && rmdir .
/-p
7056 as_executable_p
="test -f"
7058 # Sed expression to map a string onto a valid CPP name.
7059 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
7061 # Sed expression to map a string onto a valid variable name.
7062 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
7066 # We need space, tab and new line, in precisely that order.
7076 # Open the log real soon, to keep \$[0] and so on meaningful, and to
7077 # report actual input values of CONFIG_FILES etc. instead of their
7078 # values after options handling. Logging --version etc. is OK.
7082 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
7083 ## Running $as_me. ##
7088 This file was extended by GNU Fortran Runtime Library $as_me 0.2, which was
7089 generated by GNU Autoconf 2.59. Invocation command line was
7091 CONFIG_FILES = $CONFIG_FILES
7092 CONFIG_HEADERS = $CONFIG_HEADERS
7093 CONFIG_LINKS = $CONFIG_LINKS
7094 CONFIG_COMMANDS = $CONFIG_COMMANDS
7098 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
7102 # Files that config.status was made for.
7103 if test -n "$ac_config_files"; then
7104 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
7107 if test -n "$ac_config_headers"; then
7108 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
7111 if test -n "$ac_config_links"; then
7112 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
7115 if test -n "$ac_config_commands"; then
7116 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
7119 cat >>$CONFIG_STATUS <<\_ACEOF
7122 \`$as_me' instantiates files from templates according to the
7123 current configuration.
7125 Usage: $0 [OPTIONS] [FILE]...
7127 -h, --help print this help, then exit
7128 -V, --version print version number, then exit
7129 -q, --quiet do not print progress messages
7130 -d, --debug don't remove temporary files
7131 --recheck update $as_me by reconfiguring in the same conditions
7132 --file=FILE[:TEMPLATE]
7133 instantiate the configuration file FILE
7134 --header=FILE[:TEMPLATE]
7135 instantiate the configuration header FILE
7137 Configuration files:
7140 Configuration headers:
7143 Configuration commands:
7146 Report bugs to <bug-autoconf@gnu.org>."
7149 cat >>$CONFIG_STATUS <<_ACEOF
7151 GNU Fortran Runtime Library config.status 0.2
7152 configured by $0, generated by GNU Autoconf 2.59,
7153 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
7155 Copyright (C) 2003 Free Software Foundation, Inc.
7156 This config.status script is free software; the Free Software Foundation
7157 gives unlimited permission to copy, distribute and modify it."
7162 cat >>$CONFIG_STATUS <<\_ACEOF
7163 # If no file are specified by the user, then we need to provide default
7164 # value. By we need to know if files were specified by the user.
7170 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
7171 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
7179 *) # This is not an option, so the user has probably given explicit
7182 ac_need_defaults
=false
;;
7186 # Handling of the options.
7188 cat >>$CONFIG_STATUS <<\_ACEOF
7189 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
7191 --version |
--vers* |
-V )
7192 echo "$ac_cs_version"; exit 0 ;;
7194 # Conflict between --help and --header
7195 { { echo "$as_me:$LINENO: error: ambiguous option: $1
7196 Try \`$0 --help' for more information." >&5
7197 echo "$as_me: error: ambiguous option: $1
7198 Try \`$0 --help' for more information." >&2;}
7199 { (exit 1); exit 1; }; };;
7200 --help |
--hel |
-h )
7201 echo "$ac_cs_usage"; exit 0 ;;
7202 --debug |
--d* |
-d )
7204 --file |
--fil |
--fi |
--f )
7206 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
7207 ac_need_defaults
=false
;;
7208 --header |
--heade |
--head |
--hea )
7210 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
7211 ac_need_defaults
=false
;;
7212 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
7213 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
7217 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
7218 Try \`$0 --help' for more information." >&5
7219 echo "$as_me: error: unrecognized option: $1
7220 Try \`$0 --help' for more information." >&2;}
7221 { (exit 1); exit 1; }; } ;;
7223 *) ac_config_targets
="$ac_config_targets $1" ;;
7229 ac_configure_extra_args
=
7231 if $ac_cs_silent; then
7233 ac_configure_extra_args
="$ac_configure_extra_args --silent"
7237 cat >>$CONFIG_STATUS <<_ACEOF
7238 if \$ac_cs_recheck; then
7239 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
7240 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
7245 cat >>$CONFIG_STATUS <<_ACEOF
7247 # INIT-COMMANDS section.
7250 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
7256 cat >>$CONFIG_STATUS <<\_ACEOF
7257 for ac_config_target
in $ac_config_targets
7259 case "$ac_config_target" in
7260 # Handling of arguments.
7261 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
7262 "depfiles" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
7263 "config.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
7264 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
7265 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
7266 { (exit 1); exit 1; }; };;
7270 # If the user did not use the arguments to specify the items to instantiate,
7271 # then the envvar interface is used. Set only those that are not.
7272 # We use the long form for the default assignment because of an extremely
7273 # bizarre bug on SunOS 4.1.3.
7274 if $ac_need_defaults; then
7275 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
7276 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
7277 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
7280 # Have a temporary directory for convenience. Make it in the build tree
7281 # simply because there is no reason to put it here, and in addition,
7282 # creating and moving files from /tmp can sometimes cause problems.
7283 # Create a temporary directory, and hook for its removal unless debugging.
7286 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
7287 trap '{ (exit 1); exit 1; }' 1 2 13 15
7290 # Create a (secure) tmp directory for tmp files.
7293 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
7294 test -n "$tmp" && test -d "$tmp"
7297 tmp
=.
/confstat$$
-$RANDOM
7298 (umask 077 && mkdir
$tmp)
7301 echo "$me: cannot create a temporary directory in ." >&2
7302 { (exit 1); exit 1; }
7307 cat >>$CONFIG_STATUS <<_ACEOF
7310 # CONFIG_FILES section.
7313 # No need to generate the scripts if there are no CONFIG_FILES.
7314 # This happens for instance when ./config.status config.h
7315 if test -n "\$CONFIG_FILES"; then
7316 # Protect against being on the right side of a sed subst in config.status.
7317 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
7318 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
7319 s,@SHELL@,$SHELL,;t t
7320 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
7321 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
7322 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
7323 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
7324 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
7325 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
7326 s,@exec_prefix@,$exec_prefix,;t t
7327 s,@prefix@,$prefix,;t t
7328 s,@program_transform_name@,$program_transform_name,;t t
7329 s,@bindir@,$bindir,;t t
7330 s,@sbindir@,$sbindir,;t t
7331 s,@libexecdir@,$libexecdir,;t t
7332 s,@datadir@,$datadir,;t t
7333 s,@sysconfdir@,$sysconfdir,;t t
7334 s,@sharedstatedir@,$sharedstatedir,;t t
7335 s,@localstatedir@,$localstatedir,;t t
7336 s,@libdir@,$libdir,;t t
7337 s,@includedir@,$includedir,;t t
7338 s,@oldincludedir@,$oldincludedir,;t t
7339 s,@infodir@,$infodir,;t t
7340 s,@mandir@,$mandir,;t t
7341 s,@build_alias@,$build_alias,;t t
7342 s,@host_alias@,$host_alias,;t t
7343 s,@target_alias@,$target_alias,;t t
7345 s,@ECHO_C@,$ECHO_C,;t t
7346 s,@ECHO_N@,$ECHO_N,;t t
7347 s,@ECHO_T@,$ECHO_T,;t t
7349 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
7350 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
7351 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
7352 s,@CYGPATH_W@,$CYGPATH_W,;t t
7353 s,@PACKAGE@,$PACKAGE,;t t
7354 s,@VERSION@,$VERSION,;t t
7355 s,@ACLOCAL@,$ACLOCAL,;t t
7356 s,@AUTOCONF@,$AUTOCONF,;t t
7357 s,@AUTOMAKE@,$AUTOMAKE,;t t
7358 s,@AUTOHEADER@,$AUTOHEADER,;t t
7359 s,@MAKEINFO@,$MAKEINFO,;t t
7360 s,@AMTAR@,$AMTAR,;t t
7361 s,@install_sh@,$install_sh,;t t
7362 s,@STRIP@,$STRIP,;t t
7363 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
7364 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
7365 s,@mkdir_p@,$mkdir_p,;t t
7367 s,@SET_MAKE@,$SET_MAKE,;t t
7368 s,@am__leading_dot@,$am__leading_dot,;t t
7369 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
7370 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
7371 s,@MAINT@,$MAINT,;t t
7372 s,@enable_shared@,$enable_shared,;t t
7373 s,@enable_static@,$enable_static,;t t
7375 s,@CFLAGS@,$CFLAGS,;t t
7376 s,@LDFLAGS@,$LDFLAGS,;t t
7377 s,@CPPFLAGS@,$CPPFLAGS,;t t
7378 s,@ac_ct_CC@,$ac_ct_CC,;t t
7379 s,@EXEEXT@,$EXEEXT,;t t
7380 s,@OBJEXT@,$OBJEXT,;t t
7381 s,@DEPDIR@,$DEPDIR,;t t
7382 s,@am__include@,$am__include,;t t
7383 s,@am__quote@,$am__quote,;t t
7384 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
7385 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
7386 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
7387 s,@CCDEPMODE@,$CCDEPMODE,;t t
7388 s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
7389 s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
7391 s,@FFLAGS@,$FFLAGS,;t t
7392 s,@ac_ct_F77@,$ac_ct_F77,;t t
7394 s,@EGREP@,$EGREP,;t t
7395 s,@MATH_OBJ@,$MATH_OBJ,;t t
7397 s,@RANLIB@,$RANLIB,;t t
7398 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
7399 s,@build@,$build,;t t
7400 s,@build_cpu@,$build_cpu,;t t
7401 s,@build_vendor@,$build_vendor,;t t
7402 s,@build_os@,$build_os,;t t
7404 s,@host_cpu@,$host_cpu,;t t
7405 s,@host_vendor@,$host_vendor,;t t
7406 s,@host_os@,$host_os,;t t
7408 s,@LIBTOOL@,$LIBTOOL,;t t
7409 s,@LIBOBJS@,$LIBOBJS,;t t
7410 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
7415 cat >>$CONFIG_STATUS <<\_ACEOF
7416 # Split the substitutions into bite-sized pieces for seds with
7417 # small command number limits, like on Digital OSF/1 and HP-UX.
7419 ac_sed_frag
=1 # Number of current file.
7420 ac_beg
=1 # First line for current file.
7421 ac_end
=$ac_max_sed_lines # Line after last line for current file.
7424 while $ac_more_lines; do
7425 if test $ac_beg -gt 1; then
7426 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
7428 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
7430 if test ! -s $tmp/subs.frag
; then
7433 # The purpose of the label and of the branching condition is to
7434 # speed up the sed processing (if there are no `@' at all, there
7435 # is no need to browse any of the substitutions).
7436 # These are the two extra sed commands mentioned above.
7438 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
7439 if test -z "$ac_sed_cmds"; then
7440 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
7442 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
7444 ac_sed_frag
=`expr $ac_sed_frag + 1`
7446 ac_end
=`expr $ac_end + $ac_max_sed_lines`
7449 if test -z "$ac_sed_cmds"; then
7452 fi # test -n "$CONFIG_FILES"
7455 cat >>$CONFIG_STATUS <<\_ACEOF
7456 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
7457 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
7459 - |
*:- |
*:-:* ) # input from stdin
7461 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
7462 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
7463 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
7464 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
7465 * ) ac_file_in
=$ac_file.
in ;;
7468 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
7469 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
7470 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7471 X"$ac_file" : 'X\(//\)[^/]' \| \
7472 X"$ac_file" : 'X\(//\)$' \| \
7473 X"$ac_file" : 'X\(/\)' \| \
7474 . : '\(.\)' 2>/dev/null ||
7476 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7477 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7478 /^X\(\/\/\)$/{ s//\1/; q; }
7479 /^X\(\/\).*/{ s//\1/; q; }
7481 { if $as_mkdir_p; then
7486 while test ! -d "$as_dir"; do
7487 as_dirs
="$as_dir $as_dirs"
7488 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
7489 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7490 X"$as_dir" : 'X\(//\)[^/]' \| \
7491 X"$as_dir" : 'X\(//\)$' \| \
7492 X"$as_dir" : 'X\(/\)' \| \
7493 . : '\(.\)' 2>/dev/null ||
7495 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7496 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7497 /^X\(\/\/\)$/{ s//\1/; q; }
7498 /^X\(\/\).*/{ s//\1/; q; }
7501 test ! -n "$as_dirs" || mkdir
$as_dirs
7502 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
7503 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
7504 { (exit 1); exit 1; }; }; }
7508 if test "$ac_dir" != .
; then
7509 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
7510 # A "../" for each directory in $ac_dir_suffix.
7511 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
7513 ac_dir_suffix
= ac_top_builddir
=
7517 .
) # No --srcdir option. We are building in place.
7519 if test -z "$ac_top_builddir"; then
7522 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
7524 [\\/]* | ?
:[\\/]* ) # Absolute path.
7525 ac_srcdir
=$srcdir$ac_dir_suffix;
7526 ac_top_srcdir
=$srcdir ;;
7528 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
7529 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
7532 # Do not use `cd foo && pwd` to compute absolute paths, because
7533 # the directories may not exist.
7535 .
) ac_abs_builddir
="$ac_dir";;
7538 .
) ac_abs_builddir
=`pwd`;;
7539 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
7540 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
7543 case $ac_abs_builddir in
7544 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
7546 case ${ac_top_builddir}.
in
7547 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
7548 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
7549 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
7552 case $ac_abs_builddir in
7553 .
) ac_abs_srcdir
=$ac_srcdir;;
7556 .
) ac_abs_srcdir
=$ac_abs_builddir;;
7557 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
7558 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
7561 case $ac_abs_builddir in
7562 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
7564 case $ac_top_srcdir in
7565 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
7566 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
7567 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
7573 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
7574 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
7577 # Let's still pretend it is `configure' which instantiates (i.e., don't
7578 # use $as_me), people would be surprised to read:
7579 # /* config.h. Generated by config.status. */
7580 if test x
"$ac_file" = x-
; then
7583 configure_input
="$ac_file. "
7585 configure_input
=$configure_input"Generated from `echo $ac_file_in |
7586 sed 's,.*/,,'` by configure."
7588 # First look for the input files in the build tree, otherwise in the
7590 ac_file_inputs
=`IFS=:
7591 for f in $ac_file_in; do
7593 -) echo $tmp/stdin ;;
7595 # Absolute (can't be DOS-style, as IFS=:)
7596 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
7597 echo "$as_me: error: cannot find input file: $f" >&2;}
7598 { (exit 1); exit 1; }; }
7601 if test -f "$f"; then
7604 elif test -f "$srcdir/$f"; then
7609 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
7610 echo "$as_me: error: cannot find input file: $f" >&2;}
7611 { (exit 1); exit 1; }; }
7614 done` ||
{ (exit 1); exit 1; }
7616 if test x
"$ac_file" != x-
; then
7617 { echo "$as_me:$LINENO: creating $ac_file" >&5
7618 echo "$as_me: creating $ac_file" >&6;}
7622 cat >>$CONFIG_STATUS <<_ACEOF
7626 cat >>$CONFIG_STATUS <<\_ACEOF
7628 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
7629 s
,@configure_input@
,$configure_input,;t t
7630 s
,@srcdir@
,$ac_srcdir,;t t
7631 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
7632 s
,@top_srcdir@
,$ac_top_srcdir,;t t
7633 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
7634 s
,@builddir@
,$ac_builddir,;t t
7635 s
,@abs_builddir@
,$ac_abs_builddir,;t t
7636 s
,@top_builddir@
,$ac_top_builddir,;t t
7637 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
7638 s
,@INSTALL@
,$ac_INSTALL,;t t
7639 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
7641 if test x"$ac_file" != x-; then
7642 mv $tmp/out $ac_file
7650 cat >>$CONFIG_STATUS <<\_ACEOF
7653 # CONFIG_HEADER section.
7656 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
7657 # NAME is the cpp macro being defined and VALUE is the value it is being given.
7659 # ac_d sets the value in "#define NAME VALUE" lines.
7660 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
7661 ac_dB
='[ ].*$,\1#\2'
7664 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
7665 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
7666 ac_uB
='$,\1#\2define\3'
7670 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
7671 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
7673 - |
*:- |
*:-:* ) # input from stdin
7675 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
7676 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
7677 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
7678 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
7679 * ) ac_file_in
=$ac_file.
in ;;
7682 test x
"$ac_file" != x-
&& { echo "$as_me:$LINENO: creating $ac_file" >&5
7683 echo "$as_me: creating $ac_file" >&6;}
7685 # First look for the input files in the build tree, otherwise in the
7687 ac_file_inputs
=`IFS=:
7688 for f in $ac_file_in; do
7690 -) echo $tmp/stdin ;;
7692 # Absolute (can't be DOS-style, as IFS=:)
7693 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
7694 echo "$as_me: error: cannot find input file: $f" >&2;}
7695 { (exit 1); exit 1; }; }
7696 # Do quote $f, to prevent DOS paths from being IFS'd.
7699 if test -f "$f"; then
7702 elif test -f "$srcdir/$f"; then
7707 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
7708 echo "$as_me: error: cannot find input file: $f" >&2;}
7709 { (exit 1); exit 1; }; }
7712 done` ||
{ (exit 1); exit 1; }
7713 # Remove the trailing spaces.
7714 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
7718 # Transform confdefs.h into two sed scripts, `conftest.defines' and
7719 # `conftest.undefs', that substitutes the proper values into
7720 # config.h.in to produce config.h. The first handles `#define'
7721 # templates, and the second `#undef' templates.
7722 # And first: Protect against being on the right side of a sed subst in
7723 # config.status. Protect against being in an unquoted here document
7725 rm -f conftest.defines conftest.undefs
7726 # Using a here document instead of a string reduces the quoting nightmare.
7727 # Putting comments in sed scripts is not portable.
7729 # `end' is used to avoid that the second main sed command (meant for
7730 # 0-ary CPP macros) applies to n-ary macro definitions.
7731 # See the Autoconf documentation for `clear'.
7732 cat >confdef2sed.
sed <<\_ACEOF
7737 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
7739 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
7742 # If some macros were called several times there might be several times
7743 # the same #defines, which is useless. Nevertheless, we may not want to
7744 # sort them, since we want the *last* AC-DEFINE to be honored.
7745 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
7746 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
7747 rm -f confdef2sed.sed
7749 # This sed command replaces #undef with comments. This is necessary, for
7750 # example, in the case of _POSIX_SOURCE, which is predefined and required
7751 # on some systems where configure will not decide to define it.
7752 cat >>conftest.undefs <<\_ACEOF
7753 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
7756 # Break up conftest.defines because some shells have a limit on the size
7757 # of here documents, and old seds have small limits too (100 cmds).
7758 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
7759 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
7760 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
7761 echo ' :' >>$CONFIG_STATUS
7763 while grep . conftest.defines >/dev/null
7765 # Write a limited-size here document to $tmp/defines.sed.
7766 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
7767 # Speed up: don't consider the non `#define' lines.
7768 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
7769 # Work around the forget-to-reset-the-flag bug.
7770 echo 't clr' >>$CONFIG_STATUS
7771 echo ': clr' >>$CONFIG_STATUS
7772 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
7774 sed -f $tmp/defines.sed $tmp/in >$tmp/out
7778 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
7779 rm -f conftest.defines
7780 mv conftest.
tail conftest.defines
7782 rm -f conftest.defines
7783 echo ' fi # grep' >>$CONFIG_STATUS
7784 echo >>$CONFIG_STATUS
7786 # Break up conftest.undefs because some shells have a limit on the size
7787 # of here documents, and old seds have small limits too (100 cmds).
7788 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
7790 while grep . conftest.undefs
>/dev
/null
7792 # Write a limited-size here document to $tmp/undefs.sed.
7793 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
7794 # Speed up: don't consider the non
`#undef'
7795 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
7796 # Work around the forget-to-reset-the-flag bug.
7797 echo 't clr' >>$CONFIG_STATUS
7798 echo ': clr' >>$CONFIG_STATUS
7799 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
7801 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
7805 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
7806 rm -f conftest.undefs
7807 mv conftest.tail conftest.undefs
7809 rm -f conftest.undefs
7811 cat >>$CONFIG_STATUS <<\_ACEOF
7812 # Let's still pretend it is `configure
' which instantiates (i.e., don't
7813 # use $as_me), people would be surprised to read:
7814 # /* config.h. Generated by config.status. */
7815 if test x
"$ac_file" = x-
; then
7816 echo "/* Generated by configure. */" >$tmp/config.h
7818 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
7820 cat $tmp/in >>$tmp/config.h
7822 if test x
"$ac_file" != x-
; then
7823 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
7824 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
7825 echo "$as_me: $ac_file is unchanged" >&6;}
7827 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
7828 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7829 X"$ac_file" : 'X\(//\)[^/]' \| \
7830 X"$ac_file" : 'X\(//\)$' \| \
7831 X"$ac_file" : 'X\(/\)' \| \
7832 . : '\(.\)' 2>/dev/null ||
7834 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7835 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7836 /^X\(\/\/\)$/{ s//\1/; q; }
7837 /^X\(\/\).*/{ s//\1/; q; }
7839 { if $as_mkdir_p; then
7844 while test ! -d "$as_dir"; do
7845 as_dirs
="$as_dir $as_dirs"
7846 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
7847 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7848 X"$as_dir" : 'X\(//\)[^/]' \| \
7849 X"$as_dir" : 'X\(//\)$' \| \
7850 X"$as_dir" : 'X\(/\)' \| \
7851 . : '\(.\)' 2>/dev/null ||
7853 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7854 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7855 /^X\(\/\/\)$/{ s//\1/; q; }
7856 /^X\(\/\).*/{ s//\1/; q; }
7859 test ! -n "$as_dirs" || mkdir
$as_dirs
7860 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
7861 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
7862 { (exit 1); exit 1; }; }; }
7865 mv $tmp/config.h
$ac_file
7871 # Compute $ac_file's index in $config_headers.
7873 for _am_header
in $config_headers :; do
7875 $ac_file |
$ac_file:* )
7878 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
7881 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
7882 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7883 X$ac_file : 'X\(//\)[^/]' \| \
7884 X$ac_file : 'X\(//\)$' \| \
7885 X$ac_file : 'X\(/\)' \| \
7886 . : '\(.\)' 2>/dev/null ||
7888 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7889 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7890 /^X\(\/\/\)$/{ s//\1/; q; }
7891 /^X\(\/\).*/{ s//\1/; q; }
7892 s/.*/./; q'`/stamp-h
$_am_stamp_count
7895 cat >>$CONFIG_STATUS <<\_ACEOF
7898 # CONFIG_COMMANDS section.
7900 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
7901 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
7902 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
7903 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
7904 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7905 X"$ac_dest" : 'X\(//\)[^/]' \| \
7906 X"$ac_dest" : 'X\(//\)$' \| \
7907 X"$ac_dest" : 'X\(/\)' \| \
7908 . : '\(.\)' 2>/dev/null ||
7910 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7911 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7912 /^X\(\/\/\)$/{ s//\1/; q; }
7913 /^X\(\/\).*/{ s//\1/; q; }
7915 { if $as_mkdir_p; then
7920 while test ! -d "$as_dir"; do
7921 as_dirs
="$as_dir $as_dirs"
7922 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
7923 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7924 X"$as_dir" : 'X\(//\)[^/]' \| \
7925 X"$as_dir" : 'X\(//\)$' \| \
7926 X"$as_dir" : 'X\(/\)' \| \
7927 . : '\(.\)' 2>/dev/null ||
7929 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7930 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7931 /^X\(\/\/\)$/{ s//\1/; q; }
7932 /^X\(\/\).*/{ s//\1/; q; }
7935 test ! -n "$as_dirs" || mkdir
$as_dirs
7936 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
7937 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
7938 { (exit 1); exit 1; }; }; }
7942 if test "$ac_dir" != .
; then
7943 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
7944 # A "../" for each directory in $ac_dir_suffix.
7945 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
7947 ac_dir_suffix
= ac_top_builddir
=
7951 .
) # No --srcdir option. We are building in place.
7953 if test -z "$ac_top_builddir"; then
7956 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
7958 [\\/]* | ?
:[\\/]* ) # Absolute path.
7959 ac_srcdir
=$srcdir$ac_dir_suffix;
7960 ac_top_srcdir
=$srcdir ;;
7962 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
7963 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
7966 # Do not use `cd foo && pwd` to compute absolute paths, because
7967 # the directories may not exist.
7969 .
) ac_abs_builddir
="$ac_dir";;
7972 .
) ac_abs_builddir
=`pwd`;;
7973 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
7974 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
7977 case $ac_abs_builddir in
7978 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
7980 case ${ac_top_builddir}.
in
7981 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
7982 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
7983 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
7986 case $ac_abs_builddir in
7987 .
) ac_abs_srcdir
=$ac_srcdir;;
7990 .
) ac_abs_srcdir
=$ac_abs_builddir;;
7991 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
7992 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
7995 case $ac_abs_builddir in
7996 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
7998 case $ac_top_srcdir in
7999 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
8000 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
8001 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
8006 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
8007 echo "$as_me: executing $ac_dest commands" >&6;}
8009 depfiles
) test x
"$AMDEP_TRUE" != x
"" ||
for mf
in $CONFIG_FILES; do
8010 # Strip MF so we end up with the name of the file.
8011 mf
=`echo "$mf" | sed -e 's/:.*$//'`
8012 # Check whether this is an Automake generated Makefile or not.
8013 # We used to match only the files named `Makefile.in', but
8014 # some people rename them; so instead we look at the file content.
8015 # Grep'ing the first line is not enough: some people post-process
8016 # each Makefile.in and add a new line on top of each file to say so.
8017 # So let's grep whole file.
8018 if grep '^#.*generated by automake' $mf > /dev
/null
2>&1; then
8019 dirpart
=`(dirname "$mf") 2>/dev/null ||
8020 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8021 X"$mf" : 'X\(//\)[^/]' \| \
8022 X"$mf" : 'X\(//\)$' \| \
8023 X"$mf" : 'X\(/\)' \| \
8024 . : '\(.\)' 2>/dev/null ||
8026 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8027 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
8028 /^X\(\/\/\)$/{ s//\1/; q; }
8029 /^X\(\/\).*/{ s//\1/; q; }
8034 grep '^DEP_FILES *= *[^ #]' < "$mf" > /dev
/null ||
continue
8035 # Extract the definition of DEP_FILES from the Makefile without
8037 DEPDIR
=`sed -n -e '/^DEPDIR = / s///p' < "$mf"`
8038 test -z "$DEPDIR" && continue
8039 # When using ansi2knr, U may be empty or an underscore; expand it
8040 U
=`sed -n -e '/^U = / s///p' < "$mf"`
8041 test -d "$dirpart/$DEPDIR" || mkdir
"$dirpart/$DEPDIR"
8042 # We invoke sed twice because it is the simplest approach to
8043 # changing $(DEPDIR) to its actual value in the expansion.
8044 for file in `sed -n -e '
8045 /^DEP_FILES = .*\\\\$/ {
8054 /^DEP_FILES = / s/^DEP_FILES = //p' < "$mf" | \
8055 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
8056 # Make sure the directory exists.
8057 test -f "$dirpart/$file" && continue
8058 fdir
=`(dirname "$file") 2>/dev/null ||
8059 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8060 X"$file" : 'X\(//\)[^/]' \| \
8061 X"$file" : 'X\(//\)$' \| \
8062 X"$file" : 'X\(/\)' \| \
8063 . : '\(.\)' 2>/dev/null ||
8065 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8066 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
8067 /^X\(\/\/\)$/{ s//\1/; q; }
8068 /^X\(\/\).*/{ s//\1/; q; }
8070 { if $as_mkdir_p; then
8071 mkdir
-p $dirpart/$fdir
8073 as_dir
=$dirpart/$fdir
8075 while test ! -d "$as_dir"; do
8076 as_dirs
="$as_dir $as_dirs"
8077 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
8078 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8079 X"$as_dir" : 'X\(//\)[^/]' \| \
8080 X"$as_dir" : 'X\(//\)$' \| \
8081 X"$as_dir" : 'X\(/\)' \| \
8082 . : '\(.\)' 2>/dev/null ||
8084 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8085 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
8086 /^X\(\/\/\)$/{ s//\1/; q; }
8087 /^X\(\/\).*/{ s//\1/; q; }
8090 test ! -n "$as_dirs" || mkdir
$as_dirs
8091 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
8092 echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
8093 { (exit 1); exit 1; }; }; }
8095 # echo "creating $dirpart/$file"
8096 echo '# dummy' > "$dirpart/$file"
8104 cat >>$CONFIG_STATUS <<\_ACEOF
8106 { (exit 0); exit 0; }
8108 chmod +x
$CONFIG_STATUS
8109 ac_clean_files
=$ac_clean_files_save
8112 # configure is writing to config.log, and then calls config.status.
8113 # config.status does its own redirection, appending to config.log.
8114 # Unfortunately, on DOS this fails, as config.log is still kept open
8115 # by configure, so config.status won't be able to write to it; its
8116 # output is simply discarded. So we exec the FD to /dev/null,
8117 # effectively closing config.log, so it can be properly (re)opened and
8118 # appended to by config.status. When coming back to configure, we
8119 # need to make the FD available again.
8120 if test "$no_create" != yes; then
8122 ac_config_status_args
=
8123 test "$silent" = yes &&
8124 ac_config_status_args
="$ac_config_status_args --quiet"
8126 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
8128 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
8129 # would make configure fail if this is the last instruction.
8130 $ac_cs_success ||
{ (exit 1); exit 1; }