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 --version .
>/dev
/null
2>&1 && test ! -d .
/--version; 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
1525 for d
in .
/-p .
/--version;
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
2822 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
2823 # Solaris 8's {/usr,}/bin/sh.
2824 touch sub
/conftst
$i.h
2826 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
2830 # after this tag, mechanisms are not by side-effect, so they'll
2831 # only be used when explicitly requested
2832 if test "x$enable_dependency_tracking" = xyes
; then
2840 # We check with `-c' and `-o' for the sake of the "dashmstdout"
2841 # mode. It turns out that the SunPro C++ compiler does not properly
2842 # handle `-M -o', and we need to detect this.
2843 if depmode
=$depmode \
2844 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
2845 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
2846 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
2847 >/dev
/null
2>conftest.err
&&
2848 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
2849 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
2850 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
2851 # icc doesn't choke on unknown options, it will just issue warnings
2852 # or remarks (even with -Werror). So we grep stderr for any message
2853 # that says an option was ignored or not supported.
2854 # When given -MP, icc 7.0 and 7.1 complain thusly:
2855 # icc: Command line warning: ignoring option '-M'; no argument required
2856 # The diagnosis changed in icc 8.0:
2857 # icc: Command line remark: option '-MP' not supported
2858 if (grep 'ignoring option' conftest.err ||
2859 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
2860 am_cv_CC_dependencies_compiler_type
=$depmode
2869 am_cv_CC_dependencies_compiler_type
=none
2873 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
2874 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
2875 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
2880 test "x$enable_dependency_tracking" != xno \
2881 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
2883 am__fastdepCC_FALSE
='#'
2885 am__fastdepCC_TRUE
='#'
2886 am__fastdepCC_FALSE
=
2890 if test "x$GCC" = "xyes"; then
2891 CFLAGS
="$CFLAGS -Wall"
2894 # We need gfortran to compile parts of the library
2895 # We can't use AC_PROG_F77 because it expects a fully working gfortran.
2896 #AC_PROG_F77(gfortran)
2899 ac_compile
='$F77 -c $FFLAGS conftest.$ac_ext >&5'
2900 ac_link
='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2901 ac_compiler_gnu
=$ac_cv_f77_compiler_gnu
2902 if test -n "$ac_tool_prefix"; then
2903 for ac_prog
in gfortran
2905 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2906 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2907 echo "$as_me:$LINENO: checking for $ac_word" >&5
2908 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2909 if test "${ac_cv_prog_F77+set}" = set; then
2910 echo $ECHO_N "(cached) $ECHO_C" >&6
2912 if test -n "$F77"; then
2913 ac_cv_prog_F77
="$F77" # Let the user override the test.
2915 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2919 test -z "$as_dir" && as_dir
=.
2920 for ac_exec_ext
in '' $ac_executable_extensions; do
2921 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2922 ac_cv_prog_F77
="$ac_tool_prefix$ac_prog"
2923 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2932 if test -n "$F77"; then
2933 echo "$as_me:$LINENO: result: $F77" >&5
2934 echo "${ECHO_T}$F77" >&6
2936 echo "$as_me:$LINENO: result: no" >&5
2937 echo "${ECHO_T}no" >&6
2940 test -n "$F77" && break
2943 if test -z "$F77"; then
2945 for ac_prog
in gfortran
2947 # Extract the first word of "$ac_prog", so it can be a program name with args.
2948 set dummy
$ac_prog; ac_word
=$2
2949 echo "$as_me:$LINENO: checking for $ac_word" >&5
2950 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2951 if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
2952 echo $ECHO_N "(cached) $ECHO_C" >&6
2954 if test -n "$ac_ct_F77"; then
2955 ac_cv_prog_ac_ct_F77
="$ac_ct_F77" # Let the user override the test.
2957 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2961 test -z "$as_dir" && as_dir
=.
2962 for ac_exec_ext
in '' $ac_executable_extensions; do
2963 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2964 ac_cv_prog_ac_ct_F77
="$ac_prog"
2965 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2973 ac_ct_F77
=$ac_cv_prog_ac_ct_F77
2974 if test -n "$ac_ct_F77"; then
2975 echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
2976 echo "${ECHO_T}$ac_ct_F77" >&6
2978 echo "$as_me:$LINENO: result: no" >&5
2979 echo "${ECHO_T}no" >&6
2982 test -n "$ac_ct_F77" && break
2989 # Provide some information about the compiler.
2990 echo "$as_me:2990:" \
2991 "checking for Fortran 77 compiler version" >&5
2992 ac_compiler
=`set X $ac_compile; echo $2`
2993 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2994 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
2996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2997 (exit $ac_status); }
2998 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2999 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
3001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3002 (exit $ac_status); }
3003 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
3004 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
3006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3007 (exit $ac_status); }
3010 # If we don't use `.F' as extension, the preprocessor is not run on the
3011 # input file. (Note that this only needs to work for GNU compilers.)
3014 echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
3015 echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6
3016 if test "${ac_cv_f77_compiler_gnu+set}" = set; then
3017 echo $ECHO_N "(cached) $ECHO_C" >&6
3019 cat >conftest.
$ac_ext <<_ACEOF
3027 rm -f conftest.
$ac_objext
3028 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3029 (eval $ac_compile) 2>conftest.er1
3031 grep -v '^ *+' conftest.er1
>conftest.err
3033 cat conftest.err
>&5
3034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3035 (exit $ac_status); } &&
3036 { ac_try
='test -z "$ac_f77_werror_flag" || test ! -s conftest.err'
3037 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3041 (exit $ac_status); }; } &&
3042 { ac_try
='test -s conftest.$ac_objext'
3043 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3047 (exit $ac_status); }; }; then
3050 echo "$as_me: failed program was:" >&5
3051 sed 's/^/| /' conftest.
$ac_ext >&5
3055 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3056 ac_cv_f77_compiler_gnu
=$ac_compiler_gnu
3059 echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
3060 echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6
3062 ac_test_FFLAGS
=${FFLAGS+set}
3063 ac_save_FFLAGS
=$FFLAGS
3065 echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
3066 echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6
3067 if test "${ac_cv_prog_f77_g+set}" = set; then
3068 echo $ECHO_N "(cached) $ECHO_C" >&6
3071 cat >conftest.
$ac_ext <<_ACEOF
3076 rm -f conftest.
$ac_objext
3077 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3078 (eval $ac_compile) 2>conftest.er1
3080 grep -v '^ *+' conftest.er1
>conftest.err
3082 cat conftest.err
>&5
3083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3084 (exit $ac_status); } &&
3085 { ac_try
='test -z "$ac_f77_werror_flag" || test ! -s conftest.err'
3086 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3090 (exit $ac_status); }; } &&
3091 { ac_try
='test -s conftest.$ac_objext'
3092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3096 (exit $ac_status); }; }; then
3097 ac_cv_prog_f77_g
=yes
3099 echo "$as_me: failed program was:" >&5
3100 sed 's/^/| /' conftest.
$ac_ext >&5
3104 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3107 echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
3108 echo "${ECHO_T}$ac_cv_prog_f77_g" >&6
3109 if test "$ac_test_FFLAGS" = set; then
3110 FFLAGS
=$ac_save_FFLAGS
3111 elif test $ac_cv_prog_f77_g = yes; then
3112 if test "x$ac_cv_f77_compiler_gnu" = xyes
; then
3118 if test "x$ac_cv_f77_compiler_gnu" = xyes
; then
3125 G77
=`test $ac_compiler_gnu = yes && echo yes`
3127 ac_cpp
='$CPP $CPPFLAGS'
3128 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3129 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3130 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3132 FFLAGS
="$FFLAGS -Wall -fno-repack-arrays -fno-underscoring"
3136 ac_cpp
='$CPP $CPPFLAGS'
3137 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3138 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3139 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3140 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3141 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
3142 # On Suns, sometimes $CPP names a directory.
3143 if test -n "$CPP" && test -d "$CPP"; then
3146 if test -z "$CPP"; then
3147 if test "${ac_cv_prog_CPP+set}" = set; then
3148 echo $ECHO_N "(cached) $ECHO_C" >&6
3150 # Double quotes because CPP needs to be expanded
3151 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3154 for ac_c_preproc_warn_flag
in '' yes
3156 # Use a header file that comes with gcc, so configuring glibc
3157 # with a fresh cross-compiler works.
3158 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3159 # <limits.h> exists even on freestanding compilers.
3160 # On the NeXT, cc -E runs the code through the compiler's parser,
3161 # not just through cpp. "Syntax error" is here to catch this case.
3162 cat >conftest.
$ac_ext <<_ACEOF
3165 cat confdefs.h
>>conftest.
$ac_ext
3166 cat >>conftest.
$ac_ext <<_ACEOF
3167 /* end confdefs.h. */
3169 # include <limits.h>
3171 # include <assert.h>
3175 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3176 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3178 grep -v '^ *+' conftest.er1
>conftest.err
3180 cat conftest.err
>&5
3181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3182 (exit $ac_status); } >/dev
/null
; then
3183 if test -s conftest.err
; then
3184 ac_cpp_err
=$ac_c_preproc_warn_flag
3185 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3192 if test -z "$ac_cpp_err"; then
3195 echo "$as_me: failed program was:" >&5
3196 sed 's/^/| /' conftest.
$ac_ext >&5
3198 # Broken: fails on valid input.
3201 rm -f conftest.err conftest.
$ac_ext
3203 # OK, works on sane cases. Now check whether non-existent headers
3204 # can be detected and how.
3205 cat >conftest.
$ac_ext <<_ACEOF
3208 cat confdefs.h
>>conftest.
$ac_ext
3209 cat >>conftest.
$ac_ext <<_ACEOF
3210 /* end confdefs.h. */
3211 #include <ac_nonexistent.h>
3213 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3214 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3216 grep -v '^ *+' conftest.er1
>conftest.err
3218 cat conftest.err
>&5
3219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3220 (exit $ac_status); } >/dev
/null
; then
3221 if test -s conftest.err
; then
3222 ac_cpp_err
=$ac_c_preproc_warn_flag
3223 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3230 if test -z "$ac_cpp_err"; then
3231 # Broken: success on invalid input.
3234 echo "$as_me: failed program was:" >&5
3235 sed 's/^/| /' conftest.
$ac_ext >&5
3237 # Passes both tests.
3241 rm -f conftest.err conftest.
$ac_ext
3244 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3245 rm -f conftest.err conftest.
$ac_ext
3246 if $ac_preproc_ok; then
3258 echo "$as_me:$LINENO: result: $CPP" >&5
3259 echo "${ECHO_T}$CPP" >&6
3261 for ac_c_preproc_warn_flag
in '' yes
3263 # Use a header file that comes with gcc, so configuring glibc
3264 # with a fresh cross-compiler works.
3265 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3266 # <limits.h> exists even on freestanding compilers.
3267 # On the NeXT, cc -E runs the code through the compiler's parser,
3268 # not just through cpp. "Syntax error" is here to catch this case.
3269 cat >conftest.
$ac_ext <<_ACEOF
3272 cat confdefs.h
>>conftest.
$ac_ext
3273 cat >>conftest.
$ac_ext <<_ACEOF
3274 /* end confdefs.h. */
3276 # include <limits.h>
3278 # include <assert.h>
3282 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3283 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3285 grep -v '^ *+' conftest.er1
>conftest.err
3287 cat conftest.err
>&5
3288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3289 (exit $ac_status); } >/dev
/null
; then
3290 if test -s conftest.err
; then
3291 ac_cpp_err
=$ac_c_preproc_warn_flag
3292 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3299 if test -z "$ac_cpp_err"; then
3302 echo "$as_me: failed program was:" >&5
3303 sed 's/^/| /' conftest.
$ac_ext >&5
3305 # Broken: fails on valid input.
3308 rm -f conftest.err conftest.
$ac_ext
3310 # OK, works on sane cases. Now check whether non-existent headers
3311 # can be detected and how.
3312 cat >conftest.
$ac_ext <<_ACEOF
3315 cat confdefs.h
>>conftest.
$ac_ext
3316 cat >>conftest.
$ac_ext <<_ACEOF
3317 /* end confdefs.h. */
3318 #include <ac_nonexistent.h>
3320 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3321 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3323 grep -v '^ *+' conftest.er1
>conftest.err
3325 cat conftest.err
>&5
3326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3327 (exit $ac_status); } >/dev
/null
; then
3328 if test -s conftest.err
; then
3329 ac_cpp_err
=$ac_c_preproc_warn_flag
3330 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3337 if test -z "$ac_cpp_err"; then
3338 # Broken: success on invalid input.
3341 echo "$as_me: failed program was:" >&5
3342 sed 's/^/| /' conftest.
$ac_ext >&5
3344 # Passes both tests.
3348 rm -f conftest.err conftest.
$ac_ext
3351 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3352 rm -f conftest.err conftest.
$ac_ext
3353 if $ac_preproc_ok; then
3356 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3357 See \`config.log' for more details." >&5
3358 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3359 See \`config.log' for more details." >&2;}
3360 { (exit 1); exit 1; }; }
3364 ac_cpp
='$CPP $CPPFLAGS'
3365 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3366 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3367 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3370 echo "$as_me:$LINENO: checking for egrep" >&5
3371 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
3372 if test "${ac_cv_prog_egrep+set}" = set; then
3373 echo $ECHO_N "(cached) $ECHO_C" >&6
3375 if echo a |
(grep -E '(a|b)') >/dev
/null
2>&1
3376 then ac_cv_prog_egrep
='grep -E'
3377 else ac_cv_prog_egrep
='egrep'
3380 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
3381 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
3382 EGREP
=$ac_cv_prog_egrep
3385 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3386 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
3387 if test "${ac_cv_header_stdc+set}" = set; then
3388 echo $ECHO_N "(cached) $ECHO_C" >&6
3390 cat >conftest.
$ac_ext <<_ACEOF
3393 cat confdefs.h
>>conftest.
$ac_ext
3394 cat >>conftest.
$ac_ext <<_ACEOF
3395 /* end confdefs.h. */
3409 rm -f conftest.
$ac_objext
3410 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3411 (eval $ac_compile) 2>conftest.er1
3413 grep -v '^ *+' conftest.er1
>conftest.err
3415 cat conftest.err
>&5
3416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3417 (exit $ac_status); } &&
3418 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3419 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3423 (exit $ac_status); }; } &&
3424 { ac_try
='test -s conftest.$ac_objext'
3425 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3429 (exit $ac_status); }; }; then
3430 ac_cv_header_stdc
=yes
3432 echo "$as_me: failed program was:" >&5
3433 sed 's/^/| /' conftest.
$ac_ext >&5
3435 ac_cv_header_stdc
=no
3437 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3439 if test $ac_cv_header_stdc = yes; then
3440 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3441 cat >conftest.
$ac_ext <<_ACEOF
3444 cat confdefs.h
>>conftest.
$ac_ext
3445 cat >>conftest.
$ac_ext <<_ACEOF
3446 /* end confdefs.h. */
3450 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3451 $EGREP "memchr" >/dev
/null
2>&1; then
3454 ac_cv_header_stdc
=no
3460 if test $ac_cv_header_stdc = yes; then
3461 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3462 cat >conftest.
$ac_ext <<_ACEOF
3465 cat confdefs.h
>>conftest.
$ac_ext
3466 cat >>conftest.
$ac_ext <<_ACEOF
3467 /* end confdefs.h. */
3471 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3472 $EGREP "free" >/dev
/null
2>&1; then
3475 ac_cv_header_stdc
=no
3481 if test $ac_cv_header_stdc = yes; then
3482 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3483 if test "$cross_compiling" = yes; then
3486 cat >conftest.
$ac_ext <<_ACEOF
3489 cat confdefs.h
>>conftest.
$ac_ext
3490 cat >>conftest.
$ac_ext <<_ACEOF
3491 /* end confdefs.h. */
3493 #if ((' ' & 0x0FF) == 0x020)
3494 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3495 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3497 # define ISLOWER(c) \
3498 (('a' <= (c) && (c) <= 'i') \
3499 || ('j' <= (c) && (c) <= 'r') \
3500 || ('s' <= (c) && (c) <= 'z'))
3501 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3504 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3509 for (i = 0; i < 256; i++)
3510 if (XOR (islower (i), ISLOWER (i))
3511 || toupper (i) != TOUPPER (i))
3516 rm -f conftest
$ac_exeext
3517 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3518 (eval $ac_link) 2>&5
3520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3521 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
3522 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3526 (exit $ac_status); }; }; then
3529 echo "$as_me: program exited with status $ac_status" >&5
3530 echo "$as_me: failed program was:" >&5
3531 sed 's/^/| /' conftest.
$ac_ext >&5
3534 ac_cv_header_stdc
=no
3536 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
3540 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
3541 echo "${ECHO_T}$ac_cv_header_stdc" >&6
3542 if test $ac_cv_header_stdc = yes; then
3544 cat >>confdefs.h
<<\_ACEOF
3545 #define STDC_HEADERS 1
3550 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3560 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
3561 inttypes.h stdint.h unistd.h
3563 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3564 echo "$as_me:$LINENO: checking for $ac_header" >&5
3565 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3566 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3567 echo $ECHO_N "(cached) $ECHO_C" >&6
3569 cat >conftest.
$ac_ext <<_ACEOF
3572 cat confdefs.h
>>conftest.
$ac_ext
3573 cat >>conftest.
$ac_ext <<_ACEOF
3574 /* end confdefs.h. */
3575 $ac_includes_default
3577 #include <$ac_header>
3579 rm -f conftest.
$ac_objext
3580 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3581 (eval $ac_compile) 2>conftest.er1
3583 grep -v '^ *+' conftest.er1
>conftest.err
3585 cat conftest.err
>&5
3586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3587 (exit $ac_status); } &&
3588 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3593 (exit $ac_status); }; } &&
3594 { ac_try
='test -s conftest.$ac_objext'
3595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3599 (exit $ac_status); }; }; then
3600 eval "$as_ac_Header=yes"
3602 echo "$as_me: failed program was:" >&5
3603 sed 's/^/| /' conftest.
$ac_ext >&5
3605 eval "$as_ac_Header=no"
3607 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3609 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3610 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3611 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3612 cat >>confdefs.h
<<_ACEOF
3613 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3623 for ac_header
in stdlib.h unistd.h
3625 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3626 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3627 echo "$as_me:$LINENO: checking for $ac_header" >&5
3628 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3629 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3630 echo $ECHO_N "(cached) $ECHO_C" >&6
3632 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3633 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3635 # Is the header compilable?
3636 echo "$as_me:$LINENO: checking $ac_header usability" >&5
3637 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
3638 cat >conftest.
$ac_ext <<_ACEOF
3641 cat confdefs.h
>>conftest.
$ac_ext
3642 cat >>conftest.
$ac_ext <<_ACEOF
3643 /* end confdefs.h. */
3644 $ac_includes_default
3645 #include <$ac_header>
3647 rm -f conftest.
$ac_objext
3648 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3649 (eval $ac_compile) 2>conftest.er1
3651 grep -v '^ *+' conftest.er1
>conftest.err
3653 cat conftest.err
>&5
3654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3655 (exit $ac_status); } &&
3656 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3657 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3661 (exit $ac_status); }; } &&
3662 { ac_try
='test -s conftest.$ac_objext'
3663 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3667 (exit $ac_status); }; }; then
3668 ac_header_compiler
=yes
3670 echo "$as_me: failed program was:" >&5
3671 sed 's/^/| /' conftest.
$ac_ext >&5
3673 ac_header_compiler
=no
3675 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3676 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3677 echo "${ECHO_T}$ac_header_compiler" >&6
3679 # Is the header present?
3680 echo "$as_me:$LINENO: checking $ac_header presence" >&5
3681 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
3682 cat >conftest.
$ac_ext <<_ACEOF
3685 cat confdefs.h
>>conftest.
$ac_ext
3686 cat >>conftest.
$ac_ext <<_ACEOF
3687 /* end confdefs.h. */
3688 #include <$ac_header>
3690 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3691 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3693 grep -v '^ *+' conftest.er1
>conftest.err
3695 cat conftest.err
>&5
3696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3697 (exit $ac_status); } >/dev
/null
; then
3698 if test -s conftest.err
; then
3699 ac_cpp_err
=$ac_c_preproc_warn_flag
3700 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3707 if test -z "$ac_cpp_err"; then
3708 ac_header_preproc
=yes
3710 echo "$as_me: failed program was:" >&5
3711 sed 's/^/| /' conftest.
$ac_ext >&5
3713 ac_header_preproc
=no
3715 rm -f conftest.err conftest.
$ac_ext
3716 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3717 echo "${ECHO_T}$ac_header_preproc" >&6
3719 # So? What about this header?
3720 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
3722 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
3723 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
3724 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
3725 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
3726 ac_header_preproc
=yes
3729 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
3730 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
3731 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
3732 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
3733 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
3734 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
3735 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
3736 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
3737 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3738 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
3739 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
3740 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
3743 ## ------------------------------------------------------ ##
3744 ## Report this to the GNU Fortran Runtime Library lists. ##
3745 ## ------------------------------------------------------ ##
3748 sed "s/^/$as_me: WARNING: /" >&2
3751 echo "$as_me:$LINENO: checking for $ac_header" >&5
3752 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3753 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3754 echo $ECHO_N "(cached) $ECHO_C" >&6
3756 eval "$as_ac_Header=\$ac_header_preproc"
3758 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3759 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3762 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3763 cat >>confdefs.h
<<_ACEOF
3764 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3772 for ac_func
in getpagesize
3774 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
3775 echo "$as_me:$LINENO: checking for $ac_func" >&5
3776 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
3777 if eval "test \"\${$as_ac_var+set}\" = set"; then
3778 echo $ECHO_N "(cached) $ECHO_C" >&6
3780 cat >conftest.
$ac_ext <<_ACEOF
3783 cat confdefs.h
>>conftest.
$ac_ext
3784 cat >>conftest.
$ac_ext <<_ACEOF
3785 /* end confdefs.h. */
3786 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
3787 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3788 #define $ac_func innocuous_$ac_func
3790 /* System header to define __stub macros and hopefully few prototypes,
3791 which can conflict with char $ac_func (); below.
3792 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3793 <limits.h> exists even on freestanding compilers. */
3796 # include <limits.h>
3798 # include <assert.h>
3803 /* Override any gcc2 internal prototype to avoid an error. */
3808 /* We use char because int might match the return type of a gcc2
3809 builtin and then its argument prototype would still apply. */
3811 /* The GNU C library defines this for functions which it implements
3812 to always fail with ENOSYS. Some functions are actually named
3813 something starting with __ and the normal name is an alias. */
3814 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
3817 char (*f) () = $ac_func;
3826 return f != $ac_func;
3831 rm -f conftest.
$ac_objext conftest
$ac_exeext
3832 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3833 (eval $ac_link) 2>conftest.er1
3835 grep -v '^ *+' conftest.er1
>conftest.err
3837 cat conftest.err
>&5
3838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3839 (exit $ac_status); } &&
3840 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3841 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3845 (exit $ac_status); }; } &&
3846 { ac_try
='test -s conftest$ac_exeext'
3847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3851 (exit $ac_status); }; }; then
3852 eval "$as_ac_var=yes"
3854 echo "$as_me: failed program was:" >&5
3855 sed 's/^/| /' conftest.
$ac_ext >&5
3857 eval "$as_ac_var=no"
3859 rm -f conftest.err conftest.
$ac_objext \
3860 conftest
$ac_exeext conftest.
$ac_ext
3862 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
3863 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
3864 if test `eval echo '${'$as_ac_var'}'` = yes; then
3865 cat >>confdefs.h
<<_ACEOF
3866 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
3872 echo "$as_me:$LINENO: checking for working mmap" >&5
3873 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
3874 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
3875 echo $ECHO_N "(cached) $ECHO_C" >&6
3877 if test "$cross_compiling" = yes; then
3878 ac_cv_func_mmap_fixed_mapped
=no
3880 cat >conftest.
$ac_ext <<_ACEOF
3883 cat confdefs.h
>>conftest.
$ac_ext
3884 cat >>conftest.
$ac_ext <<_ACEOF
3885 /* end confdefs.h. */
3886 $ac_includes_default
3887 /* malloc might have been renamed as rpl_malloc. */
3890 /* Thanks to Mike Haertel and Jim Avera for this test.
3891 Here is a matrix of mmap possibilities:
3892 mmap private not fixed
3893 mmap private fixed at somewhere currently unmapped
3894 mmap private fixed at somewhere already mapped
3895 mmap shared not fixed
3896 mmap shared fixed at somewhere currently unmapped
3897 mmap shared fixed at somewhere already mapped
3898 For private mappings, we should verify that changes cannot be read()
3899 back from the file, nor mmap's back from the file at a different
3900 address. (There have been systems where private was not correctly
3901 implemented like the infamous i386 svr4.0, and systems where the
3902 VM page cache was not coherent with the file system buffer cache
3903 like early versions of FreeBSD and possibly contemporary NetBSD.)
3904 For shared mappings, we should conversely verify that changes get
3905 propagated back to all the places they're supposed to be.
3907 Grep wants private fixed already mapped.
3908 The main things grep needs to know about mmap are:
3909 * does it exist and is it safe to write into the mmap'd area
3910 * how to use it (BSD variants) */
3913 #include <sys/mman.h>
3915 #if !STDC_HEADERS && !HAVE_STDLIB_H
3919 /* This mess was copied from the GNU getpagesize.h. */
3920 #if !HAVE_GETPAGESIZE
3921 /* Assume that all systems that can run configure have sys/param.h. */
3922 # if !HAVE_SYS_PARAM_H
3923 # define HAVE_SYS_PARAM_H 1
3926 # ifdef _SC_PAGESIZE
3927 # define getpagesize() sysconf(_SC_PAGESIZE)
3928 # else /* no _SC_PAGESIZE */
3929 # if HAVE_SYS_PARAM_H
3930 # include <sys/param.h>
3931 # ifdef EXEC_PAGESIZE
3932 # define getpagesize() EXEC_PAGESIZE
3933 # else /* no EXEC_PAGESIZE */
3935 # define getpagesize() NBPG * CLSIZE
3938 # endif /* no CLSIZE */
3939 # else /* no NBPG */
3941 # define getpagesize() NBPC
3942 # else /* no NBPC */
3944 # define getpagesize() PAGESIZE
3945 # endif /* PAGESIZE */
3946 # endif /* no NBPC */
3947 # endif /* no NBPG */
3948 # endif /* no EXEC_PAGESIZE */
3949 # else /* no HAVE_SYS_PARAM_H */
3950 # define getpagesize() 8192 /* punt totally */
3951 # endif /* no HAVE_SYS_PARAM_H */
3952 # endif /* no _SC_PAGESIZE */
3954 #endif /* no HAVE_GETPAGESIZE */
3959 char *data, *data2, *data3;
3963 pagesize = getpagesize ();
3965 /* First, make a file with some known garbage in it. */
3966 data = (char *) malloc (pagesize);
3969 for (i = 0; i < pagesize; ++i)
3970 *(data + i) = rand ();
3972 fd = creat ("conftest.mmap", 0600);
3975 if (write (fd, data, pagesize) != pagesize)
3979 /* Next, try to mmap the file at a fixed address which already has
3980 something else allocated at it. If we can, also make sure that
3981 we see the same garbage. */
3982 fd = open ("conftest.mmap", O_RDWR);
3985 data2 = (char *) malloc (2 * pagesize);
3988 data2 += (pagesize - ((long) data2 & (pagesize - 1))) & (pagesize - 1);
3989 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
3990 MAP_PRIVATE | MAP_FIXED, fd, 0L))
3992 for (i = 0; i < pagesize; ++i)
3993 if (*(data + i) != *(data2 + i))
3996 /* Finally, make sure that changes to the mapped area do not
3997 percolate back to the file as seen by read(). (This is a bug on
3998 some variants of i386 svr4.0.) */
3999 for (i = 0; i < pagesize; ++i)
4000 *(data2 + i) = *(data2 + i) + 1;
4001 data3 = (char *) malloc (pagesize);
4004 if (read (fd, data3, pagesize) != pagesize)
4006 for (i = 0; i < pagesize; ++i)
4007 if (*(data + i) != *(data3 + i))
4013 rm -f conftest
$ac_exeext
4014 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4015 (eval $ac_link) 2>&5
4017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4018 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
4019 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4023 (exit $ac_status); }; }; then
4024 ac_cv_func_mmap_fixed_mapped
=yes
4026 echo "$as_me: program exited with status $ac_status" >&5
4027 echo "$as_me: failed program was:" >&5
4028 sed 's/^/| /' conftest.
$ac_ext >&5
4031 ac_cv_func_mmap_fixed_mapped
=no
4033 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
4036 echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
4037 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
4038 if test $ac_cv_func_mmap_fixed_mapped = yes; then
4040 cat >>confdefs.h
<<\_ACEOF
4047 echo "$as_me:$LINENO: checking for off_t" >&5
4048 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
4049 if test "${ac_cv_type_off_t+set}" = set; then
4050 echo $ECHO_N "(cached) $ECHO_C" >&6
4052 cat >conftest.
$ac_ext <<_ACEOF
4055 cat confdefs.h
>>conftest.
$ac_ext
4056 cat >>conftest.
$ac_ext <<_ACEOF
4057 /* end confdefs.h. */
4058 $ac_includes_default
4070 rm -f conftest.
$ac_objext
4071 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4072 (eval $ac_compile) 2>conftest.er1
4074 grep -v '^ *+' conftest.er1
>conftest.err
4076 cat conftest.err
>&5
4077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4078 (exit $ac_status); } &&
4079 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4084 (exit $ac_status); }; } &&
4085 { ac_try
='test -s conftest.$ac_objext'
4086 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4090 (exit $ac_status); }; }; then
4091 ac_cv_type_off_t
=yes
4093 echo "$as_me: failed program was:" >&5
4094 sed 's/^/| /' conftest.
$ac_ext >&5
4098 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4100 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
4101 echo "${ECHO_T}$ac_cv_type_off_t" >&6
4102 if test $ac_cv_type_off_t = yes; then
4106 cat >>confdefs.h
<<_ACEOF
4114 # Find a good install program. We prefer a C program (faster),
4115 # so one script is as good as another. But avoid the broken or
4116 # incompatible versions:
4117 # SysV /etc/install, /usr/sbin/install
4118 # SunOS /usr/etc/install
4119 # IRIX /sbin/install
4121 # AmigaOS /C/install, which installs bootblocks on floppy discs
4122 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
4123 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
4124 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
4125 # OS/2's system install, which has a completely different semantic
4126 # ./install, which can be erroneously created by make from ./install.sh.
4127 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
4128 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
4129 if test -z "$INSTALL"; then
4130 if test "${ac_cv_path_install+set}" = set; then
4131 echo $ECHO_N "(cached) $ECHO_C" >&6
4133 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4137 test -z "$as_dir" && as_dir
=.
4138 # Account for people who put trailing slashes in PATH elements.
4140 .
/ | .
// |
/cC
/* | \
4141 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
4142 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
4145 # OSF1 and SCO ODT 3.0 have their own names for install.
4146 # Don't use installbsd from OSF since it installs stuff as root
4148 for ac_prog
in ginstall scoinst
install; do
4149 for ac_exec_ext
in '' $ac_executable_extensions; do
4150 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
4151 if test $ac_prog = install &&
4152 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
4153 # AIX install. It has an incompatible calling convention.
4155 elif test $ac_prog = install &&
4156 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
4157 # program-specific install script used by HP pwplus--don't use.
4160 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
4172 if test "${ac_cv_path_install+set}" = set; then
4173 INSTALL
=$ac_cv_path_install
4175 # As a last resort, use the slow shell script. We don't cache a
4176 # path for INSTALL within a source directory, because that will
4177 # break other packages using the cache if that directory is
4178 # removed, or if the path is relative.
4179 INSTALL
=$ac_install_sh
4182 echo "$as_me:$LINENO: result: $INSTALL" >&5
4183 echo "${ECHO_T}$INSTALL" >&6
4185 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
4186 # It thinks the first close brace ends the variable substitution.
4187 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
4189 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
4191 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
4194 # check header files
4195 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4196 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
4197 if test "${ac_cv_header_stdc+set}" = set; then
4198 echo $ECHO_N "(cached) $ECHO_C" >&6
4200 cat >conftest.
$ac_ext <<_ACEOF
4203 cat confdefs.h
>>conftest.
$ac_ext
4204 cat >>conftest.
$ac_ext <<_ACEOF
4205 /* end confdefs.h. */
4219 rm -f conftest.
$ac_objext
4220 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4221 (eval $ac_compile) 2>conftest.er1
4223 grep -v '^ *+' conftest.er1
>conftest.err
4225 cat conftest.err
>&5
4226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4227 (exit $ac_status); } &&
4228 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4229 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4233 (exit $ac_status); }; } &&
4234 { ac_try
='test -s conftest.$ac_objext'
4235 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4239 (exit $ac_status); }; }; then
4240 ac_cv_header_stdc
=yes
4242 echo "$as_me: failed program was:" >&5
4243 sed 's/^/| /' conftest.
$ac_ext >&5
4245 ac_cv_header_stdc
=no
4247 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4249 if test $ac_cv_header_stdc = yes; then
4250 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4251 cat >conftest.
$ac_ext <<_ACEOF
4254 cat confdefs.h
>>conftest.
$ac_ext
4255 cat >>conftest.
$ac_ext <<_ACEOF
4256 /* end confdefs.h. */
4260 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4261 $EGREP "memchr" >/dev
/null
2>&1; then
4264 ac_cv_header_stdc
=no
4270 if test $ac_cv_header_stdc = yes; then
4271 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4272 cat >conftest.
$ac_ext <<_ACEOF
4275 cat confdefs.h
>>conftest.
$ac_ext
4276 cat >>conftest.
$ac_ext <<_ACEOF
4277 /* end confdefs.h. */
4281 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4282 $EGREP "free" >/dev
/null
2>&1; then
4285 ac_cv_header_stdc
=no
4291 if test $ac_cv_header_stdc = yes; then
4292 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4293 if test "$cross_compiling" = yes; then
4296 cat >conftest.
$ac_ext <<_ACEOF
4299 cat confdefs.h
>>conftest.
$ac_ext
4300 cat >>conftest.
$ac_ext <<_ACEOF
4301 /* end confdefs.h. */
4303 #if ((' ' & 0x0FF) == 0x020)
4304 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4305 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4307 # define ISLOWER(c) \
4308 (('a' <= (c) && (c) <= 'i') \
4309 || ('j' <= (c) && (c) <= 'r') \
4310 || ('s' <= (c) && (c) <= 'z'))
4311 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4314 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4319 for (i = 0; i < 256; i++)
4320 if (XOR (islower (i), ISLOWER (i))
4321 || toupper (i) != TOUPPER (i))
4326 rm -f conftest
$ac_exeext
4327 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4328 (eval $ac_link) 2>&5
4330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4331 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
4332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4336 (exit $ac_status); }; }; then
4339 echo "$as_me: program exited with status $ac_status" >&5
4340 echo "$as_me: failed program was:" >&5
4341 sed 's/^/| /' conftest.
$ac_ext >&5
4344 ac_cv_header_stdc
=no
4346 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
4350 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4351 echo "${ECHO_T}$ac_cv_header_stdc" >&6
4352 if test $ac_cv_header_stdc = yes; then
4354 cat >>confdefs.h
<<\_ACEOF
4355 #define STDC_HEADERS 1
4366 for ac_header
in stdlib.h stdio.h string.h stddef.h math.h unistd.h
4368 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4369 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4370 echo "$as_me:$LINENO: checking for $ac_header" >&5
4371 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4372 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4373 echo $ECHO_N "(cached) $ECHO_C" >&6
4375 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4376 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4378 # Is the header compilable?
4379 echo "$as_me:$LINENO: checking $ac_header usability" >&5
4380 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4381 cat >conftest.
$ac_ext <<_ACEOF
4384 cat confdefs.h
>>conftest.
$ac_ext
4385 cat >>conftest.
$ac_ext <<_ACEOF
4386 /* end confdefs.h. */
4387 $ac_includes_default
4388 #include <$ac_header>
4390 rm -f conftest.
$ac_objext
4391 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4392 (eval $ac_compile) 2>conftest.er1
4394 grep -v '^ *+' conftest.er1
>conftest.err
4396 cat conftest.err
>&5
4397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4398 (exit $ac_status); } &&
4399 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4404 (exit $ac_status); }; } &&
4405 { ac_try
='test -s conftest.$ac_objext'
4406 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4410 (exit $ac_status); }; }; then
4411 ac_header_compiler
=yes
4413 echo "$as_me: failed program was:" >&5
4414 sed 's/^/| /' conftest.
$ac_ext >&5
4416 ac_header_compiler
=no
4418 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4419 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4420 echo "${ECHO_T}$ac_header_compiler" >&6
4422 # Is the header present?
4423 echo "$as_me:$LINENO: checking $ac_header presence" >&5
4424 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4425 cat >conftest.
$ac_ext <<_ACEOF
4428 cat confdefs.h
>>conftest.
$ac_ext
4429 cat >>conftest.
$ac_ext <<_ACEOF
4430 /* end confdefs.h. */
4431 #include <$ac_header>
4433 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4434 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4436 grep -v '^ *+' conftest.er1
>conftest.err
4438 cat conftest.err
>&5
4439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4440 (exit $ac_status); } >/dev
/null
; then
4441 if test -s conftest.err
; then
4442 ac_cpp_err
=$ac_c_preproc_warn_flag
4443 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
4450 if test -z "$ac_cpp_err"; then
4451 ac_header_preproc
=yes
4453 echo "$as_me: failed program was:" >&5
4454 sed 's/^/| /' conftest.
$ac_ext >&5
4456 ac_header_preproc
=no
4458 rm -f conftest.err conftest.
$ac_ext
4459 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4460 echo "${ECHO_T}$ac_header_preproc" >&6
4462 # So? What about this header?
4463 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4465 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4466 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4467 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4468 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4469 ac_header_preproc
=yes
4472 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4473 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4474 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4475 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4476 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4477 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4478 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4479 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4480 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4481 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4482 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4483 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4486 ## ------------------------------------------------------ ##
4487 ## Report this to the GNU Fortran Runtime Library lists. ##
4488 ## ------------------------------------------------------ ##
4491 sed "s/^/$as_me: WARNING: /" >&2
4494 echo "$as_me:$LINENO: checking for $ac_header" >&5
4495 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4496 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4497 echo $ECHO_N "(cached) $ECHO_C" >&6
4499 eval "$as_ac_Header=\$ac_header_preproc"
4501 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4502 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4505 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4506 cat >>confdefs.h
<<_ACEOF
4507 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4519 for ac_header
in time.h sys
/params.h sys
/time.h sys
/times.h sys
/resource.h
4521 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4522 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4523 echo "$as_me:$LINENO: checking for $ac_header" >&5
4524 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4525 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4526 echo $ECHO_N "(cached) $ECHO_C" >&6
4528 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4529 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4531 # Is the header compilable?
4532 echo "$as_me:$LINENO: checking $ac_header usability" >&5
4533 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4534 cat >conftest.
$ac_ext <<_ACEOF
4537 cat confdefs.h
>>conftest.
$ac_ext
4538 cat >>conftest.
$ac_ext <<_ACEOF
4539 /* end confdefs.h. */
4540 $ac_includes_default
4541 #include <$ac_header>
4543 rm -f conftest.
$ac_objext
4544 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4545 (eval $ac_compile) 2>conftest.er1
4547 grep -v '^ *+' conftest.er1
>conftest.err
4549 cat conftest.err
>&5
4550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4551 (exit $ac_status); } &&
4552 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4553 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4557 (exit $ac_status); }; } &&
4558 { ac_try
='test -s conftest.$ac_objext'
4559 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4563 (exit $ac_status); }; }; then
4564 ac_header_compiler
=yes
4566 echo "$as_me: failed program was:" >&5
4567 sed 's/^/| /' conftest.
$ac_ext >&5
4569 ac_header_compiler
=no
4571 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4572 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4573 echo "${ECHO_T}$ac_header_compiler" >&6
4575 # Is the header present?
4576 echo "$as_me:$LINENO: checking $ac_header presence" >&5
4577 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4578 cat >conftest.
$ac_ext <<_ACEOF
4581 cat confdefs.h
>>conftest.
$ac_ext
4582 cat >>conftest.
$ac_ext <<_ACEOF
4583 /* end confdefs.h. */
4584 #include <$ac_header>
4586 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4587 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4589 grep -v '^ *+' conftest.er1
>conftest.err
4591 cat conftest.err
>&5
4592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4593 (exit $ac_status); } >/dev
/null
; then
4594 if test -s conftest.err
; then
4595 ac_cpp_err
=$ac_c_preproc_warn_flag
4596 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
4603 if test -z "$ac_cpp_err"; then
4604 ac_header_preproc
=yes
4606 echo "$as_me: failed program was:" >&5
4607 sed 's/^/| /' conftest.
$ac_ext >&5
4609 ac_header_preproc
=no
4611 rm -f conftest.err conftest.
$ac_ext
4612 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4613 echo "${ECHO_T}$ac_header_preproc" >&6
4615 # So? What about this header?
4616 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4618 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4619 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4620 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4621 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4622 ac_header_preproc
=yes
4625 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4626 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4627 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4628 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4629 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4630 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4631 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4632 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4633 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4634 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4635 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4636 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4639 ## ------------------------------------------------------ ##
4640 ## Report this to the GNU Fortran Runtime Library lists. ##
4641 ## ------------------------------------------------------ ##
4644 sed "s/^/$as_me: WARNING: /" >&2
4647 echo "$as_me:$LINENO: checking for $ac_header" >&5
4648 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4649 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4650 echo $ECHO_N "(cached) $ECHO_C" >&6
4652 eval "$as_ac_Header=\$ac_header_preproc"
4654 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4655 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4658 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4659 cat >>confdefs.h
<<_ACEOF
4660 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4667 if test "${ac_cv_header_complex_h+set}" = set; then
4668 echo "$as_me:$LINENO: checking for complex.h" >&5
4669 echo $ECHO_N "checking for complex.h... $ECHO_C" >&6
4670 if test "${ac_cv_header_complex_h+set}" = set; then
4671 echo $ECHO_N "(cached) $ECHO_C" >&6
4673 echo "$as_me:$LINENO: result: $ac_cv_header_complex_h" >&5
4674 echo "${ECHO_T}$ac_cv_header_complex_h" >&6
4676 # Is the header compilable?
4677 echo "$as_me:$LINENO: checking complex.h usability" >&5
4678 echo $ECHO_N "checking complex.h usability... $ECHO_C" >&6
4679 cat >conftest.
$ac_ext <<_ACEOF
4682 cat confdefs.h
>>conftest.
$ac_ext
4683 cat >>conftest.
$ac_ext <<_ACEOF
4684 /* end confdefs.h. */
4685 $ac_includes_default
4686 #include <complex.h>
4688 rm -f conftest.
$ac_objext
4689 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4690 (eval $ac_compile) 2>conftest.er1
4692 grep -v '^ *+' conftest.er1
>conftest.err
4694 cat conftest.err
>&5
4695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4696 (exit $ac_status); } &&
4697 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4702 (exit $ac_status); }; } &&
4703 { ac_try
='test -s conftest.$ac_objext'
4704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4708 (exit $ac_status); }; }; then
4709 ac_header_compiler
=yes
4711 echo "$as_me: failed program was:" >&5
4712 sed 's/^/| /' conftest.
$ac_ext >&5
4714 ac_header_compiler
=no
4716 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4717 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4718 echo "${ECHO_T}$ac_header_compiler" >&6
4720 # Is the header present?
4721 echo "$as_me:$LINENO: checking complex.h presence" >&5
4722 echo $ECHO_N "checking complex.h presence... $ECHO_C" >&6
4723 cat >conftest.
$ac_ext <<_ACEOF
4726 cat confdefs.h
>>conftest.
$ac_ext
4727 cat >>conftest.
$ac_ext <<_ACEOF
4728 /* end confdefs.h. */
4729 #include <complex.h>
4731 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4732 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4734 grep -v '^ *+' conftest.er1
>conftest.err
4736 cat conftest.err
>&5
4737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4738 (exit $ac_status); } >/dev
/null
; then
4739 if test -s conftest.err
; then
4740 ac_cpp_err
=$ac_c_preproc_warn_flag
4741 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
4748 if test -z "$ac_cpp_err"; then
4749 ac_header_preproc
=yes
4751 echo "$as_me: failed program was:" >&5
4752 sed 's/^/| /' conftest.
$ac_ext >&5
4754 ac_header_preproc
=no
4756 rm -f conftest.err conftest.
$ac_ext
4757 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4758 echo "${ECHO_T}$ac_header_preproc" >&6
4760 # So? What about this header?
4761 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4763 { echo "$as_me:$LINENO: WARNING: complex.h: accepted by the compiler, rejected by the preprocessor!" >&5
4764 echo "$as_me: WARNING: complex.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
4765 { echo "$as_me:$LINENO: WARNING: complex.h: proceeding with the compiler's result" >&5
4766 echo "$as_me: WARNING: complex.h: proceeding with the compiler's result" >&2;}
4767 ac_header_preproc
=yes
4770 { echo "$as_me:$LINENO: WARNING: complex.h: present but cannot be compiled" >&5
4771 echo "$as_me: WARNING: complex.h: present but cannot be compiled" >&2;}
4772 { echo "$as_me:$LINENO: WARNING: complex.h: check for missing prerequisite headers?" >&5
4773 echo "$as_me: WARNING: complex.h: check for missing prerequisite headers?" >&2;}
4774 { echo "$as_me:$LINENO: WARNING: complex.h: see the Autoconf documentation" >&5
4775 echo "$as_me: WARNING: complex.h: see the Autoconf documentation" >&2;}
4776 { echo "$as_me:$LINENO: WARNING: complex.h: section \"Present But Cannot Be Compiled\"" >&5
4777 echo "$as_me: WARNING: complex.h: section \"Present But Cannot Be Compiled\"" >&2;}
4778 { echo "$as_me:$LINENO: WARNING: complex.h: proceeding with the preprocessor's result" >&5
4779 echo "$as_me: WARNING: complex.h: proceeding with the preprocessor's result" >&2;}
4780 { echo "$as_me:$LINENO: WARNING: complex.h: in the future, the compiler will take precedence" >&5
4781 echo "$as_me: WARNING: complex.h: in the future, the compiler will take precedence" >&2;}
4784 ## ------------------------------------------------------ ##
4785 ## Report this to the GNU Fortran Runtime Library lists. ##
4786 ## ------------------------------------------------------ ##
4789 sed "s/^/$as_me: WARNING: /" >&2
4792 echo "$as_me:$LINENO: checking for complex.h" >&5
4793 echo $ECHO_N "checking for complex.h... $ECHO_C" >&6
4794 if test "${ac_cv_header_complex_h+set}" = set; then
4795 echo $ECHO_N "(cached) $ECHO_C" >&6
4797 ac_cv_header_complex_h
=$ac_header_preproc
4799 echo "$as_me:$LINENO: result: $ac_cv_header_complex_h" >&5
4800 echo "${ECHO_T}$ac_cv_header_complex_h" >&6
4803 if test $ac_cv_header_complex_h = yes; then
4805 cat >>confdefs.h
<<\_ACEOF
4806 #define HAVE_COMPLEX_H 1
4812 # Check for complex math functions
4813 echo "$as_me:$LINENO: checking for csin in -lm" >&5
4814 echo $ECHO_N "checking for csin in -lm... $ECHO_C" >&6
4815 if test "${ac_cv_lib_m_csin+set}" = set; then
4816 echo $ECHO_N "(cached) $ECHO_C" >&6
4818 ac_check_lib_save_LIBS
=$LIBS
4820 cat >conftest.
$ac_ext <<_ACEOF
4823 cat confdefs.h
>>conftest.
$ac_ext
4824 cat >>conftest.
$ac_ext <<_ACEOF
4825 /* end confdefs.h. */
4827 /* Override any gcc2 internal prototype to avoid an error. */
4831 /* We use char because int might match the return type of a gcc2
4832 builtin and then its argument prototype would still apply. */
4842 rm -f conftest.
$ac_objext conftest
$ac_exeext
4843 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4844 (eval $ac_link) 2>conftest.er1
4846 grep -v '^ *+' conftest.er1
>conftest.err
4848 cat conftest.err
>&5
4849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4850 (exit $ac_status); } &&
4851 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4852 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4856 (exit $ac_status); }; } &&
4857 { ac_try
='test -s conftest$ac_exeext'
4858 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4862 (exit $ac_status); }; }; then
4863 ac_cv_lib_m_csin
=yes
4865 echo "$as_me: failed program was:" >&5
4866 sed 's/^/| /' conftest.
$ac_ext >&5
4870 rm -f conftest.err conftest.
$ac_objext \
4871 conftest
$ac_exeext conftest.
$ac_ext
4872 LIBS
=$ac_check_lib_save_LIBS
4874 echo "$as_me:$LINENO: result: $ac_cv_lib_m_csin" >&5
4875 echo "${ECHO_T}$ac_cv_lib_m_csin" >&6
4876 if test $ac_cv_lib_m_csin = yes; then
4883 # Check for complex math functions in -lmx also
4884 echo "$as_me:$LINENO: checking for csin in -lmx" >&5
4885 echo $ECHO_N "checking for csin in -lmx... $ECHO_C" >&6
4886 if test "${ac_cv_lib_mx_csin+set}" = set; then
4887 echo $ECHO_N "(cached) $ECHO_C" >&6
4889 ac_check_lib_save_LIBS
=$LIBS
4891 cat >conftest.
$ac_ext <<_ACEOF
4894 cat confdefs.h
>>conftest.
$ac_ext
4895 cat >>conftest.
$ac_ext <<_ACEOF
4896 /* end confdefs.h. */
4898 /* Override any gcc2 internal prototype to avoid an error. */
4902 /* We use char because int might match the return type of a gcc2
4903 builtin and then its argument prototype would still apply. */
4913 rm -f conftest.
$ac_objext conftest
$ac_exeext
4914 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4915 (eval $ac_link) 2>conftest.er1
4917 grep -v '^ *+' conftest.er1
>conftest.err
4919 cat conftest.err
>&5
4920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4921 (exit $ac_status); } &&
4922 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4923 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4927 (exit $ac_status); }; } &&
4928 { ac_try
='test -s conftest$ac_exeext'
4929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4933 (exit $ac_status); }; }; then
4934 ac_cv_lib_mx_csin
=yes
4936 echo "$as_me: failed program was:" >&5
4937 sed 's/^/| /' conftest.
$ac_ext >&5
4939 ac_cv_lib_mx_csin
=no
4941 rm -f conftest.err conftest.
$ac_objext \
4942 conftest
$ac_exeext conftest.
$ac_ext
4943 LIBS
=$ac_check_lib_save_LIBS
4945 echo "$as_me:$LINENO: result: $ac_cv_lib_mx_csin" >&5
4946 echo "${ECHO_T}$ac_cv_lib_mx_csin" >&6
4947 if test $ac_cv_lib_mx_csin = yes; then
4956 for ac_func
in getrusage
times
4958 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4959 echo "$as_me:$LINENO: checking for $ac_func" >&5
4960 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4961 if eval "test \"\${$as_ac_var+set}\" = set"; then
4962 echo $ECHO_N "(cached) $ECHO_C" >&6
4964 cat >conftest.
$ac_ext <<_ACEOF
4967 cat confdefs.h
>>conftest.
$ac_ext
4968 cat >>conftest.
$ac_ext <<_ACEOF
4969 /* end confdefs.h. */
4970 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
4971 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4972 #define $ac_func innocuous_$ac_func
4974 /* System header to define __stub macros and hopefully few prototypes,
4975 which can conflict with char $ac_func (); below.
4976 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4977 <limits.h> exists even on freestanding compilers. */
4980 # include <limits.h>
4982 # include <assert.h>
4987 /* Override any gcc2 internal prototype to avoid an error. */
4992 /* We use char because int might match the return type of a gcc2
4993 builtin and then its argument prototype would still apply. */
4995 /* The GNU C library defines this for functions which it implements
4996 to always fail with ENOSYS. Some functions are actually named
4997 something starting with __ and the normal name is an alias. */
4998 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5001 char (*f) () = $ac_func;
5010 return f != $ac_func;
5015 rm -f conftest.
$ac_objext conftest
$ac_exeext
5016 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5017 (eval $ac_link) 2>conftest.er1
5019 grep -v '^ *+' conftest.er1
>conftest.err
5021 cat conftest.err
>&5
5022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5023 (exit $ac_status); } &&
5024 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5025 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5029 (exit $ac_status); }; } &&
5030 { ac_try
='test -s conftest$ac_exeext'
5031 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5035 (exit $ac_status); }; }; then
5036 eval "$as_ac_var=yes"
5038 echo "$as_me: failed program was:" >&5
5039 sed 's/^/| /' conftest.
$ac_ext >&5
5041 eval "$as_ac_var=no"
5043 rm -f conftest.err conftest.
$ac_objext \
5044 conftest
$ac_exeext conftest.
$ac_ext
5046 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
5047 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
5048 if test `eval echo '${'$as_ac_var'}'` = yes; then
5049 cat >>confdefs.h
<<_ACEOF
5050 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5057 # Let the user override this
5058 # Check whether --enable-cmath or --disable-cmath was given.
5059 if test "${enable_cmath+set}" = set; then
5060 enableval
="$enable_cmath"
5061 need_math
=$enableval
5063 if test "$need_math" = "yes"; then
5064 { echo "$as_me:$LINENO: Including complex math functions in libgfor" >&5
5065 echo "$as_me: Including complex math functions in libgfor" >&6;};
5066 extra_math_obj
='$(gfor_cmath_obj)'
5069 MATH_OBJ
="$extra_math_obj"
5072 echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
5073 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
5074 if test "${ac_cv_header_time+set}" = set; then
5075 echo $ECHO_N "(cached) $ECHO_C" >&6
5077 cat >conftest.
$ac_ext <<_ACEOF
5080 cat confdefs.h
>>conftest.
$ac_ext
5081 cat >>conftest.
$ac_ext <<_ACEOF
5082 /* end confdefs.h. */
5083 #include <sys/types.h>
5084 #include <sys/time.h>
5090 if ((struct tm *) 0)
5096 rm -f conftest.
$ac_objext
5097 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5098 (eval $ac_compile) 2>conftest.er1
5100 grep -v '^ *+' conftest.er1
>conftest.err
5102 cat conftest.err
>&5
5103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5104 (exit $ac_status); } &&
5105 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5106 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5110 (exit $ac_status); }; } &&
5111 { ac_try
='test -s conftest.$ac_objext'
5112 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5116 (exit $ac_status); }; }; then
5117 ac_cv_header_time
=yes
5119 echo "$as_me: failed program was:" >&5
5120 sed 's/^/| /' conftest.
$ac_ext >&5
5122 ac_cv_header_time
=no
5124 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5126 echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
5127 echo "${ECHO_T}$ac_cv_header_time" >&6
5128 if test $ac_cv_header_time = yes; then
5130 cat >>confdefs.h
<<\_ACEOF
5131 #define TIME_WITH_SYS_TIME 1
5138 for ac_func
in gettimeofday
5140 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5141 echo "$as_me:$LINENO: checking for $ac_func" >&5
5142 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
5143 if eval "test \"\${$as_ac_var+set}\" = set"; then
5144 echo $ECHO_N "(cached) $ECHO_C" >&6
5146 cat >conftest.
$ac_ext <<_ACEOF
5149 cat confdefs.h
>>conftest.
$ac_ext
5150 cat >>conftest.
$ac_ext <<_ACEOF
5151 /* end confdefs.h. */
5152 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
5153 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5154 #define $ac_func innocuous_$ac_func
5156 /* System header to define __stub macros and hopefully few prototypes,
5157 which can conflict with char $ac_func (); below.
5158 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5159 <limits.h> exists even on freestanding compilers. */
5162 # include <limits.h>
5164 # include <assert.h>
5169 /* Override any gcc2 internal prototype to avoid an error. */
5174 /* We use char because int might match the return type of a gcc2
5175 builtin and then its argument prototype would still apply. */
5177 /* The GNU C library defines this for functions which it implements
5178 to always fail with ENOSYS. Some functions are actually named
5179 something starting with __ and the normal name is an alias. */
5180 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5183 char (*f) () = $ac_func;
5192 return f != $ac_func;
5197 rm -f conftest.
$ac_objext conftest
$ac_exeext
5198 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5199 (eval $ac_link) 2>conftest.er1
5201 grep -v '^ *+' conftest.er1
>conftest.err
5203 cat conftest.err
>&5
5204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5205 (exit $ac_status); } &&
5206 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5207 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5211 (exit $ac_status); }; } &&
5212 { ac_try
='test -s conftest$ac_exeext'
5213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5217 (exit $ac_status); }; }; then
5218 eval "$as_ac_var=yes"
5220 echo "$as_me: failed program was:" >&5
5221 sed 's/^/| /' conftest.
$ac_ext >&5
5223 eval "$as_ac_var=no"
5225 rm -f conftest.err conftest.
$ac_objext \
5226 conftest
$ac_exeext conftest.
$ac_ext
5228 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
5229 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
5230 if test `eval echo '${'$as_ac_var'}'` = yes; then
5231 cat >>confdefs.h
<<_ACEOF
5232 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5238 if test "$ac_cv_func_gettimeofday" = yes; then
5239 echo "$as_me:$LINENO: checking for struct timezone" >&5
5240 echo $ECHO_N "checking for struct timezone... $ECHO_C" >&6
5241 if test "${gfor_cv_struct_timezone+set}" = set; then
5242 echo $ECHO_N "(cached) $ECHO_C" >&6
5244 cat >conftest.
$ac_ext <<_ACEOF
5247 cat confdefs.h
>>conftest.
$ac_ext
5248 cat >>conftest.
$ac_ext <<_ACEOF
5249 /* end confdefs.h. */
5250 #include <sys/time.h>
5259 rm -f conftest.
$ac_objext
5260 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5261 (eval $ac_compile) 2>conftest.er1
5263 grep -v '^ *+' conftest.er1
>conftest.err
5265 cat conftest.err
>&5
5266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5267 (exit $ac_status); } &&
5268 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5269 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5273 (exit $ac_status); }; } &&
5274 { ac_try
='test -s conftest.$ac_objext'
5275 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5279 (exit $ac_status); }; }; then
5280 gfor_cv_struct_timezone
=yes
5282 echo "$as_me: failed program was:" >&5
5283 sed 's/^/| /' conftest.
$ac_ext >&5
5285 gfor_cv_struct_timezone
=no
5287 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5289 echo "$as_me:$LINENO: result: $gfor_cv_struct_timezone" >&5
5290 echo "${ECHO_T}$gfor_cv_struct_timezone" >&6
5291 if test $gfor_cv_struct_timezone = yes; then
5292 if test "$cross_compiling" = yes; then
5293 gfor_have_struct_timezone
=yes
5295 cat >conftest.
$ac_ext <<_ACEOF
5298 cat confdefs.h
>>conftest.
$ac_ext
5299 cat >>conftest.
$ac_ext <<_ACEOF
5300 /* end confdefs.h. */
5302 #ifdef TIME_WITH_SYS_TIME
5303 #include <sys/time.h>
5306 #ifdef HAVE_SYS_TIME_H
5307 #include <sys/time.h>
5314 struct timeval time;
5315 struct timezone dummy;
5316 if (gettimeofday (&time, &dummy))
5322 rm -f conftest
$ac_exeext
5323 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5324 (eval $ac_link) 2>&5
5326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5327 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
5328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5332 (exit $ac_status); }; }; then
5333 gfor_have_struct_timezone
=yes
5335 echo "$as_me: program exited with status $ac_status" >&5
5336 echo "$as_me: failed program was:" >&5
5337 sed 's/^/| /' conftest.
$ac_ext >&5
5340 gfor_have_struct_timezone
=no
5342 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
5344 if test $gfor_have_struct_timezone = yes; then
5346 cat >>confdefs.h
<<\_ACEOF
5347 #define HAVE_TIMEZONE 1
5353 echo "$as_me:$LINENO: checking whether gettimeofday can accept two arguments" >&5
5354 echo $ECHO_N "checking whether gettimeofday can accept two arguments... $ECHO_C" >&6
5355 if test "${emacs_cv_gettimeofday_two_arguments+set}" = set; then
5356 echo $ECHO_N "(cached) $ECHO_C" >&6
5358 cat >conftest.
$ac_ext <<_ACEOF
5361 cat confdefs.h
>>conftest.
$ac_ext
5362 cat >>conftest.
$ac_ext <<_ACEOF
5363 /* end confdefs.h. */
5365 #ifdef TIME_WITH_SYS_TIME
5366 #include <sys/time.h>
5369 #ifdef HAVE_SYS_TIME_H
5370 #include <sys/time.h>
5380 struct timeval time;
5381 #ifdef HAVE_TIMEZONE
5382 struct timezone dummy;
5383 #define DUMMY &dummy
5387 gettimeofday (&time, DUMMY);
5392 rm -f conftest.
$ac_objext conftest
$ac_exeext
5393 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5394 (eval $ac_link) 2>conftest.er1
5396 grep -v '^ *+' conftest.er1
>conftest.err
5398 cat conftest.err
>&5
5399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5400 (exit $ac_status); } &&
5401 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5402 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5406 (exit $ac_status); }; } &&
5407 { ac_try
='test -s conftest$ac_exeext'
5408 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5412 (exit $ac_status); }; }; then
5413 emacs_cv_gettimeofday_two_arguments
=yes
5415 echo "$as_me: failed program was:" >&5
5416 sed 's/^/| /' conftest.
$ac_ext >&5
5418 emacs_cv_gettimeofday_two_arguments
=no
5420 rm -f conftest.err conftest.
$ac_objext \
5421 conftest
$ac_exeext conftest.
$ac_ext
5423 echo "$as_me:$LINENO: result: $emacs_cv_gettimeofday_two_arguments" >&5
5424 echo "${ECHO_T}$emacs_cv_gettimeofday_two_arguments" >&6
5425 if test $emacs_cv_gettimeofday_two_arguments = no
; then
5427 cat >>confdefs.h
<<\_ACEOF
5428 #define GETTIMEOFDAY_ONE_ARGUMENT 1
5436 if test "$RANLIB"; then :
5439 if test -n "$ac_tool_prefix"; then
5440 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5441 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
5442 echo "$as_me:$LINENO: checking for $ac_word" >&5
5443 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5444 if test "${ac_cv_prog_RANLIB+set}" = set; then
5445 echo $ECHO_N "(cached) $ECHO_C" >&6
5447 if test -n "$RANLIB"; then
5448 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
5450 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5454 test -z "$as_dir" && as_dir
=.
5455 for ac_exec_ext
in '' $ac_executable_extensions; do
5456 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5457 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
5458 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5466 RANLIB
=$ac_cv_prog_RANLIB
5467 if test -n "$RANLIB"; then
5468 echo "$as_me:$LINENO: result: $RANLIB" >&5
5469 echo "${ECHO_T}$RANLIB" >&6
5471 echo "$as_me:$LINENO: result: no" >&5
5472 echo "${ECHO_T}no" >&6
5476 if test -z "$ac_cv_prog_RANLIB"; then
5477 ac_ct_RANLIB
=$RANLIB
5478 # Extract the first word of "ranlib", so it can be a program name with args.
5479 set dummy ranlib
; ac_word
=$2
5480 echo "$as_me:$LINENO: checking for $ac_word" >&5
5481 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5482 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5483 echo $ECHO_N "(cached) $ECHO_C" >&6
5485 if test -n "$ac_ct_RANLIB"; then
5486 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
5488 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5492 test -z "$as_dir" && as_dir
=.
5493 for ac_exec_ext
in '' $ac_executable_extensions; do
5494 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5495 ac_cv_prog_ac_ct_RANLIB
="ranlib"
5496 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5502 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
5505 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
5506 if test -n "$ac_ct_RANLIB"; then
5507 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
5508 echo "${ECHO_T}$ac_ct_RANLIB" >&6
5510 echo "$as_me:$LINENO: result: no" >&5
5511 echo "${ECHO_T}no" >&6
5514 RANLIB
=$ac_ct_RANLIB
5516 RANLIB
="$ac_cv_prog_RANLIB"
5521 # Check whether --enable-shared or --disable-shared was given.
5522 if test "${enable_shared+set}" = set; then
5523 enableval
="$enable_shared"
5524 p
=${PACKAGE-default}
5526 yes) enable_shared
=yes ;;
5527 no
) enable_shared
=no
;;
5530 # Look at the argument we got. We use all the common list separators.
5531 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:,"
5532 for pkg
in $enableval; do
5533 if test "X$pkg" = "X$p"; then
5543 # Check whether --enable-static or --disable-static was given.
5544 if test "${enable_static+set}" = set; then
5545 enableval
="$enable_static"
5546 p
=${PACKAGE-default}
5548 yes) enable_static
=yes ;;
5549 no
) enable_static
=no
;;
5552 # Look at the argument we got. We use all the common list separators.
5553 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:,"
5554 for pkg
in $enableval; do
5555 if test "X$pkg" = "X$p"; then
5565 # Check whether --enable-fast-install or --disable-fast-install was given.
5566 if test "${enable_fast_install+set}" = set; then
5567 enableval
="$enable_fast_install"
5568 p
=${PACKAGE-default}
5570 yes) enable_fast_install
=yes ;;
5571 no
) enable_fast_install
=no
;;
5573 enable_fast_install
=no
5574 # Look at the argument we got. We use all the common list separators.
5575 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:,"
5576 for pkg
in $enableval; do
5577 if test "X$pkg" = "X$p"; then
5578 enable_fast_install
=yes
5585 enable_fast_install
=yes
5587 # Make sure we can run config.sub.
5588 $ac_config_sub sun4
>/dev
/null
2>&1 ||
5589 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
5590 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
5591 { (exit 1); exit 1; }; }
5593 echo "$as_me:$LINENO: checking build system type" >&5
5594 echo $ECHO_N "checking build system type... $ECHO_C" >&6
5595 if test "${ac_cv_build+set}" = set; then
5596 echo $ECHO_N "(cached) $ECHO_C" >&6
5598 ac_cv_build_alias
=$build_alias
5599 test -z "$ac_cv_build_alias" &&
5600 ac_cv_build_alias
=`$ac_config_guess`
5601 test -z "$ac_cv_build_alias" &&
5602 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
5603 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
5604 { (exit 1); exit 1; }; }
5605 ac_cv_build
=`$ac_config_sub $ac_cv_build_alias` ||
5606 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
5607 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
5608 { (exit 1); exit 1; }; }
5611 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
5612 echo "${ECHO_T}$ac_cv_build" >&6
5614 build_cpu
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
5615 build_vendor
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
5616 build_os
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
5619 echo "$as_me:$LINENO: checking host system type" >&5
5620 echo $ECHO_N "checking host system type... $ECHO_C" >&6
5621 if test "${ac_cv_host+set}" = set; then
5622 echo $ECHO_N "(cached) $ECHO_C" >&6
5624 ac_cv_host_alias
=$host_alias
5625 test -z "$ac_cv_host_alias" &&
5626 ac_cv_host_alias
=$ac_cv_build_alias
5627 ac_cv_host
=`$ac_config_sub $ac_cv_host_alias` ||
5628 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
5629 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
5630 { (exit 1); exit 1; }; }
5633 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
5634 echo "${ECHO_T}$ac_cv_host" >&6
5636 host_cpu
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
5637 host_vendor
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
5638 host_os
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
5642 # Check whether --with-gnu-ld or --without-gnu-ld was given.
5643 if test "${with_gnu_ld+set}" = set; then
5644 withval
="$with_gnu_ld"
5645 test "$withval" = no || with_gnu_ld
=yes
5650 if test "$GCC" = yes; then
5651 # Check if gcc -print-prog-name=ld gives a path.
5652 echo "$as_me:$LINENO: checking for ld used by GCC" >&5
5653 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
5656 # gcc leaves a trailing carriage return which upsets mingw
5657 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5659 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
5662 # Accept absolute paths.
5663 [\\/]* |
[A-Za-z
]:[\\/]*)
5664 re_direlt
='/[^/][^/]*/\.\./'
5665 # Canonicalize the path of ld
5666 ac_prog
=`echo $ac_prog| sed 's%\\\\%/%g'`
5667 while echo $ac_prog |
grep "$re_direlt" > /dev
/null
2>&1; do
5668 ac_prog
=`echo $ac_prog| sed "s%$re_direlt%/%"`
5670 test -z "$LD" && LD
="$ac_prog"
5673 # If it fails, then pretend we aren't using GCC.
5677 # If it is relative, then search for the first ld in PATH.
5681 elif test "$with_gnu_ld" = yes; then
5682 echo "$as_me:$LINENO: checking for GNU ld" >&5
5683 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
5685 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
5686 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
5688 if test "${lt_cv_path_LD+set}" = set; then
5689 echo $ECHO_N "(cached) $ECHO_C" >&6
5691 if test -z "$LD"; then
5692 IFS
="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
5693 for ac_dir
in $PATH; do
5694 test -z "$ac_dir" && ac_dir
=.
5695 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
5696 lt_cv_path_LD
="$ac_dir/$ac_prog"
5697 # Check to see if the program is GNU ld. I'd rather use --version,
5698 # but apparently some GNU ld's only accept -v.
5699 # Break only if it was the GNU/non-GNU ld that we prefer.
5700 if "$lt_cv_path_LD" -v 2>&1 < /dev
/null |
egrep '(GNU|with BFD)' > /dev
/null
; then
5701 test "$with_gnu_ld" != no
&& break
5703 test "$with_gnu_ld" != yes && break
5709 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
5714 if test -n "$LD"; then
5715 echo "$as_me:$LINENO: result: $LD" >&5
5716 echo "${ECHO_T}$LD" >&6
5718 echo "$as_me:$LINENO: result: no" >&5
5719 echo "${ECHO_T}no" >&6
5721 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
5722 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
5723 { (exit 1); exit 1; }; }
5724 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
5725 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
5726 if test "${lt_cv_prog_gnu_ld+set}" = set; then
5727 echo $ECHO_N "(cached) $ECHO_C" >&6
5729 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
5730 if $LD -v 2>&1 </dev
/null |
egrep '(GNU|with BFD)' 1>&5; then
5731 lt_cv_prog_gnu_ld
=yes
5733 lt_cv_prog_gnu_ld
=no
5736 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
5737 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
5738 with_gnu_ld
=$lt_cv_prog_gnu_ld
5741 echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
5742 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
5743 if test "${lt_cv_ld_reload_flag+set}" = set; then
5744 echo $ECHO_N "(cached) $ECHO_C" >&6
5746 lt_cv_ld_reload_flag
='-r'
5748 echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
5749 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
5750 reload_flag
=$lt_cv_ld_reload_flag
5751 test -n "$reload_flag" && reload_flag
=" $reload_flag"
5753 echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
5754 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
5755 if test "${lt_cv_path_NM+set}" = set; then
5756 echo $ECHO_N "(cached) $ECHO_C" >&6
5758 if test -n "$NM"; then
5759 # Let the user override the test.
5762 IFS
="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
5763 for ac_dir
in $PATH /usr
/ccs
/bin
/usr
/ucb
/bin
; do
5764 test -z "$ac_dir" && ac_dir
=.
5765 tmp_nm
=$ac_dir/${ac_tool_prefix}nm
5766 if test -f $tmp_nm ||
test -f $tmp_nm$ac_exeext ; then
5767 # Check to see if the nm accepts a BSD-compat flag.
5768 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5769 # nm: unknown option "B" ignored
5770 # Tru64's nm complains that /dev/null is an invalid object file
5771 if ($tmp_nm -B /dev
/null
2>&1 |
sed '1q'; exit 0) |
egrep '(/dev/null|Invalid file or object type)' >/dev
/null
; then
5772 lt_cv_path_NM
="$tmp_nm -B"
5774 elif ($tmp_nm -p /dev
/null
2>&1 |
sed '1q'; exit 0) |
egrep /dev
/null
>/dev
/null
; then
5775 lt_cv_path_NM
="$tmp_nm -p"
5778 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5779 continue # so that we can try to find one that supports BSD flags
5784 test -z "$lt_cv_path_NM" && lt_cv_path_NM
=nm
5789 echo "$as_me:$LINENO: result: $NM" >&5
5790 echo "${ECHO_T}$NM" >&6
5792 echo "$as_me:$LINENO: checking whether ln -s works" >&5
5793 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
5795 if test "$LN_S" = "ln -s"; then
5796 echo "$as_me:$LINENO: result: yes" >&5
5797 echo "${ECHO_T}yes" >&6
5799 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
5800 echo "${ECHO_T}no, using $LN_S" >&6
5803 echo "$as_me:$LINENO: checking how to recognise dependant libraries" >&5
5804 echo $ECHO_N "checking how to recognise dependant libraries... $ECHO_C" >&6
5805 if test "${lt_cv_deplibs_check_method+set}" = set; then
5806 echo $ECHO_N "(cached) $ECHO_C" >&6
5808 lt_cv_file_magic_cmd
='$MAGIC_CMD'
5809 lt_cv_file_magic_test_file
=
5810 lt_cv_deplibs_check_method
='unknown'
5811 # Need to set the preceding variable on all platforms that support
5812 # interlibrary dependencies.
5813 # 'none' -- dependencies not supported.
5814 # `unknown' -- same as none, but documents that we really don't know.
5815 # 'pass_all' -- all dependencies passed with no checks.
5816 # 'test_compile' -- check by making test program.
5817 # 'file_magic [regex]' -- check by looking for files in library path
5818 # which responds to the $file_magic_cmd with a given egrep regex.
5819 # If you have `file' or equivalent on your system and you're not sure
5820 # whether `pass_all' will *always* work, you probably want this one.
5824 lt_cv_deplibs_check_method
=pass_all
5828 lt_cv_deplibs_check_method
=pass_all
5832 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5833 lt_cv_file_magic_cmd
='/usr/bin/file -L'
5834 lt_cv_file_magic_test_file
=/shlib
/libc.so
5837 cygwin
* | mingw
* |pw32
*)
5838 lt_cv_deplibs_check_method
='file_magic file format pei*-i386(.*architecture: i386)?'
5839 lt_cv_file_magic_cmd
='$OBJDUMP -f'
5842 darwin
* | rhapsody
*)
5843 # this will be overwritten by pass_all, but leave it in just in case
5844 lt_cv_deplibs_check_method
='file_magic Mach-O dynamically linked shared library'
5845 lt_cv_file_magic_cmd
='/usr/bin/file -L'
5847 rhapsody
* | darwin1.012
)
5848 lt_cv_file_magic_test_file
='/System/Library/Frameworks/System.framework/System'
5851 lt_cv_file_magic_test_file
='/usr/lib/libSystem.dylib'
5854 lt_cv_deplibs_check_method
=pass_all
5857 freebsd
* | kfreebsd
*-gnu)
5858 if echo __ELF__ |
$CC -E - |
grep __ELF__
> /dev
/null
; then
5861 # Not sure whether the presence of OpenBSD here was a mistake.
5862 # Let's accept both of them until this is cleared up.
5863 lt_cv_deplibs_check_method
='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
5864 lt_cv_file_magic_cmd
=/usr
/bin
/file
5865 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so.*`
5869 lt_cv_deplibs_check_method
=pass_all
5874 lt_cv_deplibs_check_method
=pass_all
5880 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
5881 lt_cv_file_magic_cmd
=/usr
/bin
/file
5882 lt_cv_file_magic_test_file
=/usr
/lib
/libc.sl
5885 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5886 lt_cv_file_magic_cmd
=/usr
/bin
/file
5887 lt_cv_file_magic_test_file
=/usr
/lib
/hpux32
/libc.so
5895 # this will be overridden with pass_all, but let us keep it just in case
5896 lt_cv_deplibs_check_method
="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
5900 *-32|
*"-32 ") libmagic
=32-bit;;
5901 *-n32|
*"-n32 ") libmagic
=N32
;;
5902 *-64|
*"-64 ") libmagic
=64-bit;;
5903 *) libmagic
=never-match
;;
5905 # this will be overridden with pass_all, but let us keep it just in case
5906 lt_cv_deplibs_check_method
="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
5909 lt_cv_file_magic_test_file
=`echo /lib${libsuff}/libc.so*`
5910 lt_cv_deplibs_check_method
=pass_all
5913 # This must be Linux ELF.
5916 alpha
* | mips
* | hppa
* | i
*86 | powerpc
* | sparc
* | ia64
* | sh
* )
5917 lt_cv_deplibs_check_method
=pass_all
;;
5919 # glibc up to 2.1.1 does not perform some relocations on ARM
5920 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;;
5922 lt_cv_file_magic_test_file
=`echo /lib/libc.so* /lib/libc-*.so`
5925 netbsd
* | knetbsd
*-gnu)
5926 if echo __ELF__ |
$CC -E - |
grep __ELF__
> /dev
/null
; then
5927 lt_cv_deplibs_check_method
='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'
5929 lt_cv_deplibs_check_method
='match_pattern /lib[^/\.]+\.so$'
5934 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5935 lt_cv_file_magic_cmd
=/usr
/bin
/file
5936 lt_cv_file_magic_test_file
=/usr
/lib
/libnls.so
5939 osf3
* | osf4
* | osf5
*)
5940 # this will be overridden with pass_all, but let us keep it just in case
5941 lt_cv_deplibs_check_method
='file_magic COFF format alpha shared library'
5942 lt_cv_file_magic_test_file
=/shlib
/libc.so
5943 lt_cv_deplibs_check_method
=pass_all
5947 lt_cv_deplibs_check_method
=pass_all
5951 lt_cv_deplibs_check_method
=pass_all
5952 lt_cv_file_magic_test_file
=/lib
/libc.so
5955 sysv5uw
[78]* | sysv4
*uw2
*)
5956 lt_cv_deplibs_check_method
=pass_all
5959 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
5960 case $host_vendor in
5962 lt_cv_deplibs_check_method
=pass_all
5965 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]'
5966 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so*`
5973 echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
5974 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
5975 file_magic_cmd
=$lt_cv_file_magic_cmd
5976 deplibs_check_method
=$lt_cv_deplibs_check_method
5981 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
5983 # Only perform the check for file, if the check method requires it
5984 case $deplibs_check_method in
5986 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
5987 echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
5988 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
5989 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
5990 echo $ECHO_N "(cached) $ECHO_C" >&6
5994 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
5997 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a dos path.
6000 ac_save_MAGIC_CMD
="$MAGIC_CMD"
6001 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
6002 ac_dummy
="/usr/bin:$PATH"
6003 for ac_dir
in $ac_dummy; do
6004 test -z "$ac_dir" && ac_dir
=.
6005 if test -f $ac_dir/${ac_tool_prefix}file; then
6006 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
6007 if test -n "$file_magic_test_file"; then
6008 case $deplibs_check_method in
6010 file_magic_regex
="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
6011 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
6012 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
6013 egrep "$file_magic_regex" > /dev
/null
; then
6018 *** Warning: the command libtool uses to detect shared libraries,
6019 *** $file_magic_cmd, produces output that libtool cannot recognize.
6020 *** The result is that libtool may fail to recognize shared libraries
6021 *** as such. This will affect the creation of libtool libraries that
6022 *** depend on shared libraries, but programs linked with such libtool
6023 *** libraries will work regardless of this problem. Nevertheless, you
6024 *** may want to report the problem to your system manager and/or to
6025 *** bug-libtool@gnu.org
6035 MAGIC_CMD
="$ac_save_MAGIC_CMD"
6040 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
6041 if test -n "$MAGIC_CMD"; then
6042 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
6043 echo "${ECHO_T}$MAGIC_CMD" >&6
6045 echo "$as_me:$LINENO: result: no" >&5
6046 echo "${ECHO_T}no" >&6
6049 if test -z "$lt_cv_path_MAGIC_CMD"; then
6050 if test -n "$ac_tool_prefix"; then
6051 echo "$as_me:$LINENO: checking for file" >&5
6052 echo $ECHO_N "checking for file... $ECHO_C" >&6
6053 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
6054 echo $ECHO_N "(cached) $ECHO_C" >&6
6058 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
6061 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a dos path.
6064 ac_save_MAGIC_CMD
="$MAGIC_CMD"
6065 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
6066 ac_dummy
="/usr/bin:$PATH"
6067 for ac_dir
in $ac_dummy; do
6068 test -z "$ac_dir" && ac_dir
=.
6069 if test -f $ac_dir/file; then
6070 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
6071 if test -n "$file_magic_test_file"; then
6072 case $deplibs_check_method in
6074 file_magic_regex
="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
6075 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
6076 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
6077 egrep "$file_magic_regex" > /dev
/null
; then
6082 *** Warning: the command libtool uses to detect shared libraries,
6083 *** $file_magic_cmd, produces output that libtool cannot recognize.
6084 *** The result is that libtool may fail to recognize shared libraries
6085 *** as such. This will affect the creation of libtool libraries that
6086 *** depend on shared libraries, but programs linked with such libtool
6087 *** libraries will work regardless of this problem. Nevertheless, you
6088 *** may want to report the problem to your system manager and/or to
6089 *** bug-libtool@gnu.org
6099 MAGIC_CMD
="$ac_save_MAGIC_CMD"
6104 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
6105 if test -n "$MAGIC_CMD"; then
6106 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
6107 echo "${ECHO_T}$MAGIC_CMD" >&6
6109 echo "$as_me:$LINENO: result: no" >&5
6110 echo "${ECHO_T}no" >&6
6122 if test -n "$ac_tool_prefix"; then
6123 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6124 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
6125 echo "$as_me:$LINENO: checking for $ac_word" >&5
6126 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6127 if test "${ac_cv_prog_RANLIB+set}" = set; then
6128 echo $ECHO_N "(cached) $ECHO_C" >&6
6130 if test -n "$RANLIB"; then
6131 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
6133 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6137 test -z "$as_dir" && as_dir
=.
6138 for ac_exec_ext
in '' $ac_executable_extensions; do
6139 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6140 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
6141 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6149 RANLIB
=$ac_cv_prog_RANLIB
6150 if test -n "$RANLIB"; then
6151 echo "$as_me:$LINENO: result: $RANLIB" >&5
6152 echo "${ECHO_T}$RANLIB" >&6
6154 echo "$as_me:$LINENO: result: no" >&5
6155 echo "${ECHO_T}no" >&6
6159 if test -z "$ac_cv_prog_RANLIB"; then
6160 ac_ct_RANLIB
=$RANLIB
6161 # Extract the first word of "ranlib", so it can be a program name with args.
6162 set dummy ranlib
; ac_word
=$2
6163 echo "$as_me:$LINENO: checking for $ac_word" >&5
6164 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6165 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
6166 echo $ECHO_N "(cached) $ECHO_C" >&6
6168 if test -n "$ac_ct_RANLIB"; then
6169 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
6171 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6175 test -z "$as_dir" && as_dir
=.
6176 for ac_exec_ext
in '' $ac_executable_extensions; do
6177 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6178 ac_cv_prog_ac_ct_RANLIB
="ranlib"
6179 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6185 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
6188 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
6189 if test -n "$ac_ct_RANLIB"; then
6190 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
6191 echo "${ECHO_T}$ac_ct_RANLIB" >&6
6193 echo "$as_me:$LINENO: result: no" >&5
6194 echo "${ECHO_T}no" >&6
6197 RANLIB
=$ac_ct_RANLIB
6199 RANLIB
="$ac_cv_prog_RANLIB"
6202 if test -n "$ac_tool_prefix"; then
6203 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6204 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
6205 echo "$as_me:$LINENO: checking for $ac_word" >&5
6206 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6207 if test "${ac_cv_prog_STRIP+set}" = set; then
6208 echo $ECHO_N "(cached) $ECHO_C" >&6
6210 if test -n "$STRIP"; then
6211 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
6213 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6217 test -z "$as_dir" && as_dir
=.
6218 for ac_exec_ext
in '' $ac_executable_extensions; do
6219 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6220 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
6221 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6229 STRIP
=$ac_cv_prog_STRIP
6230 if test -n "$STRIP"; then
6231 echo "$as_me:$LINENO: result: $STRIP" >&5
6232 echo "${ECHO_T}$STRIP" >&6
6234 echo "$as_me:$LINENO: result: no" >&5
6235 echo "${ECHO_T}no" >&6
6239 if test -z "$ac_cv_prog_STRIP"; then
6241 # Extract the first word of "strip", so it can be a program name with args.
6242 set dummy strip
; ac_word
=$2
6243 echo "$as_me:$LINENO: checking for $ac_word" >&5
6244 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6245 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
6246 echo $ECHO_N "(cached) $ECHO_C" >&6
6248 if test -n "$ac_ct_STRIP"; then
6249 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
6251 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6255 test -z "$as_dir" && as_dir
=.
6256 for ac_exec_ext
in '' $ac_executable_extensions; do
6257 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6258 ac_cv_prog_ac_ct_STRIP
="strip"
6259 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6265 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
6268 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
6269 if test -n "$ac_ct_STRIP"; then
6270 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
6271 echo "${ECHO_T}$ac_ct_STRIP" >&6
6273 echo "$as_me:$LINENO: result: no" >&5
6274 echo "${ECHO_T}no" >&6
6279 STRIP
="$ac_cv_prog_STRIP"
6283 # Check for any special flags to pass to ltconfig.
6284 libtool_flags
="--cache-file=$cache_file"
6285 test "$enable_shared" = no
&& libtool_flags
="$libtool_flags --disable-shared"
6286 test "$enable_static" = no
&& libtool_flags
="$libtool_flags --disable-static"
6287 test "$enable_fast_install" = no
&& libtool_flags
="$libtool_flags --disable-fast-install"
6288 test "$GCC" = yes && libtool_flags
="$libtool_flags --with-gcc"
6289 test "$lt_cv_prog_gnu_ld" = yes && libtool_flags
="$libtool_flags --with-gnu-ld"
6292 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
6293 if test "${enable_libtool_lock+set}" = set; then
6294 enableval
="$enable_libtool_lock"
6297 test "x$enable_libtool_lock" = xno
&& libtool_flags
="$libtool_flags --disable-lock"
6298 test x
"$silent" = xyes
&& libtool_flags
="$libtool_flags --silent"
6301 # Check whether --with-pic or --without-pic was given.
6302 if test "${with_pic+set}" = set; then
6308 test x
"$pic_mode" = xyes
&& libtool_flags
="$libtool_flags --prefer-pic"
6309 test x
"$pic_mode" = xno
&& libtool_flags
="$libtool_flags --prefer-non-pic"
6311 # Some flags need to be propagated to the compiler or linker for good
6315 # Find out which ABI we are using.
6316 echo '#line 6316 "configure"' > conftest.
$ac_ext
6317 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6318 (eval $ac_compile) 2>&5
6320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6321 (exit $ac_status); }; then
6322 if test "$lt_cv_prog_gnu_ld" = yes; then
6323 case `/usr/bin/file conftest.$ac_objext` in
6325 LD
="${LD-ld} -melf32bsmip"
6328 LD
="${LD-ld} -melf32bmipn32"
6331 LD
="${LD-ld} -melf64bmip"
6335 case `/usr/bin/file conftest.$ac_objext` in
6352 # Find out which ABI we are using.
6353 echo 'int i;' > conftest.
$ac_ext
6354 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6355 (eval $ac_compile) 2>&5
6357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6358 (exit $ac_status); }; then
6359 case "`/usr/bin/file conftest.o`" in
6371 x86_64-
*linux
*|ppc
*-*linux
*|powerpc
*-*linux
*|s390
*-*linux
*|sparc
*-*linux
*)
6372 # Find out which ABI we are using.
6373 echo 'int i;' > conftest.
$ac_ext
6374 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6375 (eval $ac_compile) 2>&5
6377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6378 (exit $ac_status); }; then
6379 case "`/usr/bin/file conftest.o`" in
6383 LD
="${LD-ld} -m elf_i386"
6385 ppc64-
*linux
*|powerpc64-
*linux
*)
6386 LD
="${LD-ld} -m elf32ppclinux"
6389 LD
="${LD-ld} -m elf_s390"
6392 LD
="${LD-ld} -m elf32_sparc"
6399 LD
="${LD-ld} -m elf_x86_64"
6401 ppc
*-*linux
*|powerpc
*-*linux
*)
6402 LD
="${LD-ld} -m elf64ppc"
6405 LD
="${LD-ld} -m elf64_s390"
6408 LD
="${LD-ld} -m elf64_sparc"
6418 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6419 SAVE_CFLAGS
="$CFLAGS"
6420 CFLAGS
="$CFLAGS -belf"
6421 echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
6422 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
6423 if test "${lt_cv_cc_needs_belf+set}" = set; then
6424 echo $ECHO_N "(cached) $ECHO_C" >&6
6429 ac_cpp
='$CPP $CPPFLAGS'
6430 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6431 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6432 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6434 cat >conftest.
$ac_ext <<_ACEOF
6437 cat confdefs.h
>>conftest.
$ac_ext
6438 cat >>conftest.
$ac_ext <<_ACEOF
6439 /* end confdefs.h. */
6449 rm -f conftest.
$ac_objext conftest
$ac_exeext
6450 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6451 (eval $ac_link) 2>conftest.er1
6453 grep -v '^ *+' conftest.er1
>conftest.err
6455 cat conftest.err
>&5
6456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6457 (exit $ac_status); } &&
6458 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6463 (exit $ac_status); }; } &&
6464 { ac_try
='test -s conftest$ac_exeext'
6465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6469 (exit $ac_status); }; }; then
6470 lt_cv_cc_needs_belf
=yes
6472 echo "$as_me: failed program was:" >&5
6473 sed 's/^/| /' conftest.
$ac_ext >&5
6475 lt_cv_cc_needs_belf
=no
6477 rm -f conftest.err conftest.
$ac_objext \
6478 conftest
$ac_exeext conftest.
$ac_ext
6480 ac_cpp
='$CPP $CPPFLAGS'
6481 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6482 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6483 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6486 echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
6487 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
6488 if test x
"$lt_cv_cc_needs_belf" != x
"yes"; then
6489 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6490 CFLAGS
="$SAVE_CFLAGS"
6498 # Save cache, so that ltconfig can load it
6499 cat >confcache
<<\_ACEOF
6500 # This file is a shell script that caches the results of configure
6501 # tests run on this system so they can be shared between configure
6502 # scripts and configure runs, see configure's option --config-cache.
6503 # It is not useful on other systems. If it contains results you don't
6504 # want to keep, you may remove or edit it.
6506 # config.status only pays attention to the cache file if you give it
6507 # the --recheck option to rerun configure.
6509 # `ac_cv_env_foo' variables (set or unset) will be overridden when
6510 # loading this file, other *unset* `ac_cv_foo' will be assigned the
6515 # The following way of writing the cache mishandles newlines in values,
6516 # but we know of no workaround that is simple, portable, and efficient.
6517 # So, don't put newlines in cache variables' values.
6518 # Ultrix sh set writes to stderr and can't be redirected directly,
6519 # and sets the high bit in the cache file unless we assign to the vars.
6522 case `(ac_space=' '; set | grep ac_space) 2>&1` in
6524 # `set' does not quote correctly, so add quotes (double-quote
6525 # substitution turns \\\\ into \\, and sed turns \\ into \).
6528 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
6531 # `set' quotes correctly as required by POSIX, so do not add quotes.
6533 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
6540 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
6542 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
6544 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
6545 if test -w $cache_file; then
6546 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
6547 cat confcache
>$cache_file
6549 echo "not updating unwritable cache $cache_file"
6554 # Actually configure libtool. ac_aux_dir is where install-sh is found.
6555 AR
="$AR" LTCC
="$CC" CC
="$CC" CFLAGS
="$CFLAGS" CPPFLAGS
="$CPPFLAGS" \
6556 MAGIC_CMD
="$MAGIC_CMD" LD
="$LD" LDFLAGS
="$LDFLAGS" LIBS
="$LIBS" \
6557 LN_S
="$LN_S" NM
="$NM" RANLIB
="$RANLIB" STRIP
="$STRIP" \
6558 AS
="$AS" DLLTOOL
="$DLLTOOL" OBJDUMP
="$OBJDUMP" \
6559 objext
="$OBJEXT" exeext
="$EXEEXT" reload_flag
="$reload_flag" \
6560 deplibs_check_method
="$deplibs_check_method" file_magic_cmd
="$file_magic_cmd" \
6561 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig
--no-reexec \
6562 $libtool_flags --no-verify --build="$build" $ac_aux_dir/ltmain.sh
$host \
6563 ||
{ { echo "$as_me:$LINENO: error: libtool configure failed" >&5
6564 echo "$as_me: error: libtool configure failed" >&2;}
6565 { (exit 1); exit 1; }; }
6567 # Reload cache, that may have been modified by ltconfig
6568 if test -r "$cache_file"; then
6569 # Some versions of bash will fail to source /dev/null (special
6570 # files actually), so we avoid doing that.
6571 if test -f "$cache_file"; then
6572 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
6573 echo "$as_me: loading cache $cache_file" >&6;}
6575 [\\/]* | ?
:[\\/]* ) .
$cache_file;;
6576 *) . .
/$cache_file;;
6580 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
6581 echo "$as_me: creating cache $cache_file" >&6;}
6586 # This can be used to rebuild libtool when needed
6587 LIBTOOL_DEPS
="$ac_aux_dir/ltconfig $ac_aux_dir/ltmain.sh $ac_aux_dir/ltcf-c.sh"
6589 # Always use our own libtool.
6590 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
6592 # Redirect the config.log output again, so that the ltconfig log is not
6593 # clobbered by the next message.
6594 exec 5>>.
/config.log
6602 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
6603 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
6604 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
6605 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
6606 echo $ECHO_N "(cached) $ECHO_C" >&6
6608 cat >conftest.
make <<\_ACEOF
6610 @
echo 'ac_maketemp="$(MAKE)"'
6612 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
6613 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
6614 if test -n "$ac_maketemp"; then
6615 eval ac_cv_prog_make_
${ac_make}_set
=yes
6617 eval ac_cv_prog_make_
${ac_make}_set
=no
6621 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
6622 echo "$as_me:$LINENO: result: yes" >&5
6623 echo "${ECHO_T}yes" >&6
6626 echo "$as_me:$LINENO: result: no" >&5
6627 echo "${ECHO_T}no" >&6
6628 SET_MAKE
="MAKE=${MAKE-make}"
6631 # Find a good install program. We prefer a C program (faster),
6632 # so one script is as good as another. But avoid the broken or
6633 # incompatible versions:
6634 # SysV /etc/install, /usr/sbin/install
6635 # SunOS /usr/etc/install
6636 # IRIX /sbin/install
6638 # AmigaOS /C/install, which installs bootblocks on floppy discs
6639 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
6640 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
6641 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
6642 # OS/2's system install, which has a completely different semantic
6643 # ./install, which can be erroneously created by make from ./install.sh.
6644 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
6645 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
6646 if test -z "$INSTALL"; then
6647 if test "${ac_cv_path_install+set}" = set; then
6648 echo $ECHO_N "(cached) $ECHO_C" >&6
6650 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6654 test -z "$as_dir" && as_dir
=.
6655 # Account for people who put trailing slashes in PATH elements.
6657 .
/ | .
// |
/cC
/* | \
6658 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
6659 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
6662 # OSF1 and SCO ODT 3.0 have their own names for install.
6663 # Don't use installbsd from OSF since it installs stuff as root
6665 for ac_prog
in ginstall scoinst
install; do
6666 for ac_exec_ext
in '' $ac_executable_extensions; do
6667 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
6668 if test $ac_prog = install &&
6669 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
6670 # AIX install. It has an incompatible calling convention.
6672 elif test $ac_prog = install &&
6673 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
6674 # program-specific install script used by HP pwplus--don't use.
6677 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
6689 if test "${ac_cv_path_install+set}" = set; then
6690 INSTALL
=$ac_cv_path_install
6692 # As a last resort, use the slow shell script. We don't cache a
6693 # path for INSTALL within a source directory, because that will
6694 # break other packages using the cache if that directory is
6695 # removed, or if the path is relative.
6696 INSTALL
=$ac_install_sh
6699 echo "$as_me:$LINENO: result: $INSTALL" >&5
6700 echo "${ECHO_T}$INSTALL" >&6
6702 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
6703 # It thinks the first close brace ends the variable substitution.
6704 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
6706 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
6708 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
6711 ac_config_files
="$ac_config_files Makefile"
6712 cat >confcache
<<\_ACEOF
6713 # This file is a shell script that caches the results of configure
6714 # tests run on this system so they can be shared between configure
6715 # scripts and configure runs, see configure's option --config-cache.
6716 # It is not useful on other systems. If it contains results you don't
6717 # want to keep, you may remove or edit it.
6719 # config.status only pays attention to the cache file if you give it
6720 # the --recheck option to rerun configure.
6722 # `ac_cv_env_foo' variables (set or unset) will be overridden when
6723 # loading this file, other *unset* `ac_cv_foo' will be assigned the
6728 # The following way of writing the cache mishandles newlines in values,
6729 # but we know of no workaround that is simple, portable, and efficient.
6730 # So, don't put newlines in cache variables' values.
6731 # Ultrix sh set writes to stderr and can't be redirected directly,
6732 # and sets the high bit in the cache file unless we assign to the vars.
6735 case `(ac_space=' '; set | grep ac_space) 2>&1` in
6737 # `set' does not quote correctly, so add quotes (double-quote
6738 # substitution turns \\\\ into \\, and sed turns \\ into \).
6741 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
6744 # `set' quotes correctly as required by POSIX, so do not add quotes.
6746 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
6753 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
6755 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
6757 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
6758 if test -w $cache_file; then
6759 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
6760 cat confcache
>$cache_file
6762 echo "not updating unwritable cache $cache_file"
6767 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
6768 # Let make expand exec_prefix.
6769 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
6771 # VPATH may cause trouble with some makes, so we remove $(srcdir),
6772 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
6773 # trailing colons and then remove the whole line if VPATH becomes empty
6774 # (actually we leave an empty line to preserve line numbers).
6775 if test "x$srcdir" = x.
; then
6776 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
6777 s/:*\$(srcdir):*/:/;
6778 s/:*\${srcdir}:*/:/;
6780 s/^\([^=]*=[ ]*\):*/\1/;
6786 DEFS
=-DHAVE_CONFIG_H
6790 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
6791 # 1. Remove the extension, and $U if already installed.
6792 ac_i
=`echo "$ac_i" |
6793 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
6795 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
6796 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
6800 LTLIBOBJS
=$ac_ltlibobjs
6803 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
6804 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
6805 Usually this means the macro was only invoked conditionally." >&5
6806 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
6807 Usually this means the macro was only invoked conditionally." >&2;}
6808 { (exit 1); exit 1; }; }
6810 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
6811 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
6812 Usually this means the macro was only invoked conditionally." >&5
6813 echo "$as_me: error: conditional \"AMDEP\" was never defined.
6814 Usually this means the macro was only invoked conditionally." >&2;}
6815 { (exit 1); exit 1; }; }
6817 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
6818 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
6819 Usually this means the macro was only invoked conditionally." >&5
6820 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
6821 Usually this means the macro was only invoked conditionally." >&2;}
6822 { (exit 1); exit 1; }; }
6825 : ${CONFIG_STATUS=./config.status}
6826 ac_clean_files_save
=$ac_clean_files
6827 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
6828 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
6829 echo "$as_me: creating $CONFIG_STATUS" >&6;}
6830 cat >$CONFIG_STATUS <<_ACEOF
6832 # Generated by $as_me.
6833 # Run this file to recreate the current configuration.
6834 # Compiler output produced by configure, useful for debugging
6835 # configure, is in config.log if it exists.
6840 SHELL=\${CONFIG_SHELL-$SHELL}
6843 cat >>$CONFIG_STATUS <<\_ACEOF
6844 ## --------------------- ##
6845 ## M4sh Initialization. ##
6846 ## --------------------- ##
6848 # Be Bourne compatible
6849 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
6852 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
6853 # is contrary to our usage. Disable this feature.
6854 alias -g '${1+"$@"}'='"$@"'
6855 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
6858 DUALCASE
=1; export DUALCASE
# for MKS sh
6860 # Support unset when possible.
6861 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
6868 # Work around bugs in pre-3.0 UWIN ksh.
6869 $as_unset ENV MAIL MAILPATH
6876 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
6877 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
6878 LC_TELEPHONE LC_TIME
6880 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
6881 eval $as_var=C
; export $as_var
6887 # Required to use basename.
6888 if expr a
: '\(a\)' >/dev
/null
2>&1; then
6894 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
6895 as_basename
=basename
6901 # Name of the executable.
6902 as_me
=`$as_basename "$0" ||
6903 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
6904 X"$0" : 'X\(//\)$' \| \
6905 X"$0" : 'X\(/\)$' \| \
6906 . : '\(.\)' 2>/dev/null ||
6908 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
6909 /^X\/\(\/\/\)$/{ s//\1/; q; }
6910 /^X\/\(\/\).*/{ s//\1/; q; }
6914 # PATH needs CR, and LINENO needs CR and PATH.
6915 # Avoid depending upon Character Ranges.
6916 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
6917 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
6918 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
6919 as_cr_digits
='0123456789'
6920 as_cr_alnum
=$as_cr_Letters$as_cr_digits
6922 # The user is always right.
6923 if test "${PATH_SEPARATOR+set}" != set; then
6924 echo "#! /bin/sh" >conf$$.sh
6925 echo "exit 0" >>conf$$.sh
6927 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
6938 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
6939 test "x$as_lineno_1" != "x$as_lineno_2" &&
6940 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
6941 # Find who we are. Look in the path if we contain no path at all
6944 *[\\/]* ) as_myself
=$0 ;;
6945 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6949 test -z "$as_dir" && as_dir
=.
6950 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
6955 # We did not find ourselves, most probably we were run as `sh COMMAND'
6956 # in which case we are not to be found in the path.
6957 if test "x$as_myself" = x
; then
6960 if test ! -f "$as_myself"; then
6961 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
6962 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
6963 { (exit 1); exit 1; }; }
6965 case $CONFIG_SHELL in
6967 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6968 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
6971 test -z "$as_dir" && as_dir
=.
6972 for as_base
in sh bash ksh sh5
; do
6975 if ("$as_dir/$as_base" -c '
6978 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
6979 test "x$as_lineno_1" != "x$as_lineno_2" &&
6980 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
6981 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
6982 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
6983 CONFIG_SHELL
=$as_dir/$as_base
6985 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
6993 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
6994 # uniformly replaced by the line number. The first 'sed' inserts a
6995 # line-number line before each line; the second 'sed' does the real
6996 # work. The second script uses 'N' to pair each line-number line
6997 # with the numbered line, and appends trailing '-' during
6998 # substitution so that $LINENO is not a special case at line end.
6999 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
7000 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
7001 sed '=' <$as_myself |
7006 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
7009 s,^['$as_cr_digits']*\n,,
7011 chmod +x
$as_me.lineno ||
7012 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
7013 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
7014 { (exit 1); exit 1; }; }
7016 # Don't try to exec as it changes $[0], causing all sort of problems
7017 # (the dirname of $[0] is not the place where we might find the
7018 # original and so on. Autoconf is especially sensible to this).
7020 # Exit status is that of the last command.
7025 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
7026 *c
*,-n*) ECHO_N
= ECHO_C
='
7028 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
7029 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
7032 if expr a
: '\(a\)' >/dev
/null
2>&1; then
7038 rm -f conf$$ conf$$.exe conf$$.
file
7040 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
7041 # We could just check for DJGPP; but this test a) works b) is more generic
7042 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
7043 if test -f conf$$.exe
; then
7044 # Don't use ln at all; we don't have any links
7049 elif ln conf$$.
file conf$$
2>/dev
/null
; then
7054 rm -f conf$$ conf$$.exe conf$$.
file
7056 if mkdir
-p .
2>/dev
/null
; then
7059 test -d .
/-p && rmdir .
/-p
7063 as_executable_p
="test -f"
7065 # Sed expression to map a string onto a valid CPP name.
7066 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
7068 # Sed expression to map a string onto a valid variable name.
7069 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
7073 # We need space, tab and new line, in precisely that order.
7083 # Open the log real soon, to keep \$[0] and so on meaningful, and to
7084 # report actual input values of CONFIG_FILES etc. instead of their
7085 # values after options handling. Logging --version etc. is OK.
7089 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
7090 ## Running $as_me. ##
7095 This file was extended by GNU Fortran Runtime Library $as_me 0.2, which was
7096 generated by GNU Autoconf 2.59. Invocation command line was
7098 CONFIG_FILES = $CONFIG_FILES
7099 CONFIG_HEADERS = $CONFIG_HEADERS
7100 CONFIG_LINKS = $CONFIG_LINKS
7101 CONFIG_COMMANDS = $CONFIG_COMMANDS
7105 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
7109 # Files that config.status was made for.
7110 if test -n "$ac_config_files"; then
7111 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
7114 if test -n "$ac_config_headers"; then
7115 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
7118 if test -n "$ac_config_links"; then
7119 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
7122 if test -n "$ac_config_commands"; then
7123 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
7126 cat >>$CONFIG_STATUS <<\_ACEOF
7129 \`$as_me' instantiates files from templates according to the
7130 current configuration.
7132 Usage: $0 [OPTIONS] [FILE]...
7134 -h, --help print this help, then exit
7135 -V, --version print version number, then exit
7136 -q, --quiet do not print progress messages
7137 -d, --debug don't remove temporary files
7138 --recheck update $as_me by reconfiguring in the same conditions
7139 --file=FILE[:TEMPLATE]
7140 instantiate the configuration file FILE
7141 --header=FILE[:TEMPLATE]
7142 instantiate the configuration header FILE
7144 Configuration files:
7147 Configuration headers:
7150 Configuration commands:
7153 Report bugs to <bug-autoconf@gnu.org>."
7156 cat >>$CONFIG_STATUS <<_ACEOF
7158 GNU Fortran Runtime Library config.status 0.2
7159 configured by $0, generated by GNU Autoconf 2.59,
7160 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
7162 Copyright (C) 2003 Free Software Foundation, Inc.
7163 This config.status script is free software; the Free Software Foundation
7164 gives unlimited permission to copy, distribute and modify it."
7169 cat >>$CONFIG_STATUS <<\_ACEOF
7170 # If no file are specified by the user, then we need to provide default
7171 # value. By we need to know if files were specified by the user.
7177 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
7178 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
7186 *) # This is not an option, so the user has probably given explicit
7189 ac_need_defaults
=false
;;
7193 # Handling of the options.
7195 cat >>$CONFIG_STATUS <<\_ACEOF
7196 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
7198 --version |
--vers* |
-V )
7199 echo "$ac_cs_version"; exit 0 ;;
7201 # Conflict between --help and --header
7202 { { echo "$as_me:$LINENO: error: ambiguous option: $1
7203 Try \`$0 --help' for more information." >&5
7204 echo "$as_me: error: ambiguous option: $1
7205 Try \`$0 --help' for more information." >&2;}
7206 { (exit 1); exit 1; }; };;
7207 --help |
--hel |
-h )
7208 echo "$ac_cs_usage"; exit 0 ;;
7209 --debug |
--d* |
-d )
7211 --file |
--fil |
--fi |
--f )
7213 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
7214 ac_need_defaults
=false
;;
7215 --header |
--heade |
--head |
--hea )
7217 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
7218 ac_need_defaults
=false
;;
7219 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
7220 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
7224 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
7225 Try \`$0 --help' for more information." >&5
7226 echo "$as_me: error: unrecognized option: $1
7227 Try \`$0 --help' for more information." >&2;}
7228 { (exit 1); exit 1; }; } ;;
7230 *) ac_config_targets
="$ac_config_targets $1" ;;
7236 ac_configure_extra_args
=
7238 if $ac_cs_silent; then
7240 ac_configure_extra_args
="$ac_configure_extra_args --silent"
7244 cat >>$CONFIG_STATUS <<_ACEOF
7245 if \$ac_cs_recheck; then
7246 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
7247 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
7252 cat >>$CONFIG_STATUS <<_ACEOF
7254 # INIT-COMMANDS section.
7257 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
7263 cat >>$CONFIG_STATUS <<\_ACEOF
7264 for ac_config_target
in $ac_config_targets
7266 case "$ac_config_target" in
7267 # Handling of arguments.
7268 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
7269 "depfiles" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
7270 "config.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
7271 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
7272 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
7273 { (exit 1); exit 1; }; };;
7277 # If the user did not use the arguments to specify the items to instantiate,
7278 # then the envvar interface is used. Set only those that are not.
7279 # We use the long form for the default assignment because of an extremely
7280 # bizarre bug on SunOS 4.1.3.
7281 if $ac_need_defaults; then
7282 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
7283 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
7284 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
7287 # Have a temporary directory for convenience. Make it in the build tree
7288 # simply because there is no reason to put it here, and in addition,
7289 # creating and moving files from /tmp can sometimes cause problems.
7290 # Create a temporary directory, and hook for its removal unless debugging.
7293 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
7294 trap '{ (exit 1); exit 1; }' 1 2 13 15
7297 # Create a (secure) tmp directory for tmp files.
7300 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
7301 test -n "$tmp" && test -d "$tmp"
7304 tmp
=.
/confstat$$
-$RANDOM
7305 (umask 077 && mkdir
$tmp)
7308 echo "$me: cannot create a temporary directory in ." >&2
7309 { (exit 1); exit 1; }
7314 cat >>$CONFIG_STATUS <<_ACEOF
7317 # CONFIG_FILES section.
7320 # No need to generate the scripts if there are no CONFIG_FILES.
7321 # This happens for instance when ./config.status config.h
7322 if test -n "\$CONFIG_FILES"; then
7323 # Protect against being on the right side of a sed subst in config.status.
7324 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
7325 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
7326 s,@SHELL@,$SHELL,;t t
7327 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
7328 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
7329 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
7330 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
7331 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
7332 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
7333 s,@exec_prefix@,$exec_prefix,;t t
7334 s,@prefix@,$prefix,;t t
7335 s,@program_transform_name@,$program_transform_name,;t t
7336 s,@bindir@,$bindir,;t t
7337 s,@sbindir@,$sbindir,;t t
7338 s,@libexecdir@,$libexecdir,;t t
7339 s,@datadir@,$datadir,;t t
7340 s,@sysconfdir@,$sysconfdir,;t t
7341 s,@sharedstatedir@,$sharedstatedir,;t t
7342 s,@localstatedir@,$localstatedir,;t t
7343 s,@libdir@,$libdir,;t t
7344 s,@includedir@,$includedir,;t t
7345 s,@oldincludedir@,$oldincludedir,;t t
7346 s,@infodir@,$infodir,;t t
7347 s,@mandir@,$mandir,;t t
7348 s,@build_alias@,$build_alias,;t t
7349 s,@host_alias@,$host_alias,;t t
7350 s,@target_alias@,$target_alias,;t t
7352 s,@ECHO_C@,$ECHO_C,;t t
7353 s,@ECHO_N@,$ECHO_N,;t t
7354 s,@ECHO_T@,$ECHO_T,;t t
7356 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
7357 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
7358 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
7359 s,@CYGPATH_W@,$CYGPATH_W,;t t
7360 s,@PACKAGE@,$PACKAGE,;t t
7361 s,@VERSION@,$VERSION,;t t
7362 s,@ACLOCAL@,$ACLOCAL,;t t
7363 s,@AUTOCONF@,$AUTOCONF,;t t
7364 s,@AUTOMAKE@,$AUTOMAKE,;t t
7365 s,@AUTOHEADER@,$AUTOHEADER,;t t
7366 s,@MAKEINFO@,$MAKEINFO,;t t
7367 s,@AMTAR@,$AMTAR,;t t
7368 s,@install_sh@,$install_sh,;t t
7369 s,@STRIP@,$STRIP,;t t
7370 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
7371 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
7372 s,@mkdir_p@,$mkdir_p,;t t
7374 s,@SET_MAKE@,$SET_MAKE,;t t
7375 s,@am__leading_dot@,$am__leading_dot,;t t
7376 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
7377 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
7378 s,@MAINT@,$MAINT,;t t
7379 s,@enable_shared@,$enable_shared,;t t
7380 s,@enable_static@,$enable_static,;t t
7382 s,@CFLAGS@,$CFLAGS,;t t
7383 s,@LDFLAGS@,$LDFLAGS,;t t
7384 s,@CPPFLAGS@,$CPPFLAGS,;t t
7385 s,@ac_ct_CC@,$ac_ct_CC,;t t
7386 s,@EXEEXT@,$EXEEXT,;t t
7387 s,@OBJEXT@,$OBJEXT,;t t
7388 s,@DEPDIR@,$DEPDIR,;t t
7389 s,@am__include@,$am__include,;t t
7390 s,@am__quote@,$am__quote,;t t
7391 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
7392 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
7393 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
7394 s,@CCDEPMODE@,$CCDEPMODE,;t t
7395 s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
7396 s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
7398 s,@FFLAGS@,$FFLAGS,;t t
7399 s,@ac_ct_F77@,$ac_ct_F77,;t t
7401 s,@EGREP@,$EGREP,;t t
7402 s,@MATH_OBJ@,$MATH_OBJ,;t t
7404 s,@RANLIB@,$RANLIB,;t t
7405 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
7406 s,@build@,$build,;t t
7407 s,@build_cpu@,$build_cpu,;t t
7408 s,@build_vendor@,$build_vendor,;t t
7409 s,@build_os@,$build_os,;t t
7411 s,@host_cpu@,$host_cpu,;t t
7412 s,@host_vendor@,$host_vendor,;t t
7413 s,@host_os@,$host_os,;t t
7415 s,@LIBTOOL@,$LIBTOOL,;t t
7416 s,@LIBOBJS@,$LIBOBJS,;t t
7417 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
7422 cat >>$CONFIG_STATUS <<\_ACEOF
7423 # Split the substitutions into bite-sized pieces for seds with
7424 # small command number limits, like on Digital OSF/1 and HP-UX.
7426 ac_sed_frag
=1 # Number of current file.
7427 ac_beg
=1 # First line for current file.
7428 ac_end
=$ac_max_sed_lines # Line after last line for current file.
7431 while $ac_more_lines; do
7432 if test $ac_beg -gt 1; then
7433 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
7435 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
7437 if test ! -s $tmp/subs.frag
; then
7440 # The purpose of the label and of the branching condition is to
7441 # speed up the sed processing (if there are no `@' at all, there
7442 # is no need to browse any of the substitutions).
7443 # These are the two extra sed commands mentioned above.
7445 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
7446 if test -z "$ac_sed_cmds"; then
7447 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
7449 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
7451 ac_sed_frag
=`expr $ac_sed_frag + 1`
7453 ac_end
=`expr $ac_end + $ac_max_sed_lines`
7456 if test -z "$ac_sed_cmds"; then
7459 fi # test -n "$CONFIG_FILES"
7462 cat >>$CONFIG_STATUS <<\_ACEOF
7463 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
7464 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
7466 - |
*:- |
*:-:* ) # input from stdin
7468 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
7469 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
7470 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
7471 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
7472 * ) ac_file_in
=$ac_file.
in ;;
7475 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
7476 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
7477 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7478 X"$ac_file" : 'X\(//\)[^/]' \| \
7479 X"$ac_file" : 'X\(//\)$' \| \
7480 X"$ac_file" : 'X\(/\)' \| \
7481 . : '\(.\)' 2>/dev/null ||
7483 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7484 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7485 /^X\(\/\/\)$/{ s//\1/; q; }
7486 /^X\(\/\).*/{ s//\1/; q; }
7488 { if $as_mkdir_p; then
7493 while test ! -d "$as_dir"; do
7494 as_dirs
="$as_dir $as_dirs"
7495 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
7496 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7497 X"$as_dir" : 'X\(//\)[^/]' \| \
7498 X"$as_dir" : 'X\(//\)$' \| \
7499 X"$as_dir" : 'X\(/\)' \| \
7500 . : '\(.\)' 2>/dev/null ||
7502 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7503 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7504 /^X\(\/\/\)$/{ s//\1/; q; }
7505 /^X\(\/\).*/{ s//\1/; q; }
7508 test ! -n "$as_dirs" || mkdir
$as_dirs
7509 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
7510 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
7511 { (exit 1); exit 1; }; }; }
7515 if test "$ac_dir" != .
; then
7516 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
7517 # A "../" for each directory in $ac_dir_suffix.
7518 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
7520 ac_dir_suffix
= ac_top_builddir
=
7524 .
) # No --srcdir option. We are building in place.
7526 if test -z "$ac_top_builddir"; then
7529 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
7531 [\\/]* | ?
:[\\/]* ) # Absolute path.
7532 ac_srcdir
=$srcdir$ac_dir_suffix;
7533 ac_top_srcdir
=$srcdir ;;
7535 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
7536 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
7539 # Do not use `cd foo && pwd` to compute absolute paths, because
7540 # the directories may not exist.
7542 .
) ac_abs_builddir
="$ac_dir";;
7545 .
) ac_abs_builddir
=`pwd`;;
7546 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
7547 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
7550 case $ac_abs_builddir in
7551 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
7553 case ${ac_top_builddir}.
in
7554 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
7555 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
7556 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
7559 case $ac_abs_builddir in
7560 .
) ac_abs_srcdir
=$ac_srcdir;;
7563 .
) ac_abs_srcdir
=$ac_abs_builddir;;
7564 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
7565 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
7568 case $ac_abs_builddir in
7569 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
7571 case $ac_top_srcdir in
7572 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
7573 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
7574 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
7580 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
7581 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
7584 # Let's still pretend it is `configure' which instantiates (i.e., don't
7585 # use $as_me), people would be surprised to read:
7586 # /* config.h. Generated by config.status. */
7587 if test x
"$ac_file" = x-
; then
7590 configure_input
="$ac_file. "
7592 configure_input
=$configure_input"Generated from `echo $ac_file_in |
7593 sed 's,.*/,,'` by configure."
7595 # First look for the input files in the build tree, otherwise in the
7597 ac_file_inputs
=`IFS=:
7598 for f in $ac_file_in; do
7600 -) echo $tmp/stdin ;;
7602 # Absolute (can't be DOS-style, as IFS=:)
7603 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
7604 echo "$as_me: error: cannot find input file: $f" >&2;}
7605 { (exit 1); exit 1; }; }
7608 if test -f "$f"; then
7611 elif test -f "$srcdir/$f"; then
7616 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
7617 echo "$as_me: error: cannot find input file: $f" >&2;}
7618 { (exit 1); exit 1; }; }
7621 done` ||
{ (exit 1); exit 1; }
7623 if test x
"$ac_file" != x-
; then
7624 { echo "$as_me:$LINENO: creating $ac_file" >&5
7625 echo "$as_me: creating $ac_file" >&6;}
7629 cat >>$CONFIG_STATUS <<_ACEOF
7633 cat >>$CONFIG_STATUS <<\_ACEOF
7635 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
7636 s
,@configure_input@
,$configure_input,;t t
7637 s
,@srcdir@
,$ac_srcdir,;t t
7638 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
7639 s
,@top_srcdir@
,$ac_top_srcdir,;t t
7640 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
7641 s
,@builddir@
,$ac_builddir,;t t
7642 s
,@abs_builddir@
,$ac_abs_builddir,;t t
7643 s
,@top_builddir@
,$ac_top_builddir,;t t
7644 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
7645 s
,@INSTALL@
,$ac_INSTALL,;t t
7646 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
7648 if test x"$ac_file" != x-; then
7649 mv $tmp/out $ac_file
7657 cat >>$CONFIG_STATUS <<\_ACEOF
7660 # CONFIG_HEADER section.
7663 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
7664 # NAME is the cpp macro being defined and VALUE is the value it is being given.
7666 # ac_d sets the value in "#define NAME VALUE" lines.
7667 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
7668 ac_dB
='[ ].*$,\1#\2'
7671 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
7672 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
7673 ac_uB
='$,\1#\2define\3'
7677 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
7678 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
7680 - |
*:- |
*:-:* ) # input from stdin
7682 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
7683 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
7684 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
7685 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
7686 * ) ac_file_in
=$ac_file.
in ;;
7689 test x
"$ac_file" != x-
&& { echo "$as_me:$LINENO: creating $ac_file" >&5
7690 echo "$as_me: creating $ac_file" >&6;}
7692 # First look for the input files in the build tree, otherwise in the
7694 ac_file_inputs
=`IFS=:
7695 for f in $ac_file_in; do
7697 -) echo $tmp/stdin ;;
7699 # Absolute (can't be DOS-style, as IFS=:)
7700 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
7701 echo "$as_me: error: cannot find input file: $f" >&2;}
7702 { (exit 1); exit 1; }; }
7703 # Do quote $f, to prevent DOS paths from being IFS'd.
7706 if test -f "$f"; then
7709 elif test -f "$srcdir/$f"; then
7714 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
7715 echo "$as_me: error: cannot find input file: $f" >&2;}
7716 { (exit 1); exit 1; }; }
7719 done` ||
{ (exit 1); exit 1; }
7720 # Remove the trailing spaces.
7721 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
7725 # Transform confdefs.h into two sed scripts, `conftest.defines' and
7726 # `conftest.undefs', that substitutes the proper values into
7727 # config.h.in to produce config.h. The first handles `#define'
7728 # templates, and the second `#undef' templates.
7729 # And first: Protect against being on the right side of a sed subst in
7730 # config.status. Protect against being in an unquoted here document
7732 rm -f conftest.defines conftest.undefs
7733 # Using a here document instead of a string reduces the quoting nightmare.
7734 # Putting comments in sed scripts is not portable.
7736 # `end' is used to avoid that the second main sed command (meant for
7737 # 0-ary CPP macros) applies to n-ary macro definitions.
7738 # See the Autoconf documentation for `clear'.
7739 cat >confdef2sed.
sed <<\_ACEOF
7744 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
7746 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
7749 # If some macros were called several times there might be several times
7750 # the same #defines, which is useless. Nevertheless, we may not want to
7751 # sort them, since we want the *last* AC-DEFINE to be honored.
7752 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
7753 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
7754 rm -f confdef2sed.sed
7756 # This sed command replaces #undef with comments. This is necessary, for
7757 # example, in the case of _POSIX_SOURCE, which is predefined and required
7758 # on some systems where configure will not decide to define it.
7759 cat >>conftest.undefs <<\_ACEOF
7760 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
7763 # Break up conftest.defines because some shells have a limit on the size
7764 # of here documents, and old seds have small limits too (100 cmds).
7765 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
7766 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
7767 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
7768 echo ' :' >>$CONFIG_STATUS
7770 while grep . conftest.defines >/dev/null
7772 # Write a limited-size here document to $tmp/defines.sed.
7773 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
7774 # Speed up: don't consider the non `#define' lines.
7775 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
7776 # Work around the forget-to-reset-the-flag bug.
7777 echo 't clr' >>$CONFIG_STATUS
7778 echo ': clr' >>$CONFIG_STATUS
7779 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
7781 sed -f $tmp/defines.sed $tmp/in >$tmp/out
7785 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
7786 rm -f conftest.defines
7787 mv conftest.
tail conftest.defines
7789 rm -f conftest.defines
7790 echo ' fi # grep' >>$CONFIG_STATUS
7791 echo >>$CONFIG_STATUS
7793 # Break up conftest.undefs because some shells have a limit on the size
7794 # of here documents, and old seds have small limits too (100 cmds).
7795 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
7797 while grep . conftest.undefs
>/dev
/null
7799 # Write a limited-size here document to $tmp/undefs.sed.
7800 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
7801 # Speed up: don't consider the non
`#undef'
7802 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
7803 # Work around the forget-to-reset-the-flag bug.
7804 echo 't clr' >>$CONFIG_STATUS
7805 echo ': clr' >>$CONFIG_STATUS
7806 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
7808 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
7812 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
7813 rm -f conftest.undefs
7814 mv conftest.tail conftest.undefs
7816 rm -f conftest.undefs
7818 cat >>$CONFIG_STATUS <<\_ACEOF
7819 # Let's still pretend it is `configure
' which instantiates (i.e., don't
7820 # use $as_me), people would be surprised to read:
7821 # /* config.h. Generated by config.status. */
7822 if test x
"$ac_file" = x-
; then
7823 echo "/* Generated by configure. */" >$tmp/config.h
7825 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
7827 cat $tmp/in >>$tmp/config.h
7829 if test x
"$ac_file" != x-
; then
7830 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
7831 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
7832 echo "$as_me: $ac_file is unchanged" >&6;}
7834 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
7835 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7836 X"$ac_file" : 'X\(//\)[^/]' \| \
7837 X"$ac_file" : 'X\(//\)$' \| \
7838 X"$ac_file" : 'X\(/\)' \| \
7839 . : '\(.\)' 2>/dev/null ||
7841 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7842 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7843 /^X\(\/\/\)$/{ s//\1/; q; }
7844 /^X\(\/\).*/{ s//\1/; q; }
7846 { if $as_mkdir_p; then
7851 while test ! -d "$as_dir"; do
7852 as_dirs
="$as_dir $as_dirs"
7853 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
7854 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7855 X"$as_dir" : 'X\(//\)[^/]' \| \
7856 X"$as_dir" : 'X\(//\)$' \| \
7857 X"$as_dir" : 'X\(/\)' \| \
7858 . : '\(.\)' 2>/dev/null ||
7860 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7861 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7862 /^X\(\/\/\)$/{ s//\1/; q; }
7863 /^X\(\/\).*/{ s//\1/; q; }
7866 test ! -n "$as_dirs" || mkdir
$as_dirs
7867 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
7868 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
7869 { (exit 1); exit 1; }; }; }
7872 mv $tmp/config.h
$ac_file
7878 # Compute $ac_file's index in $config_headers.
7880 for _am_header
in $config_headers :; do
7882 $ac_file |
$ac_file:* )
7885 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
7888 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
7889 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7890 X$ac_file : 'X\(//\)[^/]' \| \
7891 X$ac_file : 'X\(//\)$' \| \
7892 X$ac_file : 'X\(/\)' \| \
7893 . : '\(.\)' 2>/dev/null ||
7895 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7896 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7897 /^X\(\/\/\)$/{ s//\1/; q; }
7898 /^X\(\/\).*/{ s//\1/; q; }
7899 s/.*/./; q'`/stamp-h
$_am_stamp_count
7902 cat >>$CONFIG_STATUS <<\_ACEOF
7905 # CONFIG_COMMANDS section.
7907 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
7908 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
7909 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
7910 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
7911 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7912 X"$ac_dest" : 'X\(//\)[^/]' \| \
7913 X"$ac_dest" : 'X\(//\)$' \| \
7914 X"$ac_dest" : 'X\(/\)' \| \
7915 . : '\(.\)' 2>/dev/null ||
7917 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7918 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7919 /^X\(\/\/\)$/{ s//\1/; q; }
7920 /^X\(\/\).*/{ s//\1/; q; }
7922 { if $as_mkdir_p; then
7927 while test ! -d "$as_dir"; do
7928 as_dirs
="$as_dir $as_dirs"
7929 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
7930 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7931 X"$as_dir" : 'X\(//\)[^/]' \| \
7932 X"$as_dir" : 'X\(//\)$' \| \
7933 X"$as_dir" : 'X\(/\)' \| \
7934 . : '\(.\)' 2>/dev/null ||
7936 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7937 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7938 /^X\(\/\/\)$/{ s//\1/; q; }
7939 /^X\(\/\).*/{ s//\1/; q; }
7942 test ! -n "$as_dirs" || mkdir
$as_dirs
7943 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
7944 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
7945 { (exit 1); exit 1; }; }; }
7949 if test "$ac_dir" != .
; then
7950 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
7951 # A "../" for each directory in $ac_dir_suffix.
7952 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
7954 ac_dir_suffix
= ac_top_builddir
=
7958 .
) # No --srcdir option. We are building in place.
7960 if test -z "$ac_top_builddir"; then
7963 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
7965 [\\/]* | ?
:[\\/]* ) # Absolute path.
7966 ac_srcdir
=$srcdir$ac_dir_suffix;
7967 ac_top_srcdir
=$srcdir ;;
7969 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
7970 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
7973 # Do not use `cd foo && pwd` to compute absolute paths, because
7974 # the directories may not exist.
7976 .
) ac_abs_builddir
="$ac_dir";;
7979 .
) ac_abs_builddir
=`pwd`;;
7980 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
7981 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
7984 case $ac_abs_builddir in
7985 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
7987 case ${ac_top_builddir}.
in
7988 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
7989 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
7990 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
7993 case $ac_abs_builddir in
7994 .
) ac_abs_srcdir
=$ac_srcdir;;
7997 .
) ac_abs_srcdir
=$ac_abs_builddir;;
7998 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
7999 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
8002 case $ac_abs_builddir in
8003 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
8005 case $ac_top_srcdir in
8006 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
8007 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
8008 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
8013 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
8014 echo "$as_me: executing $ac_dest commands" >&6;}
8016 depfiles
) test x
"$AMDEP_TRUE" != x
"" ||
for mf
in $CONFIG_FILES; do
8017 # Strip MF so we end up with the name of the file.
8018 mf
=`echo "$mf" | sed -e 's/:.*$//'`
8019 # Check whether this is an Automake generated Makefile or not.
8020 # We used to match only the files named `Makefile.in', but
8021 # some people rename them; so instead we look at the file content.
8022 # Grep'ing the first line is not enough: some people post-process
8023 # each Makefile.in and add a new line on top of each file to say so.
8024 # So let's grep whole file.
8025 if grep '^#.*generated by automake' $mf > /dev
/null
2>&1; then
8026 dirpart
=`(dirname "$mf") 2>/dev/null ||
8027 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8028 X"$mf" : 'X\(//\)[^/]' \| \
8029 X"$mf" : 'X\(//\)$' \| \
8030 X"$mf" : 'X\(/\)' \| \
8031 . : '\(.\)' 2>/dev/null ||
8033 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8034 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
8035 /^X\(\/\/\)$/{ s//\1/; q; }
8036 /^X\(\/\).*/{ s//\1/; q; }
8041 grep '^DEP_FILES *= *[^ #]' < "$mf" > /dev
/null ||
continue
8042 # Extract the definition of DEP_FILES from the Makefile without
8044 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
8045 test -z "$DEPDIR" && continue
8046 # When using ansi2knr, U may be empty or an underscore; expand it
8047 U
=`sed -n 's/^U = //p' < "$mf"`
8048 test -d "$dirpart/$DEPDIR" || mkdir
"$dirpart/$DEPDIR"
8049 # We invoke sed twice because it is the simplest approach to
8050 # changing $(DEPDIR) to its actual value in the expansion.
8051 for file in `sed -n '
8052 /^DEP_FILES = .*\\\\$/ {
8061 /^DEP_FILES = / s/^DEP_FILES = //p' < "$mf" | \
8062 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
8063 # Make sure the directory exists.
8064 test -f "$dirpart/$file" && continue
8065 fdir
=`(dirname "$file") 2>/dev/null ||
8066 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8067 X"$file" : 'X\(//\)[^/]' \| \
8068 X"$file" : 'X\(//\)$' \| \
8069 X"$file" : 'X\(/\)' \| \
8070 . : '\(.\)' 2>/dev/null ||
8072 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8073 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
8074 /^X\(\/\/\)$/{ s//\1/; q; }
8075 /^X\(\/\).*/{ s//\1/; q; }
8077 { if $as_mkdir_p; then
8078 mkdir
-p $dirpart/$fdir
8080 as_dir
=$dirpart/$fdir
8082 while test ! -d "$as_dir"; do
8083 as_dirs
="$as_dir $as_dirs"
8084 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
8085 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8086 X"$as_dir" : 'X\(//\)[^/]' \| \
8087 X"$as_dir" : 'X\(//\)$' \| \
8088 X"$as_dir" : 'X\(/\)' \| \
8089 . : '\(.\)' 2>/dev/null ||
8091 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8092 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
8093 /^X\(\/\/\)$/{ s//\1/; q; }
8094 /^X\(\/\).*/{ s//\1/; q; }
8097 test ! -n "$as_dirs" || mkdir
$as_dirs
8098 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
8099 echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
8100 { (exit 1); exit 1; }; }; }
8102 # echo "creating $dirpart/$file"
8103 echo '# dummy' > "$dirpart/$file"
8111 cat >>$CONFIG_STATUS <<\_ACEOF
8113 { (exit 0); exit 0; }
8115 chmod +x
$CONFIG_STATUS
8116 ac_clean_files
=$ac_clean_files_save
8119 # configure is writing to config.log, and then calls config.status.
8120 # config.status does its own redirection, appending to config.log.
8121 # Unfortunately, on DOS this fails, as config.log is still kept open
8122 # by configure, so config.status won't be able to write to it; its
8123 # output is simply discarded. So we exec the FD to /dev/null,
8124 # effectively closing config.log, so it can be properly (re)opened and
8125 # appended to by config.status. When coming back to configure, we
8126 # need to make the FD available again.
8127 if test "$no_create" != yes; then
8129 ac_config_status_args
=
8130 test "$silent" = yes &&
8131 ac_config_status_args
="$ac_config_status_args --quiet"
8133 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
8135 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
8136 # would make configure fail if this is the last instruction.
8137 $ac_cs_success ||
{ (exit 1); exit 1; }