2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.57 for GNU Fortran Runtime Library 0.2.
5 # Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
6 # Free Software Foundation, Inc.
7 # This configure script is free software; the Free Software Foundation
8 # gives unlimited permission to copy, distribute and modify it.
9 ## --------------------- ##
10 ## M4sh Initialization. ##
11 ## --------------------- ##
13 # Be Bourne compatible
14 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
17 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
18 # is contrary to our usage. Disable this feature.
19 alias -g '${1+"$@"}'='"$@"'
20 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
24 # Support unset when possible.
25 if (FOO
=FOO
; unset FOO
) >/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 -n "`(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
224 as_executable_p
="test -f"
226 # Sed expression to map a string onto a valid CPP name.
227 as_tr_cpp
="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
229 # Sed expression to map a string onto a valid variable name.
230 as_tr_sh
="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
234 # We need space, tab and new line, in precisely that order.
244 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
245 # so uname gets run too.
246 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
253 ac_default_prefix
=/usr
/local
254 ac_config_libobj_dir
=.
259 SHELL
=${CONFIG_SHELL-/bin/sh}
261 # Maximum number of lines to put in a shell here document.
262 # This variable seems obsolete. It should probably be removed, and
263 # only ac_max_sed_lines should be used.
264 : ${ac_max_here_lines=38}
266 # Identity of this package.
267 PACKAGE_NAME
='GNU Fortran Runtime Library'
268 PACKAGE_TARNAME
='libgfortran'
269 PACKAGE_VERSION
='0.2'
270 PACKAGE_STRING
='GNU Fortran Runtime Library 0.2'
273 # Factoring default headers for most tests.
274 ac_includes_default
="\
277 # include <sys/types.h>
280 # include <sys/stat.h>
291 # if !STDC_HEADERS && HAVE_MEMORY_H
297 # include <strings.h>
300 # include <inttypes.h>
310 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 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'
313 # Initialize some variables set by options.
315 ac_init_version
=false
316 # The variables have the same names as the options, with
317 # dashes changed to underlines.
325 program_transform_name
=s
,x
,x
,
333 # Installation directory options.
334 # These are left unexpanded so users can "make install exec_prefix=/foo"
335 # and all the variables that are supposed to be based on exec_prefix
336 # by default will actually change.
337 # Use braces instead of parens because sh, perl, etc. also accept them.
338 bindir
='${exec_prefix}/bin'
339 sbindir
='${exec_prefix}/sbin'
340 libexecdir
='${exec_prefix}/libexec'
341 datadir
='${prefix}/share'
342 sysconfdir
='${prefix}/etc'
343 sharedstatedir
='${prefix}/com'
344 localstatedir
='${prefix}/var'
345 libdir
='${exec_prefix}/lib'
346 includedir
='${prefix}/include'
347 oldincludedir
='/usr/include'
348 infodir
='${prefix}/info'
349 mandir
='${prefix}/man'
354 # If the previous option needs an argument, assign it.
355 if test -n "$ac_prev"; then
356 eval "$ac_prev=\$ac_option"
361 ac_optarg
=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
363 # Accept the important Cygnus configure options, so we can diagnose typos.
367 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
369 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
372 -build |
--build |
--buil |
--bui |
--bu)
373 ac_prev
=build_alias
;;
374 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
375 build_alias
=$ac_optarg ;;
377 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
378 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
379 ac_prev
=cache_file
;;
380 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
381 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
382 cache_file
=$ac_optarg ;;
385 cache_file
=config.cache
;;
387 -datadir |
--datadir |
--datadi |
--datad |
--data |
--dat |
--da)
389 -datadir=* |
--datadir=* |
--datadi=* |
--datad=* |
--data=* |
--dat=* \
391 datadir
=$ac_optarg ;;
393 -disable-* |
--disable-*)
394 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
395 # Reject names that are not valid shell variable names.
396 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
397 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
398 { (exit 1); exit 1; }; }
399 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
400 eval "enable_$ac_feature=no" ;;
402 -enable-* |
--enable-*)
403 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
404 # Reject names that are not valid shell variable names.
405 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
406 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
407 { (exit 1); exit 1; }; }
408 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
410 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
413 eval "enable_$ac_feature='$ac_optarg'" ;;
415 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
416 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
417 |
--exec |
--exe |
--ex)
418 ac_prev
=exec_prefix
;;
419 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
420 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
421 |
--exec=* |
--exe=* |
--ex=*)
422 exec_prefix
=$ac_optarg ;;
424 -gas |
--gas |
--ga |
--g)
425 # Obsolete; use --with-gas.
428 -help |
--help |
--hel |
--he |
-h)
430 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
431 ac_init_help
=recursive
;;
432 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
433 ac_init_help
=short
;;
435 -host |
--host |
--hos |
--ho)
436 ac_prev
=host_alias
;;
437 -host=* |
--host=* |
--hos=* |
--ho=*)
438 host_alias
=$ac_optarg ;;
440 -includedir |
--includedir |
--includedi |
--included |
--include \
441 |
--includ |
--inclu |
--incl |
--inc)
442 ac_prev
=includedir
;;
443 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
444 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
445 includedir
=$ac_optarg ;;
447 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
449 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
450 infodir
=$ac_optarg ;;
452 -libdir |
--libdir |
--libdi |
--libd)
454 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
457 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
458 |
--libexe |
--libex |
--libe)
459 ac_prev
=libexecdir
;;
460 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
461 |
--libexe=* |
--libex=* |
--libe=*)
462 libexecdir
=$ac_optarg ;;
464 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
465 |
--localstate |
--localstat |
--localsta |
--localst \
466 |
--locals |
--local |
--loca |
--loc |
--lo)
467 ac_prev
=localstatedir
;;
468 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
469 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* \
470 |
--locals=* |
--local=* |
--loca=* |
--loc=* |
--lo=*)
471 localstatedir
=$ac_optarg ;;
473 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
475 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
479 # Obsolete; use --without-fp.
482 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
483 |
--no-cr |
--no-c |
-n)
486 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
487 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
490 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
491 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
492 |
--oldin |
--oldi |
--old |
--ol |
--o)
493 ac_prev
=oldincludedir
;;
494 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
495 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
496 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
497 oldincludedir
=$ac_optarg ;;
499 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
501 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
504 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
505 |
--program-pre |
--program-pr |
--program-p)
506 ac_prev
=program_prefix
;;
507 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
508 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
509 program_prefix
=$ac_optarg ;;
511 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
512 |
--program-suf |
--program-su |
--program-s)
513 ac_prev
=program_suffix
;;
514 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
515 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
516 program_suffix
=$ac_optarg ;;
518 -program-transform-name |
--program-transform-name \
519 |
--program-transform-nam |
--program-transform-na \
520 |
--program-transform-n |
--program-transform- \
521 |
--program-transform |
--program-transfor \
522 |
--program-transfo |
--program-transf \
523 |
--program-trans |
--program-tran \
524 |
--progr-tra |
--program-tr |
--program-t)
525 ac_prev
=program_transform_name
;;
526 -program-transform-name=* |
--program-transform-name=* \
527 |
--program-transform-nam=* |
--program-transform-na=* \
528 |
--program-transform-n=* |
--program-transform-=* \
529 |
--program-transform=* |
--program-transfor=* \
530 |
--program-transfo=* |
--program-transf=* \
531 |
--program-trans=* |
--program-tran=* \
532 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
533 program_transform_name
=$ac_optarg ;;
535 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
536 |
-silent |
--silent |
--silen |
--sile |
--sil)
539 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
541 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
543 sbindir
=$ac_optarg ;;
545 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
546 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
547 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
549 ac_prev
=sharedstatedir
;;
550 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
551 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
552 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
554 sharedstatedir
=$ac_optarg ;;
556 -site |
--site |
--sit)
558 -site=* |
--site=* |
--sit=*)
561 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
563 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
566 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
567 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
568 ac_prev
=sysconfdir
;;
569 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
570 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
571 sysconfdir
=$ac_optarg ;;
573 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
574 ac_prev
=target_alias
;;
575 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
576 target_alias
=$ac_optarg ;;
578 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
581 -version |
--version |
--versio |
--versi |
--vers |
-V)
585 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
586 # Reject names that are not valid shell variable names.
587 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
588 { echo "$as_me: error: invalid package name: $ac_package" >&2
589 { (exit 1); exit 1; }; }
590 ac_package
=`echo $ac_package| sed 's/-/_/g'`
592 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
595 eval "with_$ac_package='$ac_optarg'" ;;
597 -without-* |
--without-*)
598 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
599 # Reject names that are not valid shell variable names.
600 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
601 { echo "$as_me: error: invalid package name: $ac_package" >&2
602 { (exit 1); exit 1; }; }
603 ac_package
=`echo $ac_package | sed 's/-/_/g'`
604 eval "with_$ac_package=no" ;;
607 # Obsolete; use --with-x.
610 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
611 |
--x-incl |
--x-inc |
--x-in |
--x-i)
612 ac_prev
=x_includes
;;
613 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
614 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
615 x_includes
=$ac_optarg ;;
617 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
618 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
619 ac_prev
=x_libraries
;;
620 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
621 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
622 x_libraries
=$ac_optarg ;;
624 -*) { echo "$as_me: error: unrecognized option: $ac_option
625 Try \`$0 --help' for more information." >&2
626 { (exit 1); exit 1; }; }
630 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
631 # Reject names that are not valid shell variable names.
632 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
633 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
634 { (exit 1); exit 1; }; }
635 ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
636 eval "$ac_envvar='$ac_optarg'"
640 # FIXME: should be removed in autoconf 3.0.
641 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
642 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
643 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
644 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
650 if test -n "$ac_prev"; then
651 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
652 { echo "$as_me: error: missing argument to $ac_option" >&2
653 { (exit 1); exit 1; }; }
656 # Be sure to have absolute paths.
657 for ac_var
in exec_prefix prefix
659 eval ac_val
=$
`echo $ac_var`
661 [\\/$
]* | ?
:[\\/]* | NONE |
'' ) ;;
662 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
663 { (exit 1); exit 1; }; };;
667 # Be sure to have absolute paths.
668 for ac_var
in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
669 localstatedir libdir includedir oldincludedir infodir mandir
671 eval ac_val
=$
`echo $ac_var`
673 [\\/$
]* | ?
:[\\/]* ) ;;
674 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
675 { (exit 1); exit 1; }; };;
679 # There might be people who depend on the old broken behavior: `$host'
680 # used to hold the argument of --host etc.
681 # FIXME: To remove some day.
686 # FIXME: To remove some day.
687 if test "x$host_alias" != x
; then
688 if test "x$build_alias" = x
; then
689 cross_compiling
=maybe
690 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
691 If a cross compiler is detected then cross compile mode will be used." >&2
692 elif test "x$build_alias" != "x$host_alias"; then
698 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
700 test "$silent" = yes && exec 6>/dev
/null
703 # Find the source files, if location was not specified.
704 if test -z "$srcdir"; then
705 ac_srcdir_defaulted
=yes
706 # Try the directory containing this script, then its parent.
707 ac_confdir
=`(dirname "$0") 2>/dev/null ||
708 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
709 X"$0" : 'X\(//\)[^/]' \| \
710 X"$0" : 'X\(//\)$' \| \
711 X"$0" : 'X\(/\)' \| \
712 . : '\(.\)' 2>/dev/null ||
714 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
715 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
716 /^X\(\/\/\)$/{ s//\1/; q; }
717 /^X\(\/\).*/{ s//\1/; q; }
720 if test ! -r $srcdir/$ac_unique_file; then
724 ac_srcdir_defaulted
=no
726 if test ! -r $srcdir/$ac_unique_file; then
727 if test "$ac_srcdir_defaulted" = yes; then
728 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
729 { (exit 1); exit 1; }; }
731 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
732 { (exit 1); exit 1; }; }
735 (cd $srcdir && test -r .
/$ac_unique_file) 2>/dev
/null ||
736 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
737 { (exit 1); exit 1; }; }
738 srcdir
=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
739 ac_env_build_alias_set
=${build_alias+set}
740 ac_env_build_alias_value
=$build_alias
741 ac_cv_env_build_alias_set
=${build_alias+set}
742 ac_cv_env_build_alias_value
=$build_alias
743 ac_env_host_alias_set
=${host_alias+set}
744 ac_env_host_alias_value
=$host_alias
745 ac_cv_env_host_alias_set
=${host_alias+set}
746 ac_cv_env_host_alias_value
=$host_alias
747 ac_env_target_alias_set
=${target_alias+set}
748 ac_env_target_alias_value
=$target_alias
749 ac_cv_env_target_alias_set
=${target_alias+set}
750 ac_cv_env_target_alias_value
=$target_alias
751 ac_env_CC_set
=${CC+set}
753 ac_cv_env_CC_set
=${CC+set}
754 ac_cv_env_CC_value
=$CC
755 ac_env_CFLAGS_set
=${CFLAGS+set}
756 ac_env_CFLAGS_value
=$CFLAGS
757 ac_cv_env_CFLAGS_set
=${CFLAGS+set}
758 ac_cv_env_CFLAGS_value
=$CFLAGS
759 ac_env_LDFLAGS_set
=${LDFLAGS+set}
760 ac_env_LDFLAGS_value
=$LDFLAGS
761 ac_cv_env_LDFLAGS_set
=${LDFLAGS+set}
762 ac_cv_env_LDFLAGS_value
=$LDFLAGS
763 ac_env_CPPFLAGS_set
=${CPPFLAGS+set}
764 ac_env_CPPFLAGS_value
=$CPPFLAGS
765 ac_cv_env_CPPFLAGS_set
=${CPPFLAGS+set}
766 ac_cv_env_CPPFLAGS_value
=$CPPFLAGS
767 ac_env_F77_set
=${F77+set}
768 ac_env_F77_value
=$F77
769 ac_cv_env_F77_set
=${F77+set}
770 ac_cv_env_F77_value
=$F77
771 ac_env_FFLAGS_set
=${FFLAGS+set}
772 ac_env_FFLAGS_value
=$FFLAGS
773 ac_cv_env_FFLAGS_set
=${FFLAGS+set}
774 ac_cv_env_FFLAGS_value
=$FFLAGS
775 ac_env_CPP_set
=${CPP+set}
776 ac_env_CPP_value
=$CPP
777 ac_cv_env_CPP_set
=${CPP+set}
778 ac_cv_env_CPP_value
=$CPP
781 # Report the --help message.
783 if test "$ac_init_help" = "long"; then
784 # Omit some internal or obsolete options to make the list less imposing.
785 # This message is too long to be a string in the A/UX 3.1 sh.
787 \`configure' configures GNU Fortran Runtime Library 0.2 to adapt to many kinds of systems.
789 Usage: $0 [OPTION]... [VAR=VALUE]...
791 To assign environment variables (e.g., CC, CFLAGS...), specify them as
792 VAR=VALUE. See below for descriptions of some of the useful variables.
794 Defaults for the options are specified in brackets.
797 -h, --help display this help and exit
798 --help=short display options specific to this package
799 --help=recursive display the short help of all the included packages
800 -V, --version display version information and exit
801 -q, --quiet, --silent do not print \`checking...' messages
802 --cache-file=FILE cache test results in FILE [disabled]
803 -C, --config-cache alias for \`--cache-file=config.cache'
804 -n, --no-create do not create output files
805 --srcdir=DIR find the sources in DIR [configure dir or \`..']
810 Installation directories:
811 --prefix=PREFIX install architecture-independent files in PREFIX
813 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
816 By default, \`make install' will install all the files in
817 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
818 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
819 for instance \`--prefix=\$HOME'.
821 For better control, use the options below.
823 Fine tuning of the installation directories:
824 --bindir=DIR user executables [EPREFIX/bin]
825 --sbindir=DIR system admin executables [EPREFIX/sbin]
826 --libexecdir=DIR program executables [EPREFIX/libexec]
827 --datadir=DIR read-only architecture-independent data [PREFIX/share]
828 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
829 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
830 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
831 --libdir=DIR object code libraries [EPREFIX/lib]
832 --includedir=DIR C header files [PREFIX/include]
833 --oldincludedir=DIR C header files for non-gcc [/usr/include]
834 --infodir=DIR info documentation [PREFIX/info]
835 --mandir=DIR man documentation [PREFIX/man]
841 --program-prefix=PREFIX prepend PREFIX to installed program names
842 --program-suffix=SUFFIX append SUFFIX to installed program names
843 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
846 --build=BUILD configure
for building on BUILD
[guessed
]
847 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
851 if test -n "$ac_init_help"; then
852 case $ac_init_help in
853 short | recursive
) echo "Configuration of GNU Fortran Runtime Library 0.2:";;
858 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
859 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
860 --enable-maintainer-mode enable make rules and dependencies not useful
861 (and sometimes confusing
) to the casual installer
862 --disable-dependency-tracking Speeds up one-time builds
863 --enable-dependency-tracking Do not reject slow dependency extractors
864 --enable-cmath Include complex math functions
865 --enable-shared=PKGS build shared libraries default
=yes
866 --enable-static=PKGS build static libraries default
=yes
867 --enable-fast-install=PKGS optimize
for fast installation default
=yes
868 --disable-libtool-lock avoid locking
(might
break parallel builds
)
871 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
872 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
873 --with-gnu-ld assume the C compiler uses GNU ld default
=no
874 --with-pic try to use only PIC
/non-PIC objects default
=use both
876 Some influential environment variables
:
877 CC C compiler
command
878 CFLAGS C compiler flags
879 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
880 nonstandard directory
<lib dir
>
881 CPPFLAGS C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if you have
882 headers
in a nonstandard directory
<include dir
>
883 F77 Fortran
77 compiler
command
884 FFLAGS Fortran
77 compiler flags
887 Use these variables to override the choices made by
`configure' or to help
888 it to find libraries and programs with nonstandard names/locations.
893 if test "$ac_init_help" = "recursive"; then
894 # If there are subdirs, report their specific --help.
896 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
897 test -d $ac_dir || continue
900 if test "$ac_dir" != .; then
901 ac_dir_suffix=/`echo "$ac_dir" |
sed 's,^\.[\\/],,'`
902 # A "../" for each directory in $ac_dir_suffix.
903 ac_top_builddir=`echo "$ac_dir_suffix" |
sed 's,/[^\\/]*,../,g'`
905 ac_dir_suffix= ac_top_builddir=
909 .) # No --srcdir option. We are building in place.
911 if test -z "$ac_top_builddir"; then
914 ac_top_srcdir=`echo $ac_top_builddir |
sed 's,/$,,'`
916 [\\/]* | ?:[\\/]* ) # Absolute path.
917 ac_srcdir=$srcdir$ac_dir_suffix;
918 ac_top_srcdir=$srcdir ;;
920 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
921 ac_top_srcdir=$ac_top_builddir$srcdir ;;
923 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
925 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
926 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}.
&& pwd`
927 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
928 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
931 # Check for guested configure; otherwise get Cygnus style configure.
932 if test -f $ac_srcdir/configure.gnu; then
934 $SHELL $ac_srcdir/configure.gnu --help=recursive
935 elif test -f $ac_srcdir/configure; then
937 $SHELL $ac_srcdir/configure --help=recursive
938 elif test -f $ac_srcdir/configure.ac ||
939 test -f $ac_srcdir/configure.in; then
943 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
949 test -n "$ac_init_help" && exit 0
950 if $ac_init_version; then
952 GNU Fortran Runtime Library configure 0.2
953 generated by GNU Autoconf 2.57
955 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
956 Free Software Foundation, Inc.
957 This configure script is free software; the Free Software Foundation
958 gives unlimited permission to copy, distribute and modify it.
964 This file contains any messages produced by compilers while
965 running configure, to aid debugging if configure makes a mistake.
967 It was created by GNU Fortran Runtime Library $as_me 0.2, which was
968 generated by GNU Autoconf 2.57. Invocation command line was
979 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
980 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
981 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
982 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
983 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
985 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
986 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
988 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
989 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
990 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
991 hostinfo = `(hostinfo
) 2>/dev
/null ||
echo unknown
`
992 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
993 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
994 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
998 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1002 test -z "$as_dir" && as_dir=.
1003 echo "PATH: $as_dir"
1018 # Keep a trace of the command line.
1019 # Strip out --no-create and --no-recursion so they do not pile up.
1020 # Strip out --silent because we don't want to record it for future runs.
1021 # Also quote any args containing shell meta-characters.
1022 # Make two passes to allow for proper duplicate-argument suppression.
1027 ac_must_keep_next=false
1033 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1034 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1035 | -silent | --silent | --silen | --sile | --sil)
1037 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1038 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1041 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1043 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1044 if test $ac_must_keep_next = true; then
1045 ac_must_keep_next=false # Got value, back to normal.
1048 *=* | --config-cache | -C | -disable-* | --disable-* \
1049 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1050 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1051 | -with-* | --with-* | -without-* | --without-* | --x)
1052 case "$ac_configure_args0 " in
1053 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1056 -* ) ac_must_keep_next=true ;;
1059 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1060 # Get rid of the leading space.
1066 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1067 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1069 # When interrupted or exit'd, cleanup temporary files, and complete
1070 # config.log. We remove comments because anyway the quotes in there
1071 # would cause problems or look ugly.
1072 # WARNING: Be sure not to use single quotes in there, as some shells,
1073 # such as our DU 5.0 friend, will then `close
' the trap.
1074 trap 'exit_status
=$?
1075 # Save into config.log some information that might help in debugging.
1080 ## ---------------- ##
1081 ## Cache variables. ##
1082 ## ---------------- ##
1085 # The following way of writing the cache mishandles newlines in values,
1088 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1091 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1092 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1096 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1103 ## ----------------- ##
1104 ## Output variables. ##
1105 ## ----------------- ##
1108 for ac_var
in $ac_subst_vars
1110 eval ac_val
=$
`echo $ac_var`
1111 echo "$ac_var='"'"'$ac_val'"'"'"
1115 if test -n "$ac_subst_files"; then
1122 for ac_var
in $ac_subst_files
1124 eval ac_val
=$
`echo $ac_var`
1125 echo "$ac_var='"'"'$ac_val'"'"'"
1130 if test -s confdefs.h
; then
1137 sed "/^$/d" confdefs.h |
sort
1140 test "$ac_signal" != 0 &&
1141 echo "$as_me: caught signal $ac_signal"
1142 echo "$as_me: exit $exit_status"
1144 rm -f core
*.core
&&
1145 rm -rf conftest
* confdefs
* conf$$
* $ac_clean_files &&
1148 for ac_signal in 1 2 13 15; do
1149 trap 'ac_signal
='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1153 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1154 rm -rf conftest* confdefs.h
1155 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1158 # Predefined preprocessor variables.
1160 cat >>confdefs.h <<_ACEOF
1161 #define PACKAGE_NAME "$PACKAGE_NAME"
1165 cat >>confdefs.h <<_ACEOF
1166 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1170 cat >>confdefs.h <<_ACEOF
1171 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1175 cat >>confdefs.h <<_ACEOF
1176 #define PACKAGE_STRING "$PACKAGE_STRING"
1180 cat >>confdefs.h <<_ACEOF
1181 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1185 # Let the site file select an alternate cache file if it wants to.
1186 # Prefer explicitly selected file to automatically selected ones.
1187 if test -z "$CONFIG_SITE"; then
1188 if test "x$prefix" != xNONE; then
1189 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1191 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1194 for ac_site_file in $CONFIG_SITE; do
1195 if test -r "$ac_site_file"; then
1196 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1197 echo "$as_me: loading site script $ac_site_file" >&6;}
1198 sed 's
/^
/|
/' "$ac_site_file" >&5
1203 if test -r "$cache_file"; then
1204 # Some versions of bash will fail to source /dev/null (special
1205 # files actually), so we avoid doing that.
1206 if test -f "$cache_file"; then
1207 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1208 echo "$as_me: loading cache $cache_file" >&6;}
1210 [\\/]* | ?:[\\/]* ) . $cache_file;;
1211 *) . ./$cache_file;;
1215 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1216 echo "$as_me: creating cache $cache_file" >&6;}
1220 # Check that the precious variables saved in the cache have kept the same
1222 ac_cache_corrupted=false
1223 for ac_var in `(set) 2>&1 |
1224 sed -n 's
/^ac_env_\
([a-zA-Z_0-9
]*\
)_set
=.
*/\
1/p
'`; do
1225 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1226 eval ac_new_set=\$ac_env_${ac_var}_set
1227 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1228 eval ac_new_val="\$ac_env_${ac_var}_value"
1229 case $ac_old_set,$ac_new_set in
1231 { echo "$as_me:$LINENO: error: \`$ac_var' was
set to \
`$ac_old_val' in the previous run" >&5
1232 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&2;}
1233 ac_cache_corrupted=: ;;
1235 { echo "$as_me:$LINENO: error
: \
`$ac_var' was not set in the previous run" >&5
1236 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1237 ac_cache_corrupted=: ;;
1240 if test "x$ac_old_val" != "x$ac_new_val"; then
1241 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run
:" >&5
1242 echo "$as_me: error
: \
`$ac_var' has changed since the previous run:" >&2;}
1243 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1244 echo "$as_me: former value: $ac_old_val" >&2;}
1245 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1246 echo "$as_me: current value: $ac_new_val" >&2;}
1247 ac_cache_corrupted=:
1250 # Pass precious variables to config.status.
1251 if test "$ac_new_set" = set; then
1253 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1254 ac_arg=$ac_var=`echo "$ac_new_val" |
sed "s/'/'\\\\\\\\''/g"` ;;
1255 *) ac_arg=$ac_var=$ac_new_val ;;
1257 case " $ac_configure_args " in
1258 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1259 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1263 if $ac_cache_corrupted; then
1264 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1265 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1266 { { echo "$as_me:$LINENO: error: run \`make distclean
' and/or \`rm $cache_file' and start over
" >&5
1267 echo "$as_me: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1268 { (exit 1); exit 1; }; }
1272 ac_cpp='$CPP $CPPFLAGS'
1273 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
1274 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
1275 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1303 am__api_version="1.7"
1305 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1306 if test -f $ac_dir/install-sh; then
1308 ac_install_sh="$ac_aux_dir/install-sh -c"
1310 elif test -f $ac_dir/install.sh; then
1312 ac_install_sh="$ac_aux_dir/install.sh -c"
1314 elif test -f $ac_dir/shtool; then
1316 ac_install_sh="$ac_aux_dir/shtool install -c"
1320 if test -z "$ac_aux_dir"; then
1321 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1322 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1323 { (exit 1); exit 1; }; }
1325 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1326 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1327 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1329 # Find a good install program. We prefer a C program (faster),
1330 # so one script is as good as another. But avoid the broken or
1331 # incompatible versions:
1332 # SysV /etc/install, /usr/sbin/install
1333 # SunOS /usr/etc/install
1334 # IRIX /sbin/install
1336 # AmigaOS /C/install, which installs bootblocks on floppy discs
1337 # AIX 4 /usr/bin/installbsd, which doesn't work without a
-g flag
1338 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1339 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1340 # ./install, which can be erroneously created by make from ./install.sh.
1341 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1342 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1343 if test -z "$INSTALL"; then
1344 if test "${ac_cv_path_install+set}" = set; then
1345 echo $ECHO_N "(cached) $ECHO_C" >&6
1347 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1351 test -z "$as_dir" && as_dir
=.
1352 # Account for people who put trailing slashes in PATH elements.
1354 .
/ | .
// |
/cC
/* | \
1355 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
1358 # OSF1 and SCO ODT 3.0 have their own names for install.
1359 # Don't use installbsd from OSF since it installs stuff as root
1361 for ac_prog
in ginstall scoinst
install; do
1362 for ac_exec_ext
in '' $ac_executable_extensions; do
1363 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1364 if test $ac_prog = install &&
1365 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
1366 # AIX install. It has an incompatible calling convention.
1368 elif test $ac_prog = install &&
1369 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
1370 # program-specific install script used by HP pwplus--don't use.
1373 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
1385 if test "${ac_cv_path_install+set}" = set; then
1386 INSTALL
=$ac_cv_path_install
1388 # As a last resort, use the slow shell script. We don't cache a
1389 # path for INSTALL within a source directory, because that will
1390 # break other packages using the cache if that directory is
1391 # removed, or if the path is relative.
1392 INSTALL
=$ac_install_sh
1395 echo "$as_me:$LINENO: result: $INSTALL" >&5
1396 echo "${ECHO_T}$INSTALL" >&6
1398 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1399 # It thinks the first close brace ends the variable substitution.
1400 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
1402 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
1404 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
1406 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1407 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1410 echo timestamp
> conftest.
file
1411 # Do `set' in a subshell so we don't clobber the current shell's
1412 # arguments. Must try -L first in case configure is actually a
1413 # symlink; some systems play weird games with the mod time of symlinks
1414 # (eg FreeBSD returns the mod time of the symlink's containing
1417 set X
`ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1418 if test "$*" = "X"; then
1420 set X
`ls -t $srcdir/configure conftest.file`
1423 if test "$*" != "X $srcdir/configure conftest.file" \
1424 && test "$*" != "X conftest.file $srcdir/configure"; then
1426 # If neither matched, then we have a broken ls. This can happen
1427 # if, for instance, CONFIG_SHELL is bash and it inherits a
1428 # broken ls alias from the environment. This has actually
1429 # happened. Such a system could not be considered "sane".
1430 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1431 alias in your environment" >&5
1432 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1433 alias in your environment" >&2;}
1434 { (exit 1); exit 1; }; }
1437 test "$2" = conftest.
file
1443 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1444 Check your system clock" >&5
1445 echo "$as_me: error: newly created file is older than distributed files!
1446 Check your system clock" >&2;}
1447 { (exit 1); exit 1; }; }
1449 echo "$as_me:$LINENO: result: yes" >&5
1450 echo "${ECHO_T}yes" >&6
1451 test "$program_prefix" != NONE
&&
1452 program_transform_name
="s,^,$program_prefix,;$program_transform_name"
1453 # Use a double $ so make ignores it.
1454 test "$program_suffix" != NONE
&&
1455 program_transform_name
="s,\$,$program_suffix,;$program_transform_name"
1456 # Double any \ or $. echo might interpret backslashes.
1457 # By default was `s,x,x', remove it if useless.
1458 cat <<\_ACEOF
>conftest.
sed
1459 s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//
1461 program_transform_name
=`echo $program_transform_name | sed -f conftest.sed`
1465 # expand $ac_aux_dir to an absolute path
1466 am_aux_dir
=`cd $ac_aux_dir && pwd`
1468 test x
"${MISSING+set}" = xset || MISSING
="\${SHELL} $am_aux_dir/missing"
1469 # Use eval to expand $SHELL
1470 if eval "$MISSING --run true"; then
1471 am_missing_run
="$MISSING --run "
1474 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1475 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1478 for ac_prog
in gawk mawk nawk
awk
1480 # Extract the first word of "$ac_prog", so it can be a program name with args.
1481 set dummy
$ac_prog; ac_word
=$2
1482 echo "$as_me:$LINENO: checking for $ac_word" >&5
1483 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1484 if test "${ac_cv_prog_AWK+set}" = set; then
1485 echo $ECHO_N "(cached) $ECHO_C" >&6
1487 if test -n "$AWK"; then
1488 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
1490 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1494 test -z "$as_dir" && as_dir
=.
1495 for ac_exec_ext
in '' $ac_executable_extensions; do
1496 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1497 ac_cv_prog_AWK
="$ac_prog"
1498 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1507 if test -n "$AWK"; then
1508 echo "$as_me:$LINENO: result: $AWK" >&5
1509 echo "${ECHO_T}$AWK" >&6
1511 echo "$as_me:$LINENO: result: no" >&5
1512 echo "${ECHO_T}no" >&6
1515 test -n "$AWK" && break
1518 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1519 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1520 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,./+-,__p_,'`
1521 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1522 echo $ECHO_N "(cached) $ECHO_C" >&6
1524 cat >conftest.
make <<\_ACEOF
1526 @
echo 'ac_maketemp="$(MAKE)"'
1528 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1529 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1530 if test -n "$ac_maketemp"; then
1531 eval ac_cv_prog_make_
${ac_make}_set
=yes
1533 eval ac_cv_prog_make_
${ac_make}_set
=no
1537 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1538 echo "$as_me:$LINENO: result: yes" >&5
1539 echo "${ECHO_T}yes" >&6
1542 echo "$as_me:$LINENO: result: no" >&5
1543 echo "${ECHO_T}no" >&6
1544 SET_MAKE
="MAKE=${MAKE-make}"
1547 rm -rf .tst
2>/dev
/null
1548 mkdir .tst
2>/dev
/null
1549 if test -d .tst
; then
1554 rmdir .tst
2>/dev
/null
1556 # test to see if srcdir already configured
1557 if test "`cd $srcdir && pwd`" != "`pwd`" &&
1558 test -f $srcdir/config.status
; then
1559 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1560 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1561 { (exit 1); exit 1; }; }
1564 # test whether we have cygpath
1565 if test -z "$CYGPATH_W"; then
1566 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
1567 CYGPATH_W
='cygpath -w'
1574 # Define the identity of the package.
1575 PACKAGE
='libgfortran'
1579 cat >>confdefs.h
<<_ACEOF
1580 #define PACKAGE "$PACKAGE"
1584 cat >>confdefs.h
<<_ACEOF
1585 #define VERSION "$VERSION"
1588 # Some tools Automake needs.
1590 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1593 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
1596 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1599 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
1602 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
1605 AMTAR
=${AMTAR-"${am_missing_run}tar"}
1607 install_sh
=${install_sh-"$am_aux_dir/install-sh"}
1609 # Installed binaries are usually stripped using `strip' when the user
1610 # run `make install-strip'. However `strip' might not be the right
1611 # tool to use in cross-compilation environments, therefore Automake
1612 # will honor the `STRIP' environment variable to overrule this program.
1613 if test "$cross_compiling" != no
; then
1614 if test -n "$ac_tool_prefix"; then
1615 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1616 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
1617 echo "$as_me:$LINENO: checking for $ac_word" >&5
1618 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1619 if test "${ac_cv_prog_STRIP+set}" = set; then
1620 echo $ECHO_N "(cached) $ECHO_C" >&6
1622 if test -n "$STRIP"; then
1623 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
1625 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1629 test -z "$as_dir" && as_dir
=.
1630 for ac_exec_ext
in '' $ac_executable_extensions; do
1631 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1632 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
1633 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1641 STRIP
=$ac_cv_prog_STRIP
1642 if test -n "$STRIP"; then
1643 echo "$as_me:$LINENO: result: $STRIP" >&5
1644 echo "${ECHO_T}$STRIP" >&6
1646 echo "$as_me:$LINENO: result: no" >&5
1647 echo "${ECHO_T}no" >&6
1651 if test -z "$ac_cv_prog_STRIP"; then
1653 # Extract the first word of "strip", so it can be a program name with args.
1654 set dummy strip
; ac_word
=$2
1655 echo "$as_me:$LINENO: checking for $ac_word" >&5
1656 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1657 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1658 echo $ECHO_N "(cached) $ECHO_C" >&6
1660 if test -n "$ac_ct_STRIP"; then
1661 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
1663 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1667 test -z "$as_dir" && as_dir
=.
1668 for ac_exec_ext
in '' $ac_executable_extensions; do
1669 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1670 ac_cv_prog_ac_ct_STRIP
="strip"
1671 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1677 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
1680 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
1681 if test -n "$ac_ct_STRIP"; then
1682 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1683 echo "${ECHO_T}$ac_ct_STRIP" >&6
1685 echo "$as_me:$LINENO: result: no" >&5
1686 echo "${ECHO_T}no" >&6
1691 STRIP
="$ac_cv_prog_STRIP"
1695 INSTALL_STRIP_PROGRAM
="\${SHELL} \$(install_sh) -c -s"
1697 # We need awk for the "check" target. The system "awk" is bad on
1702 ac_config_headers
="$ac_config_headers config.h"
1704 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
1705 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
1706 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
1707 if test "${enable_maintainer_mode+set}" = set; then
1708 enableval
="$enable_maintainer_mode"
1709 USE_MAINTAINER_MODE
=$enableval
1711 USE_MAINTAINER_MODE
=no
1713 echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
1714 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
1717 if test $USE_MAINTAINER_MODE = yes; then
1718 MAINTAINER_MODE_TRUE
=
1719 MAINTAINER_MODE_FALSE
='#'
1721 MAINTAINER_MODE_TRUE
='#'
1722 MAINTAINER_MODE_FALSE
=
1725 MAINT
=$MAINTAINER_MODE_TRUE
1732 # check for compiler
1734 ac_cpp
='$CPP $CPPFLAGS'
1735 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1736 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1737 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1738 if test -n "$ac_tool_prefix"; then
1739 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1740 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
1741 echo "$as_me:$LINENO: checking for $ac_word" >&5
1742 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1743 if test "${ac_cv_prog_CC+set}" = set; then
1744 echo $ECHO_N "(cached) $ECHO_C" >&6
1746 if test -n "$CC"; then
1747 ac_cv_prog_CC
="$CC" # Let the user override the test.
1749 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1753 test -z "$as_dir" && as_dir
=.
1754 for ac_exec_ext
in '' $ac_executable_extensions; do
1755 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1756 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
1757 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1766 if test -n "$CC"; then
1767 echo "$as_me:$LINENO: result: $CC" >&5
1768 echo "${ECHO_T}$CC" >&6
1770 echo "$as_me:$LINENO: result: no" >&5
1771 echo "${ECHO_T}no" >&6
1775 if test -z "$ac_cv_prog_CC"; then
1777 # Extract the first word of "gcc", so it can be a program name with args.
1778 set dummy gcc
; ac_word
=$2
1779 echo "$as_me:$LINENO: checking for $ac_word" >&5
1780 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1781 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1782 echo $ECHO_N "(cached) $ECHO_C" >&6
1784 if test -n "$ac_ct_CC"; then
1785 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1787 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1791 test -z "$as_dir" && as_dir
=.
1792 for ac_exec_ext
in '' $ac_executable_extensions; do
1793 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1794 ac_cv_prog_ac_ct_CC
="gcc"
1795 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1803 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1804 if test -n "$ac_ct_CC"; then
1805 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1806 echo "${ECHO_T}$ac_ct_CC" >&6
1808 echo "$as_me:$LINENO: result: no" >&5
1809 echo "${ECHO_T}no" >&6
1817 if test -z "$CC"; then
1818 if test -n "$ac_tool_prefix"; then
1819 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1820 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
1821 echo "$as_me:$LINENO: checking for $ac_word" >&5
1822 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1823 if test "${ac_cv_prog_CC+set}" = set; then
1824 echo $ECHO_N "(cached) $ECHO_C" >&6
1826 if test -n "$CC"; then
1827 ac_cv_prog_CC
="$CC" # Let the user override the test.
1829 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1833 test -z "$as_dir" && as_dir
=.
1834 for ac_exec_ext
in '' $ac_executable_extensions; do
1835 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1836 ac_cv_prog_CC
="${ac_tool_prefix}cc"
1837 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1846 if test -n "$CC"; then
1847 echo "$as_me:$LINENO: result: $CC" >&5
1848 echo "${ECHO_T}$CC" >&6
1850 echo "$as_me:$LINENO: result: no" >&5
1851 echo "${ECHO_T}no" >&6
1855 if test -z "$ac_cv_prog_CC"; then
1857 # Extract the first word of "cc", so it can be a program name with args.
1858 set dummy cc
; ac_word
=$2
1859 echo "$as_me:$LINENO: checking for $ac_word" >&5
1860 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1861 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1862 echo $ECHO_N "(cached) $ECHO_C" >&6
1864 if test -n "$ac_ct_CC"; then
1865 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1867 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1871 test -z "$as_dir" && as_dir
=.
1872 for ac_exec_ext
in '' $ac_executable_extensions; do
1873 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1874 ac_cv_prog_ac_ct_CC
="cc"
1875 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1883 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1884 if test -n "$ac_ct_CC"; then
1885 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1886 echo "${ECHO_T}$ac_ct_CC" >&6
1888 echo "$as_me:$LINENO: result: no" >&5
1889 echo "${ECHO_T}no" >&6
1898 if test -z "$CC"; then
1899 # Extract the first word of "cc", so it can be a program name with args.
1900 set dummy cc
; ac_word
=$2
1901 echo "$as_me:$LINENO: checking for $ac_word" >&5
1902 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1903 if test "${ac_cv_prog_CC+set}" = set; then
1904 echo $ECHO_N "(cached) $ECHO_C" >&6
1906 if test -n "$CC"; then
1907 ac_cv_prog_CC
="$CC" # Let the user override the test.
1910 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1914 test -z "$as_dir" && as_dir
=.
1915 for ac_exec_ext
in '' $ac_executable_extensions; do
1916 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1917 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1918 ac_prog_rejected
=yes
1922 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1928 if test $ac_prog_rejected = yes; then
1929 # We found a bogon in the path, so make sure we never use it.
1930 set dummy
$ac_cv_prog_CC
1932 if test $# != 0; then
1933 # We chose a different compiler from the bogus one.
1934 # However, it has the same basename, so the bogon will be chosen
1935 # first if we set CC to just the basename; use the full file name.
1937 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
1943 if test -n "$CC"; then
1944 echo "$as_me:$LINENO: result: $CC" >&5
1945 echo "${ECHO_T}$CC" >&6
1947 echo "$as_me:$LINENO: result: no" >&5
1948 echo "${ECHO_T}no" >&6
1952 if test -z "$CC"; then
1953 if test -n "$ac_tool_prefix"; then
1956 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1957 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
1958 echo "$as_me:$LINENO: checking for $ac_word" >&5
1959 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1960 if test "${ac_cv_prog_CC+set}" = set; then
1961 echo $ECHO_N "(cached) $ECHO_C" >&6
1963 if test -n "$CC"; then
1964 ac_cv_prog_CC
="$CC" # Let the user override the test.
1966 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1970 test -z "$as_dir" && as_dir
=.
1971 for ac_exec_ext
in '' $ac_executable_extensions; do
1972 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1973 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
1974 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1983 if test -n "$CC"; then
1984 echo "$as_me:$LINENO: result: $CC" >&5
1985 echo "${ECHO_T}$CC" >&6
1987 echo "$as_me:$LINENO: result: no" >&5
1988 echo "${ECHO_T}no" >&6
1991 test -n "$CC" && break
1994 if test -z "$CC"; then
1998 # Extract the first word of "$ac_prog", so it can be a program name with args.
1999 set dummy
$ac_prog; ac_word
=$2
2000 echo "$as_me:$LINENO: checking for $ac_word" >&5
2001 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2002 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2003 echo $ECHO_N "(cached) $ECHO_C" >&6
2005 if test -n "$ac_ct_CC"; then
2006 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2008 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2012 test -z "$as_dir" && as_dir
=.
2013 for ac_exec_ext
in '' $ac_executable_extensions; do
2014 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2015 ac_cv_prog_ac_ct_CC
="$ac_prog"
2016 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2024 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2025 if test -n "$ac_ct_CC"; then
2026 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2027 echo "${ECHO_T}$ac_ct_CC" >&6
2029 echo "$as_me:$LINENO: result: no" >&5
2030 echo "${ECHO_T}no" >&6
2033 test -n "$ac_ct_CC" && break
2042 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2043 See \`config.log' for more details." >&5
2044 echo "$as_me: error: no acceptable C compiler found in \$PATH
2045 See \`config.log' for more details." >&2;}
2046 { (exit 1); exit 1; }; }
2048 # Provide some information about the compiler.
2049 echo "$as_me:$LINENO:" \
2050 "checking for C compiler version" >&5
2051 ac_compiler
=`set X $ac_compile; echo $2`
2052 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2053 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
2055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2056 (exit $ac_status); }
2057 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2058 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
2060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2061 (exit $ac_status); }
2062 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2063 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
2065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2066 (exit $ac_status); }
2068 cat >conftest.
$ac_ext <<_ACEOF
2069 #line $LINENO "configure"
2072 cat confdefs.h
>>conftest.
$ac_ext
2073 cat >>conftest.
$ac_ext <<_ACEOF
2074 /* end confdefs.h. */
2084 ac_clean_files_save
=$ac_clean_files
2085 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
2086 # Try to create an executable without -o first, disregard a.out.
2087 # It will help us diagnose broken compilers, and finding out an intuition
2089 echo "$as_me:$LINENO: checking for C compiler default output" >&5
2090 echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
2091 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2092 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2093 (eval $ac_link_default) 2>&5
2095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2096 (exit $ac_status); }; then
2097 # Find the output, starting from the most likely. This scheme is
2098 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2101 # Be careful to initialize this variable, since it used to be cached.
2102 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2104 # b.out is created by i960 compilers.
2105 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
2107 test -f "$ac_file" ||
continue
2109 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
)
2112 # This is the source file.
2115 # We found the default executable, but exeext='' is most
2119 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2120 # FIXME: I believe we export ac_cv_exeext for Libtool,
2121 # but it would be cool to find out if it's true. Does anybody
2122 # maintain Libtool? --akim.
2130 echo "$as_me: failed program was:" >&5
2131 sed 's/^/| /' conftest.
$ac_ext >&5
2133 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2134 See \`config.log' for more details." >&5
2135 echo "$as_me: error: C compiler cannot create executables
2136 See \`config.log' for more details." >&2;}
2137 { (exit 77); exit 77; }; }
2140 ac_exeext
=$ac_cv_exeext
2141 echo "$as_me:$LINENO: result: $ac_file" >&5
2142 echo "${ECHO_T}$ac_file" >&6
2144 # Check the compiler produces executables we can run. If not, either
2145 # the compiler is broken, or we cross compile.
2146 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2147 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2148 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2149 # If not cross compiling, check that we can run a simple program.
2150 if test "$cross_compiling" != yes; then
2151 if { ac_try
='./$ac_file'
2152 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2156 (exit $ac_status); }; }; then
2159 if test "$cross_compiling" = maybe
; then
2162 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2163 If you meant to cross compile, use \`--host'.
2164 See \`config.log' for more details." >&5
2165 echo "$as_me: error: cannot run C compiled programs.
2166 If you meant to cross compile, use \`--host'.
2167 See \`config.log' for more details." >&2;}
2168 { (exit 1); exit 1; }; }
2172 echo "$as_me:$LINENO: result: yes" >&5
2173 echo "${ECHO_T}yes" >&6
2175 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
2176 ac_clean_files
=$ac_clean_files_save
2177 # Check the compiler produces executables we can run. If not, either
2178 # the compiler is broken, or we cross compile.
2179 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2180 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2181 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2182 echo "${ECHO_T}$cross_compiling" >&6
2184 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2185 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2186 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2187 (eval $ac_link) 2>&5
2189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2190 (exit $ac_status); }; then
2191 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2192 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2193 # work properly (i.e., refer to `conftest.exe'), while it won't with
2195 for ac_file
in conftest.exe conftest conftest.
*; do
2196 test -f "$ac_file" ||
continue
2198 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
) ;;
2199 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2206 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2207 See \`config.log' for more details." >&5
2208 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2209 See \`config.log' for more details." >&2;}
2210 { (exit 1); exit 1; }; }
2213 rm -f conftest
$ac_cv_exeext
2214 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2215 echo "${ECHO_T}$ac_cv_exeext" >&6
2217 rm -f conftest.
$ac_ext
2218 EXEEXT
=$ac_cv_exeext
2220 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2221 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2222 if test "${ac_cv_objext+set}" = set; then
2223 echo $ECHO_N "(cached) $ECHO_C" >&6
2225 cat >conftest.
$ac_ext <<_ACEOF
2226 #line $LINENO "configure"
2229 cat confdefs.h
>>conftest.
$ac_ext
2230 cat >>conftest.
$ac_ext <<_ACEOF
2231 /* end confdefs.h. */
2241 rm -f conftest.o conftest.obj
2242 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2243 (eval $ac_compile) 2>&5
2245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2246 (exit $ac_status); }; then
2247 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2249 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg
) ;;
2250 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
2255 echo "$as_me: failed program was:" >&5
2256 sed 's/^/| /' conftest.
$ac_ext >&5
2258 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2259 See \`config.log' for more details." >&5
2260 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2261 See \`config.log' for more details." >&2;}
2262 { (exit 1); exit 1; }; }
2265 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
2267 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2268 echo "${ECHO_T}$ac_cv_objext" >&6
2269 OBJEXT
=$ac_cv_objext
2271 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2272 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2273 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2274 echo $ECHO_N "(cached) $ECHO_C" >&6
2276 cat >conftest.
$ac_ext <<_ACEOF
2277 #line $LINENO "configure"
2280 cat confdefs.h
>>conftest.
$ac_ext
2281 cat >>conftest.
$ac_ext <<_ACEOF
2282 /* end confdefs.h. */
2295 rm -f conftest.
$ac_objext
2296 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2297 (eval $ac_compile) 2>&5
2299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2300 (exit $ac_status); } &&
2301 { ac_try
='test -s conftest.$ac_objext'
2302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2306 (exit $ac_status); }; }; then
2309 echo "$as_me: failed program was:" >&5
2310 sed 's/^/| /' conftest.
$ac_ext >&5
2314 rm -f conftest.
$ac_objext conftest.
$ac_ext
2315 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
2318 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2319 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2320 GCC
=`test $ac_compiler_gnu = yes && echo yes`
2321 ac_test_CFLAGS
=${CFLAGS+set}
2322 ac_save_CFLAGS
=$CFLAGS
2324 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2325 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2326 if test "${ac_cv_prog_cc_g+set}" = set; then
2327 echo $ECHO_N "(cached) $ECHO_C" >&6
2329 cat >conftest.
$ac_ext <<_ACEOF
2330 #line $LINENO "configure"
2333 cat confdefs.h
>>conftest.
$ac_ext
2334 cat >>conftest.
$ac_ext <<_ACEOF
2335 /* end confdefs.h. */
2345 rm -f conftest.
$ac_objext
2346 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2347 (eval $ac_compile) 2>&5
2349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2350 (exit $ac_status); } &&
2351 { ac_try
='test -s conftest.$ac_objext'
2352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2356 (exit $ac_status); }; }; then
2359 echo "$as_me: failed program was:" >&5
2360 sed 's/^/| /' conftest.
$ac_ext >&5
2364 rm -f conftest.
$ac_objext conftest.
$ac_ext
2366 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2367 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2368 if test "$ac_test_CFLAGS" = set; then
2369 CFLAGS
=$ac_save_CFLAGS
2370 elif test $ac_cv_prog_cc_g = yes; then
2371 if test "$GCC" = yes; then
2377 if test "$GCC" = yes; then
2383 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2384 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2385 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2386 echo $ECHO_N "(cached) $ECHO_C" >&6
2388 ac_cv_prog_cc_stdc
=no
2390 cat >conftest.
$ac_ext <<_ACEOF
2391 #line $LINENO "configure"
2394 cat confdefs.h
>>conftest.
$ac_ext
2395 cat >>conftest.
$ac_ext <<_ACEOF
2396 /* end confdefs.h. */
2399 #include <sys/types.h>
2400 #include <sys/stat.h>
2401 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2402 struct buf { int x; };
2403 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2404 static char *e (p, i)
2410 static char *f (char * (*g) (char **, int), char **p, ...)
2415 s = g (p, va_arg (v,int));
2419 int test (int i, double x);
2420 struct s1 {int (*f) (int a);};
2421 struct s2 {int (*f) (double a);};
2422 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2428 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2433 # Don't try gcc -ansi; that turns off useful extensions and
2434 # breaks some systems' header files.
2435 # AIX -qlanglvl=ansi
2436 # Ultrix and OSF/1 -std1
2437 # HP-UX 10.20 and later -Ae
2438 # HP-UX older versions -Aa -D_HPUX_SOURCE
2439 # SVR4 -Xc -D__EXTENSIONS__
2440 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2442 CC
="$ac_save_CC $ac_arg"
2443 rm -f conftest.
$ac_objext
2444 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2445 (eval $ac_compile) 2>&5
2447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2448 (exit $ac_status); } &&
2449 { ac_try
='test -s conftest.$ac_objext'
2450 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2454 (exit $ac_status); }; }; then
2455 ac_cv_prog_cc_stdc
=$ac_arg
2458 echo "$as_me: failed program was:" >&5
2459 sed 's/^/| /' conftest.
$ac_ext >&5
2462 rm -f conftest.
$ac_objext
2464 rm -f conftest.
$ac_ext conftest.
$ac_objext
2469 case "x$ac_cv_prog_cc_stdc" in
2471 echo "$as_me:$LINENO: result: none needed" >&5
2472 echo "${ECHO_T}none needed" >&6 ;;
2474 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2475 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2476 CC
="$CC $ac_cv_prog_cc_stdc" ;;
2479 # Some people use a C++ compiler to compile C. Since we use `exit',
2480 # in C++ we need to declare it. In case someone uses the same compiler
2481 # for both compiling C and C++ we need to have the C++ compiler decide
2482 # the declaration of exit, since it's the most demanding environment.
2483 cat >conftest.
$ac_ext <<_ACEOF
2488 rm -f conftest.
$ac_objext
2489 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2490 (eval $ac_compile) 2>&5
2492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2493 (exit $ac_status); } &&
2494 { ac_try
='test -s conftest.$ac_objext'
2495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2499 (exit $ac_status); }; }; then
2500 for ac_declaration
in \
2502 'extern "C" void std::exit (int) throw (); using std::exit;' \
2503 'extern "C" void std::exit (int); using std::exit;' \
2504 'extern "C" void exit (int) throw ();' \
2505 'extern "C" void exit (int);' \
2508 cat >conftest.
$ac_ext <<_ACEOF
2509 #line $LINENO "configure"
2512 cat confdefs.h
>>conftest.
$ac_ext
2513 cat >>conftest.
$ac_ext <<_ACEOF
2514 /* end confdefs.h. */
2525 rm -f conftest.
$ac_objext
2526 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2527 (eval $ac_compile) 2>&5
2529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2530 (exit $ac_status); } &&
2531 { ac_try
='test -s conftest.$ac_objext'
2532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2536 (exit $ac_status); }; }; then
2539 echo "$as_me: failed program was:" >&5
2540 sed 's/^/| /' conftest.
$ac_ext >&5
2544 rm -f conftest.
$ac_objext conftest.
$ac_ext
2545 cat >conftest.
$ac_ext <<_ACEOF
2546 #line $LINENO "configure"
2549 cat confdefs.h
>>conftest.
$ac_ext
2550 cat >>conftest.
$ac_ext <<_ACEOF
2551 /* end confdefs.h. */
2561 rm -f conftest.
$ac_objext
2562 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2563 (eval $ac_compile) 2>&5
2565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2566 (exit $ac_status); } &&
2567 { ac_try
='test -s conftest.$ac_objext'
2568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2572 (exit $ac_status); }; }; then
2575 echo "$as_me: failed program was:" >&5
2576 sed 's/^/| /' conftest.
$ac_ext >&5
2579 rm -f conftest.
$ac_objext conftest.
$ac_ext
2582 if test -n "$ac_declaration"; then
2583 echo '#ifdef __cplusplus' >>confdefs.h
2584 echo $ac_declaration >>confdefs.h
2585 echo '#endif' >>confdefs.h
2589 echo "$as_me: failed program was:" >&5
2590 sed 's/^/| /' conftest.
$ac_ext >&5
2593 rm -f conftest.
$ac_objext conftest.
$ac_ext
2595 ac_cpp
='$CPP $CPPFLAGS'
2596 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2597 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2598 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2599 DEPDIR
="${am__leading_dot}deps"
2601 ac_config_commands
="$ac_config_commands depfiles"
2604 am_make
=${MAKE-make}
2605 cat > confinc
<< 'END'
2610 # If we don't find an include directive, just comment out the code.
2611 echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2612 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
2616 # First try GNU make style include.
2617 echo "include confinc" > confmf
2618 # We grep out `Entering directory' and `Leaving directory'
2619 # messages which can occur if `w' ends up in MAKEFLAGS.
2620 # In particular we don't look at `^make:' because GNU make might
2621 # be invoked under some other name (usually "gmake"), in which
2622 # case it prints its new name instead of `make'.
2623 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2628 # Now try BSD make style include.
2629 if test "$am__include" = "#"; then
2630 echo '.include "confinc"' > confmf
2631 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2632 am__include
=.include
2639 echo "$as_me:$LINENO: result: $_am_result" >&5
2640 echo "${ECHO_T}$_am_result" >&6
2641 rm -f confinc confmf
2643 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
2644 if test "${enable_dependency_tracking+set}" = set; then
2645 enableval
="$enable_dependency_tracking"
2648 if test "x$enable_dependency_tracking" != xno
; then
2649 am_depcomp
="$ac_aux_dir/depcomp"
2654 if test "x$enable_dependency_tracking" != xno; then
2665 depcc
="$CC" am_compiler_list
=
2667 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
2668 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
2669 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
2670 echo $ECHO_N "(cached) $ECHO_C" >&6
2672 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
2673 # We make a subdir and do the tests there. Otherwise we can end up
2674 # making bogus files that we don't know about and never remove. For
2675 # instance it was reported that on HP-UX the gcc test will end up
2676 # making a dummy file named `D' -- because `-MD' means `put the output
2679 # Copy depcomp to subdir because otherwise we won't find it if we're
2680 # using a relative directory.
2681 cp "$am_depcomp" conftest.dir
2683 # We will build objects and dependencies in a subdirectory because
2684 # it helps to detect inapplicable dependency modes. For instance
2685 # both Tru64's cc and ICC support -MD to output dependencies as a
2686 # side effect of compilation, but ICC will put the dependencies in
2687 # the current directory while Tru64 will put them in the object
2691 am_cv_CC_dependencies_compiler_type
=none
2692 if test "$am_compiler_list" = ""; then
2693 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
2695 for depmode
in $am_compiler_list; do
2696 # Setup a source with many dependencies, because some compilers
2697 # like to wrap large dependency lists on column 80 (with \), and
2698 # we should not choose a depcomp mode which is confused by this.
2700 # We need to recreate these files for each test, as the compiler may
2701 # overwrite some of them when testing with obscure command lines.
2702 # This happens at least with the AIX C compiler.
2704 for i
in 1 2 3 4 5 6; do
2705 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
2708 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
2712 # after this tag, mechanisms are not by side-effect, so they'll
2713 # only be used when explicitly requested
2714 if test "x$enable_dependency_tracking" = xyes
; then
2722 # We check with `-c' and `-o' for the sake of the "dashmstdout"
2723 # mode. It turns out that the SunPro C++ compiler does not properly
2724 # handle `-M -o', and we need to detect this.
2725 if depmode
=$depmode \
2726 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
2727 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
2728 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
2729 >/dev
/null
2>conftest.err
&&
2730 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
2731 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
2732 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
2733 # icc doesn't choke on unknown options, it will just issue warnings
2734 # (even with -Werror). So we grep stderr for any message
2735 # that says an option was ignored.
2736 if grep 'ignoring option' conftest.err
>/dev
/null
2>&1; then :; else
2737 am_cv_CC_dependencies_compiler_type
=$depmode
2746 am_cv_CC_dependencies_compiler_type
=none
2750 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
2751 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
2752 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
2757 test "x$enable_dependency_tracking" != xno \
2758 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
2760 am__fastdepCC_FALSE
='#'
2762 am__fastdepCC_TRUE
='#'
2763 am__fastdepCC_FALSE
=
2767 if test "x$GCC" = "xyes"; then
2768 CFLAGS
="$CFLAGS -Wall"
2771 # We need gfortran to compile parts of the library
2772 # We can't use AC_PROG_F77 because it expects a fully working gfortran.
2773 #AC_PROG_F77(gfortran)
2776 ac_compile
='$F77 -c $FFLAGS conftest.$ac_ext >&5'
2777 ac_link
='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2778 ac_compiler_gnu
=$ac_cv_f77_compiler_gnu
2779 if test -n "$ac_tool_prefix"; then
2780 for ac_prog
in gfortran
2782 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2783 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2784 echo "$as_me:$LINENO: checking for $ac_word" >&5
2785 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2786 if test "${ac_cv_prog_F77+set}" = set; then
2787 echo $ECHO_N "(cached) $ECHO_C" >&6
2789 if test -n "$F77"; then
2790 ac_cv_prog_F77
="$F77" # Let the user override the test.
2792 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2796 test -z "$as_dir" && as_dir
=.
2797 for ac_exec_ext
in '' $ac_executable_extensions; do
2798 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2799 ac_cv_prog_F77
="$ac_tool_prefix$ac_prog"
2800 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2809 if test -n "$F77"; then
2810 echo "$as_me:$LINENO: result: $F77" >&5
2811 echo "${ECHO_T}$F77" >&6
2813 echo "$as_me:$LINENO: result: no" >&5
2814 echo "${ECHO_T}no" >&6
2817 test -n "$F77" && break
2820 if test -z "$F77"; then
2822 for ac_prog
in gfortran
2824 # Extract the first word of "$ac_prog", so it can be a program name with args.
2825 set dummy
$ac_prog; ac_word
=$2
2826 echo "$as_me:$LINENO: checking for $ac_word" >&5
2827 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2828 if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
2829 echo $ECHO_N "(cached) $ECHO_C" >&6
2831 if test -n "$ac_ct_F77"; then
2832 ac_cv_prog_ac_ct_F77
="$ac_ct_F77" # Let the user override the test.
2834 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2838 test -z "$as_dir" && as_dir
=.
2839 for ac_exec_ext
in '' $ac_executable_extensions; do
2840 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2841 ac_cv_prog_ac_ct_F77
="$ac_prog"
2842 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2850 ac_ct_F77
=$ac_cv_prog_ac_ct_F77
2851 if test -n "$ac_ct_F77"; then
2852 echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
2853 echo "${ECHO_T}$ac_ct_F77" >&6
2855 echo "$as_me:$LINENO: result: no" >&5
2856 echo "${ECHO_T}no" >&6
2859 test -n "$ac_ct_F77" && break
2866 # Provide some information about the compiler.
2867 echo "$as_me:2867:" \
2868 "checking for Fortran 77 compiler version" >&5
2869 ac_compiler
=`set X $ac_compile; echo $2`
2870 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2871 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
2873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2874 (exit $ac_status); }
2875 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2876 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
2878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2879 (exit $ac_status); }
2880 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2881 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
2883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2884 (exit $ac_status); }
2886 # If we don't use `.F' as extension, the preprocessor is not run on the
2890 echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
2891 echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6
2892 if test "${ac_cv_f77_compiler_gnu+set}" = set; then
2893 echo $ECHO_N "(cached) $ECHO_C" >&6
2895 cat >conftest.
$ac_ext <<_ACEOF
2903 rm -f conftest.
$ac_objext
2904 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2905 (eval $ac_compile) 2>&5
2907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2908 (exit $ac_status); } &&
2909 { ac_try
='test -s conftest.$ac_objext'
2910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2914 (exit $ac_status); }; }; then
2917 echo "$as_me: failed program was:" >&5
2918 sed 's/^/| /' conftest.
$ac_ext >&5
2922 rm -f conftest.
$ac_objext conftest.
$ac_ext
2923 ac_cv_f77_compiler_gnu
=$ac_compiler_gnu
2926 echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
2927 echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6
2929 G77
=`test $ac_compiler_gnu = yes && echo yes`
2930 ac_test_FFLAGS
=${FFLAGS+set}
2931 ac_save_FFLAGS
=$FFLAGS
2933 echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
2934 echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6
2935 if test "${ac_cv_prog_f77_g+set}" = set; then
2936 echo $ECHO_N "(cached) $ECHO_C" >&6
2939 cat >conftest.
$ac_ext <<_ACEOF
2944 rm -f conftest.
$ac_objext
2945 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2946 (eval $ac_compile) 2>&5
2948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2949 (exit $ac_status); } &&
2950 { ac_try
='test -s conftest.$ac_objext'
2951 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2955 (exit $ac_status); }; }; then
2956 ac_cv_prog_f77_g
=yes
2958 echo "$as_me: failed program was:" >&5
2959 sed 's/^/| /' conftest.
$ac_ext >&5
2963 rm -f conftest.
$ac_objext conftest.
$ac_ext
2966 echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
2967 echo "${ECHO_T}$ac_cv_prog_f77_g" >&6
2968 if test "$ac_test_FFLAGS" = set; then
2969 FFLAGS
=$ac_save_FFLAGS
2970 elif test $ac_cv_prog_f77_g = yes; then
2971 if test "$G77" = yes; then
2977 if test "$G77" = yes; then
2984 ac_cpp
='$CPP $CPPFLAGS'
2985 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2986 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2987 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2989 FFLAGS
="$FFLAGS -Wall -fno-repack-arrays -fno-underscoring"
2993 ac_cpp
='$CPP $CPPFLAGS'
2994 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2995 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2996 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2997 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
2998 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
2999 # On Suns, sometimes $CPP names a directory.
3000 if test -n "$CPP" && test -d "$CPP"; then
3003 if test -z "$CPP"; then
3004 if test "${ac_cv_prog_CPP+set}" = set; then
3005 echo $ECHO_N "(cached) $ECHO_C" >&6
3007 # Double quotes because CPP needs to be expanded
3008 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3011 for ac_c_preproc_warn_flag
in '' yes
3013 # Use a header file that comes with gcc, so configuring glibc
3014 # with a fresh cross-compiler works.
3015 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3016 # <limits.h> exists even on freestanding compilers.
3017 # On the NeXT, cc -E runs the code through the compiler's parser,
3018 # not just through cpp. "Syntax error" is here to catch this case.
3019 cat >conftest.
$ac_ext <<_ACEOF
3020 #line $LINENO "configure"
3023 cat confdefs.h
>>conftest.
$ac_ext
3024 cat >>conftest.
$ac_ext <<_ACEOF
3025 /* end confdefs.h. */
3027 # include <limits.h>
3029 # include <assert.h>
3033 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3034 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3036 grep -v '^ *+' conftest.er1
>conftest.err
3038 cat conftest.err
>&5
3039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3040 (exit $ac_status); } >/dev
/null
; then
3041 if test -s conftest.err
; then
3042 ac_cpp_err
=$ac_c_preproc_warn_flag
3049 if test -z "$ac_cpp_err"; then
3052 echo "$as_me: failed program was:" >&5
3053 sed 's/^/| /' conftest.
$ac_ext >&5
3055 # Broken: fails on valid input.
3058 rm -f conftest.err conftest.
$ac_ext
3060 # OK, works on sane cases. Now check whether non-existent headers
3061 # can be detected and how.
3062 cat >conftest.
$ac_ext <<_ACEOF
3063 #line $LINENO "configure"
3066 cat confdefs.h
>>conftest.
$ac_ext
3067 cat >>conftest.
$ac_ext <<_ACEOF
3068 /* end confdefs.h. */
3069 #include <ac_nonexistent.h>
3071 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3072 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3074 grep -v '^ *+' conftest.er1
>conftest.err
3076 cat conftest.err
>&5
3077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3078 (exit $ac_status); } >/dev
/null
; then
3079 if test -s conftest.err
; then
3080 ac_cpp_err
=$ac_c_preproc_warn_flag
3087 if test -z "$ac_cpp_err"; then
3088 # Broken: success on invalid input.
3091 echo "$as_me: failed program was:" >&5
3092 sed 's/^/| /' conftest.
$ac_ext >&5
3094 # Passes both tests.
3098 rm -f conftest.err conftest.
$ac_ext
3101 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3102 rm -f conftest.err conftest.
$ac_ext
3103 if $ac_preproc_ok; then
3115 echo "$as_me:$LINENO: result: $CPP" >&5
3116 echo "${ECHO_T}$CPP" >&6
3118 for ac_c_preproc_warn_flag
in '' yes
3120 # Use a header file that comes with gcc, so configuring glibc
3121 # with a fresh cross-compiler works.
3122 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3123 # <limits.h> exists even on freestanding compilers.
3124 # On the NeXT, cc -E runs the code through the compiler's parser,
3125 # not just through cpp. "Syntax error" is here to catch this case.
3126 cat >conftest.
$ac_ext <<_ACEOF
3127 #line $LINENO "configure"
3130 cat confdefs.h
>>conftest.
$ac_ext
3131 cat >>conftest.
$ac_ext <<_ACEOF
3132 /* end confdefs.h. */
3134 # include <limits.h>
3136 # include <assert.h>
3140 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3141 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3143 grep -v '^ *+' conftest.er1
>conftest.err
3145 cat conftest.err
>&5
3146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3147 (exit $ac_status); } >/dev
/null
; then
3148 if test -s conftest.err
; then
3149 ac_cpp_err
=$ac_c_preproc_warn_flag
3156 if test -z "$ac_cpp_err"; then
3159 echo "$as_me: failed program was:" >&5
3160 sed 's/^/| /' conftest.
$ac_ext >&5
3162 # Broken: fails on valid input.
3165 rm -f conftest.err conftest.
$ac_ext
3167 # OK, works on sane cases. Now check whether non-existent headers
3168 # can be detected and how.
3169 cat >conftest.
$ac_ext <<_ACEOF
3170 #line $LINENO "configure"
3173 cat confdefs.h
>>conftest.
$ac_ext
3174 cat >>conftest.
$ac_ext <<_ACEOF
3175 /* end confdefs.h. */
3176 #include <ac_nonexistent.h>
3178 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3179 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3181 grep -v '^ *+' conftest.er1
>conftest.err
3183 cat conftest.err
>&5
3184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3185 (exit $ac_status); } >/dev
/null
; then
3186 if test -s conftest.err
; then
3187 ac_cpp_err
=$ac_c_preproc_warn_flag
3194 if test -z "$ac_cpp_err"; then
3195 # Broken: success on invalid input.
3198 echo "$as_me: failed program was:" >&5
3199 sed 's/^/| /' conftest.
$ac_ext >&5
3201 # Passes both tests.
3205 rm -f conftest.err conftest.
$ac_ext
3208 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3209 rm -f conftest.err conftest.
$ac_ext
3210 if $ac_preproc_ok; then
3213 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3214 See \`config.log' for more details." >&5
3215 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3216 See \`config.log' for more details." >&2;}
3217 { (exit 1); exit 1; }; }
3221 ac_cpp
='$CPP $CPPFLAGS'
3222 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3223 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3224 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3227 echo "$as_me:$LINENO: checking for egrep" >&5
3228 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
3229 if test "${ac_cv_prog_egrep+set}" = set; then
3230 echo $ECHO_N "(cached) $ECHO_C" >&6
3232 if echo a |
(grep -E '(a|b)') >/dev
/null
2>&1
3233 then ac_cv_prog_egrep
='grep -E'
3234 else ac_cv_prog_egrep
='egrep'
3237 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
3238 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
3239 EGREP
=$ac_cv_prog_egrep
3242 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3243 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
3244 if test "${ac_cv_header_stdc+set}" = set; then
3245 echo $ECHO_N "(cached) $ECHO_C" >&6
3247 cat >conftest.
$ac_ext <<_ACEOF
3248 #line $LINENO "configure"
3251 cat confdefs.h
>>conftest.
$ac_ext
3252 cat >>conftest.
$ac_ext <<_ACEOF
3253 /* end confdefs.h. */
3267 rm -f conftest.
$ac_objext
3268 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3269 (eval $ac_compile) 2>&5
3271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3272 (exit $ac_status); } &&
3273 { ac_try
='test -s conftest.$ac_objext'
3274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3278 (exit $ac_status); }; }; then
3279 ac_cv_header_stdc
=yes
3281 echo "$as_me: failed program was:" >&5
3282 sed 's/^/| /' conftest.
$ac_ext >&5
3284 ac_cv_header_stdc
=no
3286 rm -f conftest.
$ac_objext conftest.
$ac_ext
3288 if test $ac_cv_header_stdc = yes; then
3289 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3290 cat >conftest.
$ac_ext <<_ACEOF
3291 #line $LINENO "configure"
3294 cat confdefs.h
>>conftest.
$ac_ext
3295 cat >>conftest.
$ac_ext <<_ACEOF
3296 /* end confdefs.h. */
3300 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3301 $EGREP "memchr" >/dev
/null
2>&1; then
3304 ac_cv_header_stdc
=no
3310 if test $ac_cv_header_stdc = yes; then
3311 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3312 cat >conftest.
$ac_ext <<_ACEOF
3313 #line $LINENO "configure"
3316 cat confdefs.h
>>conftest.
$ac_ext
3317 cat >>conftest.
$ac_ext <<_ACEOF
3318 /* end confdefs.h. */
3322 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3323 $EGREP "free" >/dev
/null
2>&1; then
3326 ac_cv_header_stdc
=no
3332 if test $ac_cv_header_stdc = yes; then
3333 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3334 if test "$cross_compiling" = yes; then
3337 cat >conftest.
$ac_ext <<_ACEOF
3338 #line $LINENO "configure"
3341 cat confdefs.h
>>conftest.
$ac_ext
3342 cat >>conftest.
$ac_ext <<_ACEOF
3343 /* end confdefs.h. */
3345 #if ((' ' & 0x0FF) == 0x020)
3346 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3347 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3349 # define ISLOWER(c) \
3350 (('a' <= (c) && (c) <= 'i') \
3351 || ('j' <= (c) && (c) <= 'r') \
3352 || ('s' <= (c) && (c) <= 'z'))
3353 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3356 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3361 for (i = 0; i < 256; i++)
3362 if (XOR (islower (i), ISLOWER (i))
3363 || toupper (i) != TOUPPER (i))
3368 rm -f conftest
$ac_exeext
3369 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3370 (eval $ac_link) 2>&5
3372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3373 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
3374 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3378 (exit $ac_status); }; }; then
3381 echo "$as_me: program exited with status $ac_status" >&5
3382 echo "$as_me: failed program was:" >&5
3383 sed 's/^/| /' conftest.
$ac_ext >&5
3386 ac_cv_header_stdc
=no
3388 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
3392 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
3393 echo "${ECHO_T}$ac_cv_header_stdc" >&6
3394 if test $ac_cv_header_stdc = yes; then
3396 cat >>confdefs.h
<<\_ACEOF
3397 #define STDC_HEADERS 1
3402 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3412 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
3413 inttypes.h stdint.h unistd.h
3415 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3416 echo "$as_me:$LINENO: checking for $ac_header" >&5
3417 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3418 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3419 echo $ECHO_N "(cached) $ECHO_C" >&6
3421 cat >conftest.
$ac_ext <<_ACEOF
3422 #line $LINENO "configure"
3425 cat confdefs.h
>>conftest.
$ac_ext
3426 cat >>conftest.
$ac_ext <<_ACEOF
3427 /* end confdefs.h. */
3428 $ac_includes_default
3430 #include <$ac_header>
3432 rm -f conftest.
$ac_objext
3433 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3434 (eval $ac_compile) 2>&5
3436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3437 (exit $ac_status); } &&
3438 { ac_try
='test -s conftest.$ac_objext'
3439 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3443 (exit $ac_status); }; }; then
3444 eval "$as_ac_Header=yes"
3446 echo "$as_me: failed program was:" >&5
3447 sed 's/^/| /' conftest.
$ac_ext >&5
3449 eval "$as_ac_Header=no"
3451 rm -f conftest.
$ac_objext conftest.
$ac_ext
3453 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3454 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3455 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3456 cat >>confdefs.h
<<_ACEOF
3457 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3467 for ac_header
in stdlib.h unistd.h
3469 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3470 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3471 echo "$as_me:$LINENO: checking for $ac_header" >&5
3472 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3473 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3474 echo $ECHO_N "(cached) $ECHO_C" >&6
3476 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3477 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3479 # Is the header compilable?
3480 echo "$as_me:$LINENO: checking $ac_header usability" >&5
3481 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
3482 cat >conftest.
$ac_ext <<_ACEOF
3483 #line $LINENO "configure"
3486 cat confdefs.h
>>conftest.
$ac_ext
3487 cat >>conftest.
$ac_ext <<_ACEOF
3488 /* end confdefs.h. */
3489 $ac_includes_default
3490 #include <$ac_header>
3492 rm -f conftest.
$ac_objext
3493 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3494 (eval $ac_compile) 2>&5
3496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3497 (exit $ac_status); } &&
3498 { ac_try
='test -s conftest.$ac_objext'
3499 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3503 (exit $ac_status); }; }; then
3504 ac_header_compiler
=yes
3506 echo "$as_me: failed program was:" >&5
3507 sed 's/^/| /' conftest.
$ac_ext >&5
3509 ac_header_compiler
=no
3511 rm -f conftest.
$ac_objext conftest.
$ac_ext
3512 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3513 echo "${ECHO_T}$ac_header_compiler" >&6
3515 # Is the header present?
3516 echo "$as_me:$LINENO: checking $ac_header presence" >&5
3517 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
3518 cat >conftest.
$ac_ext <<_ACEOF
3519 #line $LINENO "configure"
3522 cat confdefs.h
>>conftest.
$ac_ext
3523 cat >>conftest.
$ac_ext <<_ACEOF
3524 /* end confdefs.h. */
3525 #include <$ac_header>
3527 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3528 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3530 grep -v '^ *+' conftest.er1
>conftest.err
3532 cat conftest.err
>&5
3533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3534 (exit $ac_status); } >/dev
/null
; then
3535 if test -s conftest.err
; then
3536 ac_cpp_err
=$ac_c_preproc_warn_flag
3543 if test -z "$ac_cpp_err"; then
3544 ac_header_preproc
=yes
3546 echo "$as_me: failed program was:" >&5
3547 sed 's/^/| /' conftest.
$ac_ext >&5
3549 ac_header_preproc
=no
3551 rm -f conftest.err conftest.
$ac_ext
3552 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3553 echo "${ECHO_T}$ac_header_preproc" >&6
3555 # So? What about this header?
3556 case $ac_header_compiler:$ac_header_preproc in
3558 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
3559 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
3560 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3561 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
3564 ## ------------------------------------ ##
3565 ## Report this to bug-autoconf@gnu.org. ##
3566 ## ------------------------------------ ##
3569 sed "s/^/$as_me: WARNING: /" >&2
3572 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
3573 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
3574 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
3575 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
3576 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3577 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
3580 ## ------------------------------------ ##
3581 ## Report this to bug-autoconf@gnu.org. ##
3582 ## ------------------------------------ ##
3585 sed "s/^/$as_me: WARNING: /" >&2
3588 echo "$as_me:$LINENO: checking for $ac_header" >&5
3589 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3590 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3591 echo $ECHO_N "(cached) $ECHO_C" >&6
3593 eval "$as_ac_Header=$ac_header_preproc"
3595 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3596 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3599 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3600 cat >>confdefs.h
<<_ACEOF
3601 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3609 for ac_func
in getpagesize
3611 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
3612 echo "$as_me:$LINENO: checking for $ac_func" >&5
3613 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
3614 if eval "test \"\${$as_ac_var+set}\" = set"; then
3615 echo $ECHO_N "(cached) $ECHO_C" >&6
3617 cat >conftest.
$ac_ext <<_ACEOF
3618 #line $LINENO "configure"
3621 cat confdefs.h
>>conftest.
$ac_ext
3622 cat >>conftest.
$ac_ext <<_ACEOF
3623 /* end confdefs.h. */
3624 /* System header to define __stub macros and hopefully few prototypes,
3625 which can conflict with char $ac_func (); below.
3626 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3627 <limits.h> exists even on freestanding compilers. */
3629 # include <limits.h>
3631 # include <assert.h>
3633 /* Override any gcc2 internal prototype to avoid an error. */
3638 /* We use char because int might match the return type of a gcc2
3639 builtin and then its argument prototype would still apply. */
3641 /* The GNU C library defines this for functions which it implements
3642 to always fail with ENOSYS. Some functions are actually named
3643 something starting with __ and the normal name is an alias. */
3644 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
3647 char (*f) () = $ac_func;
3656 return f != $ac_func;
3661 rm -f conftest.
$ac_objext conftest
$ac_exeext
3662 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3663 (eval $ac_link) 2>&5
3665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3666 (exit $ac_status); } &&
3667 { ac_try
='test -s conftest$ac_exeext'
3668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3672 (exit $ac_status); }; }; then
3673 eval "$as_ac_var=yes"
3675 echo "$as_me: failed program was:" >&5
3676 sed 's/^/| /' conftest.
$ac_ext >&5
3678 eval "$as_ac_var=no"
3680 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
3682 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
3683 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
3684 if test `eval echo '${'$as_ac_var'}'` = yes; then
3685 cat >>confdefs.h
<<_ACEOF
3686 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
3692 echo "$as_me:$LINENO: checking for working mmap" >&5
3693 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
3694 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
3695 echo $ECHO_N "(cached) $ECHO_C" >&6
3697 if test "$cross_compiling" = yes; then
3698 ac_cv_func_mmap_fixed_mapped
=no
3700 cat >conftest.
$ac_ext <<_ACEOF
3701 #line $LINENO "configure"
3704 cat confdefs.h
>>conftest.
$ac_ext
3705 cat >>conftest.
$ac_ext <<_ACEOF
3706 /* end confdefs.h. */
3707 $ac_includes_default
3708 /* malloc might have been renamed as rpl_malloc. */
3711 /* Thanks to Mike Haertel and Jim Avera for this test.
3712 Here is a matrix of mmap possibilities:
3713 mmap private not fixed
3714 mmap private fixed at somewhere currently unmapped
3715 mmap private fixed at somewhere already mapped
3716 mmap shared not fixed
3717 mmap shared fixed at somewhere currently unmapped
3718 mmap shared fixed at somewhere already mapped
3719 For private mappings, we should verify that changes cannot be read()
3720 back from the file, nor mmap's back from the file at a different
3721 address. (There have been systems where private was not correctly
3722 implemented like the infamous i386 svr4.0, and systems where the
3723 VM page cache was not coherent with the file system buffer cache
3724 like early versions of FreeBSD and possibly contemporary NetBSD.)
3725 For shared mappings, we should conversely verify that changes get
3726 propagated back to all the places they're supposed to be.
3728 Grep wants private fixed already mapped.
3729 The main things grep needs to know about mmap are:
3730 * does it exist and is it safe to write into the mmap'd area
3731 * how to use it (BSD variants) */
3734 #include <sys/mman.h>
3736 #if !STDC_HEADERS && !HAVE_STDLIB_H
3740 /* This mess was copied from the GNU getpagesize.h. */
3741 #if !HAVE_GETPAGESIZE
3742 /* Assume that all systems that can run configure have sys/param.h. */
3743 # if !HAVE_SYS_PARAM_H
3744 # define HAVE_SYS_PARAM_H 1
3747 # ifdef _SC_PAGESIZE
3748 # define getpagesize() sysconf(_SC_PAGESIZE)
3749 # else /* no _SC_PAGESIZE */
3750 # if HAVE_SYS_PARAM_H
3751 # include <sys/param.h>
3752 # ifdef EXEC_PAGESIZE
3753 # define getpagesize() EXEC_PAGESIZE
3754 # else /* no EXEC_PAGESIZE */
3756 # define getpagesize() NBPG * CLSIZE
3759 # endif /* no CLSIZE */
3760 # else /* no NBPG */
3762 # define getpagesize() NBPC
3763 # else /* no NBPC */
3765 # define getpagesize() PAGESIZE
3766 # endif /* PAGESIZE */
3767 # endif /* no NBPC */
3768 # endif /* no NBPG */
3769 # endif /* no EXEC_PAGESIZE */
3770 # else /* no HAVE_SYS_PARAM_H */
3771 # define getpagesize() 8192 /* punt totally */
3772 # endif /* no HAVE_SYS_PARAM_H */
3773 # endif /* no _SC_PAGESIZE */
3775 #endif /* no HAVE_GETPAGESIZE */
3780 char *data, *data2, *data3;
3784 pagesize = getpagesize ();
3786 /* First, make a file with some known garbage in it. */
3787 data = (char *) malloc (pagesize);
3790 for (i = 0; i < pagesize; ++i)
3791 *(data + i) = rand ();
3793 fd = creat ("conftest.mmap", 0600);
3796 if (write (fd, data, pagesize) != pagesize)
3800 /* Next, try to mmap the file at a fixed address which already has
3801 something else allocated at it. If we can, also make sure that
3802 we see the same garbage. */
3803 fd = open ("conftest.mmap", O_RDWR);
3806 data2 = (char *) malloc (2 * pagesize);
3809 data2 += (pagesize - ((int) data2 & (pagesize - 1))) & (pagesize - 1);
3810 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
3811 MAP_PRIVATE | MAP_FIXED, fd, 0L))
3813 for (i = 0; i < pagesize; ++i)
3814 if (*(data + i) != *(data2 + i))
3817 /* Finally, make sure that changes to the mapped area do not
3818 percolate back to the file as seen by read(). (This is a bug on
3819 some variants of i386 svr4.0.) */
3820 for (i = 0; i < pagesize; ++i)
3821 *(data2 + i) = *(data2 + i) + 1;
3822 data3 = (char *) malloc (pagesize);
3825 if (read (fd, data3, pagesize) != pagesize)
3827 for (i = 0; i < pagesize; ++i)
3828 if (*(data + i) != *(data3 + i))
3834 rm -f conftest
$ac_exeext
3835 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3836 (eval $ac_link) 2>&5
3838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3839 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
3840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3844 (exit $ac_status); }; }; then
3845 ac_cv_func_mmap_fixed_mapped
=yes
3847 echo "$as_me: program exited with status $ac_status" >&5
3848 echo "$as_me: failed program was:" >&5
3849 sed 's/^/| /' conftest.
$ac_ext >&5
3852 ac_cv_func_mmap_fixed_mapped
=no
3854 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
3857 echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
3858 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
3859 if test $ac_cv_func_mmap_fixed_mapped = yes; then
3861 cat >>confdefs.h
<<\_ACEOF
3868 echo "$as_me:$LINENO: checking for off_t" >&5
3869 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
3870 if test "${ac_cv_type_off_t+set}" = set; then
3871 echo $ECHO_N "(cached) $ECHO_C" >&6
3873 cat >conftest.
$ac_ext <<_ACEOF
3874 #line $LINENO "configure"
3877 cat confdefs.h
>>conftest.
$ac_ext
3878 cat >>conftest.
$ac_ext <<_ACEOF
3879 /* end confdefs.h. */
3880 $ac_includes_default
3892 rm -f conftest.
$ac_objext
3893 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3894 (eval $ac_compile) 2>&5
3896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3897 (exit $ac_status); } &&
3898 { ac_try
='test -s conftest.$ac_objext'
3899 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3903 (exit $ac_status); }; }; then
3904 ac_cv_type_off_t
=yes
3906 echo "$as_me: failed program was:" >&5
3907 sed 's/^/| /' conftest.
$ac_ext >&5
3911 rm -f conftest.
$ac_objext conftest.
$ac_ext
3913 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
3914 echo "${ECHO_T}$ac_cv_type_off_t" >&6
3915 if test $ac_cv_type_off_t = yes; then
3919 cat >>confdefs.h
<<_ACEOF
3927 # Find a good install program. We prefer a C program (faster),
3928 # so one script is as good as another. But avoid the broken or
3929 # incompatible versions:
3930 # SysV /etc/install, /usr/sbin/install
3931 # SunOS /usr/etc/install
3932 # IRIX /sbin/install
3934 # AmigaOS /C/install, which installs bootblocks on floppy discs
3935 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3936 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3937 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3938 # ./install, which can be erroneously created by make from ./install.sh.
3939 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
3940 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
3941 if test -z "$INSTALL"; then
3942 if test "${ac_cv_path_install+set}" = set; then
3943 echo $ECHO_N "(cached) $ECHO_C" >&6
3945 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3949 test -z "$as_dir" && as_dir
=.
3950 # Account for people who put trailing slashes in PATH elements.
3952 .
/ | .
// |
/cC
/* | \
3953 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
3956 # OSF1 and SCO ODT 3.0 have their own names for install.
3957 # Don't use installbsd from OSF since it installs stuff as root
3959 for ac_prog
in ginstall scoinst
install; do
3960 for ac_exec_ext
in '' $ac_executable_extensions; do
3961 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
3962 if test $ac_prog = install &&
3963 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3964 # AIX install. It has an incompatible calling convention.
3966 elif test $ac_prog = install &&
3967 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3968 # program-specific install script used by HP pwplus--don't use.
3971 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
3983 if test "${ac_cv_path_install+set}" = set; then
3984 INSTALL
=$ac_cv_path_install
3986 # As a last resort, use the slow shell script. We don't cache a
3987 # path for INSTALL within a source directory, because that will
3988 # break other packages using the cache if that directory is
3989 # removed, or if the path is relative.
3990 INSTALL
=$ac_install_sh
3993 echo "$as_me:$LINENO: result: $INSTALL" >&5
3994 echo "${ECHO_T}$INSTALL" >&6
3996 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3997 # It thinks the first close brace ends the variable substitution.
3998 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
4000 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
4002 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
4005 # check header files
4006 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4007 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
4008 if test "${ac_cv_header_stdc+set}" = set; then
4009 echo $ECHO_N "(cached) $ECHO_C" >&6
4011 cat >conftest.
$ac_ext <<_ACEOF
4012 #line $LINENO "configure"
4015 cat confdefs.h
>>conftest.
$ac_ext
4016 cat >>conftest.
$ac_ext <<_ACEOF
4017 /* end confdefs.h. */
4031 rm -f conftest.
$ac_objext
4032 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4033 (eval $ac_compile) 2>&5
4035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4036 (exit $ac_status); } &&
4037 { ac_try
='test -s conftest.$ac_objext'
4038 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4042 (exit $ac_status); }; }; then
4043 ac_cv_header_stdc
=yes
4045 echo "$as_me: failed program was:" >&5
4046 sed 's/^/| /' conftest.
$ac_ext >&5
4048 ac_cv_header_stdc
=no
4050 rm -f conftest.
$ac_objext conftest.
$ac_ext
4052 if test $ac_cv_header_stdc = yes; then
4053 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4054 cat >conftest.
$ac_ext <<_ACEOF
4055 #line $LINENO "configure"
4058 cat confdefs.h
>>conftest.
$ac_ext
4059 cat >>conftest.
$ac_ext <<_ACEOF
4060 /* end confdefs.h. */
4064 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4065 $EGREP "memchr" >/dev
/null
2>&1; then
4068 ac_cv_header_stdc
=no
4074 if test $ac_cv_header_stdc = yes; then
4075 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4076 cat >conftest.
$ac_ext <<_ACEOF
4077 #line $LINENO "configure"
4080 cat confdefs.h
>>conftest.
$ac_ext
4081 cat >>conftest.
$ac_ext <<_ACEOF
4082 /* end confdefs.h. */
4086 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4087 $EGREP "free" >/dev
/null
2>&1; then
4090 ac_cv_header_stdc
=no
4096 if test $ac_cv_header_stdc = yes; then
4097 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4098 if test "$cross_compiling" = yes; then
4101 cat >conftest.
$ac_ext <<_ACEOF
4102 #line $LINENO "configure"
4105 cat confdefs.h
>>conftest.
$ac_ext
4106 cat >>conftest.
$ac_ext <<_ACEOF
4107 /* end confdefs.h. */
4109 #if ((' ' & 0x0FF) == 0x020)
4110 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4111 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4113 # define ISLOWER(c) \
4114 (('a' <= (c) && (c) <= 'i') \
4115 || ('j' <= (c) && (c) <= 'r') \
4116 || ('s' <= (c) && (c) <= 'z'))
4117 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4120 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4125 for (i = 0; i < 256; i++)
4126 if (XOR (islower (i), ISLOWER (i))
4127 || toupper (i) != TOUPPER (i))
4132 rm -f conftest
$ac_exeext
4133 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4134 (eval $ac_link) 2>&5
4136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4137 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
4138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4142 (exit $ac_status); }; }; then
4145 echo "$as_me: program exited with status $ac_status" >&5
4146 echo "$as_me: failed program was:" >&5
4147 sed 's/^/| /' conftest.
$ac_ext >&5
4150 ac_cv_header_stdc
=no
4152 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
4156 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4157 echo "${ECHO_T}$ac_cv_header_stdc" >&6
4158 if test $ac_cv_header_stdc = yes; then
4160 cat >>confdefs.h
<<\_ACEOF
4161 #define STDC_HEADERS 1
4172 for ac_header
in stdlib.h stdio.h string.h stddef.h math.h unistd.h
4174 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4175 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4176 echo "$as_me:$LINENO: checking for $ac_header" >&5
4177 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4178 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4179 echo $ECHO_N "(cached) $ECHO_C" >&6
4181 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4182 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4184 # Is the header compilable?
4185 echo "$as_me:$LINENO: checking $ac_header usability" >&5
4186 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4187 cat >conftest.
$ac_ext <<_ACEOF
4188 #line $LINENO "configure"
4191 cat confdefs.h
>>conftest.
$ac_ext
4192 cat >>conftest.
$ac_ext <<_ACEOF
4193 /* end confdefs.h. */
4194 $ac_includes_default
4195 #include <$ac_header>
4197 rm -f conftest.
$ac_objext
4198 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4199 (eval $ac_compile) 2>&5
4201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4202 (exit $ac_status); } &&
4203 { ac_try
='test -s conftest.$ac_objext'
4204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4208 (exit $ac_status); }; }; then
4209 ac_header_compiler
=yes
4211 echo "$as_me: failed program was:" >&5
4212 sed 's/^/| /' conftest.
$ac_ext >&5
4214 ac_header_compiler
=no
4216 rm -f conftest.
$ac_objext conftest.
$ac_ext
4217 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4218 echo "${ECHO_T}$ac_header_compiler" >&6
4220 # Is the header present?
4221 echo "$as_me:$LINENO: checking $ac_header presence" >&5
4222 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4223 cat >conftest.
$ac_ext <<_ACEOF
4224 #line $LINENO "configure"
4227 cat confdefs.h
>>conftest.
$ac_ext
4228 cat >>conftest.
$ac_ext <<_ACEOF
4229 /* end confdefs.h. */
4230 #include <$ac_header>
4232 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4233 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4235 grep -v '^ *+' conftest.er1
>conftest.err
4237 cat conftest.err
>&5
4238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4239 (exit $ac_status); } >/dev
/null
; then
4240 if test -s conftest.err
; then
4241 ac_cpp_err
=$ac_c_preproc_warn_flag
4248 if test -z "$ac_cpp_err"; then
4249 ac_header_preproc
=yes
4251 echo "$as_me: failed program was:" >&5
4252 sed 's/^/| /' conftest.
$ac_ext >&5
4254 ac_header_preproc
=no
4256 rm -f conftest.err conftest.
$ac_ext
4257 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4258 echo "${ECHO_T}$ac_header_preproc" >&6
4260 # So? What about this header?
4261 case $ac_header_compiler:$ac_header_preproc in
4263 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4264 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4265 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4266 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4269 ## ------------------------------------ ##
4270 ## Report this to bug-autoconf@gnu.org. ##
4271 ## ------------------------------------ ##
4274 sed "s/^/$as_me: WARNING: /" >&2
4277 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4278 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4279 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4280 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4281 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4282 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4285 ## ------------------------------------ ##
4286 ## Report this to bug-autoconf@gnu.org. ##
4287 ## ------------------------------------ ##
4290 sed "s/^/$as_me: WARNING: /" >&2
4293 echo "$as_me:$LINENO: checking for $ac_header" >&5
4294 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4295 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4296 echo $ECHO_N "(cached) $ECHO_C" >&6
4298 eval "$as_ac_Header=$ac_header_preproc"
4300 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4301 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4304 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4305 cat >>confdefs.h
<<_ACEOF
4306 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4318 for ac_header
in time.h sys
/params.h sys
/time.h sys
/times.h sys
/resource.h
4320 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4321 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4322 echo "$as_me:$LINENO: checking for $ac_header" >&5
4323 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4324 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4325 echo $ECHO_N "(cached) $ECHO_C" >&6
4327 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4328 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4330 # Is the header compilable?
4331 echo "$as_me:$LINENO: checking $ac_header usability" >&5
4332 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4333 cat >conftest.
$ac_ext <<_ACEOF
4334 #line $LINENO "configure"
4337 cat confdefs.h
>>conftest.
$ac_ext
4338 cat >>conftest.
$ac_ext <<_ACEOF
4339 /* end confdefs.h. */
4340 $ac_includes_default
4341 #include <$ac_header>
4343 rm -f conftest.
$ac_objext
4344 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4345 (eval $ac_compile) 2>&5
4347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4348 (exit $ac_status); } &&
4349 { ac_try
='test -s conftest.$ac_objext'
4350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4354 (exit $ac_status); }; }; then
4355 ac_header_compiler
=yes
4357 echo "$as_me: failed program was:" >&5
4358 sed 's/^/| /' conftest.
$ac_ext >&5
4360 ac_header_compiler
=no
4362 rm -f conftest.
$ac_objext conftest.
$ac_ext
4363 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4364 echo "${ECHO_T}$ac_header_compiler" >&6
4366 # Is the header present?
4367 echo "$as_me:$LINENO: checking $ac_header presence" >&5
4368 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4369 cat >conftest.
$ac_ext <<_ACEOF
4370 #line $LINENO "configure"
4373 cat confdefs.h
>>conftest.
$ac_ext
4374 cat >>conftest.
$ac_ext <<_ACEOF
4375 /* end confdefs.h. */
4376 #include <$ac_header>
4378 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4379 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4381 grep -v '^ *+' conftest.er1
>conftest.err
4383 cat conftest.err
>&5
4384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4385 (exit $ac_status); } >/dev
/null
; then
4386 if test -s conftest.err
; then
4387 ac_cpp_err
=$ac_c_preproc_warn_flag
4394 if test -z "$ac_cpp_err"; then
4395 ac_header_preproc
=yes
4397 echo "$as_me: failed program was:" >&5
4398 sed 's/^/| /' conftest.
$ac_ext >&5
4400 ac_header_preproc
=no
4402 rm -f conftest.err conftest.
$ac_ext
4403 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4404 echo "${ECHO_T}$ac_header_preproc" >&6
4406 # So? What about this header?
4407 case $ac_header_compiler:$ac_header_preproc in
4409 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4410 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4411 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4412 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4415 ## ------------------------------------ ##
4416 ## Report this to bug-autoconf@gnu.org. ##
4417 ## ------------------------------------ ##
4420 sed "s/^/$as_me: WARNING: /" >&2
4423 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4424 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4425 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4426 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4427 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4428 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4431 ## ------------------------------------ ##
4432 ## Report this to bug-autoconf@gnu.org. ##
4433 ## ------------------------------------ ##
4436 sed "s/^/$as_me: WARNING: /" >&2
4439 echo "$as_me:$LINENO: checking for $ac_header" >&5
4440 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4441 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4442 echo $ECHO_N "(cached) $ECHO_C" >&6
4444 eval "$as_ac_Header=$ac_header_preproc"
4446 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4447 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4450 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4451 cat >>confdefs.h
<<_ACEOF
4452 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4459 if test "${ac_cv_header_complex_h+set}" = set; then
4460 echo "$as_me:$LINENO: checking for complex.h" >&5
4461 echo $ECHO_N "checking for complex.h... $ECHO_C" >&6
4462 if test "${ac_cv_header_complex_h+set}" = set; then
4463 echo $ECHO_N "(cached) $ECHO_C" >&6
4465 echo "$as_me:$LINENO: result: $ac_cv_header_complex_h" >&5
4466 echo "${ECHO_T}$ac_cv_header_complex_h" >&6
4468 # Is the header compilable?
4469 echo "$as_me:$LINENO: checking complex.h usability" >&5
4470 echo $ECHO_N "checking complex.h usability... $ECHO_C" >&6
4471 cat >conftest.
$ac_ext <<_ACEOF
4472 #line $LINENO "configure"
4475 cat confdefs.h
>>conftest.
$ac_ext
4476 cat >>conftest.
$ac_ext <<_ACEOF
4477 /* end confdefs.h. */
4478 $ac_includes_default
4479 #include <complex.h>
4481 rm -f conftest.
$ac_objext
4482 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4483 (eval $ac_compile) 2>&5
4485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4486 (exit $ac_status); } &&
4487 { ac_try
='test -s conftest.$ac_objext'
4488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4492 (exit $ac_status); }; }; then
4493 ac_header_compiler
=yes
4495 echo "$as_me: failed program was:" >&5
4496 sed 's/^/| /' conftest.
$ac_ext >&5
4498 ac_header_compiler
=no
4500 rm -f conftest.
$ac_objext conftest.
$ac_ext
4501 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4502 echo "${ECHO_T}$ac_header_compiler" >&6
4504 # Is the header present?
4505 echo "$as_me:$LINENO: checking complex.h presence" >&5
4506 echo $ECHO_N "checking complex.h presence... $ECHO_C" >&6
4507 cat >conftest.
$ac_ext <<_ACEOF
4508 #line $LINENO "configure"
4511 cat confdefs.h
>>conftest.
$ac_ext
4512 cat >>conftest.
$ac_ext <<_ACEOF
4513 /* end confdefs.h. */
4514 #include <complex.h>
4516 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4517 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4519 grep -v '^ *+' conftest.er1
>conftest.err
4521 cat conftest.err
>&5
4522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4523 (exit $ac_status); } >/dev
/null
; then
4524 if test -s conftest.err
; then
4525 ac_cpp_err
=$ac_c_preproc_warn_flag
4532 if test -z "$ac_cpp_err"; then
4533 ac_header_preproc
=yes
4535 echo "$as_me: failed program was:" >&5
4536 sed 's/^/| /' conftest.
$ac_ext >&5
4538 ac_header_preproc
=no
4540 rm -f conftest.err conftest.
$ac_ext
4541 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4542 echo "${ECHO_T}$ac_header_preproc" >&6
4544 # So? What about this header?
4545 case $ac_header_compiler:$ac_header_preproc in
4547 { echo "$as_me:$LINENO: WARNING: complex.h: accepted by the compiler, rejected by the preprocessor!" >&5
4548 echo "$as_me: WARNING: complex.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
4549 { echo "$as_me:$LINENO: WARNING: complex.h: proceeding with the preprocessor's result" >&5
4550 echo "$as_me: WARNING: complex.h: proceeding with the preprocessor's result" >&2;}
4553 ## ------------------------------------ ##
4554 ## Report this to bug-autoconf@gnu.org. ##
4555 ## ------------------------------------ ##
4558 sed "s/^/$as_me: WARNING: /" >&2
4561 { echo "$as_me:$LINENO: WARNING: complex.h: present but cannot be compiled" >&5
4562 echo "$as_me: WARNING: complex.h: present but cannot be compiled" >&2;}
4563 { echo "$as_me:$LINENO: WARNING: complex.h: check for missing prerequisite headers?" >&5
4564 echo "$as_me: WARNING: complex.h: check for missing prerequisite headers?" >&2;}
4565 { echo "$as_me:$LINENO: WARNING: complex.h: proceeding with the preprocessor's result" >&5
4566 echo "$as_me: WARNING: complex.h: proceeding with the preprocessor's result" >&2;}
4569 ## ------------------------------------ ##
4570 ## Report this to bug-autoconf@gnu.org. ##
4571 ## ------------------------------------ ##
4574 sed "s/^/$as_me: WARNING: /" >&2
4577 echo "$as_me:$LINENO: checking for complex.h" >&5
4578 echo $ECHO_N "checking for complex.h... $ECHO_C" >&6
4579 if test "${ac_cv_header_complex_h+set}" = set; then
4580 echo $ECHO_N "(cached) $ECHO_C" >&6
4582 ac_cv_header_complex_h
=$ac_header_preproc
4584 echo "$as_me:$LINENO: result: $ac_cv_header_complex_h" >&5
4585 echo "${ECHO_T}$ac_cv_header_complex_h" >&6
4588 if test $ac_cv_header_complex_h = yes; then
4590 cat >>confdefs.h
<<\_ACEOF
4591 #define HAVE_COMPLEX_H 1
4597 # Check for complex math functions
4598 echo "$as_me:$LINENO: checking for csin in -lm" >&5
4599 echo $ECHO_N "checking for csin in -lm... $ECHO_C" >&6
4600 if test "${ac_cv_lib_m_csin+set}" = set; then
4601 echo $ECHO_N "(cached) $ECHO_C" >&6
4603 ac_check_lib_save_LIBS
=$LIBS
4605 cat >conftest.
$ac_ext <<_ACEOF
4606 #line $LINENO "configure"
4609 cat confdefs.h
>>conftest.
$ac_ext
4610 cat >>conftest.
$ac_ext <<_ACEOF
4611 /* end confdefs.h. */
4613 /* Override any gcc2 internal prototype to avoid an error. */
4617 /* We use char because int might match the return type of a gcc2
4618 builtin and then its argument prototype would still apply. */
4628 rm -f conftest.
$ac_objext conftest
$ac_exeext
4629 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4630 (eval $ac_link) 2>&5
4632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4633 (exit $ac_status); } &&
4634 { ac_try
='test -s conftest$ac_exeext'
4635 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4639 (exit $ac_status); }; }; then
4640 ac_cv_lib_m_csin
=yes
4642 echo "$as_me: failed program was:" >&5
4643 sed 's/^/| /' conftest.
$ac_ext >&5
4647 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
4648 LIBS
=$ac_check_lib_save_LIBS
4650 echo "$as_me:$LINENO: result: $ac_cv_lib_m_csin" >&5
4651 echo "${ECHO_T}$ac_cv_lib_m_csin" >&6
4652 if test $ac_cv_lib_m_csin = yes; then
4661 for ac_func
in getrusage
times
4663 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4664 echo "$as_me:$LINENO: checking for $ac_func" >&5
4665 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4666 if eval "test \"\${$as_ac_var+set}\" = set"; then
4667 echo $ECHO_N "(cached) $ECHO_C" >&6
4669 cat >conftest.
$ac_ext <<_ACEOF
4670 #line $LINENO "configure"
4673 cat confdefs.h
>>conftest.
$ac_ext
4674 cat >>conftest.
$ac_ext <<_ACEOF
4675 /* end confdefs.h. */
4676 /* System header to define __stub macros and hopefully few prototypes,
4677 which can conflict with char $ac_func (); below.
4678 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4679 <limits.h> exists even on freestanding compilers. */
4681 # include <limits.h>
4683 # include <assert.h>
4685 /* Override any gcc2 internal prototype to avoid an error. */
4690 /* We use char because int might match the return type of a gcc2
4691 builtin and then its argument prototype would still apply. */
4693 /* The GNU C library defines this for functions which it implements
4694 to always fail with ENOSYS. Some functions are actually named
4695 something starting with __ and the normal name is an alias. */
4696 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4699 char (*f) () = $ac_func;
4708 return f != $ac_func;
4713 rm -f conftest.
$ac_objext conftest
$ac_exeext
4714 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4715 (eval $ac_link) 2>&5
4717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4718 (exit $ac_status); } &&
4719 { ac_try
='test -s conftest$ac_exeext'
4720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4724 (exit $ac_status); }; }; then
4725 eval "$as_ac_var=yes"
4727 echo "$as_me: failed program was:" >&5
4728 sed 's/^/| /' conftest.
$ac_ext >&5
4730 eval "$as_ac_var=no"
4732 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
4734 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
4735 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
4736 if test `eval echo '${'$as_ac_var'}'` = yes; then
4737 cat >>confdefs.h
<<_ACEOF
4738 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
4745 # Let the user override this
4746 # Check whether --enable-cmath or --disable-cmath was given.
4747 if test "${enable_cmath+set}" = set; then
4748 enableval
="$enable_cmath"
4749 need_math
=$enableval
4751 if test "$need_math" = "yes"; then
4752 { echo "$as_me:$LINENO: Including complex math functions in libgfor" >&5
4753 echo "$as_me: Including complex math functions in libgfor" >&6;};
4754 extra_math_obj
='$(gfor_cmath_obj)'
4757 MATH_OBJ
="$extra_math_obj"
4760 echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
4761 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
4762 if test "${ac_cv_header_time+set}" = set; then
4763 echo $ECHO_N "(cached) $ECHO_C" >&6
4765 cat >conftest.
$ac_ext <<_ACEOF
4766 #line $LINENO "configure"
4769 cat confdefs.h
>>conftest.
$ac_ext
4770 cat >>conftest.
$ac_ext <<_ACEOF
4771 /* end confdefs.h. */
4772 #include <sys/types.h>
4773 #include <sys/time.h>
4779 if ((struct tm *) 0)
4785 rm -f conftest.
$ac_objext
4786 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4787 (eval $ac_compile) 2>&5
4789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4790 (exit $ac_status); } &&
4791 { ac_try
='test -s conftest.$ac_objext'
4792 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4796 (exit $ac_status); }; }; then
4797 ac_cv_header_time
=yes
4799 echo "$as_me: failed program was:" >&5
4800 sed 's/^/| /' conftest.
$ac_ext >&5
4802 ac_cv_header_time
=no
4804 rm -f conftest.
$ac_objext conftest.
$ac_ext
4806 echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
4807 echo "${ECHO_T}$ac_cv_header_time" >&6
4808 if test $ac_cv_header_time = yes; then
4810 cat >>confdefs.h
<<\_ACEOF
4811 #define TIME_WITH_SYS_TIME 1
4818 for ac_func
in gettimeofday
4820 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4821 echo "$as_me:$LINENO: checking for $ac_func" >&5
4822 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4823 if eval "test \"\${$as_ac_var+set}\" = set"; then
4824 echo $ECHO_N "(cached) $ECHO_C" >&6
4826 cat >conftest.
$ac_ext <<_ACEOF
4827 #line $LINENO "configure"
4830 cat confdefs.h
>>conftest.
$ac_ext
4831 cat >>conftest.
$ac_ext <<_ACEOF
4832 /* end confdefs.h. */
4833 /* System header to define __stub macros and hopefully few prototypes,
4834 which can conflict with char $ac_func (); below.
4835 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4836 <limits.h> exists even on freestanding compilers. */
4838 # include <limits.h>
4840 # include <assert.h>
4842 /* Override any gcc2 internal prototype to avoid an error. */
4847 /* We use char because int might match the return type of a gcc2
4848 builtin and then its argument prototype would still apply. */
4850 /* The GNU C library defines this for functions which it implements
4851 to always fail with ENOSYS. Some functions are actually named
4852 something starting with __ and the normal name is an alias. */
4853 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4856 char (*f) () = $ac_func;
4865 return f != $ac_func;
4870 rm -f conftest.
$ac_objext conftest
$ac_exeext
4871 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4872 (eval $ac_link) 2>&5
4874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4875 (exit $ac_status); } &&
4876 { ac_try
='test -s conftest$ac_exeext'
4877 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4881 (exit $ac_status); }; }; then
4882 eval "$as_ac_var=yes"
4884 echo "$as_me: failed program was:" >&5
4885 sed 's/^/| /' conftest.
$ac_ext >&5
4887 eval "$as_ac_var=no"
4889 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
4891 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
4892 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
4893 if test `eval echo '${'$as_ac_var'}'` = yes; then
4894 cat >>confdefs.h
<<_ACEOF
4895 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
4901 if test "$ac_cv_func_gettimeofday" = yes; then
4902 echo "$as_me:$LINENO: checking for struct timezone" >&5
4903 echo $ECHO_N "checking for struct timezone... $ECHO_C" >&6
4904 if test "${gfor_cv_struct_timezone+set}" = set; then
4905 echo $ECHO_N "(cached) $ECHO_C" >&6
4907 cat >conftest.
$ac_ext <<_ACEOF
4908 #line $LINENO "configure"
4911 cat confdefs.h
>>conftest.
$ac_ext
4912 cat >>conftest.
$ac_ext <<_ACEOF
4913 /* end confdefs.h. */
4914 #include <sys/time.h>
4923 rm -f conftest.
$ac_objext
4924 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4925 (eval $ac_compile) 2>&5
4927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4928 (exit $ac_status); } &&
4929 { ac_try
='test -s conftest.$ac_objext'
4930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4934 (exit $ac_status); }; }; then
4935 gfor_cv_struct_timezone
=yes
4937 echo "$as_me: failed program was:" >&5
4938 sed 's/^/| /' conftest.
$ac_ext >&5
4940 gfor_cv_struct_timezone
=no
4942 rm -f conftest.
$ac_objext conftest.
$ac_ext
4944 echo "$as_me:$LINENO: result: $gfor_cv_struct_timezone" >&5
4945 echo "${ECHO_T}$gfor_cv_struct_timezone" >&6
4946 if test $gfor_cv_struct_timezone = yes; then
4947 if test "$cross_compiling" = yes; then
4948 gfor_have_struct_timezone
=yes
4950 cat >conftest.
$ac_ext <<_ACEOF
4951 #line $LINENO "configure"
4954 cat confdefs.h
>>conftest.
$ac_ext
4955 cat >>conftest.
$ac_ext <<_ACEOF
4956 /* end confdefs.h. */
4958 #ifdef TIME_WITH_SYS_TIME
4959 #include <sys/time.h>
4962 #ifdef HAVE_SYS_TIME_H
4963 #include <sys/time.h>
4970 struct timeval time;
4971 struct timezone dummy;
4972 if (gettimeofday (&time, &dummy))
4978 rm -f conftest
$ac_exeext
4979 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4980 (eval $ac_link) 2>&5
4982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4983 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
4984 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4988 (exit $ac_status); }; }; then
4989 gfor_have_struct_timezone
=yes
4991 echo "$as_me: program exited with status $ac_status" >&5
4992 echo "$as_me: failed program was:" >&5
4993 sed 's/^/| /' conftest.
$ac_ext >&5
4996 gfor_have_struct_timezone
=no
4998 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
5000 if test $gfor_have_struct_timezone = yes; then
5002 cat >>confdefs.h
<<\_ACEOF
5003 #define HAVE_TIMEZONE 1
5009 echo "$as_me:$LINENO: checking whether gettimeofday can accept two arguments" >&5
5010 echo $ECHO_N "checking whether gettimeofday can accept two arguments... $ECHO_C" >&6
5011 if test "${emacs_cv_gettimeofday_two_arguments+set}" = set; then
5012 echo $ECHO_N "(cached) $ECHO_C" >&6
5014 cat >conftest.
$ac_ext <<_ACEOF
5015 #line $LINENO "configure"
5018 cat confdefs.h
>>conftest.
$ac_ext
5019 cat >>conftest.
$ac_ext <<_ACEOF
5020 /* end confdefs.h. */
5022 #ifdef TIME_WITH_SYS_TIME
5023 #include <sys/time.h>
5026 #ifdef HAVE_SYS_TIME_H
5027 #include <sys/time.h>
5037 struct timeval time;
5038 #ifdef HAVE_TIMEZONE
5039 struct timezone dummy;
5040 #define DUMMY &dummy
5044 gettimeofday (&time, DUMMY);
5049 rm -f conftest.
$ac_objext conftest
$ac_exeext
5050 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5051 (eval $ac_link) 2>&5
5053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5054 (exit $ac_status); } &&
5055 { ac_try
='test -s conftest$ac_exeext'
5056 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5060 (exit $ac_status); }; }; then
5061 emacs_cv_gettimeofday_two_arguments
=yes
5063 echo "$as_me: failed program was:" >&5
5064 sed 's/^/| /' conftest.
$ac_ext >&5
5066 emacs_cv_gettimeofday_two_arguments
=no
5068 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
5070 echo "$as_me:$LINENO: result: $emacs_cv_gettimeofday_two_arguments" >&5
5071 echo "${ECHO_T}$emacs_cv_gettimeofday_two_arguments" >&6
5072 if test $emacs_cv_gettimeofday_two_arguments = no
; then
5074 cat >>confdefs.h
<<\_ACEOF
5075 #define GETTIMEOFDAY_ONE_ARGUMENT 1
5083 if test "$RANLIB"; then :
5086 if test -n "$ac_tool_prefix"; then
5087 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5088 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
5089 echo "$as_me:$LINENO: checking for $ac_word" >&5
5090 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5091 if test "${ac_cv_prog_RANLIB+set}" = set; then
5092 echo $ECHO_N "(cached) $ECHO_C" >&6
5094 if test -n "$RANLIB"; then
5095 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
5097 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5101 test -z "$as_dir" && as_dir
=.
5102 for ac_exec_ext
in '' $ac_executable_extensions; do
5103 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5104 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
5105 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5113 RANLIB
=$ac_cv_prog_RANLIB
5114 if test -n "$RANLIB"; then
5115 echo "$as_me:$LINENO: result: $RANLIB" >&5
5116 echo "${ECHO_T}$RANLIB" >&6
5118 echo "$as_me:$LINENO: result: no" >&5
5119 echo "${ECHO_T}no" >&6
5123 if test -z "$ac_cv_prog_RANLIB"; then
5124 ac_ct_RANLIB
=$RANLIB
5125 # Extract the first word of "ranlib", so it can be a program name with args.
5126 set dummy ranlib
; ac_word
=$2
5127 echo "$as_me:$LINENO: checking for $ac_word" >&5
5128 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5129 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5130 echo $ECHO_N "(cached) $ECHO_C" >&6
5132 if test -n "$ac_ct_RANLIB"; then
5133 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
5135 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5139 test -z "$as_dir" && as_dir
=.
5140 for ac_exec_ext
in '' $ac_executable_extensions; do
5141 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5142 ac_cv_prog_ac_ct_RANLIB
="ranlib"
5143 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5149 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
5152 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
5153 if test -n "$ac_ct_RANLIB"; then
5154 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
5155 echo "${ECHO_T}$ac_ct_RANLIB" >&6
5157 echo "$as_me:$LINENO: result: no" >&5
5158 echo "${ECHO_T}no" >&6
5161 RANLIB
=$ac_ct_RANLIB
5163 RANLIB
="$ac_cv_prog_RANLIB"
5168 # Check whether --enable-shared or --disable-shared was given.
5169 if test "${enable_shared+set}" = set; then
5170 enableval
="$enable_shared"
5171 p
=${PACKAGE-default}
5173 yes) enable_shared
=yes ;;
5174 no
) enable_shared
=no
;;
5177 # Look at the argument we got. We use all the common list separators.
5178 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:,"
5179 for pkg
in $enableval; do
5180 if test "X$pkg" = "X$p"; then
5190 # Check whether --enable-static or --disable-static was given.
5191 if test "${enable_static+set}" = set; then
5192 enableval
="$enable_static"
5193 p
=${PACKAGE-default}
5195 yes) enable_static
=yes ;;
5196 no
) enable_static
=no
;;
5199 # Look at the argument we got. We use all the common list separators.
5200 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:,"
5201 for pkg
in $enableval; do
5202 if test "X$pkg" = "X$p"; then
5212 # Check whether --enable-fast-install or --disable-fast-install was given.
5213 if test "${enable_fast_install+set}" = set; then
5214 enableval
="$enable_fast_install"
5215 p
=${PACKAGE-default}
5217 yes) enable_fast_install
=yes ;;
5218 no
) enable_fast_install
=no
;;
5220 enable_fast_install
=no
5221 # Look at the argument we got. We use all the common list separators.
5222 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:,"
5223 for pkg
in $enableval; do
5224 if test "X$pkg" = "X$p"; then
5225 enable_fast_install
=yes
5232 enable_fast_install
=yes
5234 # Make sure we can run config.sub.
5235 $ac_config_sub sun4
>/dev
/null
2>&1 ||
5236 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
5237 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
5238 { (exit 1); exit 1; }; }
5240 echo "$as_me:$LINENO: checking build system type" >&5
5241 echo $ECHO_N "checking build system type... $ECHO_C" >&6
5242 if test "${ac_cv_build+set}" = set; then
5243 echo $ECHO_N "(cached) $ECHO_C" >&6
5245 ac_cv_build_alias
=$build_alias
5246 test -z "$ac_cv_build_alias" &&
5247 ac_cv_build_alias
=`$ac_config_guess`
5248 test -z "$ac_cv_build_alias" &&
5249 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
5250 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
5251 { (exit 1); exit 1; }; }
5252 ac_cv_build
=`$ac_config_sub $ac_cv_build_alias` ||
5253 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
5254 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
5255 { (exit 1); exit 1; }; }
5258 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
5259 echo "${ECHO_T}$ac_cv_build" >&6
5261 build_cpu
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
5262 build_vendor
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
5263 build_os
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
5266 echo "$as_me:$LINENO: checking host system type" >&5
5267 echo $ECHO_N "checking host system type... $ECHO_C" >&6
5268 if test "${ac_cv_host+set}" = set; then
5269 echo $ECHO_N "(cached) $ECHO_C" >&6
5271 ac_cv_host_alias
=$host_alias
5272 test -z "$ac_cv_host_alias" &&
5273 ac_cv_host_alias
=$ac_cv_build_alias
5274 ac_cv_host
=`$ac_config_sub $ac_cv_host_alias` ||
5275 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
5276 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
5277 { (exit 1); exit 1; }; }
5280 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
5281 echo "${ECHO_T}$ac_cv_host" >&6
5283 host_cpu
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
5284 host_vendor
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
5285 host_os
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
5289 # Check whether --with-gnu-ld or --without-gnu-ld was given.
5290 if test "${with_gnu_ld+set}" = set; then
5291 withval
="$with_gnu_ld"
5292 test "$withval" = no || with_gnu_ld
=yes
5297 if test "$GCC" = yes; then
5298 # Check if gcc -print-prog-name=ld gives a path.
5299 echo "$as_me:$LINENO: checking for ld used by GCC" >&5
5300 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
5303 # gcc leaves a trailing carriage return which upsets mingw
5304 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5306 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
5309 # Accept absolute paths.
5310 [\\/]* |
[A-Za-z
]:[\\/]*)
5311 re_direlt
='/[^/][^/]*/\.\./'
5312 # Canonicalize the path of ld
5313 ac_prog
=`echo $ac_prog| sed 's%\\\\%/%g'`
5314 while echo $ac_prog |
grep "$re_direlt" > /dev
/null
2>&1; do
5315 ac_prog
=`echo $ac_prog| sed "s%$re_direlt%/%"`
5317 test -z "$LD" && LD
="$ac_prog"
5320 # If it fails, then pretend we aren't using GCC.
5324 # If it is relative, then search for the first ld in PATH.
5328 elif test "$with_gnu_ld" = yes; then
5329 echo "$as_me:$LINENO: checking for GNU ld" >&5
5330 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
5332 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
5333 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
5335 if test "${lt_cv_path_LD+set}" = set; then
5336 echo $ECHO_N "(cached) $ECHO_C" >&6
5338 if test -z "$LD"; then
5339 IFS
="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
5340 for ac_dir
in $PATH; do
5341 test -z "$ac_dir" && ac_dir
=.
5342 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
5343 lt_cv_path_LD
="$ac_dir/$ac_prog"
5344 # Check to see if the program is GNU ld. I'd rather use --version,
5345 # but apparently some GNU ld's only accept -v.
5346 # Break only if it was the GNU/non-GNU ld that we prefer.
5347 if "$lt_cv_path_LD" -v 2>&1 < /dev
/null |
egrep '(GNU|with BFD)' > /dev
/null
; then
5348 test "$with_gnu_ld" != no
&& break
5350 test "$with_gnu_ld" != yes && break
5356 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
5361 if test -n "$LD"; then
5362 echo "$as_me:$LINENO: result: $LD" >&5
5363 echo "${ECHO_T}$LD" >&6
5365 echo "$as_me:$LINENO: result: no" >&5
5366 echo "${ECHO_T}no" >&6
5368 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
5369 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
5370 { (exit 1); exit 1; }; }
5371 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
5372 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
5373 if test "${lt_cv_prog_gnu_ld+set}" = set; then
5374 echo $ECHO_N "(cached) $ECHO_C" >&6
5376 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
5377 if $LD -v 2>&1 </dev
/null |
egrep '(GNU|with BFD)' 1>&5; then
5378 lt_cv_prog_gnu_ld
=yes
5380 lt_cv_prog_gnu_ld
=no
5383 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
5384 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
5385 with_gnu_ld
=$lt_cv_prog_gnu_ld
5388 echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
5389 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
5390 if test "${lt_cv_ld_reload_flag+set}" = set; then
5391 echo $ECHO_N "(cached) $ECHO_C" >&6
5393 lt_cv_ld_reload_flag
='-r'
5395 echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
5396 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
5397 reload_flag
=$lt_cv_ld_reload_flag
5398 test -n "$reload_flag" && reload_flag
=" $reload_flag"
5400 echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
5401 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
5402 if test "${lt_cv_path_NM+set}" = set; then
5403 echo $ECHO_N "(cached) $ECHO_C" >&6
5405 if test -n "$NM"; then
5406 # Let the user override the test.
5409 IFS
="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
5410 for ac_dir
in $PATH /usr
/ccs
/bin
/usr
/ucb
/bin
; do
5411 test -z "$ac_dir" && ac_dir
=.
5412 tmp_nm
=$ac_dir/${ac_tool_prefix}nm
5413 if test -f $tmp_nm ||
test -f $tmp_nm$ac_exeext ; then
5414 # Check to see if the nm accepts a BSD-compat flag.
5415 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5416 # nm: unknown option "B" ignored
5417 # Tru64's nm complains that /dev/null is an invalid object file
5418 if ($tmp_nm -B /dev
/null
2>&1 |
sed '1q'; exit 0) |
egrep '(/dev/null|Invalid file or object type)' >/dev
/null
; then
5419 lt_cv_path_NM
="$tmp_nm -B"
5421 elif ($tmp_nm -p /dev
/null
2>&1 |
sed '1q'; exit 0) |
egrep /dev
/null
>/dev
/null
; then
5422 lt_cv_path_NM
="$tmp_nm -p"
5425 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5426 continue # so that we can try to find one that supports BSD flags
5431 test -z "$lt_cv_path_NM" && lt_cv_path_NM
=nm
5436 echo "$as_me:$LINENO: result: $NM" >&5
5437 echo "${ECHO_T}$NM" >&6
5439 echo "$as_me:$LINENO: checking whether ln -s works" >&5
5440 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
5442 if test "$LN_S" = "ln -s"; then
5443 echo "$as_me:$LINENO: result: yes" >&5
5444 echo "${ECHO_T}yes" >&6
5446 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
5447 echo "${ECHO_T}no, using $LN_S" >&6
5450 echo "$as_me:$LINENO: checking how to recognise dependant libraries" >&5
5451 echo $ECHO_N "checking how to recognise dependant libraries... $ECHO_C" >&6
5452 if test "${lt_cv_deplibs_check_method+set}" = set; then
5453 echo $ECHO_N "(cached) $ECHO_C" >&6
5455 lt_cv_file_magic_cmd
='$MAGIC_CMD'
5456 lt_cv_file_magic_test_file
=
5457 lt_cv_deplibs_check_method
='unknown'
5458 # Need to set the preceding variable on all platforms that support
5459 # interlibrary dependencies.
5460 # 'none' -- dependencies not supported.
5461 # `unknown' -- same as none, but documents that we really don't know.
5462 # 'pass_all' -- all dependencies passed with no checks.
5463 # 'test_compile' -- check by making test program.
5464 # 'file_magic [regex]' -- check by looking for files in library path
5465 # which responds to the $file_magic_cmd with a given egrep regex.
5466 # If you have `file' or equivalent on your system and you're not sure
5467 # whether `pass_all' will *always* work, you probably want this one.
5471 lt_cv_deplibs_check_method
=pass_all
5475 lt_cv_deplibs_check_method
=pass_all
5479 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5480 lt_cv_file_magic_cmd
='/usr/bin/file -L'
5481 lt_cv_file_magic_test_file
=/shlib
/libc.so
5484 cygwin
* | mingw
* |pw32
*)
5485 lt_cv_deplibs_check_method
='file_magic file format pei*-i386(.*architecture: i386)?'
5486 lt_cv_file_magic_cmd
='$OBJDUMP -f'
5489 darwin
* | rhapsody
*)
5490 lt_cv_deplibs_check_method
='file_magic Mach-O dynamically linked shared library'
5491 lt_cv_file_magic_cmd
='/usr/bin/file -L'
5493 rhapsody
* | darwin1.012
)
5494 lt_cv_file_magic_test_file
='/System/Library/Frameworks/System.framework/System'
5497 lt_cv_file_magic_test_file
='/usr/lib/libSystem.dylib'
5503 if echo __ELF__ |
$CC -E - |
grep __ELF__
> /dev
/null
; then
5506 # Not sure whether the presence of OpenBSD here was a mistake.
5507 # Let's accept both of them until this is cleared up.
5508 lt_cv_deplibs_check_method
='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
5509 lt_cv_file_magic_cmd
=/usr
/bin
/file
5510 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so.*`
5514 lt_cv_deplibs_check_method
=pass_all
5519 lt_cv_deplibs_check_method
=pass_all
5525 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
5526 lt_cv_file_magic_cmd
=/usr
/bin
/file
5527 lt_cv_file_magic_test_file
=/usr
/lib
/libc.sl
5530 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5531 lt_cv_file_magic_cmd
=/usr
/bin
/file
5532 lt_cv_file_magic_test_file
=/usr
/lib
/hpux32
/libc.so
5540 # this will be overridden with pass_all, but let us keep it just in case
5541 lt_cv_deplibs_check_method
="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
5545 *-32|
*"-32 ") libmagic
=32-bit;;
5546 *-n32|
*"-n32 ") libmagic
=N32
;;
5547 *-64|
*"-64 ") libmagic
=64-bit;;
5548 *) libmagic
=never-match
;;
5550 # this will be overridden with pass_all, but let us keep it just in case
5551 lt_cv_deplibs_check_method
="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
5554 lt_cv_file_magic_test_file
=`echo /lib${libsuff}/libc.so*`
5555 lt_cv_deplibs_check_method
=pass_all
5558 # This must be Linux ELF.
5561 alpha
* | mips
* | hppa
* | i
*86 | powerpc
* | sparc
* | ia64
* )
5562 lt_cv_deplibs_check_method
=pass_all
;;
5564 # glibc up to 2.1.1 does not perform some relocations on ARM
5565 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;;
5567 lt_cv_file_magic_test_file
=`echo /lib/libc.so* /lib/libc-*.so`
5571 if echo __ELF__ |
$CC -E - |
grep __ELF__
> /dev
/null
; then
5572 lt_cv_deplibs_check_method
='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'
5574 lt_cv_deplibs_check_method
='match_pattern /lib[^/\.]+\.so$'
5579 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5580 lt_cv_file_magic_cmd
=/usr
/bin
/file
5581 lt_cv_file_magic_test_file
=/usr
/lib
/libnls.so
5584 osf3
* | osf4
* | osf5
*)
5585 # this will be overridden with pass_all, but let us keep it just in case
5586 lt_cv_deplibs_check_method
='file_magic COFF format alpha shared library'
5587 lt_cv_file_magic_test_file
=/shlib
/libc.so
5588 lt_cv_deplibs_check_method
=pass_all
5592 lt_cv_deplibs_check_method
=pass_all
5596 lt_cv_deplibs_check_method
=pass_all
5597 lt_cv_file_magic_test_file
=/lib
/libc.so
5600 sysv5uw
[78]* | sysv4
*uw2
*)
5601 lt_cv_deplibs_check_method
=pass_all
5604 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
5605 case $host_vendor in
5607 lt_cv_deplibs_check_method
=pass_all
5610 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]'
5611 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so*`
5618 echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
5619 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
5620 file_magic_cmd
=$lt_cv_file_magic_cmd
5621 deplibs_check_method
=$lt_cv_deplibs_check_method
5626 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
5628 # Only perform the check for file, if the check method requires it
5629 case $deplibs_check_method in
5631 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
5632 echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
5633 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
5634 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
5635 echo $ECHO_N "(cached) $ECHO_C" >&6
5639 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
5642 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a dos path.
5645 ac_save_MAGIC_CMD
="$MAGIC_CMD"
5646 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
5647 ac_dummy
="/usr/bin:$PATH"
5648 for ac_dir
in $ac_dummy; do
5649 test -z "$ac_dir" && ac_dir
=.
5650 if test -f $ac_dir/${ac_tool_prefix}file; then
5651 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
5652 if test -n "$file_magic_test_file"; then
5653 case $deplibs_check_method in
5655 file_magic_regex
="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
5656 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
5657 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
5658 egrep "$file_magic_regex" > /dev
/null
; then
5663 *** Warning: the command libtool uses to detect shared libraries,
5664 *** $file_magic_cmd, produces output that libtool cannot recognize.
5665 *** The result is that libtool may fail to recognize shared libraries
5666 *** as such. This will affect the creation of libtool libraries that
5667 *** depend on shared libraries, but programs linked with such libtool
5668 *** libraries will work regardless of this problem. Nevertheless, you
5669 *** may want to report the problem to your system manager and/or to
5670 *** bug-libtool@gnu.org
5680 MAGIC_CMD
="$ac_save_MAGIC_CMD"
5685 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
5686 if test -n "$MAGIC_CMD"; then
5687 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
5688 echo "${ECHO_T}$MAGIC_CMD" >&6
5690 echo "$as_me:$LINENO: result: no" >&5
5691 echo "${ECHO_T}no" >&6
5694 if test -z "$lt_cv_path_MAGIC_CMD"; then
5695 if test -n "$ac_tool_prefix"; then
5696 echo "$as_me:$LINENO: checking for file" >&5
5697 echo $ECHO_N "checking for file... $ECHO_C" >&6
5698 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
5699 echo $ECHO_N "(cached) $ECHO_C" >&6
5703 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
5706 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a dos path.
5709 ac_save_MAGIC_CMD
="$MAGIC_CMD"
5710 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
5711 ac_dummy
="/usr/bin:$PATH"
5712 for ac_dir
in $ac_dummy; do
5713 test -z "$ac_dir" && ac_dir
=.
5714 if test -f $ac_dir/file; then
5715 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
5716 if test -n "$file_magic_test_file"; then
5717 case $deplibs_check_method in
5719 file_magic_regex
="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
5720 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
5721 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
5722 egrep "$file_magic_regex" > /dev
/null
; then
5727 *** Warning: the command libtool uses to detect shared libraries,
5728 *** $file_magic_cmd, produces output that libtool cannot recognize.
5729 *** The result is that libtool may fail to recognize shared libraries
5730 *** as such. This will affect the creation of libtool libraries that
5731 *** depend on shared libraries, but programs linked with such libtool
5732 *** libraries will work regardless of this problem. Nevertheless, you
5733 *** may want to report the problem to your system manager and/or to
5734 *** bug-libtool@gnu.org
5744 MAGIC_CMD
="$ac_save_MAGIC_CMD"
5749 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
5750 if test -n "$MAGIC_CMD"; then
5751 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
5752 echo "${ECHO_T}$MAGIC_CMD" >&6
5754 echo "$as_me:$LINENO: result: no" >&5
5755 echo "${ECHO_T}no" >&6
5767 if test -n "$ac_tool_prefix"; then
5768 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5769 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
5770 echo "$as_me:$LINENO: checking for $ac_word" >&5
5771 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5772 if test "${ac_cv_prog_RANLIB+set}" = set; then
5773 echo $ECHO_N "(cached) $ECHO_C" >&6
5775 if test -n "$RANLIB"; then
5776 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
5778 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5782 test -z "$as_dir" && as_dir
=.
5783 for ac_exec_ext
in '' $ac_executable_extensions; do
5784 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5785 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
5786 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5794 RANLIB
=$ac_cv_prog_RANLIB
5795 if test -n "$RANLIB"; then
5796 echo "$as_me:$LINENO: result: $RANLIB" >&5
5797 echo "${ECHO_T}$RANLIB" >&6
5799 echo "$as_me:$LINENO: result: no" >&5
5800 echo "${ECHO_T}no" >&6
5804 if test -z "$ac_cv_prog_RANLIB"; then
5805 ac_ct_RANLIB
=$RANLIB
5806 # Extract the first word of "ranlib", so it can be a program name with args.
5807 set dummy ranlib
; ac_word
=$2
5808 echo "$as_me:$LINENO: checking for $ac_word" >&5
5809 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5810 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5811 echo $ECHO_N "(cached) $ECHO_C" >&6
5813 if test -n "$ac_ct_RANLIB"; then
5814 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
5816 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5820 test -z "$as_dir" && as_dir
=.
5821 for ac_exec_ext
in '' $ac_executable_extensions; do
5822 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5823 ac_cv_prog_ac_ct_RANLIB
="ranlib"
5824 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5830 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
5833 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
5834 if test -n "$ac_ct_RANLIB"; then
5835 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
5836 echo "${ECHO_T}$ac_ct_RANLIB" >&6
5838 echo "$as_me:$LINENO: result: no" >&5
5839 echo "${ECHO_T}no" >&6
5842 RANLIB
=$ac_ct_RANLIB
5844 RANLIB
="$ac_cv_prog_RANLIB"
5847 if test -n "$ac_tool_prefix"; then
5848 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5849 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
5850 echo "$as_me:$LINENO: checking for $ac_word" >&5
5851 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5852 if test "${ac_cv_prog_STRIP+set}" = set; then
5853 echo $ECHO_N "(cached) $ECHO_C" >&6
5855 if test -n "$STRIP"; then
5856 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
5858 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5862 test -z "$as_dir" && as_dir
=.
5863 for ac_exec_ext
in '' $ac_executable_extensions; do
5864 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5865 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
5866 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5874 STRIP
=$ac_cv_prog_STRIP
5875 if test -n "$STRIP"; then
5876 echo "$as_me:$LINENO: result: $STRIP" >&5
5877 echo "${ECHO_T}$STRIP" >&6
5879 echo "$as_me:$LINENO: result: no" >&5
5880 echo "${ECHO_T}no" >&6
5884 if test -z "$ac_cv_prog_STRIP"; then
5886 # Extract the first word of "strip", so it can be a program name with args.
5887 set dummy strip
; ac_word
=$2
5888 echo "$as_me:$LINENO: checking for $ac_word" >&5
5889 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5890 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
5891 echo $ECHO_N "(cached) $ECHO_C" >&6
5893 if test -n "$ac_ct_STRIP"; then
5894 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
5896 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5900 test -z "$as_dir" && as_dir
=.
5901 for ac_exec_ext
in '' $ac_executable_extensions; do
5902 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5903 ac_cv_prog_ac_ct_STRIP
="strip"
5904 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5910 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
5913 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
5914 if test -n "$ac_ct_STRIP"; then
5915 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
5916 echo "${ECHO_T}$ac_ct_STRIP" >&6
5918 echo "$as_me:$LINENO: result: no" >&5
5919 echo "${ECHO_T}no" >&6
5924 STRIP
="$ac_cv_prog_STRIP"
5928 # Check for any special flags to pass to ltconfig.
5929 libtool_flags
="--cache-file=$cache_file"
5930 test "$enable_shared" = no
&& libtool_flags
="$libtool_flags --disable-shared"
5931 test "$enable_static" = no
&& libtool_flags
="$libtool_flags --disable-static"
5932 test "$enable_fast_install" = no
&& libtool_flags
="$libtool_flags --disable-fast-install"
5933 test "$GCC" = yes && libtool_flags
="$libtool_flags --with-gcc"
5934 test "$lt_cv_prog_gnu_ld" = yes && libtool_flags
="$libtool_flags --with-gnu-ld"
5937 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
5938 if test "${enable_libtool_lock+set}" = set; then
5939 enableval
="$enable_libtool_lock"
5942 test "x$enable_libtool_lock" = xno
&& libtool_flags
="$libtool_flags --disable-lock"
5943 test x
"$silent" = xyes
&& libtool_flags
="$libtool_flags --silent"
5946 # Check whether --with-pic or --without-pic was given.
5947 if test "${with_pic+set}" = set; then
5953 test x
"$pic_mode" = xyes
&& libtool_flags
="$libtool_flags --prefer-pic"
5954 test x
"$pic_mode" = xno
&& libtool_flags
="$libtool_flags --prefer-non-pic"
5956 # Some flags need to be propagated to the compiler or linker for good
5960 # Find out which ABI we are using.
5961 echo '#line 5961 "configure"' > conftest.
$ac_ext
5962 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5963 (eval $ac_compile) 2>&5
5965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5966 (exit $ac_status); }; then
5967 if test "$lt_cv_prog_gnu_ld" = yes; then
5968 case `/usr/bin/file conftest.$ac_objext` in
5970 LD
="${LD-ld} -melf32bsmip"
5973 LD
="${LD-ld} -melf32bmipn32"
5976 LD
="${LD-ld} -melf64bmip"
5980 case `/usr/bin/file conftest.$ac_objext` in
5997 # Find out which ABI we are using.
5998 echo 'int i;' > conftest.
$ac_ext
5999 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6000 (eval $ac_compile) 2>&5
6002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6003 (exit $ac_status); }; then
6004 case "`/usr/bin/file conftest.o`" in
6016 x86_64-
*linux
*|ppc
*-*linux
*|powerpc
*-*linux
*|s390
*-*linux
*|sparc
*-*linux
*)
6017 # Find out which ABI we are using.
6018 echo 'int i;' > conftest.
$ac_ext
6019 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6020 (eval $ac_compile) 2>&5
6022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6023 (exit $ac_status); }; then
6024 case "`/usr/bin/file conftest.o`" in
6028 LD
="${LD-ld} -m elf_i386"
6031 LD
="${LD-ld} -m elf32ppclinux"
6034 LD
="${LD-ld} -m elf_s390"
6037 LD
="${LD-ld} -m elf32_sparc"
6044 LD
="${LD-ld} -m elf_x86_64"
6046 ppc
*-*linux
*|powerpc
*-*linux
*)
6047 LD
="${LD-ld} -m elf64ppc"
6050 LD
="${LD-ld} -m elf64_s390"
6053 LD
="${LD-ld} -m elf64_sparc"
6063 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6064 SAVE_CFLAGS
="$CFLAGS"
6065 CFLAGS
="$CFLAGS -belf"
6066 echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
6067 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
6068 if test "${lt_cv_cc_needs_belf+set}" = set; then
6069 echo $ECHO_N "(cached) $ECHO_C" >&6
6074 ac_cpp
='$CPP $CPPFLAGS'
6075 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6076 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6077 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6079 cat >conftest.
$ac_ext <<_ACEOF
6080 #line $LINENO "configure"
6083 cat confdefs.h
>>conftest.
$ac_ext
6084 cat >>conftest.
$ac_ext <<_ACEOF
6085 /* end confdefs.h. */
6095 rm -f conftest.
$ac_objext conftest
$ac_exeext
6096 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6097 (eval $ac_link) 2>&5
6099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6100 (exit $ac_status); } &&
6101 { ac_try
='test -s conftest$ac_exeext'
6102 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6106 (exit $ac_status); }; }; then
6107 lt_cv_cc_needs_belf
=yes
6109 echo "$as_me: failed program was:" >&5
6110 sed 's/^/| /' conftest.
$ac_ext >&5
6112 lt_cv_cc_needs_belf
=no
6114 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
6116 ac_cpp
='$CPP $CPPFLAGS'
6117 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6118 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6119 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6122 echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
6123 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
6124 if test x
"$lt_cv_cc_needs_belf" != x
"yes"; then
6125 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6126 CFLAGS
="$SAVE_CFLAGS"
6134 # Save cache, so that ltconfig can load it
6135 cat >confcache
<<\_ACEOF
6136 # This file is a shell script that caches the results of configure
6137 # tests run on this system so they can be shared between configure
6138 # scripts and configure runs, see configure's option --config-cache.
6139 # It is not useful on other systems. If it contains results you don't
6140 # want to keep, you may remove or edit it.
6142 # config.status only pays attention to the cache file if you give it
6143 # the --recheck option to rerun configure.
6145 # `ac_cv_env_foo' variables (set or unset) will be overridden when
6146 # loading this file, other *unset* `ac_cv_foo' will be assigned the
6151 # The following way of writing the cache mishandles newlines in values,
6152 # but we know of no workaround that is simple, portable, and efficient.
6153 # So, don't put newlines in cache variables' values.
6154 # Ultrix sh set writes to stderr and can't be redirected directly,
6155 # and sets the high bit in the cache file unless we assign to the vars.
6158 case `(ac_space=' '; set | grep ac_space) 2>&1` in
6160 # `set' does not quote correctly, so add quotes (double-quote
6161 # substitution turns \\\\ into \\, and sed turns \\ into \).
6164 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
6167 # `set' quotes correctly as required by POSIX, so do not add quotes.
6169 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
6176 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
6178 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
6180 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
6181 if test -w $cache_file; then
6182 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
6183 cat confcache
>$cache_file
6185 echo "not updating unwritable cache $cache_file"
6190 # Actually configure libtool. ac_aux_dir is where install-sh is found.
6191 AR
="$AR" LTCC
="$CC" CC
="$CC" CFLAGS
="$CFLAGS" CPPFLAGS
="$CPPFLAGS" \
6192 MAGIC_CMD
="$MAGIC_CMD" LD
="$LD" LDFLAGS
="$LDFLAGS" LIBS
="$LIBS" \
6193 LN_S
="$LN_S" NM
="$NM" RANLIB
="$RANLIB" STRIP
="$STRIP" \
6194 AS
="$AS" DLLTOOL
="$DLLTOOL" OBJDUMP
="$OBJDUMP" \
6195 objext
="$OBJEXT" exeext
="$EXEEXT" reload_flag
="$reload_flag" \
6196 deplibs_check_method
="$deplibs_check_method" file_magic_cmd
="$file_magic_cmd" \
6197 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig
--no-reexec \
6198 $libtool_flags --no-verify --build="$build" $ac_aux_dir/ltmain.sh
$host \
6199 ||
{ { echo "$as_me:$LINENO: error: libtool configure failed" >&5
6200 echo "$as_me: error: libtool configure failed" >&2;}
6201 { (exit 1); exit 1; }; }
6203 # Reload cache, that may have been modified by ltconfig
6204 if test -r "$cache_file"; then
6205 # Some versions of bash will fail to source /dev/null (special
6206 # files actually), so we avoid doing that.
6207 if test -f "$cache_file"; then
6208 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
6209 echo "$as_me: loading cache $cache_file" >&6;}
6211 [\\/]* | ?
:[\\/]* ) .
$cache_file;;
6212 *) . .
/$cache_file;;
6216 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
6217 echo "$as_me: creating cache $cache_file" >&6;}
6222 # This can be used to rebuild libtool when needed
6223 LIBTOOL_DEPS
="$ac_aux_dir/ltconfig $ac_aux_dir/ltmain.sh $ac_aux_dir/ltcf-c.sh"
6225 # Always use our own libtool.
6226 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
6228 # Redirect the config.log output again, so that the ltconfig log is not
6229 # clobbered by the next message.
6230 exec 5>>.
/config.log
6238 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
6239 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
6240 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,./+-,__p_,'`
6241 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
6242 echo $ECHO_N "(cached) $ECHO_C" >&6
6244 cat >conftest.
make <<\_ACEOF
6246 @
echo 'ac_maketemp="$(MAKE)"'
6248 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
6249 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
6250 if test -n "$ac_maketemp"; then
6251 eval ac_cv_prog_make_
${ac_make}_set
=yes
6253 eval ac_cv_prog_make_
${ac_make}_set
=no
6257 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
6258 echo "$as_me:$LINENO: result: yes" >&5
6259 echo "${ECHO_T}yes" >&6
6262 echo "$as_me:$LINENO: result: no" >&5
6263 echo "${ECHO_T}no" >&6
6264 SET_MAKE
="MAKE=${MAKE-make}"
6267 # Find a good install program. We prefer a C program (faster),
6268 # so one script is as good as another. But avoid the broken or
6269 # incompatible versions:
6270 # SysV /etc/install, /usr/sbin/install
6271 # SunOS /usr/etc/install
6272 # IRIX /sbin/install
6274 # AmigaOS /C/install, which installs bootblocks on floppy discs
6275 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
6276 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
6277 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
6278 # ./install, which can be erroneously created by make from ./install.sh.
6279 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
6280 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
6281 if test -z "$INSTALL"; then
6282 if test "${ac_cv_path_install+set}" = set; then
6283 echo $ECHO_N "(cached) $ECHO_C" >&6
6285 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6289 test -z "$as_dir" && as_dir
=.
6290 # Account for people who put trailing slashes in PATH elements.
6292 .
/ | .
// |
/cC
/* | \
6293 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
6296 # OSF1 and SCO ODT 3.0 have their own names for install.
6297 # Don't use installbsd from OSF since it installs stuff as root
6299 for ac_prog
in ginstall scoinst
install; do
6300 for ac_exec_ext
in '' $ac_executable_extensions; do
6301 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
6302 if test $ac_prog = install &&
6303 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
6304 # AIX install. It has an incompatible calling convention.
6306 elif test $ac_prog = install &&
6307 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
6308 # program-specific install script used by HP pwplus--don't use.
6311 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
6323 if test "${ac_cv_path_install+set}" = set; then
6324 INSTALL
=$ac_cv_path_install
6326 # As a last resort, use the slow shell script. We don't cache a
6327 # path for INSTALL within a source directory, because that will
6328 # break other packages using the cache if that directory is
6329 # removed, or if the path is relative.
6330 INSTALL
=$ac_install_sh
6333 echo "$as_me:$LINENO: result: $INSTALL" >&5
6334 echo "${ECHO_T}$INSTALL" >&6
6336 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
6337 # It thinks the first close brace ends the variable substitution.
6338 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
6340 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
6342 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
6345 ac_config_files
="$ac_config_files Makefile"
6346 cat >confcache
<<\_ACEOF
6347 # This file is a shell script that caches the results of configure
6348 # tests run on this system so they can be shared between configure
6349 # scripts and configure runs, see configure's option --config-cache.
6350 # It is not useful on other systems. If it contains results you don't
6351 # want to keep, you may remove or edit it.
6353 # config.status only pays attention to the cache file if you give it
6354 # the --recheck option to rerun configure.
6356 # `ac_cv_env_foo' variables (set or unset) will be overridden when
6357 # loading this file, other *unset* `ac_cv_foo' will be assigned the
6362 # The following way of writing the cache mishandles newlines in values,
6363 # but we know of no workaround that is simple, portable, and efficient.
6364 # So, don't put newlines in cache variables' values.
6365 # Ultrix sh set writes to stderr and can't be redirected directly,
6366 # and sets the high bit in the cache file unless we assign to the vars.
6369 case `(ac_space=' '; set | grep ac_space) 2>&1` in
6371 # `set' does not quote correctly, so add quotes (double-quote
6372 # substitution turns \\\\ into \\, and sed turns \\ into \).
6375 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
6378 # `set' quotes correctly as required by POSIX, so do not add quotes.
6380 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
6387 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
6389 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
6391 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
6392 if test -w $cache_file; then
6393 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
6394 cat confcache
>$cache_file
6396 echo "not updating unwritable cache $cache_file"
6401 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
6402 # Let make expand exec_prefix.
6403 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
6405 # VPATH may cause trouble with some makes, so we remove $(srcdir),
6406 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
6407 # trailing colons and then remove the whole line if VPATH becomes empty
6408 # (actually we leave an empty line to preserve line numbers).
6409 if test "x$srcdir" = x.
; then
6410 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
6411 s/:*\$(srcdir):*/:/;
6412 s/:*\${srcdir}:*/:/;
6414 s/^\([^=]*=[ ]*\):*/\1/;
6420 DEFS
=-DHAVE_CONFIG_H
6424 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
6425 # 1. Remove the extension, and $U if already installed.
6426 ac_i
=`echo "$ac_i" |
6427 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
6429 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
6430 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
6434 LTLIBOBJS
=$ac_ltlibobjs
6437 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
6438 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
6439 Usually this means the macro was only invoked conditionally." >&5
6440 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
6441 Usually this means the macro was only invoked conditionally." >&2;}
6442 { (exit 1); exit 1; }; }
6444 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
6445 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
6446 Usually this means the macro was only invoked conditionally." >&5
6447 echo "$as_me: error: conditional \"AMDEP\" was never defined.
6448 Usually this means the macro was only invoked conditionally." >&2;}
6449 { (exit 1); exit 1; }; }
6451 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
6452 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
6453 Usually this means the macro was only invoked conditionally." >&5
6454 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
6455 Usually this means the macro was only invoked conditionally." >&2;}
6456 { (exit 1); exit 1; }; }
6459 : ${CONFIG_STATUS=./config.status}
6460 ac_clean_files_save
=$ac_clean_files
6461 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
6462 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
6463 echo "$as_me: creating $CONFIG_STATUS" >&6;}
6464 cat >$CONFIG_STATUS <<_ACEOF
6466 # Generated by $as_me.
6467 # Run this file to recreate the current configuration.
6468 # Compiler output produced by configure, useful for debugging
6469 # configure, is in config.log if it exists.
6474 SHELL=\${CONFIG_SHELL-$SHELL}
6477 cat >>$CONFIG_STATUS <<\_ACEOF
6478 ## --------------------- ##
6479 ## M4sh Initialization. ##
6480 ## --------------------- ##
6482 # Be Bourne compatible
6483 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
6486 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
6487 # is contrary to our usage. Disable this feature.
6488 alias -g '${1+"$@"}'='"$@"'
6489 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
6493 # Support unset when possible.
6494 if (FOO
=FOO
; unset FOO
) >/dev
/null
2>&1; then
6501 # Work around bugs in pre-3.0 UWIN ksh.
6502 $as_unset ENV MAIL MAILPATH
6509 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
6510 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
6511 LC_TELEPHONE LC_TIME
6513 if (set +x
; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
6514 eval $as_var=C
; export $as_var
6520 # Required to use basename.
6521 if expr a
: '\(a\)' >/dev
/null
2>&1; then
6527 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
6528 as_basename
=basename
6534 # Name of the executable.
6535 as_me
=`$as_basename "$0" ||
6536 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
6537 X"$0" : 'X\(//\)$' \| \
6538 X"$0" : 'X\(/\)$' \| \
6539 . : '\(.\)' 2>/dev/null ||
6541 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
6542 /^X\/\(\/\/\)$/{ s//\1/; q; }
6543 /^X\/\(\/\).*/{ s//\1/; q; }
6547 # PATH needs CR, and LINENO needs CR and PATH.
6548 # Avoid depending upon Character Ranges.
6549 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
6550 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
6551 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
6552 as_cr_digits
='0123456789'
6553 as_cr_alnum
=$as_cr_Letters$as_cr_digits
6555 # The user is always right.
6556 if test "${PATH_SEPARATOR+set}" != set; then
6557 echo "#! /bin/sh" >conf$$.sh
6558 echo "exit 0" >>conf$$.sh
6560 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
6571 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
6572 test "x$as_lineno_1" != "x$as_lineno_2" &&
6573 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
6574 # Find who we are. Look in the path if we contain no path at all
6577 *[\\/]* ) as_myself
=$0 ;;
6578 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6582 test -z "$as_dir" && as_dir
=.
6583 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
6588 # We did not find ourselves, most probably we were run as `sh COMMAND'
6589 # in which case we are not to be found in the path.
6590 if test "x$as_myself" = x
; then
6593 if test ! -f "$as_myself"; then
6594 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
6595 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
6596 { (exit 1); exit 1; }; }
6598 case $CONFIG_SHELL in
6600 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6601 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
6604 test -z "$as_dir" && as_dir
=.
6605 for as_base
in sh bash ksh sh5
; do
6608 if ("$as_dir/$as_base" -c '
6611 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
6612 test "x$as_lineno_1" != "x$as_lineno_2" &&
6613 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
6614 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
6615 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
6616 CONFIG_SHELL
=$as_dir/$as_base
6618 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
6626 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
6627 # uniformly replaced by the line number. The first 'sed' inserts a
6628 # line-number line before each line; the second 'sed' does the real
6629 # work. The second script uses 'N' to pair each line-number line
6630 # with the numbered line, and appends trailing '-' during
6631 # substitution so that $LINENO is not a special case at line end.
6632 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
6633 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
6634 sed '=' <$as_myself |
6639 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
6642 s,^['$as_cr_digits']*\n,,
6644 chmod +x
$as_me.lineno ||
6645 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
6646 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
6647 { (exit 1); exit 1; }; }
6649 # Don't try to exec as it changes $[0], causing all sort of problems
6650 # (the dirname of $[0] is not the place where we might find the
6651 # original and so on. Autoconf is especially sensible to this).
6653 # Exit status is that of the last command.
6658 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
6659 *c
*,-n*) ECHO_N
= ECHO_C
='
6661 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
6662 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
6665 if expr a
: '\(a\)' >/dev
/null
2>&1; then
6671 rm -f conf$$ conf$$.exe conf$$.
file
6673 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
6674 # We could just check for DJGPP; but this test a) works b) is more generic
6675 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
6676 if test -f conf$$.exe
; then
6677 # Don't use ln at all; we don't have any links
6682 elif ln conf$$.
file conf$$
2>/dev
/null
; then
6687 rm -f conf$$ conf$$.exe conf$$.
file
6689 if mkdir
-p .
2>/dev
/null
; then
6695 as_executable_p
="test -f"
6697 # Sed expression to map a string onto a valid CPP name.
6698 as_tr_cpp
="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
6700 # Sed expression to map a string onto a valid variable name.
6701 as_tr_sh
="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
6705 # We need space, tab and new line, in precisely that order.
6715 # Open the log real soon, to keep \$[0] and so on meaningful, and to
6716 # report actual input values of CONFIG_FILES etc. instead of their
6717 # values after options handling. Logging --version etc. is OK.
6721 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
6722 ## Running $as_me. ##
6727 This file was extended by GNU Fortran Runtime Library $as_me 0.2, which was
6728 generated by GNU Autoconf 2.57. Invocation command line was
6730 CONFIG_FILES = $CONFIG_FILES
6731 CONFIG_HEADERS = $CONFIG_HEADERS
6732 CONFIG_LINKS = $CONFIG_LINKS
6733 CONFIG_COMMANDS = $CONFIG_COMMANDS
6737 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
6741 # Files that config.status was made for.
6742 if test -n "$ac_config_files"; then
6743 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
6746 if test -n "$ac_config_headers"; then
6747 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
6750 if test -n "$ac_config_links"; then
6751 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
6754 if test -n "$ac_config_commands"; then
6755 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
6758 cat >>$CONFIG_STATUS <<\_ACEOF
6761 \`$as_me' instantiates files from templates according to the
6762 current configuration.
6764 Usage: $0 [OPTIONS] [FILE]...
6766 -h, --help print this help, then exit
6767 -V, --version print version number, then exit
6768 -q, --quiet do not print progress messages
6769 -d, --debug don't remove temporary files
6770 --recheck update $as_me by reconfiguring in the same conditions
6771 --file=FILE[:TEMPLATE]
6772 instantiate the configuration file FILE
6773 --header=FILE[:TEMPLATE]
6774 instantiate the configuration header FILE
6776 Configuration files:
6779 Configuration headers:
6782 Configuration commands:
6785 Report bugs to <bug-autoconf@gnu.org>."
6788 cat >>$CONFIG_STATUS <<_ACEOF
6790 GNU Fortran Runtime Library config.status 0.2
6791 configured by $0, generated by GNU Autoconf 2.57,
6792 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
6794 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
6795 Free Software Foundation, Inc.
6796 This config.status script is free software; the Free Software Foundation
6797 gives unlimited permission to copy, distribute and modify it."
6802 cat >>$CONFIG_STATUS <<\_ACEOF
6803 # If no file are specified by the user, then we need to provide default
6804 # value. By we need to know if files were specified by the user.
6810 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
6811 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
6819 *) # This is not an option, so the user has probably given explicit
6822 ac_need_defaults
=false
;;
6826 # Handling of the options.
6828 cat >>$CONFIG_STATUS <<\_ACEOF
6829 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
6831 --version |
--vers* |
-V )
6832 echo "$ac_cs_version"; exit 0 ;;
6834 # Conflict between --help and --header
6835 { { echo "$as_me:$LINENO: error: ambiguous option: $1
6836 Try \`$0 --help' for more information." >&5
6837 echo "$as_me: error: ambiguous option: $1
6838 Try \`$0 --help' for more information." >&2;}
6839 { (exit 1); exit 1; }; };;
6840 --help |
--hel |
-h )
6841 echo "$ac_cs_usage"; exit 0 ;;
6842 --debug |
--d* |
-d )
6844 --file |
--fil |
--fi |
--f )
6846 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
6847 ac_need_defaults
=false
;;
6848 --header |
--heade |
--head |
--hea )
6850 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
6851 ac_need_defaults
=false
;;
6852 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
6853 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
6857 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
6858 Try \`$0 --help' for more information." >&5
6859 echo "$as_me: error: unrecognized option: $1
6860 Try \`$0 --help' for more information." >&2;}
6861 { (exit 1); exit 1; }; } ;;
6863 *) ac_config_targets
="$ac_config_targets $1" ;;
6869 ac_configure_extra_args
=
6871 if $ac_cs_silent; then
6873 ac_configure_extra_args
="$ac_configure_extra_args --silent"
6877 cat >>$CONFIG_STATUS <<_ACEOF
6878 if \$ac_cs_recheck; then
6879 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
6880 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
6885 cat >>$CONFIG_STATUS <<_ACEOF
6887 # INIT-COMMANDS section.
6890 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
6896 cat >>$CONFIG_STATUS <<\_ACEOF
6897 for ac_config_target
in $ac_config_targets
6899 case "$ac_config_target" in
6900 # Handling of arguments.
6901 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
6902 "depfiles" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
6903 "config.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
6904 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
6905 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
6906 { (exit 1); exit 1; }; };;
6910 # If the user did not use the arguments to specify the items to instantiate,
6911 # then the envvar interface is used. Set only those that are not.
6912 # We use the long form for the default assignment because of an extremely
6913 # bizarre bug on SunOS 4.1.3.
6914 if $ac_need_defaults; then
6915 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
6916 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
6917 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
6920 # Have a temporary directory for convenience. Make it in the build tree
6921 # simply because there is no reason to put it here, and in addition,
6922 # creating and moving files from /tmp can sometimes cause problems.
6923 # Create a temporary directory, and hook for its removal unless debugging.
6926 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
6927 trap '{ (exit 1); exit 1; }' 1 2 13 15
6930 # Create a (secure) tmp directory for tmp files.
6933 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
6934 test -n "$tmp" && test -d "$tmp"
6937 tmp
=.
/confstat$$
-$RANDOM
6938 (umask 077 && mkdir
$tmp)
6941 echo "$me: cannot create a temporary directory in ." >&2
6942 { (exit 1); exit 1; }
6947 cat >>$CONFIG_STATUS <<_ACEOF
6950 # CONFIG_FILES section.
6953 # No need to generate the scripts if there are no CONFIG_FILES.
6954 # This happens for instance when ./config.status config.h
6955 if test -n "\$CONFIG_FILES"; then
6956 # Protect against being on the right side of a sed subst in config.status.
6957 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
6958 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
6959 s,@SHELL@,$SHELL,;t t
6960 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
6961 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
6962 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
6963 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
6964 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
6965 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
6966 s,@exec_prefix@,$exec_prefix,;t t
6967 s,@prefix@,$prefix,;t t
6968 s,@program_transform_name@,$program_transform_name,;t t
6969 s,@bindir@,$bindir,;t t
6970 s,@sbindir@,$sbindir,;t t
6971 s,@libexecdir@,$libexecdir,;t t
6972 s,@datadir@,$datadir,;t t
6973 s,@sysconfdir@,$sysconfdir,;t t
6974 s,@sharedstatedir@,$sharedstatedir,;t t
6975 s,@localstatedir@,$localstatedir,;t t
6976 s,@libdir@,$libdir,;t t
6977 s,@includedir@,$includedir,;t t
6978 s,@oldincludedir@,$oldincludedir,;t t
6979 s,@infodir@,$infodir,;t t
6980 s,@mandir@,$mandir,;t t
6981 s,@build_alias@,$build_alias,;t t
6982 s,@host_alias@,$host_alias,;t t
6983 s,@target_alias@,$target_alias,;t t
6985 s,@ECHO_C@,$ECHO_C,;t t
6986 s,@ECHO_N@,$ECHO_N,;t t
6987 s,@ECHO_T@,$ECHO_T,;t t
6989 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
6990 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
6991 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
6992 s,@CYGPATH_W@,$CYGPATH_W,;t t
6993 s,@PACKAGE@,$PACKAGE,;t t
6994 s,@VERSION@,$VERSION,;t t
6995 s,@ACLOCAL@,$ACLOCAL,;t t
6996 s,@AUTOCONF@,$AUTOCONF,;t t
6997 s,@AUTOMAKE@,$AUTOMAKE,;t t
6998 s,@AUTOHEADER@,$AUTOHEADER,;t t
6999 s,@MAKEINFO@,$MAKEINFO,;t t
7000 s,@AMTAR@,$AMTAR,;t t
7001 s,@install_sh@,$install_sh,;t t
7002 s,@STRIP@,$STRIP,;t t
7003 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
7004 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
7006 s,@SET_MAKE@,$SET_MAKE,;t t
7007 s,@am__leading_dot@,$am__leading_dot,;t t
7008 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
7009 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
7010 s,@MAINT@,$MAINT,;t t
7011 s,@enable_shared@,$enable_shared,;t t
7012 s,@enable_static@,$enable_static,;t t
7014 s,@CFLAGS@,$CFLAGS,;t t
7015 s,@LDFLAGS@,$LDFLAGS,;t t
7016 s,@CPPFLAGS@,$CPPFLAGS,;t t
7017 s,@ac_ct_CC@,$ac_ct_CC,;t t
7018 s,@EXEEXT@,$EXEEXT,;t t
7019 s,@OBJEXT@,$OBJEXT,;t t
7020 s,@DEPDIR@,$DEPDIR,;t t
7021 s,@am__include@,$am__include,;t t
7022 s,@am__quote@,$am__quote,;t t
7023 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
7024 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
7025 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
7026 s,@CCDEPMODE@,$CCDEPMODE,;t t
7027 s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
7028 s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
7030 s,@FFLAGS@,$FFLAGS,;t t
7031 s,@ac_ct_F77@,$ac_ct_F77,;t t
7033 s,@EGREP@,$EGREP,;t t
7034 s,@MATH_OBJ@,$MATH_OBJ,;t t
7036 s,@RANLIB@,$RANLIB,;t t
7037 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
7038 s,@build@,$build,;t t
7039 s,@build_cpu@,$build_cpu,;t t
7040 s,@build_vendor@,$build_vendor,;t t
7041 s,@build_os@,$build_os,;t t
7043 s,@host_cpu@,$host_cpu,;t t
7044 s,@host_vendor@,$host_vendor,;t t
7045 s,@host_os@,$host_os,;t t
7047 s,@LIBTOOL@,$LIBTOOL,;t t
7048 s,@LIBOBJS@,$LIBOBJS,;t t
7049 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
7054 cat >>$CONFIG_STATUS <<\_ACEOF
7055 # Split the substitutions into bite-sized pieces for seds with
7056 # small command number limits, like on Digital OSF/1 and HP-UX.
7058 ac_sed_frag
=1 # Number of current file.
7059 ac_beg
=1 # First line for current file.
7060 ac_end
=$ac_max_sed_lines # Line after last line for current file.
7063 while $ac_more_lines; do
7064 if test $ac_beg -gt 1; then
7065 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
7067 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
7069 if test ! -s $tmp/subs.frag
; then
7072 # The purpose of the label and of the branching condition is to
7073 # speed up the sed processing (if there are no `@' at all, there
7074 # is no need to browse any of the substitutions).
7075 # These are the two extra sed commands mentioned above.
7077 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
7078 if test -z "$ac_sed_cmds"; then
7079 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
7081 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
7083 ac_sed_frag
=`expr $ac_sed_frag + 1`
7085 ac_end
=`expr $ac_end + $ac_max_sed_lines`
7088 if test -z "$ac_sed_cmds"; then
7091 fi # test -n "$CONFIG_FILES"
7094 cat >>$CONFIG_STATUS <<\_ACEOF
7095 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
7096 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
7098 - |
*:- |
*:-:* ) # input from stdin
7100 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
7101 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
7102 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
7103 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
7104 * ) ac_file_in
=$ac_file.
in ;;
7107 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
7108 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
7109 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7110 X"$ac_file" : 'X\(//\)[^/]' \| \
7111 X"$ac_file" : 'X\(//\)$' \| \
7112 X"$ac_file" : 'X\(/\)' \| \
7113 . : '\(.\)' 2>/dev/null ||
7115 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7116 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7117 /^X\(\/\/\)$/{ s//\1/; q; }
7118 /^X\(\/\).*/{ s//\1/; q; }
7120 { if $as_mkdir_p; then
7125 while test ! -d "$as_dir"; do
7126 as_dirs
="$as_dir $as_dirs"
7127 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
7128 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7129 X"$as_dir" : 'X\(//\)[^/]' \| \
7130 X"$as_dir" : 'X\(//\)$' \| \
7131 X"$as_dir" : 'X\(/\)' \| \
7132 . : '\(.\)' 2>/dev/null ||
7134 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7135 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7136 /^X\(\/\/\)$/{ s//\1/; q; }
7137 /^X\(\/\).*/{ s//\1/; q; }
7140 test ! -n "$as_dirs" || mkdir
$as_dirs
7141 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
7142 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
7143 { (exit 1); exit 1; }; }; }
7147 if test "$ac_dir" != .
; then
7148 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
7149 # A "../" for each directory in $ac_dir_suffix.
7150 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
7152 ac_dir_suffix
= ac_top_builddir
=
7156 .
) # No --srcdir option. We are building in place.
7158 if test -z "$ac_top_builddir"; then
7161 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
7163 [\\/]* | ?
:[\\/]* ) # Absolute path.
7164 ac_srcdir
=$srcdir$ac_dir_suffix;
7165 ac_top_srcdir
=$srcdir ;;
7167 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
7168 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
7170 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
7172 ac_abs_builddir
=`cd "$ac_dir" && cd $ac_builddir && pwd`
7173 ac_abs_top_builddir
=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
7174 ac_abs_srcdir
=`cd "$ac_dir" && cd $ac_srcdir && pwd`
7175 ac_abs_top_srcdir
=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
7179 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
7180 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
7183 if test x
"$ac_file" != x-
; then
7184 { echo "$as_me:$LINENO: creating $ac_file" >&5
7185 echo "$as_me: creating $ac_file" >&6;}
7188 # Let's still pretend it is `configure' which instantiates (i.e., don't
7189 # use $as_me), people would be surprised to read:
7190 # /* config.h. Generated by config.status. */
7191 if test x
"$ac_file" = x-
; then
7194 configure_input
="$ac_file. "
7196 configure_input
=$configure_input"Generated from `echo $ac_file_in |
7197 sed 's,.*/,,'` by configure."
7199 # First look for the input files in the build tree, otherwise in the
7201 ac_file_inputs
=`IFS=:
7202 for f in $ac_file_in; do
7204 -) echo $tmp/stdin ;;
7206 # Absolute (can't be DOS-style, as IFS=:)
7207 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
7208 echo "$as_me: error: cannot find input file: $f" >&2;}
7209 { (exit 1); exit 1; }; }
7212 if test -f "$f"; then
7215 elif test -f "$srcdir/$f"; then
7220 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
7221 echo "$as_me: error: cannot find input file: $f" >&2;}
7222 { (exit 1); exit 1; }; }
7225 done` ||
{ (exit 1); exit 1; }
7227 cat >>$CONFIG_STATUS <<_ACEOF
7231 cat >>$CONFIG_STATUS <<\_ACEOF
7233 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
7234 s
,@configure_input@
,$configure_input,;t t
7235 s
,@srcdir@
,$ac_srcdir,;t t
7236 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
7237 s
,@top_srcdir@
,$ac_top_srcdir,;t t
7238 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
7239 s
,@builddir@
,$ac_builddir,;t t
7240 s
,@abs_builddir@
,$ac_abs_builddir,;t t
7241 s
,@top_builddir@
,$ac_top_builddir,;t t
7242 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
7243 s
,@INSTALL@
,$ac_INSTALL,;t t
7244 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
7246 if test x"$ac_file" != x-; then
7247 mv $tmp/out $ac_file
7255 cat >>$CONFIG_STATUS <<\_ACEOF
7258 # CONFIG_HEADER section.
7261 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
7262 # NAME is the cpp macro being defined and VALUE is the value it is being given.
7264 # ac_d sets the value in "#define NAME VALUE" lines.
7265 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
7266 ac_dB
='[ ].*$,\1#\2'
7269 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
7270 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
7271 ac_uB
='$,\1#\2define\3'
7275 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
7276 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
7278 - |
*:- |
*:-:* ) # input from stdin
7280 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
7281 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
7282 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
7283 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
7284 * ) ac_file_in
=$ac_file.
in ;;
7287 test x
"$ac_file" != x-
&& { echo "$as_me:$LINENO: creating $ac_file" >&5
7288 echo "$as_me: creating $ac_file" >&6;}
7290 # First look for the input files in the build tree, otherwise in the
7292 ac_file_inputs
=`IFS=:
7293 for f in $ac_file_in; do
7295 -) echo $tmp/stdin ;;
7297 # Absolute (can't be DOS-style, as IFS=:)
7298 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
7299 echo "$as_me: error: cannot find input file: $f" >&2;}
7300 { (exit 1); exit 1; }; }
7303 if test -f "$f"; then
7306 elif test -f "$srcdir/$f"; then
7311 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
7312 echo "$as_me: error: cannot find input file: $f" >&2;}
7313 { (exit 1); exit 1; }; }
7316 done` ||
{ (exit 1); exit 1; }
7317 # Remove the trailing spaces.
7318 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
7322 # Transform confdefs.h into two sed scripts, `conftest.defines' and
7323 # `conftest.undefs', that substitutes the proper values into
7324 # config.h.in to produce config.h. The first handles `#define'
7325 # templates, and the second `#undef' templates.
7326 # And first: Protect against being on the right side of a sed subst in
7327 # config.status. Protect against being in an unquoted here document
7329 rm -f conftest.defines conftest.undefs
7330 # Using a here document instead of a string reduces the quoting nightmare.
7331 # Putting comments in sed scripts is not portable.
7333 # `end' is used to avoid that the second main sed command (meant for
7334 # 0-ary CPP macros) applies to n-ary macro definitions.
7335 # See the Autoconf documentation for `clear'.
7336 cat >confdef2sed.
sed <<\_ACEOF
7341 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
7343 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
7346 # If some macros were called several times there might be several times
7347 # the same #defines, which is useless. Nevertheless, we may not want to
7348 # sort them, since we want the *last* AC-DEFINE to be honored.
7349 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
7350 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
7351 rm -f confdef2sed.sed
7353 # This sed command replaces #undef with comments. This is necessary, for
7354 # example, in the case of _POSIX_SOURCE, which is predefined and required
7355 # on some systems where configure will not decide to define it.
7356 cat >>conftest.undefs <<\_ACEOF
7357 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
7360 # Break up conftest.defines because some shells have a limit on the size
7361 # of here documents, and old seds have small limits too (100 cmds).
7362 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
7363 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
7364 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
7365 echo ' :' >>$CONFIG_STATUS
7367 while grep . conftest.defines >/dev/null
7369 # Write a limited-size here document to $tmp/defines.sed.
7370 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
7371 # Speed up: don't consider the non `#define' lines.
7372 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
7373 # Work around the forget-to-reset-the-flag bug.
7374 echo 't clr' >>$CONFIG_STATUS
7375 echo ': clr' >>$CONFIG_STATUS
7376 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
7378 sed -f $tmp/defines.sed $tmp/in >$tmp/out
7382 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
7383 rm -f conftest.defines
7384 mv conftest.
tail conftest.defines
7386 rm -f conftest.defines
7387 echo ' fi # grep' >>$CONFIG_STATUS
7388 echo >>$CONFIG_STATUS
7390 # Break up conftest.undefs because some shells have a limit on the size
7391 # of here documents, and old seds have small limits too (100 cmds).
7392 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
7394 while grep . conftest.undefs
>/dev
/null
7396 # Write a limited-size here document to $tmp/undefs.sed.
7397 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
7398 # Speed up: don't consider the non
`#undef'
7399 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
7400 # Work around the forget-to-reset-the-flag bug.
7401 echo 't clr' >>$CONFIG_STATUS
7402 echo ': clr' >>$CONFIG_STATUS
7403 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
7405 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
7409 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
7410 rm -f conftest.undefs
7411 mv conftest.tail conftest.undefs
7413 rm -f conftest.undefs
7415 cat >>$CONFIG_STATUS <<\_ACEOF
7416 # Let's still pretend it is `configure
' which instantiates (i.e., don't
7417 # use $as_me), people would be surprised to read:
7418 # /* config.h. Generated by config.status. */
7419 if test x
"$ac_file" = x-
; then
7420 echo "/* Generated by configure. */" >$tmp/config.h
7422 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
7424 cat $tmp/in >>$tmp/config.h
7426 if test x
"$ac_file" != x-
; then
7427 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
7428 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
7429 echo "$as_me: $ac_file is unchanged" >&6;}
7431 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
7432 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7433 X"$ac_file" : 'X\(//\)[^/]' \| \
7434 X"$ac_file" : 'X\(//\)$' \| \
7435 X"$ac_file" : 'X\(/\)' \| \
7436 . : '\(.\)' 2>/dev/null ||
7438 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7439 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7440 /^X\(\/\/\)$/{ s//\1/; q; }
7441 /^X\(\/\).*/{ s//\1/; q; }
7443 { if $as_mkdir_p; then
7448 while test ! -d "$as_dir"; do
7449 as_dirs
="$as_dir $as_dirs"
7450 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
7451 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7452 X"$as_dir" : 'X\(//\)[^/]' \| \
7453 X"$as_dir" : 'X\(//\)$' \| \
7454 X"$as_dir" : 'X\(/\)' \| \
7455 . : '\(.\)' 2>/dev/null ||
7457 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7458 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7459 /^X\(\/\/\)$/{ s//\1/; q; }
7460 /^X\(\/\).*/{ s//\1/; q; }
7463 test ! -n "$as_dirs" || mkdir
$as_dirs
7464 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
7465 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
7466 { (exit 1); exit 1; }; }; }
7469 mv $tmp/config.h
$ac_file
7475 # Compute $ac_file's index in $config_headers.
7477 for _am_header
in $config_headers :; do
7479 $ac_file |
$ac_file:* )
7482 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
7485 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
7486 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7487 X$ac_file : 'X\(//\)[^/]' \| \
7488 X$ac_file : 'X\(//\)$' \| \
7489 X$ac_file : 'X\(/\)' \| \
7490 . : '\(.\)' 2>/dev/null ||
7492 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7493 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7494 /^X\(\/\/\)$/{ s//\1/; q; }
7495 /^X\(\/\).*/{ s//\1/; q; }
7496 s/.*/./; q'`/stamp-h
$_am_stamp_count
7499 cat >>$CONFIG_STATUS <<\_ACEOF
7502 # CONFIG_COMMANDS section.
7504 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
7505 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
7506 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
7507 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
7508 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7509 X"$ac_dest" : 'X\(//\)[^/]' \| \
7510 X"$ac_dest" : 'X\(//\)$' \| \
7511 X"$ac_dest" : 'X\(/\)' \| \
7512 . : '\(.\)' 2>/dev/null ||
7514 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7515 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7516 /^X\(\/\/\)$/{ s//\1/; q; }
7517 /^X\(\/\).*/{ s//\1/; q; }
7521 if test "$ac_dir" != .
; then
7522 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
7523 # A "../" for each directory in $ac_dir_suffix.
7524 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
7526 ac_dir_suffix
= ac_top_builddir
=
7530 .
) # No --srcdir option. We are building in place.
7532 if test -z "$ac_top_builddir"; then
7535 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
7537 [\\/]* | ?
:[\\/]* ) # Absolute path.
7538 ac_srcdir
=$srcdir$ac_dir_suffix;
7539 ac_top_srcdir
=$srcdir ;;
7541 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
7542 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
7544 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
7546 ac_abs_builddir
=`cd "$ac_dir" && cd $ac_builddir && pwd`
7547 ac_abs_top_builddir
=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
7548 ac_abs_srcdir
=`cd "$ac_dir" && cd $ac_srcdir && pwd`
7549 ac_abs_top_srcdir
=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
7552 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
7553 echo "$as_me: executing $ac_dest commands" >&6;}
7555 depfiles
) test x
"$AMDEP_TRUE" != x
"" ||
for mf
in $CONFIG_FILES; do
7556 # Strip MF so we end up with the name of the file.
7557 mf
=`echo "$mf" | sed -e 's/:.*$//'`
7558 # Check whether this is an Automake generated Makefile or not.
7559 # We used to match only the files named `Makefile.in', but
7560 # some people rename them; so instead we look at the file content.
7561 # Grep'ing the first line is not enough: some people post-process
7562 # each Makefile.in and add a new line on top of each file to say so.
7563 # So let's grep whole file.
7564 if grep '^#.*generated by automake' $mf > /dev
/null
2>&1; then
7565 dirpart
=`(dirname "$mf") 2>/dev/null ||
7566 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7567 X"$mf" : 'X\(//\)[^/]' \| \
7568 X"$mf" : 'X\(//\)$' \| \
7569 X"$mf" : 'X\(/\)' \| \
7570 . : '\(.\)' 2>/dev/null ||
7572 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7573 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7574 /^X\(\/\/\)$/{ s//\1/; q; }
7575 /^X\(\/\).*/{ s//\1/; q; }
7580 grep '^DEP_FILES *= *[^ #]' < "$mf" > /dev
/null ||
continue
7581 # Extract the definition of DEP_FILES from the Makefile without
7583 DEPDIR
=`sed -n -e '/^DEPDIR = / s///p' < "$mf"`
7584 test -z "$DEPDIR" && continue
7585 # When using ansi2knr, U may be empty or an underscore; expand it
7586 U
=`sed -n -e '/^U = / s///p' < "$mf"`
7587 test -d "$dirpart/$DEPDIR" || mkdir
"$dirpart/$DEPDIR"
7588 # We invoke sed twice because it is the simplest approach to
7589 # changing $(DEPDIR) to its actual value in the expansion.
7590 for file in `sed -n -e '
7591 /^DEP_FILES = .*\\\\$/ {
7600 /^DEP_FILES = / s/^DEP_FILES = //p' < "$mf" | \
7601 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
7602 # Make sure the directory exists.
7603 test -f "$dirpart/$file" && continue
7604 fdir
=`(dirname "$file") 2>/dev/null ||
7605 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7606 X"$file" : 'X\(//\)[^/]' \| \
7607 X"$file" : 'X\(//\)$' \| \
7608 X"$file" : 'X\(/\)' \| \
7609 . : '\(.\)' 2>/dev/null ||
7611 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7612 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7613 /^X\(\/\/\)$/{ s//\1/; q; }
7614 /^X\(\/\).*/{ s//\1/; q; }
7616 { if $as_mkdir_p; then
7617 mkdir
-p $dirpart/$fdir
7619 as_dir
=$dirpart/$fdir
7621 while test ! -d "$as_dir"; do
7622 as_dirs
="$as_dir $as_dirs"
7623 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
7624 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7625 X"$as_dir" : 'X\(//\)[^/]' \| \
7626 X"$as_dir" : 'X\(//\)$' \| \
7627 X"$as_dir" : 'X\(/\)' \| \
7628 . : '\(.\)' 2>/dev/null ||
7630 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7631 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7632 /^X\(\/\/\)$/{ s//\1/; q; }
7633 /^X\(\/\).*/{ s//\1/; q; }
7636 test ! -n "$as_dirs" || mkdir
$as_dirs
7637 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
7638 echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
7639 { (exit 1); exit 1; }; }; }
7641 # echo "creating $dirpart/$file"
7642 echo '# dummy' > "$dirpart/$file"
7650 cat >>$CONFIG_STATUS <<\_ACEOF
7652 { (exit 0); exit 0; }
7654 chmod +x
$CONFIG_STATUS
7655 ac_clean_files
=$ac_clean_files_save
7658 # configure is writing to config.log, and then calls config.status.
7659 # config.status does its own redirection, appending to config.log.
7660 # Unfortunately, on DOS this fails, as config.log is still kept open
7661 # by configure, so config.status won't be able to write to it; its
7662 # output is simply discarded. So we exec the FD to /dev/null,
7663 # effectively closing config.log, so it can be properly (re)opened and
7664 # appended to by config.status. When coming back to configure, we
7665 # need to make the FD available again.
7666 if test "$no_create" != yes; then
7668 ac_config_status_args
=
7669 test "$silent" = yes &&
7670 ac_config_status_args
="$ac_config_status_args --quiet"
7672 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
7674 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
7675 # would make configure fail if this is the last instruction.
7676 $ac_cs_success ||
{ (exit 1); exit 1; }