* system.h: Poison DONT_ACCESS_GBLS_AFTER_EPILOGUE.
[official-gcc.git] / libgfortran / configure
blob15c5cdfe7ed3840f5673e380ecd7866f332cbab5
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.59 for GNU Fortran Runtime Library 0.2.
5 # Copyright (C) 2003 Free Software Foundation, Inc.
6 # This configure script is free software; the Free Software Foundation
7 # gives unlimited permission to copy, distribute and modify it.
8 ## --------------------- ##
9 ## M4sh Initialization. ##
10 ## --------------------- ##
12 # Be Bourne compatible
13 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
14 emulate sh
15 NULLCMD=:
16 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
17 # is contrary to our usage. Disable this feature.
18 alias -g '${1+"$@"}'='"$@"'
19 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
20 set -o posix
22 DUALCASE=1; export DUALCASE # for MKS sh
24 # Support unset when possible.
25 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
26 as_unset=unset
27 else
28 as_unset=false
32 # Work around bugs in pre-3.0 UWIN ksh.
33 $as_unset ENV MAIL MAILPATH
34 PS1='$ '
35 PS2='> '
36 PS4='+ '
38 # NLS nuisances.
39 for as_var in \
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 \
42 LC_TELEPHONE LC_TIME
44 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
45 eval $as_var=C; export $as_var
46 else
47 $as_unset $as_var
49 done
51 # Required to use basename.
52 if expr a : '\(a\)' >/dev/null 2>&1; then
53 as_expr=expr
54 else
55 as_expr=false
58 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
59 as_basename=basename
60 else
61 as_basename=false
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 ||
71 echo X/"$0" |
72 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
73 /^X\/\(\/\/\)$/{ s//\1/; q; }
74 /^X\/\(\/\).*/{ s//\1/; q; }
75 s/.*/./; 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
90 chmod +x conf$$.sh
91 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
92 PATH_SEPARATOR=';'
93 else
94 PATH_SEPARATOR=:
96 rm -f conf$$.sh
100 as_lineno_1=$LINENO
101 as_lineno_2=$LINENO
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
106 # relative or not.
107 case $0 in
108 *[\\/]* ) as_myself=$0 ;;
109 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
110 for as_dir in $PATH
112 IFS=$as_save_IFS
113 test -z "$as_dir" && as_dir=.
114 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
115 done
118 esac
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
122 as_myself=$0
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
133 IFS=$as_save_IFS
134 test -z "$as_dir" && as_dir=.
135 for as_base in sh bash ksh sh5; do
136 case $as_dir in
138 if ("$as_dir/$as_base" -c '
139 as_lineno_1=$LINENO
140 as_lineno_2=$LINENO
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
147 export CONFIG_SHELL
148 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
149 fi;;
150 esac
151 done
152 done
154 esac
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 |
165 sed '
167 s,$,-,
168 : loop
169 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
170 t loop
171 s,-$,,
172 s,^['$as_cr_digits']*\n,,
173 ' >$as_me.lineno &&
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).
181 . ./$as_me.lineno
182 # Exit status is that of the last command.
183 exit
187 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
188 *c*,-n*) ECHO_N= ECHO_C='
189 ' ECHO_T=' ' ;;
190 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
191 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
192 esac
194 if expr a : '\(a\)' >/dev/null 2>&1; then
195 as_expr=expr
196 else
197 as_expr=false
200 rm -f conf$$ conf$$.exe conf$$.file
201 echo >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
207 as_ln_s='cp -p'
208 else
209 as_ln_s='ln -s'
211 elif ln conf$$.file conf$$ 2>/dev/null; then
212 as_ln_s=ln
213 else
214 as_ln_s='cp -p'
216 rm -f conf$$ conf$$.exe conf$$.file
218 if mkdir -p . 2>/dev/null; then
219 as_mkdir_p=:
220 else
221 test -d ./-p && rmdir ./-p
222 as_mkdir_p=false
225 as_executable_p="test -f"
227 # Sed expression to map a string onto a valid CPP name.
228 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
230 # Sed expression to map a string onto a valid variable name.
231 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
234 # IFS
235 # We need space, tab and new line, in precisely that order.
236 as_nl='
238 IFS=" $as_nl"
240 # CDPATH.
241 $as_unset CDPATH
244 # Name of the host.
245 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
246 # so uname gets run too.
247 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
249 exec 6>&1
252 # Initializations.
254 ac_default_prefix=/usr/local
255 ac_config_libobj_dir=.
256 cross_compiling=no
257 subdirs=
258 MFLAGS=
259 MAKEFLAGS=
260 SHELL=${CONFIG_SHELL-/bin/sh}
262 # Maximum number of lines to put in a shell here document.
263 # This variable seems obsolete. It should probably be removed, and
264 # only ac_max_sed_lines should be used.
265 : ${ac_max_here_lines=38}
267 # Identity of this package.
268 PACKAGE_NAME='GNU Fortran Runtime Library'
269 PACKAGE_TARNAME='libgfortran'
270 PACKAGE_VERSION='0.2'
271 PACKAGE_STRING='GNU Fortran Runtime Library 0.2'
272 PACKAGE_BUGREPORT=''
274 # Factoring default headers for most tests.
275 ac_includes_default="\
276 #include <stdio.h>
277 #if HAVE_SYS_TYPES_H
278 # include <sys/types.h>
279 #endif
280 #if HAVE_SYS_STAT_H
281 # include <sys/stat.h>
282 #endif
283 #if STDC_HEADERS
284 # include <stdlib.h>
285 # include <stddef.h>
286 #else
287 # if HAVE_STDLIB_H
288 # include <stdlib.h>
289 # endif
290 #endif
291 #if HAVE_STRING_H
292 # if !STDC_HEADERS && HAVE_MEMORY_H
293 # include <memory.h>
294 # endif
295 # include <string.h>
296 #endif
297 #if HAVE_STRINGS_H
298 # include <strings.h>
299 #endif
300 #if HAVE_INTTYPES_H
301 # include <inttypes.h>
302 #else
303 # if HAVE_STDINT_H
304 # include <stdint.h>
305 # endif
306 #endif
307 #if HAVE_UNISTD_H
308 # include <unistd.h>
309 #endif"
311 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT multi_basedir toolexecdir toolexeclibdir CC ac_ct_CC EXEEXT OBJEXT CFLAGS AS ac_ct_AS AR ac_ct_AR RANLIB ac_ct_RANLIB LN_S LIBTOOL enable_shared enable_static FC FCFLAGS LDFLAGS ac_ct_FC extra_ldflags_libgfortran CPP CPPFLAGS EGREP MATH_OBJ LIBOBJS LTLIBOBJS'
312 ac_subst_files=''
314 # Initialize some variables set by options.
315 ac_init_help=
316 ac_init_version=false
317 # The variables have the same names as the options, with
318 # dashes changed to underlines.
319 cache_file=/dev/null
320 exec_prefix=NONE
321 no_create=
322 no_recursion=
323 prefix=NONE
324 program_prefix=NONE
325 program_suffix=NONE
326 program_transform_name=s,x,x,
327 silent=
328 site=
329 srcdir=
330 verbose=
331 x_includes=NONE
332 x_libraries=NONE
334 # Installation directory options.
335 # These are left unexpanded so users can "make install exec_prefix=/foo"
336 # and all the variables that are supposed to be based on exec_prefix
337 # by default will actually change.
338 # Use braces instead of parens because sh, perl, etc. also accept them.
339 bindir='${exec_prefix}/bin'
340 sbindir='${exec_prefix}/sbin'
341 libexecdir='${exec_prefix}/libexec'
342 datadir='${prefix}/share'
343 sysconfdir='${prefix}/etc'
344 sharedstatedir='${prefix}/com'
345 localstatedir='${prefix}/var'
346 libdir='${exec_prefix}/lib'
347 includedir='${prefix}/include'
348 oldincludedir='/usr/include'
349 infodir='${prefix}/info'
350 mandir='${prefix}/man'
352 ac_prev=
353 for ac_option
355 # If the previous option needs an argument, assign it.
356 if test -n "$ac_prev"; then
357 eval "$ac_prev=\$ac_option"
358 ac_prev=
359 continue
362 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
364 # Accept the important Cygnus configure options, so we can diagnose typos.
366 case $ac_option in
368 -bindir | --bindir | --bindi | --bind | --bin | --bi)
369 ac_prev=bindir ;;
370 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
371 bindir=$ac_optarg ;;
373 -build | --build | --buil | --bui | --bu)
374 ac_prev=build_alias ;;
375 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
376 build_alias=$ac_optarg ;;
378 -cache-file | --cache-file | --cache-fil | --cache-fi \
379 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
380 ac_prev=cache_file ;;
381 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
382 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
383 cache_file=$ac_optarg ;;
385 --config-cache | -C)
386 cache_file=config.cache ;;
388 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
389 ac_prev=datadir ;;
390 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
391 | --da=*)
392 datadir=$ac_optarg ;;
394 -disable-* | --disable-*)
395 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
396 # Reject names that are not valid shell variable names.
397 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
398 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
399 { (exit 1); exit 1; }; }
400 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
401 eval "enable_$ac_feature=no" ;;
403 -enable-* | --enable-*)
404 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
405 # Reject names that are not valid shell variable names.
406 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
407 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
408 { (exit 1); exit 1; }; }
409 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
410 case $ac_option in
411 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
412 *) ac_optarg=yes ;;
413 esac
414 eval "enable_$ac_feature='$ac_optarg'" ;;
416 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
417 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
418 | --exec | --exe | --ex)
419 ac_prev=exec_prefix ;;
420 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
421 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
422 | --exec=* | --exe=* | --ex=*)
423 exec_prefix=$ac_optarg ;;
425 -gas | --gas | --ga | --g)
426 # Obsolete; use --with-gas.
427 with_gas=yes ;;
429 -help | --help | --hel | --he | -h)
430 ac_init_help=long ;;
431 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
432 ac_init_help=recursive ;;
433 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
434 ac_init_help=short ;;
436 -host | --host | --hos | --ho)
437 ac_prev=host_alias ;;
438 -host=* | --host=* | --hos=* | --ho=*)
439 host_alias=$ac_optarg ;;
441 -includedir | --includedir | --includedi | --included | --include \
442 | --includ | --inclu | --incl | --inc)
443 ac_prev=includedir ;;
444 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
445 | --includ=* | --inclu=* | --incl=* | --inc=*)
446 includedir=$ac_optarg ;;
448 -infodir | --infodir | --infodi | --infod | --info | --inf)
449 ac_prev=infodir ;;
450 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
451 infodir=$ac_optarg ;;
453 -libdir | --libdir | --libdi | --libd)
454 ac_prev=libdir ;;
455 -libdir=* | --libdir=* | --libdi=* | --libd=*)
456 libdir=$ac_optarg ;;
458 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
459 | --libexe | --libex | --libe)
460 ac_prev=libexecdir ;;
461 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
462 | --libexe=* | --libex=* | --libe=*)
463 libexecdir=$ac_optarg ;;
465 -localstatedir | --localstatedir | --localstatedi | --localstated \
466 | --localstate | --localstat | --localsta | --localst \
467 | --locals | --local | --loca | --loc | --lo)
468 ac_prev=localstatedir ;;
469 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
470 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
471 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
472 localstatedir=$ac_optarg ;;
474 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
475 ac_prev=mandir ;;
476 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
477 mandir=$ac_optarg ;;
479 -nfp | --nfp | --nf)
480 # Obsolete; use --without-fp.
481 with_fp=no ;;
483 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
484 | --no-cr | --no-c | -n)
485 no_create=yes ;;
487 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
488 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
489 no_recursion=yes ;;
491 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
492 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
493 | --oldin | --oldi | --old | --ol | --o)
494 ac_prev=oldincludedir ;;
495 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
496 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
497 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
498 oldincludedir=$ac_optarg ;;
500 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
501 ac_prev=prefix ;;
502 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
503 prefix=$ac_optarg ;;
505 -program-prefix | --program-prefix | --program-prefi | --program-pref \
506 | --program-pre | --program-pr | --program-p)
507 ac_prev=program_prefix ;;
508 -program-prefix=* | --program-prefix=* | --program-prefi=* \
509 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
510 program_prefix=$ac_optarg ;;
512 -program-suffix | --program-suffix | --program-suffi | --program-suff \
513 | --program-suf | --program-su | --program-s)
514 ac_prev=program_suffix ;;
515 -program-suffix=* | --program-suffix=* | --program-suffi=* \
516 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
517 program_suffix=$ac_optarg ;;
519 -program-transform-name | --program-transform-name \
520 | --program-transform-nam | --program-transform-na \
521 | --program-transform-n | --program-transform- \
522 | --program-transform | --program-transfor \
523 | --program-transfo | --program-transf \
524 | --program-trans | --program-tran \
525 | --progr-tra | --program-tr | --program-t)
526 ac_prev=program_transform_name ;;
527 -program-transform-name=* | --program-transform-name=* \
528 | --program-transform-nam=* | --program-transform-na=* \
529 | --program-transform-n=* | --program-transform-=* \
530 | --program-transform=* | --program-transfor=* \
531 | --program-transfo=* | --program-transf=* \
532 | --program-trans=* | --program-tran=* \
533 | --progr-tra=* | --program-tr=* | --program-t=*)
534 program_transform_name=$ac_optarg ;;
536 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
537 | -silent | --silent | --silen | --sile | --sil)
538 silent=yes ;;
540 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
541 ac_prev=sbindir ;;
542 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
543 | --sbi=* | --sb=*)
544 sbindir=$ac_optarg ;;
546 -sharedstatedir | --sharedstatedir | --sharedstatedi \
547 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
548 | --sharedst | --shareds | --shared | --share | --shar \
549 | --sha | --sh)
550 ac_prev=sharedstatedir ;;
551 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
552 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
553 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
554 | --sha=* | --sh=*)
555 sharedstatedir=$ac_optarg ;;
557 -site | --site | --sit)
558 ac_prev=site ;;
559 -site=* | --site=* | --sit=*)
560 site=$ac_optarg ;;
562 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
563 ac_prev=srcdir ;;
564 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
565 srcdir=$ac_optarg ;;
567 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
568 | --syscon | --sysco | --sysc | --sys | --sy)
569 ac_prev=sysconfdir ;;
570 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
571 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
572 sysconfdir=$ac_optarg ;;
574 -target | --target | --targe | --targ | --tar | --ta | --t)
575 ac_prev=target_alias ;;
576 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
577 target_alias=$ac_optarg ;;
579 -v | -verbose | --verbose | --verbos | --verbo | --verb)
580 verbose=yes ;;
582 -version | --version | --versio | --versi | --vers | -V)
583 ac_init_version=: ;;
585 -with-* | --with-*)
586 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
587 # Reject names that are not valid shell variable names.
588 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
589 { echo "$as_me: error: invalid package name: $ac_package" >&2
590 { (exit 1); exit 1; }; }
591 ac_package=`echo $ac_package| sed 's/-/_/g'`
592 case $ac_option in
593 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
594 *) ac_optarg=yes ;;
595 esac
596 eval "with_$ac_package='$ac_optarg'" ;;
598 -without-* | --without-*)
599 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
600 # Reject names that are not valid shell variable names.
601 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
602 { echo "$as_me: error: invalid package name: $ac_package" >&2
603 { (exit 1); exit 1; }; }
604 ac_package=`echo $ac_package | sed 's/-/_/g'`
605 eval "with_$ac_package=no" ;;
607 --x)
608 # Obsolete; use --with-x.
609 with_x=yes ;;
611 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
612 | --x-incl | --x-inc | --x-in | --x-i)
613 ac_prev=x_includes ;;
614 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
615 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
616 x_includes=$ac_optarg ;;
618 -x-libraries | --x-libraries | --x-librarie | --x-librari \
619 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
620 ac_prev=x_libraries ;;
621 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
622 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
623 x_libraries=$ac_optarg ;;
625 -*) { echo "$as_me: error: unrecognized option: $ac_option
626 Try \`$0 --help' for more information." >&2
627 { (exit 1); exit 1; }; }
630 *=*)
631 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
632 # Reject names that are not valid shell variable names.
633 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
634 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
635 { (exit 1); exit 1; }; }
636 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
637 eval "$ac_envvar='$ac_optarg'"
638 export $ac_envvar ;;
641 # FIXME: should be removed in autoconf 3.0.
642 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
643 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
644 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
645 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
648 esac
649 done
651 if test -n "$ac_prev"; then
652 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
653 { echo "$as_me: error: missing argument to $ac_option" >&2
654 { (exit 1); exit 1; }; }
657 # Be sure to have absolute paths.
658 for ac_var in exec_prefix prefix
660 eval ac_val=$`echo $ac_var`
661 case $ac_val in
662 [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
663 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
664 { (exit 1); exit 1; }; };;
665 esac
666 done
668 # Be sure to have absolute paths.
669 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
670 localstatedir libdir includedir oldincludedir infodir mandir
672 eval ac_val=$`echo $ac_var`
673 case $ac_val in
674 [\\/$]* | ?:[\\/]* ) ;;
675 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
676 { (exit 1); exit 1; }; };;
677 esac
678 done
680 # There might be people who depend on the old broken behavior: `$host'
681 # used to hold the argument of --host etc.
682 # FIXME: To remove some day.
683 build=$build_alias
684 host=$host_alias
685 target=$target_alias
687 # FIXME: To remove some day.
688 if test "x$host_alias" != x; then
689 if test "x$build_alias" = x; then
690 cross_compiling=maybe
691 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
692 If a cross compiler is detected then cross compile mode will be used." >&2
693 elif test "x$build_alias" != "x$host_alias"; then
694 cross_compiling=yes
698 ac_tool_prefix=
699 test -n "$host_alias" && ac_tool_prefix=$host_alias-
701 test "$silent" = yes && exec 6>/dev/null
704 # Find the source files, if location was not specified.
705 if test -z "$srcdir"; then
706 ac_srcdir_defaulted=yes
707 # Try the directory containing this script, then its parent.
708 ac_confdir=`(dirname "$0") 2>/dev/null ||
709 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
710 X"$0" : 'X\(//\)[^/]' \| \
711 X"$0" : 'X\(//\)$' \| \
712 X"$0" : 'X\(/\)' \| \
713 . : '\(.\)' 2>/dev/null ||
714 echo X"$0" |
715 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
716 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
717 /^X\(\/\/\)$/{ s//\1/; q; }
718 /^X\(\/\).*/{ s//\1/; q; }
719 s/.*/./; q'`
720 srcdir=$ac_confdir
721 if test ! -r $srcdir/$ac_unique_file; then
722 srcdir=..
724 else
725 ac_srcdir_defaulted=no
727 if test ! -r $srcdir/$ac_unique_file; then
728 if test "$ac_srcdir_defaulted" = yes; then
729 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
730 { (exit 1); exit 1; }; }
731 else
732 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
733 { (exit 1); exit 1; }; }
736 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
737 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
738 { (exit 1); exit 1; }; }
739 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
740 ac_env_build_alias_set=${build_alias+set}
741 ac_env_build_alias_value=$build_alias
742 ac_cv_env_build_alias_set=${build_alias+set}
743 ac_cv_env_build_alias_value=$build_alias
744 ac_env_host_alias_set=${host_alias+set}
745 ac_env_host_alias_value=$host_alias
746 ac_cv_env_host_alias_set=${host_alias+set}
747 ac_cv_env_host_alias_value=$host_alias
748 ac_env_target_alias_set=${target_alias+set}
749 ac_env_target_alias_value=$target_alias
750 ac_cv_env_target_alias_set=${target_alias+set}
751 ac_cv_env_target_alias_value=$target_alias
752 ac_env_FC_set=${FC+set}
753 ac_env_FC_value=$FC
754 ac_cv_env_FC_set=${FC+set}
755 ac_cv_env_FC_value=$FC
756 ac_env_FCFLAGS_set=${FCFLAGS+set}
757 ac_env_FCFLAGS_value=$FCFLAGS
758 ac_cv_env_FCFLAGS_set=${FCFLAGS+set}
759 ac_cv_env_FCFLAGS_value=$FCFLAGS
760 ac_env_LDFLAGS_set=${LDFLAGS+set}
761 ac_env_LDFLAGS_value=$LDFLAGS
762 ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
763 ac_cv_env_LDFLAGS_value=$LDFLAGS
764 ac_env_CPP_set=${CPP+set}
765 ac_env_CPP_value=$CPP
766 ac_cv_env_CPP_set=${CPP+set}
767 ac_cv_env_CPP_value=$CPP
768 ac_env_CPPFLAGS_set=${CPPFLAGS+set}
769 ac_env_CPPFLAGS_value=$CPPFLAGS
770 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
771 ac_cv_env_CPPFLAGS_value=$CPPFLAGS
774 # Report the --help message.
776 if test "$ac_init_help" = "long"; then
777 # Omit some internal or obsolete options to make the list less imposing.
778 # This message is too long to be a string in the A/UX 3.1 sh.
779 cat <<_ACEOF
780 \`configure' configures GNU Fortran Runtime Library 0.2 to adapt to many kinds of systems.
782 Usage: $0 [OPTION]... [VAR=VALUE]...
784 To assign environment variables (e.g., CC, CFLAGS...), specify them as
785 VAR=VALUE. See below for descriptions of some of the useful variables.
787 Defaults for the options are specified in brackets.
789 Configuration:
790 -h, --help display this help and exit
791 --help=short display options specific to this package
792 --help=recursive display the short help of all the included packages
793 -V, --version display version information and exit
794 -q, --quiet, --silent do not print \`checking...' messages
795 --cache-file=FILE cache test results in FILE [disabled]
796 -C, --config-cache alias for \`--cache-file=config.cache'
797 -n, --no-create do not create output files
798 --srcdir=DIR find the sources in DIR [configure dir or \`..']
800 _ACEOF
802 cat <<_ACEOF
803 Installation directories:
804 --prefix=PREFIX install architecture-independent files in PREFIX
805 [$ac_default_prefix]
806 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
807 [PREFIX]
809 By default, \`make install' will install all the files in
810 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
811 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
812 for instance \`--prefix=\$HOME'.
814 For better control, use the options below.
816 Fine tuning of the installation directories:
817 --bindir=DIR user executables [EPREFIX/bin]
818 --sbindir=DIR system admin executables [EPREFIX/sbin]
819 --libexecdir=DIR program executables [EPREFIX/libexec]
820 --datadir=DIR read-only architecture-independent data [PREFIX/share]
821 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
822 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
823 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
824 --libdir=DIR object code libraries [EPREFIX/lib]
825 --includedir=DIR C header files [PREFIX/include]
826 --oldincludedir=DIR C header files for non-gcc [/usr/include]
827 --infodir=DIR info documentation [PREFIX/info]
828 --mandir=DIR man documentation [PREFIX/man]
829 _ACEOF
831 cat <<\_ACEOF
833 Program names:
834 --program-prefix=PREFIX prepend PREFIX to installed program names
835 --program-suffix=SUFFIX append SUFFIX to installed program names
836 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
838 System types:
839 --build=BUILD configure for building on BUILD [guessed]
840 --host=HOST cross-compile to build programs to run on HOST [BUILD]
841 --target=TARGET configure for building compilers for TARGET [HOST]
842 _ACEOF
845 if test -n "$ac_init_help"; then
846 case $ac_init_help in
847 short | recursive ) echo "Configuration of GNU Fortran Runtime Library 0.2:";;
848 esac
849 cat <<\_ACEOF
851 Optional Features:
852 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
853 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
854 --enable-version-specific-runtime-libs Specify that runtime libraries should be installed in a compiler-specific directory
855 --enable-maintainer-mode enable make rules and dependencies not useful
856 (and sometimes confusing) to the casual installer
857 --enable-multilib build many library versions (default)
858 --enable-shared=PKGS build shared libraries default=yes
859 --enable-static=PKGS build static libraries default=yes
860 --enable-fast-install=PKGS optimize for fast installation default=yes
861 --disable-libtool-lock avoid locking (might break parallel builds)
862 --disable-largefile omit support for large files
863 --enable-cmath Include complex math functions
865 Optional Packages:
866 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
867 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
868 --with-gnu-ld assume the C compiler uses GNU ld default=no
869 --with-pic try to use only PIC/non-PIC objects default=use both
871 Some influential environment variables:
872 CC C compiler command
873 CFLAGS C compiler flags
874 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
875 nonstandard directory <lib dir>
876 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
877 headers in a nonstandard directory <include dir>
878 FC Fortran compiler command
879 FCFLAGS Fortran compiler flags
880 CPP C preprocessor
882 Use these variables to override the choices made by `configure' or to help
883 it to find libraries and programs with nonstandard names/locations.
885 _ACEOF
888 if test "$ac_init_help" = "recursive"; then
889 # If there are subdirs, report their specific --help.
890 ac_popdir=`pwd`
891 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
892 test -d $ac_dir || continue
893 ac_builddir=.
895 if test "$ac_dir" != .; then
896 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
897 # A "../" for each directory in $ac_dir_suffix.
898 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
899 else
900 ac_dir_suffix= ac_top_builddir=
903 case $srcdir in
904 .) # No --srcdir option. We are building in place.
905 ac_srcdir=.
906 if test -z "$ac_top_builddir"; then
907 ac_top_srcdir=.
908 else
909 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
910 fi ;;
911 [\\/]* | ?:[\\/]* ) # Absolute path.
912 ac_srcdir=$srcdir$ac_dir_suffix;
913 ac_top_srcdir=$srcdir ;;
914 *) # Relative path.
915 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
916 ac_top_srcdir=$ac_top_builddir$srcdir ;;
917 esac
919 # Do not use `cd foo && pwd` to compute absolute paths, because
920 # the directories may not exist.
921 case `pwd` in
922 .) ac_abs_builddir="$ac_dir";;
924 case "$ac_dir" in
925 .) ac_abs_builddir=`pwd`;;
926 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
927 *) ac_abs_builddir=`pwd`/"$ac_dir";;
928 esac;;
929 esac
930 case $ac_abs_builddir in
931 .) ac_abs_top_builddir=${ac_top_builddir}.;;
933 case ${ac_top_builddir}. in
934 .) ac_abs_top_builddir=$ac_abs_builddir;;
935 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
936 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
937 esac;;
938 esac
939 case $ac_abs_builddir in
940 .) ac_abs_srcdir=$ac_srcdir;;
942 case $ac_srcdir in
943 .) ac_abs_srcdir=$ac_abs_builddir;;
944 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
945 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
946 esac;;
947 esac
948 case $ac_abs_builddir in
949 .) ac_abs_top_srcdir=$ac_top_srcdir;;
951 case $ac_top_srcdir in
952 .) ac_abs_top_srcdir=$ac_abs_builddir;;
953 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
954 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
955 esac;;
956 esac
958 cd $ac_dir
959 # Check for guested configure; otherwise get Cygnus style configure.
960 if test -f $ac_srcdir/configure.gnu; then
961 echo
962 $SHELL $ac_srcdir/configure.gnu --help=recursive
963 elif test -f $ac_srcdir/configure; then
964 echo
965 $SHELL $ac_srcdir/configure --help=recursive
966 elif test -f $ac_srcdir/configure.ac ||
967 test -f $ac_srcdir/configure.in; then
968 echo
969 $ac_configure --help
970 else
971 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
973 cd $ac_popdir
974 done
977 test -n "$ac_init_help" && exit 0
978 if $ac_init_version; then
979 cat <<\_ACEOF
980 GNU Fortran Runtime Library configure 0.2
981 generated by GNU Autoconf 2.59
983 Copyright (C) 2003 Free Software Foundation, Inc.
984 This configure script is free software; the Free Software Foundation
985 gives unlimited permission to copy, distribute and modify it.
986 _ACEOF
987 exit 0
989 exec 5>config.log
990 cat >&5 <<_ACEOF
991 This file contains any messages produced by compilers while
992 running configure, to aid debugging if configure makes a mistake.
994 It was created by GNU Fortran Runtime Library $as_me 0.2, which was
995 generated by GNU Autoconf 2.59. Invocation command line was
997 $ $0 $@
999 _ACEOF
1001 cat <<_ASUNAME
1002 ## --------- ##
1003 ## Platform. ##
1004 ## --------- ##
1006 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1007 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1008 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1009 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1010 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1012 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1013 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1015 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1016 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1017 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1018 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1019 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1020 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1021 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1023 _ASUNAME
1025 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1026 for as_dir in $PATH
1028 IFS=$as_save_IFS
1029 test -z "$as_dir" && as_dir=.
1030 echo "PATH: $as_dir"
1031 done
1033 } >&5
1035 cat >&5 <<_ACEOF
1038 ## ----------- ##
1039 ## Core tests. ##
1040 ## ----------- ##
1042 _ACEOF
1045 # Keep a trace of the command line.
1046 # Strip out --no-create and --no-recursion so they do not pile up.
1047 # Strip out --silent because we don't want to record it for future runs.
1048 # Also quote any args containing shell meta-characters.
1049 # Make two passes to allow for proper duplicate-argument suppression.
1050 ac_configure_args=
1051 ac_configure_args0=
1052 ac_configure_args1=
1053 ac_sep=
1054 ac_must_keep_next=false
1055 for ac_pass in 1 2
1057 for ac_arg
1059 case $ac_arg in
1060 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1061 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1062 | -silent | --silent | --silen | --sile | --sil)
1063 continue ;;
1064 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1065 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1066 esac
1067 case $ac_pass in
1068 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1070 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1071 if test $ac_must_keep_next = true; then
1072 ac_must_keep_next=false # Got value, back to normal.
1073 else
1074 case $ac_arg in
1075 *=* | --config-cache | -C | -disable-* | --disable-* \
1076 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1077 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1078 | -with-* | --with-* | -without-* | --without-* | --x)
1079 case "$ac_configure_args0 " in
1080 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1081 esac
1083 -* ) ac_must_keep_next=true ;;
1084 esac
1086 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1087 # Get rid of the leading space.
1088 ac_sep=" "
1090 esac
1091 done
1092 done
1093 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1094 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1096 # When interrupted or exit'd, cleanup temporary files, and complete
1097 # config.log. We remove comments because anyway the quotes in there
1098 # would cause problems or look ugly.
1099 # WARNING: Be sure not to use single quotes in there, as some shells,
1100 # such as our DU 5.0 friend, will then `close' the trap.
1101 trap 'exit_status=$?
1102 # Save into config.log some information that might help in debugging.
1104 echo
1106 cat <<\_ASBOX
1107 ## ---------------- ##
1108 ## Cache variables. ##
1109 ## ---------------- ##
1110 _ASBOX
1111 echo
1112 # The following way of writing the cache mishandles newlines in values,
1114 (set) 2>&1 |
1115 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1116 *ac_space=\ *)
1117 sed -n \
1118 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1119 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1122 sed -n \
1123 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1125 esac;
1127 echo
1129 cat <<\_ASBOX
1130 ## ----------------- ##
1131 ## Output variables. ##
1132 ## ----------------- ##
1133 _ASBOX
1134 echo
1135 for ac_var in $ac_subst_vars
1137 eval ac_val=$`echo $ac_var`
1138 echo "$ac_var='"'"'$ac_val'"'"'"
1139 done | sort
1140 echo
1142 if test -n "$ac_subst_files"; then
1143 cat <<\_ASBOX
1144 ## ------------- ##
1145 ## Output files. ##
1146 ## ------------- ##
1147 _ASBOX
1148 echo
1149 for ac_var in $ac_subst_files
1151 eval ac_val=$`echo $ac_var`
1152 echo "$ac_var='"'"'$ac_val'"'"'"
1153 done | sort
1154 echo
1157 if test -s confdefs.h; then
1158 cat <<\_ASBOX
1159 ## ----------- ##
1160 ## confdefs.h. ##
1161 ## ----------- ##
1162 _ASBOX
1163 echo
1164 sed "/^$/d" confdefs.h | sort
1165 echo
1167 test "$ac_signal" != 0 &&
1168 echo "$as_me: caught signal $ac_signal"
1169 echo "$as_me: exit $exit_status"
1170 } >&5
1171 rm -f core *.core &&
1172 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1173 exit $exit_status
1175 for ac_signal in 1 2 13 15; do
1176 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1177 done
1178 ac_signal=0
1180 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1181 rm -rf conftest* confdefs.h
1182 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1183 echo >confdefs.h
1185 # Predefined preprocessor variables.
1187 cat >>confdefs.h <<_ACEOF
1188 #define PACKAGE_NAME "$PACKAGE_NAME"
1189 _ACEOF
1192 cat >>confdefs.h <<_ACEOF
1193 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1194 _ACEOF
1197 cat >>confdefs.h <<_ACEOF
1198 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1199 _ACEOF
1202 cat >>confdefs.h <<_ACEOF
1203 #define PACKAGE_STRING "$PACKAGE_STRING"
1204 _ACEOF
1207 cat >>confdefs.h <<_ACEOF
1208 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1209 _ACEOF
1212 # Let the site file select an alternate cache file if it wants to.
1213 # Prefer explicitly selected file to automatically selected ones.
1214 if test -z "$CONFIG_SITE"; then
1215 if test "x$prefix" != xNONE; then
1216 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1217 else
1218 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1221 for ac_site_file in $CONFIG_SITE; do
1222 if test -r "$ac_site_file"; then
1223 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1224 echo "$as_me: loading site script $ac_site_file" >&6;}
1225 sed 's/^/| /' "$ac_site_file" >&5
1226 . "$ac_site_file"
1228 done
1230 if test -r "$cache_file"; then
1231 # Some versions of bash will fail to source /dev/null (special
1232 # files actually), so we avoid doing that.
1233 if test -f "$cache_file"; then
1234 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1235 echo "$as_me: loading cache $cache_file" >&6;}
1236 case $cache_file in
1237 [\\/]* | ?:[\\/]* ) . $cache_file;;
1238 *) . ./$cache_file;;
1239 esac
1241 else
1242 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1243 echo "$as_me: creating cache $cache_file" >&6;}
1244 >$cache_file
1247 # Check that the precious variables saved in the cache have kept the same
1248 # value.
1249 ac_cache_corrupted=false
1250 for ac_var in `(set) 2>&1 |
1251 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1252 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1253 eval ac_new_set=\$ac_env_${ac_var}_set
1254 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1255 eval ac_new_val="\$ac_env_${ac_var}_value"
1256 case $ac_old_set,$ac_new_set in
1257 set,)
1258 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1259 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1260 ac_cache_corrupted=: ;;
1261 ,set)
1262 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1263 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1264 ac_cache_corrupted=: ;;
1265 ,);;
1267 if test "x$ac_old_val" != "x$ac_new_val"; then
1268 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1269 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1270 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1271 echo "$as_me: former value: $ac_old_val" >&2;}
1272 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1273 echo "$as_me: current value: $ac_new_val" >&2;}
1274 ac_cache_corrupted=:
1275 fi;;
1276 esac
1277 # Pass precious variables to config.status.
1278 if test "$ac_new_set" = set; then
1279 case $ac_new_val in
1280 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1281 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1282 *) ac_arg=$ac_var=$ac_new_val ;;
1283 esac
1284 case " $ac_configure_args " in
1285 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1286 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1287 esac
1289 done
1290 if $ac_cache_corrupted; then
1291 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1292 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1293 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1294 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1295 { (exit 1); exit 1; }; }
1298 ac_ext=c
1299 ac_cpp='$CPP $CPPFLAGS'
1300 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1301 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1302 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1330 ac_config_headers="$ac_config_headers config.h"
1333 # -------
1334 # Options
1335 # -------
1337 echo "$as_me:$LINENO: checking for --enable-version-specific-runtime-libs" >&5
1338 echo $ECHO_N "checking for --enable-version-specific-runtime-libs... $ECHO_C" >&6
1339 # Check whether --enable-version-specific-runtime-libs or --disable-version-specific-runtime-libs was given.
1340 if test "${enable_version_specific_runtime_libs+set}" = set; then
1341 enableval="$enable_version_specific_runtime_libs"
1342 case "$enableval" in
1343 yes) version_specific_libs=yes ;;
1344 no) version_specific_libs=no ;;
1345 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable version-specific libs" >&5
1346 echo "$as_me: error: Unknown argument to enable/disable version-specific libs" >&2;}
1347 { (exit 1); exit 1; }; };;
1348 esac
1349 else
1350 version_specific_libs=no
1352 echo "$as_me:$LINENO: result: $version_specific_libs" >&5
1353 echo "${ECHO_T}$version_specific_libs" >&6
1356 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
1358 # You will slowly go insane if you do not grok the following fact: when
1359 # building this library, the top-level /target/ becomes the library's /host/.
1361 # configure then causes --target to default to --host, exactly like any
1362 # other package using autoconf. Therefore, 'target' and 'host' will
1363 # always be the same. This makes sense both for native and cross compilers
1364 # just think about it for a little while. :-)
1366 # Also, if this library is being configured as part of a cross compiler, the
1367 # top-level configure script will pass the "real" host as $with_cross_host.
1369 # Do not delete or change the following two lines. For why, see
1370 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
1371 ac_aux_dir=
1372 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1373 if test -f $ac_dir/install-sh; then
1374 ac_aux_dir=$ac_dir
1375 ac_install_sh="$ac_aux_dir/install-sh -c"
1376 break
1377 elif test -f $ac_dir/install.sh; then
1378 ac_aux_dir=$ac_dir
1379 ac_install_sh="$ac_aux_dir/install.sh -c"
1380 break
1381 elif test -f $ac_dir/shtool; then
1382 ac_aux_dir=$ac_dir
1383 ac_install_sh="$ac_aux_dir/shtool install -c"
1384 break
1386 done
1387 if test -z "$ac_aux_dir"; then
1388 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1389 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1390 { (exit 1); exit 1; }; }
1392 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1393 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1394 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1396 # Make sure we can run config.sub.
1397 $ac_config_sub sun4 >/dev/null 2>&1 ||
1398 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1399 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1400 { (exit 1); exit 1; }; }
1402 echo "$as_me:$LINENO: checking build system type" >&5
1403 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1404 if test "${ac_cv_build+set}" = set; then
1405 echo $ECHO_N "(cached) $ECHO_C" >&6
1406 else
1407 ac_cv_build_alias=$build_alias
1408 test -z "$ac_cv_build_alias" &&
1409 ac_cv_build_alias=`$ac_config_guess`
1410 test -z "$ac_cv_build_alias" &&
1411 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1412 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1413 { (exit 1); exit 1; }; }
1414 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1415 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1416 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1417 { (exit 1); exit 1; }; }
1420 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1421 echo "${ECHO_T}$ac_cv_build" >&6
1422 build=$ac_cv_build
1423 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1424 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1425 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1428 echo "$as_me:$LINENO: checking host system type" >&5
1429 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1430 if test "${ac_cv_host+set}" = set; then
1431 echo $ECHO_N "(cached) $ECHO_C" >&6
1432 else
1433 ac_cv_host_alias=$host_alias
1434 test -z "$ac_cv_host_alias" &&
1435 ac_cv_host_alias=$ac_cv_build_alias
1436 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1437 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1438 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1439 { (exit 1); exit 1; }; }
1442 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1443 echo "${ECHO_T}$ac_cv_host" >&6
1444 host=$ac_cv_host
1445 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1446 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1447 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1450 echo "$as_me:$LINENO: checking target system type" >&5
1451 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1452 if test "${ac_cv_target+set}" = set; then
1453 echo $ECHO_N "(cached) $ECHO_C" >&6
1454 else
1455 ac_cv_target_alias=$target_alias
1456 test "x$ac_cv_target_alias" = "x" &&
1457 ac_cv_target_alias=$ac_cv_host_alias
1458 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1459 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1460 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1461 { (exit 1); exit 1; }; }
1464 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1465 echo "${ECHO_T}$ac_cv_target" >&6
1466 target=$ac_cv_target
1467 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1468 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1469 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1472 # The aliases save the names the user supplied, while $host etc.
1473 # will get canonicalized.
1474 test -n "$target_alias" &&
1475 test "$program_prefix$program_suffix$program_transform_name" = \
1476 NONENONEs,x,x, &&
1477 program_prefix=${target_alias}-
1478 target_alias=${target_alias-$host_alias}
1480 # Sets up automake. Must come after AC_CANONICAL_SYSTEM. Each of the
1481 # following is magically included in AUTOMAKE_OPTIONS in each Makefile.am.
1482 # 1.8.2: minimum required version
1483 # no-define: PACKAGE and VERSION will not be #define'd in config.h (a bunch
1484 # of other PACKAGE_* variables will, however, and there's nothing
1485 # we can do about that; they come from AC_INIT).
1486 # foreign: we don't follow the normal rules for GNU packages (no COPYING
1487 # file in the top srcdir, etc, etc), so stop complaining.
1488 # no-dependencies: turns off auto dependency generation (just for now)
1489 # -Wall: turns on all automake warnings...
1490 # -Wno-portability: ...except this one, since GNU make is required.
1491 am__api_version="1.9"
1492 # Find a good install program. We prefer a C program (faster),
1493 # so one script is as good as another. But avoid the broken or
1494 # incompatible versions:
1495 # SysV /etc/install, /usr/sbin/install
1496 # SunOS /usr/etc/install
1497 # IRIX /sbin/install
1498 # AIX /bin/install
1499 # AmigaOS /C/install, which installs bootblocks on floppy discs
1500 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1501 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1502 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1503 # OS/2's system install, which has a completely different semantic
1504 # ./install, which can be erroneously created by make from ./install.sh.
1505 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1506 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1507 if test -z "$INSTALL"; then
1508 if test "${ac_cv_path_install+set}" = set; then
1509 echo $ECHO_N "(cached) $ECHO_C" >&6
1510 else
1511 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1512 for as_dir in $PATH
1514 IFS=$as_save_IFS
1515 test -z "$as_dir" && as_dir=.
1516 # Account for people who put trailing slashes in PATH elements.
1517 case $as_dir/ in
1518 ./ | .// | /cC/* | \
1519 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1520 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1521 /usr/ucb/* ) ;;
1523 # OSF1 and SCO ODT 3.0 have their own names for install.
1524 # Don't use installbsd from OSF since it installs stuff as root
1525 # by default.
1526 for ac_prog in ginstall scoinst install; do
1527 for ac_exec_ext in '' $ac_executable_extensions; do
1528 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1529 if test $ac_prog = install &&
1530 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1531 # AIX install. It has an incompatible calling convention.
1533 elif test $ac_prog = install &&
1534 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1535 # program-specific install script used by HP pwplus--don't use.
1537 else
1538 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1539 break 3
1542 done
1543 done
1545 esac
1546 done
1550 if test "${ac_cv_path_install+set}" = set; then
1551 INSTALL=$ac_cv_path_install
1552 else
1553 # As a last resort, use the slow shell script. We don't cache a
1554 # path for INSTALL within a source directory, because that will
1555 # break other packages using the cache if that directory is
1556 # removed, or if the path is relative.
1557 INSTALL=$ac_install_sh
1560 echo "$as_me:$LINENO: result: $INSTALL" >&5
1561 echo "${ECHO_T}$INSTALL" >&6
1563 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1564 # It thinks the first close brace ends the variable substitution.
1565 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1567 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1569 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1571 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1572 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1573 # Just in case
1574 sleep 1
1575 echo timestamp > conftest.file
1576 # Do `set' in a subshell so we don't clobber the current shell's
1577 # arguments. Must try -L first in case configure is actually a
1578 # symlink; some systems play weird games with the mod time of symlinks
1579 # (eg FreeBSD returns the mod time of the symlink's containing
1580 # directory).
1581 if (
1582 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1583 if test "$*" = "X"; then
1584 # -L didn't work.
1585 set X `ls -t $srcdir/configure conftest.file`
1587 rm -f conftest.file
1588 if test "$*" != "X $srcdir/configure conftest.file" \
1589 && test "$*" != "X conftest.file $srcdir/configure"; then
1591 # If neither matched, then we have a broken ls. This can happen
1592 # if, for instance, CONFIG_SHELL is bash and it inherits a
1593 # broken ls alias from the environment. This has actually
1594 # happened. Such a system could not be considered "sane".
1595 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1596 alias in your environment" >&5
1597 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1598 alias in your environment" >&2;}
1599 { (exit 1); exit 1; }; }
1602 test "$2" = conftest.file
1604 then
1605 # Ok.
1607 else
1608 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1609 Check your system clock" >&5
1610 echo "$as_me: error: newly created file is older than distributed files!
1611 Check your system clock" >&2;}
1612 { (exit 1); exit 1; }; }
1614 echo "$as_me:$LINENO: result: yes" >&5
1615 echo "${ECHO_T}yes" >&6
1616 test "$program_prefix" != NONE &&
1617 program_transform_name="s,^,$program_prefix,;$program_transform_name"
1618 # Use a double $ so make ignores it.
1619 test "$program_suffix" != NONE &&
1620 program_transform_name="s,\$,$program_suffix,;$program_transform_name"
1621 # Double any \ or $. echo might interpret backslashes.
1622 # By default was `s,x,x', remove it if useless.
1623 cat <<\_ACEOF >conftest.sed
1624 s/[\\$]/&&/g;s/;s,x,x,$//
1625 _ACEOF
1626 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1627 rm conftest.sed
1629 # expand $ac_aux_dir to an absolute path
1630 am_aux_dir=`cd $ac_aux_dir && pwd`
1632 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1633 # Use eval to expand $SHELL
1634 if eval "$MISSING --run true"; then
1635 am_missing_run="$MISSING --run "
1636 else
1637 am_missing_run=
1638 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1639 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1642 if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
1643 # We used to keeping the `.' as first argument, in order to
1644 # allow $(mkdir_p) to be used without argument. As in
1645 # $(mkdir_p) $(somedir)
1646 # where $(somedir) is conditionally defined. However this is wrong
1647 # for two reasons:
1648 # 1. if the package is installed by a user who cannot write `.'
1649 # make install will fail,
1650 # 2. the above comment should most certainly read
1651 # $(mkdir_p) $(DESTDIR)$(somedir)
1652 # so it does not work when $(somedir) is undefined and
1653 # $(DESTDIR) is not.
1654 # To support the latter case, we have to write
1655 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
1656 # so the `.' trick is pointless.
1657 mkdir_p='mkdir -p --'
1658 else
1659 # On NextStep and OpenStep, the `mkdir' command does not
1660 # recognize any option. It will interpret all options as
1661 # directories to create, and then abort because `.' already
1662 # exists.
1663 for d in ./-p ./--version;
1665 test -d $d && rmdir $d
1666 done
1667 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1668 if test -f "$ac_aux_dir/mkinstalldirs"; then
1669 mkdir_p='$(mkinstalldirs)'
1670 else
1671 mkdir_p='$(install_sh) -d'
1675 for ac_prog in gawk mawk nawk awk
1677 # Extract the first word of "$ac_prog", so it can be a program name with args.
1678 set dummy $ac_prog; ac_word=$2
1679 echo "$as_me:$LINENO: checking for $ac_word" >&5
1680 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1681 if test "${ac_cv_prog_AWK+set}" = set; then
1682 echo $ECHO_N "(cached) $ECHO_C" >&6
1683 else
1684 if test -n "$AWK"; then
1685 ac_cv_prog_AWK="$AWK" # Let the user override the test.
1686 else
1687 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1688 for as_dir in $PATH
1690 IFS=$as_save_IFS
1691 test -z "$as_dir" && as_dir=.
1692 for ac_exec_ext in '' $ac_executable_extensions; do
1693 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1694 ac_cv_prog_AWK="$ac_prog"
1695 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1696 break 2
1698 done
1699 done
1703 AWK=$ac_cv_prog_AWK
1704 if test -n "$AWK"; then
1705 echo "$as_me:$LINENO: result: $AWK" >&5
1706 echo "${ECHO_T}$AWK" >&6
1707 else
1708 echo "$as_me:$LINENO: result: no" >&5
1709 echo "${ECHO_T}no" >&6
1712 test -n "$AWK" && break
1713 done
1715 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1716 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1717 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
1718 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1719 echo $ECHO_N "(cached) $ECHO_C" >&6
1720 else
1721 cat >conftest.make <<\_ACEOF
1722 all:
1723 @echo 'ac_maketemp="$(MAKE)"'
1724 _ACEOF
1725 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1726 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1727 if test -n "$ac_maketemp"; then
1728 eval ac_cv_prog_make_${ac_make}_set=yes
1729 else
1730 eval ac_cv_prog_make_${ac_make}_set=no
1732 rm -f conftest.make
1734 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1735 echo "$as_me:$LINENO: result: yes" >&5
1736 echo "${ECHO_T}yes" >&6
1737 SET_MAKE=
1738 else
1739 echo "$as_me:$LINENO: result: no" >&5
1740 echo "${ECHO_T}no" >&6
1741 SET_MAKE="MAKE=${MAKE-make}"
1744 rm -rf .tst 2>/dev/null
1745 mkdir .tst 2>/dev/null
1746 if test -d .tst; then
1747 am__leading_dot=.
1748 else
1749 am__leading_dot=_
1751 rmdir .tst 2>/dev/null
1753 # test to see if srcdir already configured
1754 if test "`cd $srcdir && pwd`" != "`pwd`" &&
1755 test -f $srcdir/config.status; then
1756 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1757 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1758 { (exit 1); exit 1; }; }
1761 # test whether we have cygpath
1762 if test -z "$CYGPATH_W"; then
1763 if (cygpath --version) >/dev/null 2>/dev/null; then
1764 CYGPATH_W='cygpath -w'
1765 else
1766 CYGPATH_W=echo
1771 # Define the identity of the package.
1772 PACKAGE='libgfortran'
1773 VERSION='0.2'
1776 # Some tools Automake needs.
1778 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1781 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
1784 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1787 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
1790 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
1792 install_sh=${install_sh-"$am_aux_dir/install-sh"}
1794 # Installed binaries are usually stripped using `strip' when the user
1795 # run `make install-strip'. However `strip' might not be the right
1796 # tool to use in cross-compilation environments, therefore Automake
1797 # will honor the `STRIP' environment variable to overrule this program.
1798 if test "$cross_compiling" != no; then
1799 if test -n "$ac_tool_prefix"; then
1800 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1801 set dummy ${ac_tool_prefix}strip; ac_word=$2
1802 echo "$as_me:$LINENO: checking for $ac_word" >&5
1803 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1804 if test "${ac_cv_prog_STRIP+set}" = set; then
1805 echo $ECHO_N "(cached) $ECHO_C" >&6
1806 else
1807 if test -n "$STRIP"; then
1808 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
1809 else
1810 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1811 for as_dir in $PATH
1813 IFS=$as_save_IFS
1814 test -z "$as_dir" && as_dir=.
1815 for ac_exec_ext in '' $ac_executable_extensions; do
1816 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1817 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1818 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1819 break 2
1821 done
1822 done
1826 STRIP=$ac_cv_prog_STRIP
1827 if test -n "$STRIP"; then
1828 echo "$as_me:$LINENO: result: $STRIP" >&5
1829 echo "${ECHO_T}$STRIP" >&6
1830 else
1831 echo "$as_me:$LINENO: result: no" >&5
1832 echo "${ECHO_T}no" >&6
1836 if test -z "$ac_cv_prog_STRIP"; then
1837 ac_ct_STRIP=$STRIP
1838 # Extract the first word of "strip", so it can be a program name with args.
1839 set dummy strip; ac_word=$2
1840 echo "$as_me:$LINENO: checking for $ac_word" >&5
1841 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1842 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1843 echo $ECHO_N "(cached) $ECHO_C" >&6
1844 else
1845 if test -n "$ac_ct_STRIP"; then
1846 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
1847 else
1848 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1849 for as_dir in $PATH
1851 IFS=$as_save_IFS
1852 test -z "$as_dir" && as_dir=.
1853 for ac_exec_ext in '' $ac_executable_extensions; do
1854 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1855 ac_cv_prog_ac_ct_STRIP="strip"
1856 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1857 break 2
1859 done
1860 done
1862 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
1865 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
1866 if test -n "$ac_ct_STRIP"; then
1867 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1868 echo "${ECHO_T}$ac_ct_STRIP" >&6
1869 else
1870 echo "$as_me:$LINENO: result: no" >&5
1871 echo "${ECHO_T}no" >&6
1874 STRIP=$ac_ct_STRIP
1875 else
1876 STRIP="$ac_cv_prog_STRIP"
1880 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
1882 # We need awk for the "check" target. The system "awk" is bad on
1883 # some platforms.
1884 # Always define AMTAR for backward compatibility.
1886 AMTAR=${AMTAR-"${am_missing_run}tar"}
1888 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
1895 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
1896 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
1897 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
1898 if test "${enable_maintainer_mode+set}" = set; then
1899 enableval="$enable_maintainer_mode"
1900 USE_MAINTAINER_MODE=$enableval
1901 else
1902 USE_MAINTAINER_MODE=no
1904 echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
1905 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
1908 if test $USE_MAINTAINER_MODE = yes; then
1909 MAINTAINER_MODE_TRUE=
1910 MAINTAINER_MODE_FALSE='#'
1911 else
1912 MAINTAINER_MODE_TRUE='#'
1913 MAINTAINER_MODE_FALSE=
1916 MAINT=$MAINTAINER_MODE_TRUE
1919 # Default to --enable-multilib
1920 # Check whether --enable-multilib or --disable-multilib was given.
1921 if test "${enable_multilib+set}" = set; then
1922 enableval="$enable_multilib"
1923 case "$enableval" in
1924 yes) multilib=yes ;;
1925 no) multilib=no ;;
1926 *) { { echo "$as_me:$LINENO: error: bad value $enableval for multilib option" >&5
1927 echo "$as_me: error: bad value $enableval for multilib option" >&2;}
1928 { (exit 1); exit 1; }; } ;;
1929 esac
1930 else
1931 multilib=yes
1934 # We may get other options which we leave undocumented:
1935 # --with-target-subdir, --with-multisrctop, --with-multisubdir
1936 # See config-ml.in if you want the gory details.
1938 if test "$srcdir" = "."; then
1939 if test "$with_target_subdir" != "."; then
1940 multi_basedir="$srcdir/$with_multisrctop../.."
1941 else
1942 multi_basedir="$srcdir/$with_multisrctop.."
1944 else
1945 multi_basedir="$srcdir/.."
1949 ac_config_commands="$ac_config_commands default-1"
1952 # Handy for debugging:
1953 #AC_MSG_NOTICE($build / $host / $target / $host_alias / $target_alias); sleep 5
1955 # Are we being configured with some form of cross compiler?
1956 # NB: We don't actually need to know this just now, but when, say, a test
1957 # suite is included, we'll have to know.
1958 if test "$build" != "$host"; then
1959 LIBGFOR_IS_NATIVE=false
1960 GCC_NO_EXECUTABLES
1961 else
1962 LIBGFOR_IS_NATIVE=true
1965 # Calculate toolexeclibdir
1966 # Also toolexecdir, though it's only used in toolexeclibdir
1967 case ${version_specific_libs} in
1968 yes)
1969 # Need the gcc compiler version to know where to install libraries
1970 # and header files if --enable-version-specific-runtime-libs option
1971 # is selected.
1972 toolexecdir='$(libdir)/gcc/$(target_alias)'
1973 toolexeclibdir='$(toolexecdir)/$(gcc_version)$(MULTISUBDIR)'
1976 if test -n "$with_cross_host" &&
1977 test x"$with_cross_host" != x"no"; then
1978 # Install a library built with a cross compiler in tooldir, not libdir.
1979 toolexecdir='$(exec_prefix)/$(target_alias)'
1980 toolexeclibdir='$(toolexecdir)/lib'
1981 else
1982 toolexecdir='$(libdir)/gcc-lib/$(target_alias)'
1983 toolexeclibdir='$(libdir)'
1985 multi_os_directory=`$CC -print-multi-os-directory`
1986 case $multi_os_directory in
1987 .) ;; # Avoid trailing /.
1988 *) toolexeclibdir=$toolexeclibdir/$multi_os_directory ;;
1989 esac
1991 esac
1995 # Check the compiler.
1996 # The same as in boehm-gc and libstdc++. Have to borrow it from there.
1997 # We must force CC to /not/ be precious variables; otherwise
1998 # the wrong, non-multilib-adjusted value will be used in multilibs.
1999 # As a side effect, we have to subst CFLAGS ourselves.
2003 ac_ext=c
2004 ac_cpp='$CPP $CPPFLAGS'
2005 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2006 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2007 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2008 if test -n "$ac_tool_prefix"; then
2009 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2010 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2011 echo "$as_me:$LINENO: checking for $ac_word" >&5
2012 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2013 if test "${ac_cv_prog_CC+set}" = set; then
2014 echo $ECHO_N "(cached) $ECHO_C" >&6
2015 else
2016 if test -n "$CC"; then
2017 ac_cv_prog_CC="$CC" # Let the user override the test.
2018 else
2019 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2020 for as_dir in $PATH
2022 IFS=$as_save_IFS
2023 test -z "$as_dir" && as_dir=.
2024 for ac_exec_ext in '' $ac_executable_extensions; do
2025 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2026 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2027 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2028 break 2
2030 done
2031 done
2035 CC=$ac_cv_prog_CC
2036 if test -n "$CC"; then
2037 echo "$as_me:$LINENO: result: $CC" >&5
2038 echo "${ECHO_T}$CC" >&6
2039 else
2040 echo "$as_me:$LINENO: result: no" >&5
2041 echo "${ECHO_T}no" >&6
2045 if test -z "$ac_cv_prog_CC"; then
2046 ac_ct_CC=$CC
2047 # Extract the first word of "gcc", so it can be a program name with args.
2048 set dummy gcc; ac_word=$2
2049 echo "$as_me:$LINENO: checking for $ac_word" >&5
2050 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2051 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2052 echo $ECHO_N "(cached) $ECHO_C" >&6
2053 else
2054 if test -n "$ac_ct_CC"; then
2055 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2056 else
2057 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2058 for as_dir in $PATH
2060 IFS=$as_save_IFS
2061 test -z "$as_dir" && as_dir=.
2062 for ac_exec_ext in '' $ac_executable_extensions; do
2063 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2064 ac_cv_prog_ac_ct_CC="gcc"
2065 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2066 break 2
2068 done
2069 done
2073 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2074 if test -n "$ac_ct_CC"; then
2075 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2076 echo "${ECHO_T}$ac_ct_CC" >&6
2077 else
2078 echo "$as_me:$LINENO: result: no" >&5
2079 echo "${ECHO_T}no" >&6
2082 CC=$ac_ct_CC
2083 else
2084 CC="$ac_cv_prog_CC"
2087 if test -z "$CC"; then
2088 if test -n "$ac_tool_prefix"; then
2089 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2090 set dummy ${ac_tool_prefix}cc; ac_word=$2
2091 echo "$as_me:$LINENO: checking for $ac_word" >&5
2092 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2093 if test "${ac_cv_prog_CC+set}" = set; then
2094 echo $ECHO_N "(cached) $ECHO_C" >&6
2095 else
2096 if test -n "$CC"; then
2097 ac_cv_prog_CC="$CC" # Let the user override the test.
2098 else
2099 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2100 for as_dir in $PATH
2102 IFS=$as_save_IFS
2103 test -z "$as_dir" && as_dir=.
2104 for ac_exec_ext in '' $ac_executable_extensions; do
2105 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2106 ac_cv_prog_CC="${ac_tool_prefix}cc"
2107 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2108 break 2
2110 done
2111 done
2115 CC=$ac_cv_prog_CC
2116 if test -n "$CC"; then
2117 echo "$as_me:$LINENO: result: $CC" >&5
2118 echo "${ECHO_T}$CC" >&6
2119 else
2120 echo "$as_me:$LINENO: result: no" >&5
2121 echo "${ECHO_T}no" >&6
2125 if test -z "$ac_cv_prog_CC"; then
2126 ac_ct_CC=$CC
2127 # Extract the first word of "cc", so it can be a program name with args.
2128 set dummy cc; ac_word=$2
2129 echo "$as_me:$LINENO: checking for $ac_word" >&5
2130 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2131 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2132 echo $ECHO_N "(cached) $ECHO_C" >&6
2133 else
2134 if test -n "$ac_ct_CC"; then
2135 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2136 else
2137 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2138 for as_dir in $PATH
2140 IFS=$as_save_IFS
2141 test -z "$as_dir" && as_dir=.
2142 for ac_exec_ext in '' $ac_executable_extensions; do
2143 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2144 ac_cv_prog_ac_ct_CC="cc"
2145 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2146 break 2
2148 done
2149 done
2153 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2154 if test -n "$ac_ct_CC"; then
2155 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2156 echo "${ECHO_T}$ac_ct_CC" >&6
2157 else
2158 echo "$as_me:$LINENO: result: no" >&5
2159 echo "${ECHO_T}no" >&6
2162 CC=$ac_ct_CC
2163 else
2164 CC="$ac_cv_prog_CC"
2168 if test -z "$CC"; then
2169 # Extract the first word of "cc", so it can be a program name with args.
2170 set dummy cc; ac_word=$2
2171 echo "$as_me:$LINENO: checking for $ac_word" >&5
2172 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2173 if test "${ac_cv_prog_CC+set}" = set; then
2174 echo $ECHO_N "(cached) $ECHO_C" >&6
2175 else
2176 if test -n "$CC"; then
2177 ac_cv_prog_CC="$CC" # Let the user override the test.
2178 else
2179 ac_prog_rejected=no
2180 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2181 for as_dir in $PATH
2183 IFS=$as_save_IFS
2184 test -z "$as_dir" && as_dir=.
2185 for ac_exec_ext in '' $ac_executable_extensions; do
2186 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2187 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2188 ac_prog_rejected=yes
2189 continue
2191 ac_cv_prog_CC="cc"
2192 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2193 break 2
2195 done
2196 done
2198 if test $ac_prog_rejected = yes; then
2199 # We found a bogon in the path, so make sure we never use it.
2200 set dummy $ac_cv_prog_CC
2201 shift
2202 if test $# != 0; then
2203 # We chose a different compiler from the bogus one.
2204 # However, it has the same basename, so the bogon will be chosen
2205 # first if we set CC to just the basename; use the full file name.
2206 shift
2207 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2212 CC=$ac_cv_prog_CC
2213 if test -n "$CC"; then
2214 echo "$as_me:$LINENO: result: $CC" >&5
2215 echo "${ECHO_T}$CC" >&6
2216 else
2217 echo "$as_me:$LINENO: result: no" >&5
2218 echo "${ECHO_T}no" >&6
2222 if test -z "$CC"; then
2223 if test -n "$ac_tool_prefix"; then
2224 for ac_prog in cl
2226 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2227 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2228 echo "$as_me:$LINENO: checking for $ac_word" >&5
2229 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2230 if test "${ac_cv_prog_CC+set}" = set; then
2231 echo $ECHO_N "(cached) $ECHO_C" >&6
2232 else
2233 if test -n "$CC"; then
2234 ac_cv_prog_CC="$CC" # Let the user override the test.
2235 else
2236 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2237 for as_dir in $PATH
2239 IFS=$as_save_IFS
2240 test -z "$as_dir" && as_dir=.
2241 for ac_exec_ext in '' $ac_executable_extensions; do
2242 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2243 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2244 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2245 break 2
2247 done
2248 done
2252 CC=$ac_cv_prog_CC
2253 if test -n "$CC"; then
2254 echo "$as_me:$LINENO: result: $CC" >&5
2255 echo "${ECHO_T}$CC" >&6
2256 else
2257 echo "$as_me:$LINENO: result: no" >&5
2258 echo "${ECHO_T}no" >&6
2261 test -n "$CC" && break
2262 done
2264 if test -z "$CC"; then
2265 ac_ct_CC=$CC
2266 for ac_prog in cl
2268 # Extract the first word of "$ac_prog", so it can be a program name with args.
2269 set dummy $ac_prog; ac_word=$2
2270 echo "$as_me:$LINENO: checking for $ac_word" >&5
2271 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2272 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2273 echo $ECHO_N "(cached) $ECHO_C" >&6
2274 else
2275 if test -n "$ac_ct_CC"; then
2276 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2277 else
2278 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2279 for as_dir in $PATH
2281 IFS=$as_save_IFS
2282 test -z "$as_dir" && as_dir=.
2283 for ac_exec_ext in '' $ac_executable_extensions; do
2284 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2285 ac_cv_prog_ac_ct_CC="$ac_prog"
2286 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2287 break 2
2289 done
2290 done
2294 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2295 if test -n "$ac_ct_CC"; then
2296 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2297 echo "${ECHO_T}$ac_ct_CC" >&6
2298 else
2299 echo "$as_me:$LINENO: result: no" >&5
2300 echo "${ECHO_T}no" >&6
2303 test -n "$ac_ct_CC" && break
2304 done
2306 CC=$ac_ct_CC
2312 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2313 See \`config.log' for more details." >&5
2314 echo "$as_me: error: no acceptable C compiler found in \$PATH
2315 See \`config.log' for more details." >&2;}
2316 { (exit 1); exit 1; }; }
2318 # Provide some information about the compiler.
2319 echo "$as_me:$LINENO:" \
2320 "checking for C compiler version" >&5
2321 ac_compiler=`set X $ac_compile; echo $2`
2322 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2323 (eval $ac_compiler --version </dev/null >&5) 2>&5
2324 ac_status=$?
2325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2326 (exit $ac_status); }
2327 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2328 (eval $ac_compiler -v </dev/null >&5) 2>&5
2329 ac_status=$?
2330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2331 (exit $ac_status); }
2332 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2333 (eval $ac_compiler -V </dev/null >&5) 2>&5
2334 ac_status=$?
2335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2336 (exit $ac_status); }
2338 cat >conftest.$ac_ext <<_ACEOF
2339 /* confdefs.h. */
2340 _ACEOF
2341 cat confdefs.h >>conftest.$ac_ext
2342 cat >>conftest.$ac_ext <<_ACEOF
2343 /* end confdefs.h. */
2346 main ()
2350 return 0;
2352 _ACEOF
2353 ac_clean_files_save=$ac_clean_files
2354 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2355 # Try to create an executable without -o first, disregard a.out.
2356 # It will help us diagnose broken compilers, and finding out an intuition
2357 # of exeext.
2358 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2359 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2360 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2361 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2362 (eval $ac_link_default) 2>&5
2363 ac_status=$?
2364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2365 (exit $ac_status); }; then
2366 # Find the output, starting from the most likely. This scheme is
2367 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2368 # resort.
2370 # Be careful to initialize this variable, since it used to be cached.
2371 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2372 ac_cv_exeext=
2373 # b.out is created by i960 compilers.
2374 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
2376 test -f "$ac_file" || continue
2377 case $ac_file in
2378 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2380 conftest.$ac_ext )
2381 # This is the source file.
2383 [ab].out )
2384 # We found the default executable, but exeext='' is most
2385 # certainly right.
2386 break;;
2387 *.* )
2388 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2389 # FIXME: I believe we export ac_cv_exeext for Libtool,
2390 # but it would be cool to find out if it's true. Does anybody
2391 # maintain Libtool? --akim.
2392 export ac_cv_exeext
2393 break;;
2395 break;;
2396 esac
2397 done
2398 else
2399 echo "$as_me: failed program was:" >&5
2400 sed 's/^/| /' conftest.$ac_ext >&5
2402 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2403 See \`config.log' for more details." >&5
2404 echo "$as_me: error: C compiler cannot create executables
2405 See \`config.log' for more details." >&2;}
2406 { (exit 77); exit 77; }; }
2409 ac_exeext=$ac_cv_exeext
2410 echo "$as_me:$LINENO: result: $ac_file" >&5
2411 echo "${ECHO_T}$ac_file" >&6
2413 # Check the compiler produces executables we can run. If not, either
2414 # the compiler is broken, or we cross compile.
2415 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2416 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2417 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2418 # If not cross compiling, check that we can run a simple program.
2419 if test "$cross_compiling" != yes; then
2420 if { ac_try='./$ac_file'
2421 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2422 (eval $ac_try) 2>&5
2423 ac_status=$?
2424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2425 (exit $ac_status); }; }; then
2426 cross_compiling=no
2427 else
2428 if test "$cross_compiling" = maybe; then
2429 cross_compiling=yes
2430 else
2431 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2432 If you meant to cross compile, use \`--host'.
2433 See \`config.log' for more details." >&5
2434 echo "$as_me: error: cannot run C compiled programs.
2435 If you meant to cross compile, use \`--host'.
2436 See \`config.log' for more details." >&2;}
2437 { (exit 1); exit 1; }; }
2441 echo "$as_me:$LINENO: result: yes" >&5
2442 echo "${ECHO_T}yes" >&6
2444 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2445 ac_clean_files=$ac_clean_files_save
2446 # Check the compiler produces executables we can run. If not, either
2447 # the compiler is broken, or we cross compile.
2448 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2449 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2450 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2451 echo "${ECHO_T}$cross_compiling" >&6
2453 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2454 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2455 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2456 (eval $ac_link) 2>&5
2457 ac_status=$?
2458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2459 (exit $ac_status); }; then
2460 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2461 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2462 # work properly (i.e., refer to `conftest.exe'), while it won't with
2463 # `rm'.
2464 for ac_file in conftest.exe conftest conftest.*; do
2465 test -f "$ac_file" || continue
2466 case $ac_file in
2467 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
2468 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2469 export ac_cv_exeext
2470 break;;
2471 * ) break;;
2472 esac
2473 done
2474 else
2475 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2476 See \`config.log' for more details." >&5
2477 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2478 See \`config.log' for more details." >&2;}
2479 { (exit 1); exit 1; }; }
2482 rm -f conftest$ac_cv_exeext
2483 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2484 echo "${ECHO_T}$ac_cv_exeext" >&6
2486 rm -f conftest.$ac_ext
2487 EXEEXT=$ac_cv_exeext
2488 ac_exeext=$EXEEXT
2489 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2490 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2491 if test "${ac_cv_objext+set}" = set; then
2492 echo $ECHO_N "(cached) $ECHO_C" >&6
2493 else
2494 cat >conftest.$ac_ext <<_ACEOF
2495 /* confdefs.h. */
2496 _ACEOF
2497 cat confdefs.h >>conftest.$ac_ext
2498 cat >>conftest.$ac_ext <<_ACEOF
2499 /* end confdefs.h. */
2502 main ()
2506 return 0;
2508 _ACEOF
2509 rm -f conftest.o conftest.obj
2510 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2511 (eval $ac_compile) 2>&5
2512 ac_status=$?
2513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2514 (exit $ac_status); }; then
2515 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2516 case $ac_file in
2517 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
2518 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2519 break;;
2520 esac
2521 done
2522 else
2523 echo "$as_me: failed program was:" >&5
2524 sed 's/^/| /' conftest.$ac_ext >&5
2526 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2527 See \`config.log' for more details." >&5
2528 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2529 See \`config.log' for more details." >&2;}
2530 { (exit 1); exit 1; }; }
2533 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2535 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2536 echo "${ECHO_T}$ac_cv_objext" >&6
2537 OBJEXT=$ac_cv_objext
2538 ac_objext=$OBJEXT
2539 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2540 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2541 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2542 echo $ECHO_N "(cached) $ECHO_C" >&6
2543 else
2544 cat >conftest.$ac_ext <<_ACEOF
2545 /* confdefs.h. */
2546 _ACEOF
2547 cat confdefs.h >>conftest.$ac_ext
2548 cat >>conftest.$ac_ext <<_ACEOF
2549 /* end confdefs.h. */
2552 main ()
2554 #ifndef __GNUC__
2555 choke me
2556 #endif
2559 return 0;
2561 _ACEOF
2562 rm -f conftest.$ac_objext
2563 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2564 (eval $ac_compile) 2>conftest.er1
2565 ac_status=$?
2566 grep -v '^ *+' conftest.er1 >conftest.err
2567 rm -f conftest.er1
2568 cat conftest.err >&5
2569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2570 (exit $ac_status); } &&
2571 { ac_try='test -z "$ac_c_werror_flag"
2572 || test ! -s conftest.err'
2573 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2574 (eval $ac_try) 2>&5
2575 ac_status=$?
2576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2577 (exit $ac_status); }; } &&
2578 { ac_try='test -s conftest.$ac_objext'
2579 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2580 (eval $ac_try) 2>&5
2581 ac_status=$?
2582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2583 (exit $ac_status); }; }; then
2584 ac_compiler_gnu=yes
2585 else
2586 echo "$as_me: failed program was:" >&5
2587 sed 's/^/| /' conftest.$ac_ext >&5
2589 ac_compiler_gnu=no
2591 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2592 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2595 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2596 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2597 GCC=`test $ac_compiler_gnu = yes && echo yes`
2598 ac_test_CFLAGS=${CFLAGS+set}
2599 ac_save_CFLAGS=$CFLAGS
2600 CFLAGS="-g"
2601 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2602 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2603 if test "${ac_cv_prog_cc_g+set}" = set; then
2604 echo $ECHO_N "(cached) $ECHO_C" >&6
2605 else
2606 cat >conftest.$ac_ext <<_ACEOF
2607 /* confdefs.h. */
2608 _ACEOF
2609 cat confdefs.h >>conftest.$ac_ext
2610 cat >>conftest.$ac_ext <<_ACEOF
2611 /* end confdefs.h. */
2614 main ()
2618 return 0;
2620 _ACEOF
2621 rm -f conftest.$ac_objext
2622 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2623 (eval $ac_compile) 2>conftest.er1
2624 ac_status=$?
2625 grep -v '^ *+' conftest.er1 >conftest.err
2626 rm -f conftest.er1
2627 cat conftest.err >&5
2628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2629 (exit $ac_status); } &&
2630 { ac_try='test -z "$ac_c_werror_flag"
2631 || test ! -s conftest.err'
2632 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2633 (eval $ac_try) 2>&5
2634 ac_status=$?
2635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2636 (exit $ac_status); }; } &&
2637 { ac_try='test -s conftest.$ac_objext'
2638 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2639 (eval $ac_try) 2>&5
2640 ac_status=$?
2641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2642 (exit $ac_status); }; }; then
2643 ac_cv_prog_cc_g=yes
2644 else
2645 echo "$as_me: failed program was:" >&5
2646 sed 's/^/| /' conftest.$ac_ext >&5
2648 ac_cv_prog_cc_g=no
2650 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2652 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2653 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2654 if test "$ac_test_CFLAGS" = set; then
2655 CFLAGS=$ac_save_CFLAGS
2656 elif test $ac_cv_prog_cc_g = yes; then
2657 if test "$GCC" = yes; then
2658 CFLAGS="-g -O2"
2659 else
2660 CFLAGS="-g"
2662 else
2663 if test "$GCC" = yes; then
2664 CFLAGS="-O2"
2665 else
2666 CFLAGS=
2669 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2670 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2671 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2672 echo $ECHO_N "(cached) $ECHO_C" >&6
2673 else
2674 ac_cv_prog_cc_stdc=no
2675 ac_save_CC=$CC
2676 cat >conftest.$ac_ext <<_ACEOF
2677 /* confdefs.h. */
2678 _ACEOF
2679 cat confdefs.h >>conftest.$ac_ext
2680 cat >>conftest.$ac_ext <<_ACEOF
2681 /* end confdefs.h. */
2682 #include <stdarg.h>
2683 #include <stdio.h>
2684 #include <sys/types.h>
2685 #include <sys/stat.h>
2686 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2687 struct buf { int x; };
2688 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2689 static char *e (p, i)
2690 char **p;
2691 int i;
2693 return p[i];
2695 static char *f (char * (*g) (char **, int), char **p, ...)
2697 char *s;
2698 va_list v;
2699 va_start (v,p);
2700 s = g (p, va_arg (v,int));
2701 va_end (v);
2702 return s;
2705 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2706 function prototypes and stuff, but not '\xHH' hex character constants.
2707 These don't provoke an error unfortunately, instead are silently treated
2708 as 'x'. The following induces an error, until -std1 is added to get
2709 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2710 array size at least. It's necessary to write '\x00'==0 to get something
2711 that's true only with -std1. */
2712 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2714 int test (int i, double x);
2715 struct s1 {int (*f) (int a);};
2716 struct s2 {int (*f) (double a);};
2717 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2718 int argc;
2719 char **argv;
2721 main ()
2723 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2725 return 0;
2727 _ACEOF
2728 # Don't try gcc -ansi; that turns off useful extensions and
2729 # breaks some systems' header files.
2730 # AIX -qlanglvl=ansi
2731 # Ultrix and OSF/1 -std1
2732 # HP-UX 10.20 and later -Ae
2733 # HP-UX older versions -Aa -D_HPUX_SOURCE
2734 # SVR4 -Xc -D__EXTENSIONS__
2735 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2737 CC="$ac_save_CC $ac_arg"
2738 rm -f conftest.$ac_objext
2739 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2740 (eval $ac_compile) 2>conftest.er1
2741 ac_status=$?
2742 grep -v '^ *+' conftest.er1 >conftest.err
2743 rm -f conftest.er1
2744 cat conftest.err >&5
2745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2746 (exit $ac_status); } &&
2747 { ac_try='test -z "$ac_c_werror_flag"
2748 || test ! -s conftest.err'
2749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2750 (eval $ac_try) 2>&5
2751 ac_status=$?
2752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2753 (exit $ac_status); }; } &&
2754 { ac_try='test -s conftest.$ac_objext'
2755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2756 (eval $ac_try) 2>&5
2757 ac_status=$?
2758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2759 (exit $ac_status); }; }; then
2760 ac_cv_prog_cc_stdc=$ac_arg
2761 break
2762 else
2763 echo "$as_me: failed program was:" >&5
2764 sed 's/^/| /' conftest.$ac_ext >&5
2767 rm -f conftest.err conftest.$ac_objext
2768 done
2769 rm -f conftest.$ac_ext conftest.$ac_objext
2770 CC=$ac_save_CC
2774 case "x$ac_cv_prog_cc_stdc" in
2775 x|xno)
2776 echo "$as_me:$LINENO: result: none needed" >&5
2777 echo "${ECHO_T}none needed" >&6 ;;
2779 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2780 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2781 CC="$CC $ac_cv_prog_cc_stdc" ;;
2782 esac
2784 # Some people use a C++ compiler to compile C. Since we use `exit',
2785 # in C++ we need to declare it. In case someone uses the same compiler
2786 # for both compiling C and C++ we need to have the C++ compiler decide
2787 # the declaration of exit, since it's the most demanding environment.
2788 cat >conftest.$ac_ext <<_ACEOF
2789 #ifndef __cplusplus
2790 choke me
2791 #endif
2792 _ACEOF
2793 rm -f conftest.$ac_objext
2794 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2795 (eval $ac_compile) 2>conftest.er1
2796 ac_status=$?
2797 grep -v '^ *+' conftest.er1 >conftest.err
2798 rm -f conftest.er1
2799 cat conftest.err >&5
2800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2801 (exit $ac_status); } &&
2802 { ac_try='test -z "$ac_c_werror_flag"
2803 || test ! -s conftest.err'
2804 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2805 (eval $ac_try) 2>&5
2806 ac_status=$?
2807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2808 (exit $ac_status); }; } &&
2809 { ac_try='test -s conftest.$ac_objext'
2810 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2811 (eval $ac_try) 2>&5
2812 ac_status=$?
2813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2814 (exit $ac_status); }; }; then
2815 for ac_declaration in \
2816 '' \
2817 'extern "C" void std::exit (int) throw (); using std::exit;' \
2818 'extern "C" void std::exit (int); using std::exit;' \
2819 'extern "C" void exit (int) throw ();' \
2820 'extern "C" void exit (int);' \
2821 'void exit (int);'
2823 cat >conftest.$ac_ext <<_ACEOF
2824 /* confdefs.h. */
2825 _ACEOF
2826 cat confdefs.h >>conftest.$ac_ext
2827 cat >>conftest.$ac_ext <<_ACEOF
2828 /* end confdefs.h. */
2829 $ac_declaration
2830 #include <stdlib.h>
2832 main ()
2834 exit (42);
2836 return 0;
2838 _ACEOF
2839 rm -f conftest.$ac_objext
2840 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2841 (eval $ac_compile) 2>conftest.er1
2842 ac_status=$?
2843 grep -v '^ *+' conftest.er1 >conftest.err
2844 rm -f conftest.er1
2845 cat conftest.err >&5
2846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2847 (exit $ac_status); } &&
2848 { ac_try='test -z "$ac_c_werror_flag"
2849 || test ! -s conftest.err'
2850 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2851 (eval $ac_try) 2>&5
2852 ac_status=$?
2853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2854 (exit $ac_status); }; } &&
2855 { ac_try='test -s conftest.$ac_objext'
2856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2857 (eval $ac_try) 2>&5
2858 ac_status=$?
2859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2860 (exit $ac_status); }; }; then
2862 else
2863 echo "$as_me: failed program was:" >&5
2864 sed 's/^/| /' conftest.$ac_ext >&5
2866 continue
2868 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2869 cat >conftest.$ac_ext <<_ACEOF
2870 /* confdefs.h. */
2871 _ACEOF
2872 cat confdefs.h >>conftest.$ac_ext
2873 cat >>conftest.$ac_ext <<_ACEOF
2874 /* end confdefs.h. */
2875 $ac_declaration
2877 main ()
2879 exit (42);
2881 return 0;
2883 _ACEOF
2884 rm -f conftest.$ac_objext
2885 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2886 (eval $ac_compile) 2>conftest.er1
2887 ac_status=$?
2888 grep -v '^ *+' conftest.er1 >conftest.err
2889 rm -f conftest.er1
2890 cat conftest.err >&5
2891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2892 (exit $ac_status); } &&
2893 { ac_try='test -z "$ac_c_werror_flag"
2894 || test ! -s conftest.err'
2895 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2896 (eval $ac_try) 2>&5
2897 ac_status=$?
2898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2899 (exit $ac_status); }; } &&
2900 { ac_try='test -s conftest.$ac_objext'
2901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2902 (eval $ac_try) 2>&5
2903 ac_status=$?
2904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2905 (exit $ac_status); }; }; then
2906 break
2907 else
2908 echo "$as_me: failed program was:" >&5
2909 sed 's/^/| /' conftest.$ac_ext >&5
2912 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2913 done
2914 rm -f conftest*
2915 if test -n "$ac_declaration"; then
2916 echo '#ifdef __cplusplus' >>confdefs.h
2917 echo $ac_declaration >>confdefs.h
2918 echo '#endif' >>confdefs.h
2921 else
2922 echo "$as_me: failed program was:" >&5
2923 sed 's/^/| /' conftest.$ac_ext >&5
2926 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2927 ac_ext=c
2928 ac_cpp='$CPP $CPPFLAGS'
2929 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2930 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2931 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2937 # Add -Wall if we are using GCC.
2938 if test "x$GCC" = "xyes"; then
2939 CFLAGS="$CFLAGS -Wall"
2942 # Find other programs we need.
2943 if test -n "$ac_tool_prefix"; then
2944 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
2945 set dummy ${ac_tool_prefix}as; ac_word=$2
2946 echo "$as_me:$LINENO: checking for $ac_word" >&5
2947 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2948 if test "${ac_cv_prog_AS+set}" = set; then
2949 echo $ECHO_N "(cached) $ECHO_C" >&6
2950 else
2951 if test -n "$AS"; then
2952 ac_cv_prog_AS="$AS" # Let the user override the test.
2953 else
2954 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2955 for as_dir in $PATH
2957 IFS=$as_save_IFS
2958 test -z "$as_dir" && as_dir=.
2959 for ac_exec_ext in '' $ac_executable_extensions; do
2960 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2961 ac_cv_prog_AS="${ac_tool_prefix}as"
2962 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2963 break 2
2965 done
2966 done
2970 AS=$ac_cv_prog_AS
2971 if test -n "$AS"; then
2972 echo "$as_me:$LINENO: result: $AS" >&5
2973 echo "${ECHO_T}$AS" >&6
2974 else
2975 echo "$as_me:$LINENO: result: no" >&5
2976 echo "${ECHO_T}no" >&6
2980 if test -z "$ac_cv_prog_AS"; then
2981 ac_ct_AS=$AS
2982 # Extract the first word of "as", so it can be a program name with args.
2983 set dummy as; ac_word=$2
2984 echo "$as_me:$LINENO: checking for $ac_word" >&5
2985 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2986 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
2987 echo $ECHO_N "(cached) $ECHO_C" >&6
2988 else
2989 if test -n "$ac_ct_AS"; then
2990 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
2991 else
2992 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2993 for as_dir in $PATH
2995 IFS=$as_save_IFS
2996 test -z "$as_dir" && as_dir=.
2997 for ac_exec_ext in '' $ac_executable_extensions; do
2998 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2999 ac_cv_prog_ac_ct_AS="as"
3000 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3001 break 2
3003 done
3004 done
3008 ac_ct_AS=$ac_cv_prog_ac_ct_AS
3009 if test -n "$ac_ct_AS"; then
3010 echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
3011 echo "${ECHO_T}$ac_ct_AS" >&6
3012 else
3013 echo "$as_me:$LINENO: result: no" >&5
3014 echo "${ECHO_T}no" >&6
3017 AS=$ac_ct_AS
3018 else
3019 AS="$ac_cv_prog_AS"
3022 if test -n "$ac_tool_prefix"; then
3023 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
3024 set dummy ${ac_tool_prefix}ar; ac_word=$2
3025 echo "$as_me:$LINENO: checking for $ac_word" >&5
3026 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3027 if test "${ac_cv_prog_AR+set}" = set; then
3028 echo $ECHO_N "(cached) $ECHO_C" >&6
3029 else
3030 if test -n "$AR"; then
3031 ac_cv_prog_AR="$AR" # Let the user override the test.
3032 else
3033 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3034 for as_dir in $PATH
3036 IFS=$as_save_IFS
3037 test -z "$as_dir" && as_dir=.
3038 for ac_exec_ext in '' $ac_executable_extensions; do
3039 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3040 ac_cv_prog_AR="${ac_tool_prefix}ar"
3041 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3042 break 2
3044 done
3045 done
3049 AR=$ac_cv_prog_AR
3050 if test -n "$AR"; then
3051 echo "$as_me:$LINENO: result: $AR" >&5
3052 echo "${ECHO_T}$AR" >&6
3053 else
3054 echo "$as_me:$LINENO: result: no" >&5
3055 echo "${ECHO_T}no" >&6
3059 if test -z "$ac_cv_prog_AR"; then
3060 ac_ct_AR=$AR
3061 # Extract the first word of "ar", so it can be a program name with args.
3062 set dummy ar; ac_word=$2
3063 echo "$as_me:$LINENO: checking for $ac_word" >&5
3064 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3065 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
3066 echo $ECHO_N "(cached) $ECHO_C" >&6
3067 else
3068 if test -n "$ac_ct_AR"; then
3069 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
3070 else
3071 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3072 for as_dir in $PATH
3074 IFS=$as_save_IFS
3075 test -z "$as_dir" && as_dir=.
3076 for ac_exec_ext in '' $ac_executable_extensions; do
3077 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3078 ac_cv_prog_ac_ct_AR="ar"
3079 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3080 break 2
3082 done
3083 done
3087 ac_ct_AR=$ac_cv_prog_ac_ct_AR
3088 if test -n "$ac_ct_AR"; then
3089 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
3090 echo "${ECHO_T}$ac_ct_AR" >&6
3091 else
3092 echo "$as_me:$LINENO: result: no" >&5
3093 echo "${ECHO_T}no" >&6
3096 AR=$ac_ct_AR
3097 else
3098 AR="$ac_cv_prog_AR"
3101 if test -n "$ac_tool_prefix"; then
3102 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3103 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
3104 echo "$as_me:$LINENO: checking for $ac_word" >&5
3105 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3106 if test "${ac_cv_prog_RANLIB+set}" = set; then
3107 echo $ECHO_N "(cached) $ECHO_C" >&6
3108 else
3109 if test -n "$RANLIB"; then
3110 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
3111 else
3112 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3113 for as_dir in $PATH
3115 IFS=$as_save_IFS
3116 test -z "$as_dir" && as_dir=.
3117 for ac_exec_ext in '' $ac_executable_extensions; do
3118 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3119 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
3120 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3121 break 2
3123 done
3124 done
3128 RANLIB=$ac_cv_prog_RANLIB
3129 if test -n "$RANLIB"; then
3130 echo "$as_me:$LINENO: result: $RANLIB" >&5
3131 echo "${ECHO_T}$RANLIB" >&6
3132 else
3133 echo "$as_me:$LINENO: result: no" >&5
3134 echo "${ECHO_T}no" >&6
3138 if test -z "$ac_cv_prog_RANLIB"; then
3139 ac_ct_RANLIB=$RANLIB
3140 # Extract the first word of "ranlib", so it can be a program name with args.
3141 set dummy ranlib; ac_word=$2
3142 echo "$as_me:$LINENO: checking for $ac_word" >&5
3143 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3144 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3145 echo $ECHO_N "(cached) $ECHO_C" >&6
3146 else
3147 if test -n "$ac_ct_RANLIB"; then
3148 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
3149 else
3150 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3151 for as_dir in $PATH
3153 IFS=$as_save_IFS
3154 test -z "$as_dir" && as_dir=.
3155 for ac_exec_ext in '' $ac_executable_extensions; do
3156 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3157 ac_cv_prog_ac_ct_RANLIB="ranlib"
3158 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3159 break 2
3161 done
3162 done
3164 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB="ranlib-not-found-in-path-error"
3167 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
3168 if test -n "$ac_ct_RANLIB"; then
3169 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3170 echo "${ECHO_T}$ac_ct_RANLIB" >&6
3171 else
3172 echo "$as_me:$LINENO: result: no" >&5
3173 echo "${ECHO_T}no" >&6
3176 RANLIB=$ac_ct_RANLIB
3177 else
3178 RANLIB="$ac_cv_prog_RANLIB"
3181 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3182 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
3183 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
3184 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
3185 echo $ECHO_N "(cached) $ECHO_C" >&6
3186 else
3187 cat >conftest.make <<\_ACEOF
3188 all:
3189 @echo 'ac_maketemp="$(MAKE)"'
3190 _ACEOF
3191 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3192 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
3193 if test -n "$ac_maketemp"; then
3194 eval ac_cv_prog_make_${ac_make}_set=yes
3195 else
3196 eval ac_cv_prog_make_${ac_make}_set=no
3198 rm -f conftest.make
3200 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
3201 echo "$as_me:$LINENO: result: yes" >&5
3202 echo "${ECHO_T}yes" >&6
3203 SET_MAKE=
3204 else
3205 echo "$as_me:$LINENO: result: no" >&5
3206 echo "${ECHO_T}no" >&6
3207 SET_MAKE="MAKE=${MAKE-make}"
3210 # Find a good install program. We prefer a C program (faster),
3211 # so one script is as good as another. But avoid the broken or
3212 # incompatible versions:
3213 # SysV /etc/install, /usr/sbin/install
3214 # SunOS /usr/etc/install
3215 # IRIX /sbin/install
3216 # AIX /bin/install
3217 # AmigaOS /C/install, which installs bootblocks on floppy discs
3218 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3219 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3220 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3221 # OS/2's system install, which has a completely different semantic
3222 # ./install, which can be erroneously created by make from ./install.sh.
3223 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
3224 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
3225 if test -z "$INSTALL"; then
3226 if test "${ac_cv_path_install+set}" = set; then
3227 echo $ECHO_N "(cached) $ECHO_C" >&6
3228 else
3229 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3230 for as_dir in $PATH
3232 IFS=$as_save_IFS
3233 test -z "$as_dir" && as_dir=.
3234 # Account for people who put trailing slashes in PATH elements.
3235 case $as_dir/ in
3236 ./ | .// | /cC/* | \
3237 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3238 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
3239 /usr/ucb/* ) ;;
3241 # OSF1 and SCO ODT 3.0 have their own names for install.
3242 # Don't use installbsd from OSF since it installs stuff as root
3243 # by default.
3244 for ac_prog in ginstall scoinst install; do
3245 for ac_exec_ext in '' $ac_executable_extensions; do
3246 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
3247 if test $ac_prog = install &&
3248 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3249 # AIX install. It has an incompatible calling convention.
3251 elif test $ac_prog = install &&
3252 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3253 # program-specific install script used by HP pwplus--don't use.
3255 else
3256 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3257 break 3
3260 done
3261 done
3263 esac
3264 done
3268 if test "${ac_cv_path_install+set}" = set; then
3269 INSTALL=$ac_cv_path_install
3270 else
3271 # As a last resort, use the slow shell script. We don't cache a
3272 # path for INSTALL within a source directory, because that will
3273 # break other packages using the cache if that directory is
3274 # removed, or if the path is relative.
3275 INSTALL=$ac_install_sh
3278 echo "$as_me:$LINENO: result: $INSTALL" >&5
3279 echo "${ECHO_T}$INSTALL" >&6
3281 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3282 # It thinks the first close brace ends the variable substitution.
3283 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3285 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3287 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3290 # Configure libtool
3291 #AC_MSG_NOTICE([====== Starting libtool configuration])
3293 # Check whether --enable-shared or --disable-shared was given.
3294 if test "${enable_shared+set}" = set; then
3295 enableval="$enable_shared"
3296 p=${PACKAGE-default}
3297 case $enableval in
3298 yes) enable_shared=yes ;;
3299 no) enable_shared=no ;;
3301 enable_shared=no
3302 # Look at the argument we got. We use all the common list separators.
3303 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
3304 for pkg in $enableval; do
3305 if test "X$pkg" = "X$p"; then
3306 enable_shared=yes
3308 done
3309 IFS="$ac_save_ifs"
3311 esac
3312 else
3313 enable_shared=yes
3315 # Check whether --enable-static or --disable-static was given.
3316 if test "${enable_static+set}" = set; then
3317 enableval="$enable_static"
3318 p=${PACKAGE-default}
3319 case $enableval in
3320 yes) enable_static=yes ;;
3321 no) enable_static=no ;;
3323 enable_static=no
3324 # Look at the argument we got. We use all the common list separators.
3325 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
3326 for pkg in $enableval; do
3327 if test "X$pkg" = "X$p"; then
3328 enable_static=yes
3330 done
3331 IFS="$ac_save_ifs"
3333 esac
3334 else
3335 enable_static=yes
3337 # Check whether --enable-fast-install or --disable-fast-install was given.
3338 if test "${enable_fast_install+set}" = set; then
3339 enableval="$enable_fast_install"
3340 p=${PACKAGE-default}
3341 case $enableval in
3342 yes) enable_fast_install=yes ;;
3343 no) enable_fast_install=no ;;
3345 enable_fast_install=no
3346 # Look at the argument we got. We use all the common list separators.
3347 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
3348 for pkg in $enableval; do
3349 if test "X$pkg" = "X$p"; then
3350 enable_fast_install=yes
3352 done
3353 IFS="$ac_save_ifs"
3355 esac
3356 else
3357 enable_fast_install=yes
3360 # Check whether --with-gnu-ld or --without-gnu-ld was given.
3361 if test "${with_gnu_ld+set}" = set; then
3362 withval="$with_gnu_ld"
3363 test "$withval" = no || with_gnu_ld=yes
3364 else
3365 with_gnu_ld=no
3367 ac_prog=ld
3368 if test "$GCC" = yes; then
3369 # Check if gcc -print-prog-name=ld gives a path.
3370 echo "$as_me:$LINENO: checking for ld used by GCC" >&5
3371 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
3372 case $host in
3373 *-*-mingw*)
3374 # gcc leaves a trailing carriage return which upsets mingw
3375 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
3377 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
3378 esac
3379 case $ac_prog in
3380 # Accept absolute paths.
3381 [\\/]* | [A-Za-z]:[\\/]*)
3382 re_direlt='/[^/][^/]*/\.\./'
3383 # Canonicalize the path of ld
3384 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
3385 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
3386 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
3387 done
3388 test -z "$LD" && LD="$ac_prog"
3391 # If it fails, then pretend we aren't using GCC.
3392 ac_prog=ld
3395 # If it is relative, then search for the first ld in PATH.
3396 with_gnu_ld=unknown
3398 esac
3399 elif test "$with_gnu_ld" = yes; then
3400 echo "$as_me:$LINENO: checking for GNU ld" >&5
3401 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
3402 else
3403 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
3404 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
3406 if test "${lt_cv_path_LD+set}" = set; then
3407 echo $ECHO_N "(cached) $ECHO_C" >&6
3408 else
3409 if test -z "$LD"; then
3410 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
3411 for ac_dir in $PATH; do
3412 test -z "$ac_dir" && ac_dir=.
3413 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
3414 lt_cv_path_LD="$ac_dir/$ac_prog"
3415 # Check to see if the program is GNU ld. I'd rather use --version,
3416 # but apparently some GNU ld's only accept -v.
3417 # Break only if it was the GNU/non-GNU ld that we prefer.
3418 if "$lt_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
3419 test "$with_gnu_ld" != no && break
3420 else
3421 test "$with_gnu_ld" != yes && break
3424 done
3425 IFS="$ac_save_ifs"
3426 else
3427 lt_cv_path_LD="$LD" # Let the user override the test with a path.
3431 LD="$lt_cv_path_LD"
3432 if test -n "$LD"; then
3433 echo "$as_me:$LINENO: result: $LD" >&5
3434 echo "${ECHO_T}$LD" >&6
3435 else
3436 echo "$as_me:$LINENO: result: no" >&5
3437 echo "${ECHO_T}no" >&6
3439 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
3440 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
3441 { (exit 1); exit 1; }; }
3442 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
3443 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
3444 if test "${lt_cv_prog_gnu_ld+set}" = set; then
3445 echo $ECHO_N "(cached) $ECHO_C" >&6
3446 else
3447 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
3448 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
3449 lt_cv_prog_gnu_ld=yes
3450 else
3451 lt_cv_prog_gnu_ld=no
3454 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
3455 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
3456 with_gnu_ld=$lt_cv_prog_gnu_ld
3459 echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
3460 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
3461 if test "${lt_cv_ld_reload_flag+set}" = set; then
3462 echo $ECHO_N "(cached) $ECHO_C" >&6
3463 else
3464 lt_cv_ld_reload_flag='-r'
3466 echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
3467 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
3468 reload_flag=$lt_cv_ld_reload_flag
3469 test -n "$reload_flag" && reload_flag=" $reload_flag"
3471 echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
3472 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
3473 if test "${lt_cv_path_NM+set}" = set; then
3474 echo $ECHO_N "(cached) $ECHO_C" >&6
3475 else
3476 if test -n "$NM"; then
3477 # Let the user override the test.
3478 lt_cv_path_NM="$NM"
3479 else
3480 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
3481 for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
3482 test -z "$ac_dir" && ac_dir=.
3483 tmp_nm=$ac_dir/${ac_tool_prefix}nm
3484 if test -f $tmp_nm || test -f $tmp_nm$ac_exeext ; then
3485 # Check to see if the nm accepts a BSD-compat flag.
3486 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
3487 # nm: unknown option "B" ignored
3488 # Tru64's nm complains that /dev/null is an invalid object file
3489 if ($tmp_nm -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep '(/dev/null|Invalid file or object type)' >/dev/null; then
3490 lt_cv_path_NM="$tmp_nm -B"
3491 break
3492 elif ($tmp_nm -p /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then
3493 lt_cv_path_NM="$tmp_nm -p"
3494 break
3495 else
3496 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
3497 continue # so that we can try to find one that supports BSD flags
3500 done
3501 IFS="$ac_save_ifs"
3502 test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
3506 NM="$lt_cv_path_NM"
3507 echo "$as_me:$LINENO: result: $NM" >&5
3508 echo "${ECHO_T}$NM" >&6
3510 echo "$as_me:$LINENO: checking whether ln -s works" >&5
3511 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
3512 LN_S=$as_ln_s
3513 if test "$LN_S" = "ln -s"; then
3514 echo "$as_me:$LINENO: result: yes" >&5
3515 echo "${ECHO_T}yes" >&6
3516 else
3517 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
3518 echo "${ECHO_T}no, using $LN_S" >&6
3521 echo "$as_me:$LINENO: checking how to recognise dependant libraries" >&5
3522 echo $ECHO_N "checking how to recognise dependant libraries... $ECHO_C" >&6
3523 if test "${lt_cv_deplibs_check_method+set}" = set; then
3524 echo $ECHO_N "(cached) $ECHO_C" >&6
3525 else
3526 lt_cv_file_magic_cmd='$MAGIC_CMD'
3527 lt_cv_file_magic_test_file=
3528 lt_cv_deplibs_check_method='unknown'
3529 # Need to set the preceding variable on all platforms that support
3530 # interlibrary dependencies.
3531 # 'none' -- dependencies not supported.
3532 # `unknown' -- same as none, but documents that we really don't know.
3533 # 'pass_all' -- all dependencies passed with no checks.
3534 # 'test_compile' -- check by making test program.
3535 # 'file_magic [regex]' -- check by looking for files in library path
3536 # which responds to the $file_magic_cmd with a given egrep regex.
3537 # If you have `file' or equivalent on your system and you're not sure
3538 # whether `pass_all' will *always* work, you probably want this one.
3540 case $host_os in
3541 aix*)
3542 lt_cv_deplibs_check_method=pass_all
3545 beos*)
3546 lt_cv_deplibs_check_method=pass_all
3549 bsdi4*)
3550 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
3551 lt_cv_file_magic_cmd='/usr/bin/file -L'
3552 lt_cv_file_magic_test_file=/shlib/libc.so
3555 cygwin* | mingw* |pw32*)
3556 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
3557 lt_cv_file_magic_cmd='$OBJDUMP -f'
3560 darwin* | rhapsody*)
3561 # this will be overwritten by pass_all, but leave it in just in case
3562 lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library'
3563 lt_cv_file_magic_cmd='/usr/bin/file -L'
3564 case "$host_os" in
3565 rhapsody* | darwin1.012)
3566 lt_cv_file_magic_test_file='/System/Library/Frameworks/System.framework/System'
3568 *) # Darwin 1.3 on
3569 lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib'
3571 esac
3572 lt_cv_deplibs_check_method=pass_all
3575 freebsd* | kfreebsd*-gnu)
3576 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
3577 case $host_cpu in
3578 i*86 )
3579 # Not sure whether the presence of OpenBSD here was a mistake.
3580 # Let's accept both of them until this is cleared up.
3581 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
3582 lt_cv_file_magic_cmd=/usr/bin/file
3583 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
3585 esac
3586 else
3587 lt_cv_deplibs_check_method=pass_all
3591 gnu*)
3592 lt_cv_deplibs_check_method=pass_all
3595 hpux10.20*|hpux11*)
3596 case $host_cpu in
3597 hppa*)
3598 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
3599 lt_cv_file_magic_cmd=/usr/bin/file
3600 lt_cv_file_magic_test_file=/usr/lib/libc.sl
3602 ia64*)
3603 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
3604 lt_cv_file_magic_cmd=/usr/bin/file
3605 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
3607 esac
3610 irix5* | irix6*)
3611 case $host_os in
3612 irix5*)
3613 # this will be overridden with pass_all, but let us keep it just in case
3614 lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
3617 case $LD in
3618 *-32|*"-32 ") libmagic=32-bit;;
3619 *-n32|*"-n32 ") libmagic=N32;;
3620 *-64|*"-64 ") libmagic=64-bit;;
3621 *) libmagic=never-match;;
3622 esac
3623 # this will be overridden with pass_all, but let us keep it just in case
3624 lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
3626 esac
3627 lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*`
3628 lt_cv_deplibs_check_method=pass_all
3631 # This must be Linux ELF.
3632 linux-gnu*)
3633 lt_cv_deplibs_check_method=pass_all
3636 netbsd* | knetbsd*-gnu)
3637 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
3638 lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'
3639 else
3640 lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so$'
3644 newsos6)
3645 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
3646 lt_cv_file_magic_cmd=/usr/bin/file
3647 lt_cv_file_magic_test_file=/usr/lib/libnls.so
3650 osf3* | osf4* | osf5*)
3651 # this will be overridden with pass_all, but let us keep it just in case
3652 lt_cv_deplibs_check_method='file_magic COFF format alpha shared library'
3653 lt_cv_file_magic_test_file=/shlib/libc.so
3654 lt_cv_deplibs_check_method=pass_all
3657 sco3.2v5*)
3658 lt_cv_deplibs_check_method=pass_all
3661 solaris*)
3662 lt_cv_deplibs_check_method=pass_all
3663 lt_cv_file_magic_test_file=/lib/libc.so
3666 sysv5uw[78]* | sysv4*uw2*)
3667 lt_cv_deplibs_check_method=pass_all
3670 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
3671 case $host_vendor in
3672 ncr)
3673 lt_cv_deplibs_check_method=pass_all
3675 motorola)
3676 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]'
3677 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
3679 esac
3681 esac
3684 echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
3685 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
3686 file_magic_cmd=$lt_cv_file_magic_cmd
3687 deplibs_check_method=$lt_cv_deplibs_check_method
3693 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
3695 # find the maximum length of command line arguments
3696 echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
3697 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
3698 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
3699 echo $ECHO_N "(cached) $ECHO_C" >&6
3700 else
3702 teststring="ABCD"
3704 case $build_os in
3705 msdosdjgpp*)
3706 # On DJGPP, this test can blow up pretty badly due to problems in libc
3707 # (any single argument exceeding 2000 bytes causes a buffer overrun
3708 # during glob expansion). Even if it were fixed, the result of this
3709 # check would be larger than it should be.
3710 lt_cv_sys_max_cmd_len=12288; # 12K is about right
3713 cygwin* | mingw*)
3714 # On Win9x/ME, this test blows up -- it succeeds, but takes
3715 # about 5 minutes as the teststring grows exponentially.
3716 # Worse, since 9x/ME are not pre-emptively multitasking,
3717 # you end up with a "frozen" computer, even though with patience
3718 # the test eventually succeeds (with a max line length of 256k).
3719 # Instead, let's just punt: use the minimum linelength reported by
3720 # all of the supported platforms: 8192 (on NT/2K/XP).
3721 lt_cv_sys_max_cmd_len=8192;
3724 amigaos*)
3725 # On AmigaOS with pdksh, this test takes hours, literally.
3726 # So we just punt and use a minimum line length of 8192.
3727 lt_cv_sys_max_cmd_len=8192;
3730 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
3731 # This has been around since 386BSD, at least. Likely further.
3732 if test -x /sbin/sysctl; then
3733 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
3734 elif test -x /usr/sbin/sysctl; then
3735 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
3736 else
3737 lt_cv_sys_max_cmd_len=65536 # usable default for *BSD
3739 # And add a safety zone
3740 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
3741 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
3743 esac
3747 if test -n $lt_cv_sys_max_cmd_len ; then
3748 echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
3749 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
3750 else
3751 echo "$as_me:$LINENO: result: none" >&5
3752 echo "${ECHO_T}none" >&6
3756 # Only perform the check for file, if the check method requires it
3757 case $deplibs_check_method in
3758 file_magic*)
3759 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
3760 echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
3761 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
3762 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
3763 echo $ECHO_N "(cached) $ECHO_C" >&6
3764 else
3765 case $MAGIC_CMD in
3767 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
3769 ?:/*)
3770 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
3773 ac_save_MAGIC_CMD="$MAGIC_CMD"
3774 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
3775 ac_dummy="/usr/bin:$PATH"
3776 for ac_dir in $ac_dummy; do
3777 test -z "$ac_dir" && ac_dir=.
3778 if test -f $ac_dir/${ac_tool_prefix}file; then
3779 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
3780 if test -n "$file_magic_test_file"; then
3781 case $deplibs_check_method in
3782 "file_magic "*)
3783 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
3784 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
3785 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
3786 egrep "$file_magic_regex" > /dev/null; then
3788 else
3789 cat <<EOF 1>&2
3791 *** Warning: the command libtool uses to detect shared libraries,
3792 *** $file_magic_cmd, produces output that libtool cannot recognize.
3793 *** The result is that libtool may fail to recognize shared libraries
3794 *** as such. This will affect the creation of libtool libraries that
3795 *** depend on shared libraries, but programs linked with such libtool
3796 *** libraries will work regardless of this problem. Nevertheless, you
3797 *** may want to report the problem to your system manager and/or to
3798 *** bug-libtool@gnu.org
3801 fi ;;
3802 esac
3804 break
3806 done
3807 IFS="$ac_save_ifs"
3808 MAGIC_CMD="$ac_save_MAGIC_CMD"
3810 esac
3813 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
3814 if test -n "$MAGIC_CMD"; then
3815 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
3816 echo "${ECHO_T}$MAGIC_CMD" >&6
3817 else
3818 echo "$as_me:$LINENO: result: no" >&5
3819 echo "${ECHO_T}no" >&6
3822 if test -z "$lt_cv_path_MAGIC_CMD"; then
3823 if test -n "$ac_tool_prefix"; then
3824 echo "$as_me:$LINENO: checking for file" >&5
3825 echo $ECHO_N "checking for file... $ECHO_C" >&6
3826 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
3827 echo $ECHO_N "(cached) $ECHO_C" >&6
3828 else
3829 case $MAGIC_CMD in
3831 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
3833 ?:/*)
3834 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
3837 ac_save_MAGIC_CMD="$MAGIC_CMD"
3838 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
3839 ac_dummy="/usr/bin:$PATH"
3840 for ac_dir in $ac_dummy; do
3841 test -z "$ac_dir" && ac_dir=.
3842 if test -f $ac_dir/file; then
3843 lt_cv_path_MAGIC_CMD="$ac_dir/file"
3844 if test -n "$file_magic_test_file"; then
3845 case $deplibs_check_method in
3846 "file_magic "*)
3847 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
3848 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
3849 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
3850 egrep "$file_magic_regex" > /dev/null; then
3852 else
3853 cat <<EOF 1>&2
3855 *** Warning: the command libtool uses to detect shared libraries,
3856 *** $file_magic_cmd, produces output that libtool cannot recognize.
3857 *** The result is that libtool may fail to recognize shared libraries
3858 *** as such. This will affect the creation of libtool libraries that
3859 *** depend on shared libraries, but programs linked with such libtool
3860 *** libraries will work regardless of this problem. Nevertheless, you
3861 *** may want to report the problem to your system manager and/or to
3862 *** bug-libtool@gnu.org
3865 fi ;;
3866 esac
3868 break
3870 done
3871 IFS="$ac_save_ifs"
3872 MAGIC_CMD="$ac_save_MAGIC_CMD"
3874 esac
3877 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
3878 if test -n "$MAGIC_CMD"; then
3879 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
3880 echo "${ECHO_T}$MAGIC_CMD" >&6
3881 else
3882 echo "$as_me:$LINENO: result: no" >&5
3883 echo "${ECHO_T}no" >&6
3886 else
3887 MAGIC_CMD=:
3893 esac
3895 if test -n "$ac_tool_prefix"; then
3896 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3897 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
3898 echo "$as_me:$LINENO: checking for $ac_word" >&5
3899 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3900 if test "${ac_cv_prog_RANLIB+set}" = set; then
3901 echo $ECHO_N "(cached) $ECHO_C" >&6
3902 else
3903 if test -n "$RANLIB"; then
3904 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
3905 else
3906 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3907 for as_dir in $PATH
3909 IFS=$as_save_IFS
3910 test -z "$as_dir" && as_dir=.
3911 for ac_exec_ext in '' $ac_executable_extensions; do
3912 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3913 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
3914 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3915 break 2
3917 done
3918 done
3922 RANLIB=$ac_cv_prog_RANLIB
3923 if test -n "$RANLIB"; then
3924 echo "$as_me:$LINENO: result: $RANLIB" >&5
3925 echo "${ECHO_T}$RANLIB" >&6
3926 else
3927 echo "$as_me:$LINENO: result: no" >&5
3928 echo "${ECHO_T}no" >&6
3932 if test -z "$ac_cv_prog_RANLIB"; then
3933 ac_ct_RANLIB=$RANLIB
3934 # Extract the first word of "ranlib", so it can be a program name with args.
3935 set dummy ranlib; ac_word=$2
3936 echo "$as_me:$LINENO: checking for $ac_word" >&5
3937 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3938 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3939 echo $ECHO_N "(cached) $ECHO_C" >&6
3940 else
3941 if test -n "$ac_ct_RANLIB"; then
3942 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
3943 else
3944 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3945 for as_dir in $PATH
3947 IFS=$as_save_IFS
3948 test -z "$as_dir" && as_dir=.
3949 for ac_exec_ext in '' $ac_executable_extensions; do
3950 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3951 ac_cv_prog_ac_ct_RANLIB="ranlib"
3952 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3953 break 2
3955 done
3956 done
3958 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
3961 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
3962 if test -n "$ac_ct_RANLIB"; then
3963 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3964 echo "${ECHO_T}$ac_ct_RANLIB" >&6
3965 else
3966 echo "$as_me:$LINENO: result: no" >&5
3967 echo "${ECHO_T}no" >&6
3970 RANLIB=$ac_ct_RANLIB
3971 else
3972 RANLIB="$ac_cv_prog_RANLIB"
3975 if test -n "$ac_tool_prefix"; then
3976 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3977 set dummy ${ac_tool_prefix}strip; ac_word=$2
3978 echo "$as_me:$LINENO: checking for $ac_word" >&5
3979 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3980 if test "${ac_cv_prog_STRIP+set}" = set; then
3981 echo $ECHO_N "(cached) $ECHO_C" >&6
3982 else
3983 if test -n "$STRIP"; then
3984 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3985 else
3986 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3987 for as_dir in $PATH
3989 IFS=$as_save_IFS
3990 test -z "$as_dir" && as_dir=.
3991 for ac_exec_ext in '' $ac_executable_extensions; do
3992 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3993 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3994 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3995 break 2
3997 done
3998 done
4002 STRIP=$ac_cv_prog_STRIP
4003 if test -n "$STRIP"; then
4004 echo "$as_me:$LINENO: result: $STRIP" >&5
4005 echo "${ECHO_T}$STRIP" >&6
4006 else
4007 echo "$as_me:$LINENO: result: no" >&5
4008 echo "${ECHO_T}no" >&6
4012 if test -z "$ac_cv_prog_STRIP"; then
4013 ac_ct_STRIP=$STRIP
4014 # Extract the first word of "strip", so it can be a program name with args.
4015 set dummy strip; ac_word=$2
4016 echo "$as_me:$LINENO: checking for $ac_word" >&5
4017 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4018 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
4019 echo $ECHO_N "(cached) $ECHO_C" >&6
4020 else
4021 if test -n "$ac_ct_STRIP"; then
4022 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
4023 else
4024 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4025 for as_dir in $PATH
4027 IFS=$as_save_IFS
4028 test -z "$as_dir" && as_dir=.
4029 for ac_exec_ext in '' $ac_executable_extensions; do
4030 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4031 ac_cv_prog_ac_ct_STRIP="strip"
4032 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4033 break 2
4035 done
4036 done
4038 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
4041 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
4042 if test -n "$ac_ct_STRIP"; then
4043 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
4044 echo "${ECHO_T}$ac_ct_STRIP" >&6
4045 else
4046 echo "$as_me:$LINENO: result: no" >&5
4047 echo "${ECHO_T}no" >&6
4050 STRIP=$ac_ct_STRIP
4051 else
4052 STRIP="$ac_cv_prog_STRIP"
4056 # Check for any special flags to pass to ltconfig.
4057 libtool_flags="--cache-file=$cache_file"
4058 test "$enable_shared" = no && libtool_flags="$libtool_flags --disable-shared"
4059 test "$enable_static" = no && libtool_flags="$libtool_flags --disable-static"
4060 test "$enable_fast_install" = no && libtool_flags="$libtool_flags --disable-fast-install"
4061 test "$GCC" = yes && libtool_flags="$libtool_flags --with-gcc"
4062 test "$lt_cv_prog_gnu_ld" = yes && libtool_flags="$libtool_flags --with-gnu-ld"
4065 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
4066 if test "${enable_libtool_lock+set}" = set; then
4067 enableval="$enable_libtool_lock"
4070 test "x$enable_libtool_lock" = xno && libtool_flags="$libtool_flags --disable-lock"
4071 test x"$silent" = xyes && libtool_flags="$libtool_flags --silent"
4074 # Check whether --with-pic or --without-pic was given.
4075 if test "${with_pic+set}" = set; then
4076 withval="$with_pic"
4077 pic_mode="$withval"
4078 else
4079 pic_mode=default
4081 test x"$pic_mode" = xyes && libtool_flags="$libtool_flags --prefer-pic"
4082 test x"$pic_mode" = xno && libtool_flags="$libtool_flags --prefer-non-pic"
4084 # Some flags need to be propagated to the compiler or linker for good
4085 # libtool support.
4086 case $host in
4087 *-*-irix6*)
4088 # Find out which ABI we are using.
4089 echo '#line 4089 "configure"' > conftest.$ac_ext
4090 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4091 (eval $ac_compile) 2>&5
4092 ac_status=$?
4093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4094 (exit $ac_status); }; then
4095 if test "$lt_cv_prog_gnu_ld" = yes; then
4096 case `/usr/bin/file conftest.$ac_objext` in
4097 *32-bit*)
4098 LD="${LD-ld} -melf32bsmip"
4100 *N32*)
4101 LD="${LD-ld} -melf32bmipn32"
4103 *64-bit*)
4104 LD="${LD-ld} -melf64bmip"
4106 esac
4107 else
4108 case `/usr/bin/file conftest.$ac_objext` in
4109 *32-bit*)
4110 LD="${LD-ld} -32"
4112 *N32*)
4113 LD="${LD-ld} -n32"
4115 *64-bit*)
4116 LD="${LD-ld} -64"
4118 esac
4121 rm -rf conftest*
4124 ia64-*-hpux*)
4125 # Find out which ABI we are using.
4126 echo 'int i;' > conftest.$ac_ext
4127 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4128 (eval $ac_compile) 2>&5
4129 ac_status=$?
4130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4131 (exit $ac_status); }; then
4132 case "`/usr/bin/file conftest.o`" in
4133 *ELF-32*)
4134 HPUX_IA64_MODE="32"
4136 *ELF-64*)
4137 HPUX_IA64_MODE="64"
4139 esac
4141 rm -rf conftest*
4144 x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
4145 # Find out which ABI we are using.
4146 echo 'int i;' > conftest.$ac_ext
4147 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4148 (eval $ac_compile) 2>&5
4149 ac_status=$?
4150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4151 (exit $ac_status); }; then
4152 case "`/usr/bin/file conftest.o`" in
4153 *32-bit*)
4154 case $host in
4155 x86_64-*linux*)
4156 LD="${LD-ld} -m elf_i386"
4158 ppc64-*linux*|powerpc64-*linux*)
4159 LD="${LD-ld} -m elf32ppclinux"
4161 s390x-*linux*)
4162 LD="${LD-ld} -m elf_s390"
4164 sparc64-*linux*)
4165 LD="${LD-ld} -m elf32_sparc"
4167 esac
4169 *64-bit*)
4170 case $host in
4171 x86_64-*linux*)
4172 LD="${LD-ld} -m elf_x86_64"
4174 ppc*-*linux*|powerpc*-*linux*)
4175 LD="${LD-ld} -m elf64ppc"
4177 s390*-*linux*)
4178 LD="${LD-ld} -m elf64_s390"
4180 sparc*-*linux*)
4181 LD="${LD-ld} -m elf64_sparc"
4183 esac
4185 esac
4187 rm -rf conftest*
4190 *-*-sco3.2v5*)
4191 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
4192 SAVE_CFLAGS="$CFLAGS"
4193 CFLAGS="$CFLAGS -belf"
4194 echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
4195 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
4196 if test "${lt_cv_cc_needs_belf+set}" = set; then
4197 echo $ECHO_N "(cached) $ECHO_C" >&6
4198 else
4201 ac_ext=c
4202 ac_cpp='$CPP $CPPFLAGS'
4203 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4204 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4205 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4207 cat >conftest.$ac_ext <<_ACEOF
4208 /* confdefs.h. */
4209 _ACEOF
4210 cat confdefs.h >>conftest.$ac_ext
4211 cat >>conftest.$ac_ext <<_ACEOF
4212 /* end confdefs.h. */
4215 main ()
4219 return 0;
4221 _ACEOF
4222 rm -f conftest.$ac_objext conftest$ac_exeext
4223 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4224 (eval $ac_link) 2>conftest.er1
4225 ac_status=$?
4226 grep -v '^ *+' conftest.er1 >conftest.err
4227 rm -f conftest.er1
4228 cat conftest.err >&5
4229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4230 (exit $ac_status); } &&
4231 { ac_try='test -z "$ac_c_werror_flag"
4232 || test ! -s conftest.err'
4233 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4234 (eval $ac_try) 2>&5
4235 ac_status=$?
4236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4237 (exit $ac_status); }; } &&
4238 { ac_try='test -s conftest$ac_exeext'
4239 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4240 (eval $ac_try) 2>&5
4241 ac_status=$?
4242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4243 (exit $ac_status); }; }; then
4244 lt_cv_cc_needs_belf=yes
4245 else
4246 echo "$as_me: failed program was:" >&5
4247 sed 's/^/| /' conftest.$ac_ext >&5
4249 lt_cv_cc_needs_belf=no
4251 rm -f conftest.err conftest.$ac_objext \
4252 conftest$ac_exeext conftest.$ac_ext
4253 ac_ext=c
4254 ac_cpp='$CPP $CPPFLAGS'
4255 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4256 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4257 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4260 echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
4261 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
4262 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
4263 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
4264 CFLAGS="$SAVE_CFLAGS"
4269 esac
4272 # Save cache, so that ltconfig can load it
4273 cat >confcache <<\_ACEOF
4274 # This file is a shell script that caches the results of configure
4275 # tests run on this system so they can be shared between configure
4276 # scripts and configure runs, see configure's option --config-cache.
4277 # It is not useful on other systems. If it contains results you don't
4278 # want to keep, you may remove or edit it.
4280 # config.status only pays attention to the cache file if you give it
4281 # the --recheck option to rerun configure.
4283 # `ac_cv_env_foo' variables (set or unset) will be overridden when
4284 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4285 # following values.
4287 _ACEOF
4289 # The following way of writing the cache mishandles newlines in values,
4290 # but we know of no workaround that is simple, portable, and efficient.
4291 # So, don't put newlines in cache variables' values.
4292 # Ultrix sh set writes to stderr and can't be redirected directly,
4293 # and sets the high bit in the cache file unless we assign to the vars.
4295 (set) 2>&1 |
4296 case `(ac_space=' '; set | grep ac_space) 2>&1` in
4297 *ac_space=\ *)
4298 # `set' does not quote correctly, so add quotes (double-quote
4299 # substitution turns \\\\ into \\, and sed turns \\ into \).
4300 sed -n \
4301 "s/'/'\\\\''/g;
4302 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4305 # `set' quotes correctly as required by POSIX, so do not add quotes.
4306 sed -n \
4307 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
4309 esac;
4311 sed '
4312 t clear
4313 : clear
4314 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4315 t end
4316 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4317 : end' >>confcache
4318 if diff $cache_file confcache >/dev/null 2>&1; then :; else
4319 if test -w $cache_file; then
4320 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
4321 cat confcache >$cache_file
4322 else
4323 echo "not updating unwritable cache $cache_file"
4326 rm -f confcache
4328 # Actually configure libtool. ac_aux_dir is where install-sh is found.
4329 AR="$AR" LTCC="$CC" CC="$CC" CFLAGS="$CFLAGS" CPPFLAGS="$CPPFLAGS" \
4330 MAGIC_CMD="$MAGIC_CMD" LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
4331 LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \
4332 AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \
4333 objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \
4334 deplibs_check_method="$deplibs_check_method" file_magic_cmd="$file_magic_cmd" \
4335 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig --no-reexec \
4336 $libtool_flags --no-verify --build="$build" $ac_aux_dir/ltmain.sh $host \
4337 || { { echo "$as_me:$LINENO: error: libtool configure failed" >&5
4338 echo "$as_me: error: libtool configure failed" >&2;}
4339 { (exit 1); exit 1; }; }
4341 # Reload cache, that may have been modified by ltconfig
4342 if test -r "$cache_file"; then
4343 # Some versions of bash will fail to source /dev/null (special
4344 # files actually), so we avoid doing that.
4345 if test -f "$cache_file"; then
4346 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
4347 echo "$as_me: loading cache $cache_file" >&6;}
4348 case $cache_file in
4349 [\\/]* | ?:[\\/]* ) . $cache_file;;
4350 *) . ./$cache_file;;
4351 esac
4353 else
4354 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
4355 echo "$as_me: creating cache $cache_file" >&6;}
4356 >$cache_file
4360 # This can be used to rebuild libtool when needed
4361 LIBTOOL_DEPS="$ac_aux_dir/ltconfig $ac_aux_dir/ltmain.sh $ac_aux_dir/ltcf-c.sh"
4363 # Always use our own libtool.
4364 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
4366 # Redirect the config.log output again, so that the ltconfig log is not
4367 # clobbered by the next message.
4368 exec 5>>./config.log
4377 #AC_MSG_NOTICE([====== Finished libtool configuration]) ; sleep 10
4379 # We need gfortran to compile parts of the library
4380 # We can't use AC_PROG_FC because it expects a fully working gfortran.
4381 #AC_PROG_FC(gfortran)
4382 FC="$GFORTRAN"
4383 ac_ext=${FC_SRCEXT-f}
4384 ac_compile='$FC -c $FCFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext >&5'
4385 ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext $LIBS >&5'
4386 ac_compiler_gnu=$ac_cv_fc_compiler_gnu
4387 if test -n "$ac_tool_prefix"; then
4388 for ac_prog in gfortran
4390 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4391 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4392 echo "$as_me:$LINENO: checking for $ac_word" >&5
4393 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4394 if test "${ac_cv_prog_FC+set}" = set; then
4395 echo $ECHO_N "(cached) $ECHO_C" >&6
4396 else
4397 if test -n "$FC"; then
4398 ac_cv_prog_FC="$FC" # Let the user override the test.
4399 else
4400 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4401 for as_dir in $PATH
4403 IFS=$as_save_IFS
4404 test -z "$as_dir" && as_dir=.
4405 for ac_exec_ext in '' $ac_executable_extensions; do
4406 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4407 ac_cv_prog_FC="$ac_tool_prefix$ac_prog"
4408 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4409 break 2
4411 done
4412 done
4416 FC=$ac_cv_prog_FC
4417 if test -n "$FC"; then
4418 echo "$as_me:$LINENO: result: $FC" >&5
4419 echo "${ECHO_T}$FC" >&6
4420 else
4421 echo "$as_me:$LINENO: result: no" >&5
4422 echo "${ECHO_T}no" >&6
4425 test -n "$FC" && break
4426 done
4428 if test -z "$FC"; then
4429 ac_ct_FC=$FC
4430 for ac_prog in gfortran
4432 # Extract the first word of "$ac_prog", so it can be a program name with args.
4433 set dummy $ac_prog; ac_word=$2
4434 echo "$as_me:$LINENO: checking for $ac_word" >&5
4435 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4436 if test "${ac_cv_prog_ac_ct_FC+set}" = set; then
4437 echo $ECHO_N "(cached) $ECHO_C" >&6
4438 else
4439 if test -n "$ac_ct_FC"; then
4440 ac_cv_prog_ac_ct_FC="$ac_ct_FC" # Let the user override the test.
4441 else
4442 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4443 for as_dir in $PATH
4445 IFS=$as_save_IFS
4446 test -z "$as_dir" && as_dir=.
4447 for ac_exec_ext in '' $ac_executable_extensions; do
4448 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4449 ac_cv_prog_ac_ct_FC="$ac_prog"
4450 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4451 break 2
4453 done
4454 done
4458 ac_ct_FC=$ac_cv_prog_ac_ct_FC
4459 if test -n "$ac_ct_FC"; then
4460 echo "$as_me:$LINENO: result: $ac_ct_FC" >&5
4461 echo "${ECHO_T}$ac_ct_FC" >&6
4462 else
4463 echo "$as_me:$LINENO: result: no" >&5
4464 echo "${ECHO_T}no" >&6
4467 test -n "$ac_ct_FC" && break
4468 done
4470 FC=$ac_ct_FC
4474 # Provide some information about the compiler.
4475 echo "$as_me:4475:" \
4476 "checking for Fortran compiler version" >&5
4477 ac_compiler=`set X $ac_compile; echo $2`
4478 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
4479 (eval $ac_compiler --version </dev/null >&5) 2>&5
4480 ac_status=$?
4481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4482 (exit $ac_status); }
4483 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
4484 (eval $ac_compiler -v </dev/null >&5) 2>&5
4485 ac_status=$?
4486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4487 (exit $ac_status); }
4488 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
4489 (eval $ac_compiler -V </dev/null >&5) 2>&5
4490 ac_status=$?
4491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4492 (exit $ac_status); }
4493 rm -f a.out
4495 # If we don't use `.F' as extension, the preprocessor is not run on the
4496 # input file. (Note that this only needs to work for GNU compilers.)
4497 ac_save_ext=$ac_ext
4498 ac_ext=F
4499 echo "$as_me:$LINENO: checking whether we are using the GNU Fortran compiler" >&5
4500 echo $ECHO_N "checking whether we are using the GNU Fortran compiler... $ECHO_C" >&6
4501 if test "${ac_cv_fc_compiler_gnu+set}" = set; then
4502 echo $ECHO_N "(cached) $ECHO_C" >&6
4503 else
4504 cat >conftest.$ac_ext <<_ACEOF
4505 program main
4506 #ifndef __GNUC__
4507 choke me
4508 #endif
4511 _ACEOF
4512 rm -f conftest.$ac_objext
4513 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4514 (eval $ac_compile) 2>conftest.er1
4515 ac_status=$?
4516 grep -v '^ *+' conftest.er1 >conftest.err
4517 rm -f conftest.er1
4518 cat conftest.err >&5
4519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4520 (exit $ac_status); } &&
4521 { ac_try='test -z "$ac_fc_werror_flag"
4522 || test ! -s conftest.err'
4523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4524 (eval $ac_try) 2>&5
4525 ac_status=$?
4526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4527 (exit $ac_status); }; } &&
4528 { ac_try='test -s conftest.$ac_objext'
4529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4530 (eval $ac_try) 2>&5
4531 ac_status=$?
4532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4533 (exit $ac_status); }; }; then
4534 ac_compiler_gnu=yes
4535 else
4536 echo "$as_me: failed program was:" >&5
4537 sed 's/^/| /' conftest.$ac_ext >&5
4539 ac_compiler_gnu=no
4541 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4542 ac_cv_fc_compiler_gnu=$ac_compiler_gnu
4545 echo "$as_me:$LINENO: result: $ac_cv_fc_compiler_gnu" >&5
4546 echo "${ECHO_T}$ac_cv_fc_compiler_gnu" >&6
4547 ac_ext=$ac_save_ext
4548 ac_test_FFLAGS=${FCFLAGS+set}
4549 ac_save_FFLAGS=$FCFLAGS
4550 FCFLAGS=
4551 echo "$as_me:$LINENO: checking whether $FC accepts -g" >&5
4552 echo $ECHO_N "checking whether $FC accepts -g... $ECHO_C" >&6
4553 if test "${ac_cv_prog_fc_g+set}" = set; then
4554 echo $ECHO_N "(cached) $ECHO_C" >&6
4555 else
4556 FCFLAGS=-g
4557 cat >conftest.$ac_ext <<_ACEOF
4558 program main
4561 _ACEOF
4562 rm -f conftest.$ac_objext
4563 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4564 (eval $ac_compile) 2>conftest.er1
4565 ac_status=$?
4566 grep -v '^ *+' conftest.er1 >conftest.err
4567 rm -f conftest.er1
4568 cat conftest.err >&5
4569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4570 (exit $ac_status); } &&
4571 { ac_try='test -z "$ac_fc_werror_flag"
4572 || test ! -s conftest.err'
4573 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4574 (eval $ac_try) 2>&5
4575 ac_status=$?
4576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4577 (exit $ac_status); }; } &&
4578 { ac_try='test -s conftest.$ac_objext'
4579 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4580 (eval $ac_try) 2>&5
4581 ac_status=$?
4582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4583 (exit $ac_status); }; }; then
4584 ac_cv_prog_fc_g=yes
4585 else
4586 echo "$as_me: failed program was:" >&5
4587 sed 's/^/| /' conftest.$ac_ext >&5
4589 ac_cv_prog_fc_g=no
4591 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4594 echo "$as_me:$LINENO: result: $ac_cv_prog_fc_g" >&5
4595 echo "${ECHO_T}$ac_cv_prog_fc_g" >&6
4596 if test "$ac_test_FFLAGS" = set; then
4597 FCFLAGS=$ac_save_FFLAGS
4598 elif test $ac_cv_prog_fc_g = yes; then
4599 if test "x$ac_cv_fc_compiler_gnu" = xyes; then
4600 FCFLAGS="-g -O2"
4601 else
4602 FCFLAGS="-g"
4604 else
4605 if test "x$ac_cv_fc_compiler_gnu" = xyes; then
4606 FCFLAGS="-O2"
4607 else
4608 FCFLAGS=
4612 ac_ext=c
4613 ac_cpp='$CPP $CPPFLAGS'
4614 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4615 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4616 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4618 FCFLAGS="$FCFLAGS -Wall -fno-repack-arrays -fno-underscoring"
4620 # extra LD Flags which are required for targets
4621 case "${host}" in
4622 *-darwin*)
4623 # Darwin needs -single_module when linking libgfortran
4624 extra_ldflags_libgfortran=-Wl,-single_module
4626 esac
4629 # Check whether --enable-largefile or --disable-largefile was given.
4630 if test "${enable_largefile+set}" = set; then
4631 enableval="$enable_largefile"
4634 if test "$enable_largefile" != no; then
4636 echo "$as_me:$LINENO: checking for special C compiler options needed for large files" >&5
4637 echo $ECHO_N "checking for special C compiler options needed for large files... $ECHO_C" >&6
4638 if test "${ac_cv_sys_largefile_CC+set}" = set; then
4639 echo $ECHO_N "(cached) $ECHO_C" >&6
4640 else
4641 ac_cv_sys_largefile_CC=no
4642 if test "$GCC" != yes; then
4643 ac_save_CC=$CC
4644 while :; do
4645 # IRIX 6.2 and later do not support large files by default,
4646 # so use the C compiler's -n32 option if that helps.
4647 cat >conftest.$ac_ext <<_ACEOF
4648 /* confdefs.h. */
4649 _ACEOF
4650 cat confdefs.h >>conftest.$ac_ext
4651 cat >>conftest.$ac_ext <<_ACEOF
4652 /* end confdefs.h. */
4653 #include <sys/types.h>
4654 /* Check that off_t can represent 2**63 - 1 correctly.
4655 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4656 since some C++ compilers masquerading as C compilers
4657 incorrectly reject 9223372036854775807. */
4658 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4659 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4660 && LARGE_OFF_T % 2147483647 == 1)
4661 ? 1 : -1];
4663 main ()
4667 return 0;
4669 _ACEOF
4670 rm -f conftest.$ac_objext
4671 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4672 (eval $ac_compile) 2>conftest.er1
4673 ac_status=$?
4674 grep -v '^ *+' conftest.er1 >conftest.err
4675 rm -f conftest.er1
4676 cat conftest.err >&5
4677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4678 (exit $ac_status); } &&
4679 { ac_try='test -z "$ac_c_werror_flag"
4680 || test ! -s conftest.err'
4681 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4682 (eval $ac_try) 2>&5
4683 ac_status=$?
4684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4685 (exit $ac_status); }; } &&
4686 { ac_try='test -s conftest.$ac_objext'
4687 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4688 (eval $ac_try) 2>&5
4689 ac_status=$?
4690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4691 (exit $ac_status); }; }; then
4692 break
4693 else
4694 echo "$as_me: failed program was:" >&5
4695 sed 's/^/| /' conftest.$ac_ext >&5
4698 rm -f conftest.err conftest.$ac_objext
4699 CC="$CC -n32"
4700 rm -f conftest.$ac_objext
4701 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4702 (eval $ac_compile) 2>conftest.er1
4703 ac_status=$?
4704 grep -v '^ *+' conftest.er1 >conftest.err
4705 rm -f conftest.er1
4706 cat conftest.err >&5
4707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4708 (exit $ac_status); } &&
4709 { ac_try='test -z "$ac_c_werror_flag"
4710 || test ! -s conftest.err'
4711 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4712 (eval $ac_try) 2>&5
4713 ac_status=$?
4714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4715 (exit $ac_status); }; } &&
4716 { ac_try='test -s conftest.$ac_objext'
4717 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4718 (eval $ac_try) 2>&5
4719 ac_status=$?
4720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4721 (exit $ac_status); }; }; then
4722 ac_cv_sys_largefile_CC=' -n32'; break
4723 else
4724 echo "$as_me: failed program was:" >&5
4725 sed 's/^/| /' conftest.$ac_ext >&5
4728 rm -f conftest.err conftest.$ac_objext
4729 break
4730 done
4731 CC=$ac_save_CC
4732 rm -f conftest.$ac_ext
4735 echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_CC" >&5
4736 echo "${ECHO_T}$ac_cv_sys_largefile_CC" >&6
4737 if test "$ac_cv_sys_largefile_CC" != no; then
4738 CC=$CC$ac_cv_sys_largefile_CC
4741 echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
4742 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
4743 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
4744 echo $ECHO_N "(cached) $ECHO_C" >&6
4745 else
4746 while :; do
4747 ac_cv_sys_file_offset_bits=no
4748 cat >conftest.$ac_ext <<_ACEOF
4749 /* confdefs.h. */
4750 _ACEOF
4751 cat confdefs.h >>conftest.$ac_ext
4752 cat >>conftest.$ac_ext <<_ACEOF
4753 /* end confdefs.h. */
4754 #include <sys/types.h>
4755 /* Check that off_t can represent 2**63 - 1 correctly.
4756 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4757 since some C++ compilers masquerading as C compilers
4758 incorrectly reject 9223372036854775807. */
4759 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4760 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4761 && LARGE_OFF_T % 2147483647 == 1)
4762 ? 1 : -1];
4764 main ()
4768 return 0;
4770 _ACEOF
4771 rm -f conftest.$ac_objext
4772 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4773 (eval $ac_compile) 2>conftest.er1
4774 ac_status=$?
4775 grep -v '^ *+' conftest.er1 >conftest.err
4776 rm -f conftest.er1
4777 cat conftest.err >&5
4778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4779 (exit $ac_status); } &&
4780 { ac_try='test -z "$ac_c_werror_flag"
4781 || test ! -s conftest.err'
4782 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4783 (eval $ac_try) 2>&5
4784 ac_status=$?
4785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4786 (exit $ac_status); }; } &&
4787 { ac_try='test -s conftest.$ac_objext'
4788 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4789 (eval $ac_try) 2>&5
4790 ac_status=$?
4791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4792 (exit $ac_status); }; }; then
4793 break
4794 else
4795 echo "$as_me: failed program was:" >&5
4796 sed 's/^/| /' conftest.$ac_ext >&5
4799 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4800 cat >conftest.$ac_ext <<_ACEOF
4801 /* confdefs.h. */
4802 _ACEOF
4803 cat confdefs.h >>conftest.$ac_ext
4804 cat >>conftest.$ac_ext <<_ACEOF
4805 /* end confdefs.h. */
4806 #define _FILE_OFFSET_BITS 64
4807 #include <sys/types.h>
4808 /* Check that off_t can represent 2**63 - 1 correctly.
4809 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4810 since some C++ compilers masquerading as C compilers
4811 incorrectly reject 9223372036854775807. */
4812 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4813 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4814 && LARGE_OFF_T % 2147483647 == 1)
4815 ? 1 : -1];
4817 main ()
4821 return 0;
4823 _ACEOF
4824 rm -f conftest.$ac_objext
4825 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4826 (eval $ac_compile) 2>conftest.er1
4827 ac_status=$?
4828 grep -v '^ *+' conftest.er1 >conftest.err
4829 rm -f conftest.er1
4830 cat conftest.err >&5
4831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4832 (exit $ac_status); } &&
4833 { ac_try='test -z "$ac_c_werror_flag"
4834 || test ! -s conftest.err'
4835 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4836 (eval $ac_try) 2>&5
4837 ac_status=$?
4838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4839 (exit $ac_status); }; } &&
4840 { ac_try='test -s conftest.$ac_objext'
4841 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4842 (eval $ac_try) 2>&5
4843 ac_status=$?
4844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4845 (exit $ac_status); }; }; then
4846 ac_cv_sys_file_offset_bits=64; break
4847 else
4848 echo "$as_me: failed program was:" >&5
4849 sed 's/^/| /' conftest.$ac_ext >&5
4852 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4853 break
4854 done
4856 echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
4857 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
4858 if test "$ac_cv_sys_file_offset_bits" != no; then
4860 cat >>confdefs.h <<_ACEOF
4861 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
4862 _ACEOF
4865 rm -f conftest*
4866 echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
4867 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
4868 if test "${ac_cv_sys_large_files+set}" = set; then
4869 echo $ECHO_N "(cached) $ECHO_C" >&6
4870 else
4871 while :; do
4872 ac_cv_sys_large_files=no
4873 cat >conftest.$ac_ext <<_ACEOF
4874 /* confdefs.h. */
4875 _ACEOF
4876 cat confdefs.h >>conftest.$ac_ext
4877 cat >>conftest.$ac_ext <<_ACEOF
4878 /* end confdefs.h. */
4879 #include <sys/types.h>
4880 /* Check that off_t can represent 2**63 - 1 correctly.
4881 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4882 since some C++ compilers masquerading as C compilers
4883 incorrectly reject 9223372036854775807. */
4884 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4885 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4886 && LARGE_OFF_T % 2147483647 == 1)
4887 ? 1 : -1];
4889 main ()
4893 return 0;
4895 _ACEOF
4896 rm -f conftest.$ac_objext
4897 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4898 (eval $ac_compile) 2>conftest.er1
4899 ac_status=$?
4900 grep -v '^ *+' conftest.er1 >conftest.err
4901 rm -f conftest.er1
4902 cat conftest.err >&5
4903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4904 (exit $ac_status); } &&
4905 { ac_try='test -z "$ac_c_werror_flag"
4906 || test ! -s conftest.err'
4907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4908 (eval $ac_try) 2>&5
4909 ac_status=$?
4910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4911 (exit $ac_status); }; } &&
4912 { ac_try='test -s conftest.$ac_objext'
4913 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4914 (eval $ac_try) 2>&5
4915 ac_status=$?
4916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4917 (exit $ac_status); }; }; then
4918 break
4919 else
4920 echo "$as_me: failed program was:" >&5
4921 sed 's/^/| /' conftest.$ac_ext >&5
4924 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4925 cat >conftest.$ac_ext <<_ACEOF
4926 /* confdefs.h. */
4927 _ACEOF
4928 cat confdefs.h >>conftest.$ac_ext
4929 cat >>conftest.$ac_ext <<_ACEOF
4930 /* end confdefs.h. */
4931 #define _LARGE_FILES 1
4932 #include <sys/types.h>
4933 /* Check that off_t can represent 2**63 - 1 correctly.
4934 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4935 since some C++ compilers masquerading as C compilers
4936 incorrectly reject 9223372036854775807. */
4937 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4938 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4939 && LARGE_OFF_T % 2147483647 == 1)
4940 ? 1 : -1];
4942 main ()
4946 return 0;
4948 _ACEOF
4949 rm -f conftest.$ac_objext
4950 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4951 (eval $ac_compile) 2>conftest.er1
4952 ac_status=$?
4953 grep -v '^ *+' conftest.er1 >conftest.err
4954 rm -f conftest.er1
4955 cat conftest.err >&5
4956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4957 (exit $ac_status); } &&
4958 { ac_try='test -z "$ac_c_werror_flag"
4959 || test ! -s conftest.err'
4960 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4961 (eval $ac_try) 2>&5
4962 ac_status=$?
4963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4964 (exit $ac_status); }; } &&
4965 { ac_try='test -s conftest.$ac_objext'
4966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4967 (eval $ac_try) 2>&5
4968 ac_status=$?
4969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4970 (exit $ac_status); }; }; then
4971 ac_cv_sys_large_files=1; break
4972 else
4973 echo "$as_me: failed program was:" >&5
4974 sed 's/^/| /' conftest.$ac_ext >&5
4977 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4978 break
4979 done
4981 echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
4982 echo "${ECHO_T}$ac_cv_sys_large_files" >&6
4983 if test "$ac_cv_sys_large_files" != no; then
4985 cat >>confdefs.h <<_ACEOF
4986 #define _LARGE_FILES $ac_cv_sys_large_files
4987 _ACEOF
4990 rm -f conftest*
4993 ac_ext=c
4994 ac_cpp='$CPP $CPPFLAGS'
4995 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4996 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4997 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4998 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
4999 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
5000 # On Suns, sometimes $CPP names a directory.
5001 if test -n "$CPP" && test -d "$CPP"; then
5002 CPP=
5004 if test -z "$CPP"; then
5005 if test "${ac_cv_prog_CPP+set}" = set; then
5006 echo $ECHO_N "(cached) $ECHO_C" >&6
5007 else
5008 # Double quotes because CPP needs to be expanded
5009 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5011 ac_preproc_ok=false
5012 for ac_c_preproc_warn_flag in '' yes
5014 # Use a header file that comes with gcc, so configuring glibc
5015 # with a fresh cross-compiler works.
5016 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5017 # <limits.h> exists even on freestanding compilers.
5018 # On the NeXT, cc -E runs the code through the compiler's parser,
5019 # not just through cpp. "Syntax error" is here to catch this case.
5020 cat >conftest.$ac_ext <<_ACEOF
5021 /* confdefs.h. */
5022 _ACEOF
5023 cat confdefs.h >>conftest.$ac_ext
5024 cat >>conftest.$ac_ext <<_ACEOF
5025 /* end confdefs.h. */
5026 #ifdef __STDC__
5027 # include <limits.h>
5028 #else
5029 # include <assert.h>
5030 #endif
5031 Syntax error
5032 _ACEOF
5033 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5034 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5035 ac_status=$?
5036 grep -v '^ *+' conftest.er1 >conftest.err
5037 rm -f conftest.er1
5038 cat conftest.err >&5
5039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5040 (exit $ac_status); } >/dev/null; then
5041 if test -s conftest.err; then
5042 ac_cpp_err=$ac_c_preproc_warn_flag
5043 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5044 else
5045 ac_cpp_err=
5047 else
5048 ac_cpp_err=yes
5050 if test -z "$ac_cpp_err"; then
5052 else
5053 echo "$as_me: failed program was:" >&5
5054 sed 's/^/| /' conftest.$ac_ext >&5
5056 # Broken: fails on valid input.
5057 continue
5059 rm -f conftest.err conftest.$ac_ext
5061 # OK, works on sane cases. Now check whether non-existent headers
5062 # can be detected and how.
5063 cat >conftest.$ac_ext <<_ACEOF
5064 /* confdefs.h. */
5065 _ACEOF
5066 cat confdefs.h >>conftest.$ac_ext
5067 cat >>conftest.$ac_ext <<_ACEOF
5068 /* end confdefs.h. */
5069 #include <ac_nonexistent.h>
5070 _ACEOF
5071 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5072 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5073 ac_status=$?
5074 grep -v '^ *+' conftest.er1 >conftest.err
5075 rm -f conftest.er1
5076 cat conftest.err >&5
5077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5078 (exit $ac_status); } >/dev/null; then
5079 if test -s conftest.err; then
5080 ac_cpp_err=$ac_c_preproc_warn_flag
5081 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5082 else
5083 ac_cpp_err=
5085 else
5086 ac_cpp_err=yes
5088 if test -z "$ac_cpp_err"; then
5089 # Broken: success on invalid input.
5090 continue
5091 else
5092 echo "$as_me: failed program was:" >&5
5093 sed 's/^/| /' conftest.$ac_ext >&5
5095 # Passes both tests.
5096 ac_preproc_ok=:
5097 break
5099 rm -f conftest.err conftest.$ac_ext
5101 done
5102 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5103 rm -f conftest.err conftest.$ac_ext
5104 if $ac_preproc_ok; then
5105 break
5108 done
5109 ac_cv_prog_CPP=$CPP
5112 CPP=$ac_cv_prog_CPP
5113 else
5114 ac_cv_prog_CPP=$CPP
5116 echo "$as_me:$LINENO: result: $CPP" >&5
5117 echo "${ECHO_T}$CPP" >&6
5118 ac_preproc_ok=false
5119 for ac_c_preproc_warn_flag in '' yes
5121 # Use a header file that comes with gcc, so configuring glibc
5122 # with a fresh cross-compiler works.
5123 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5124 # <limits.h> exists even on freestanding compilers.
5125 # On the NeXT, cc -E runs the code through the compiler's parser,
5126 # not just through cpp. "Syntax error" is here to catch this case.
5127 cat >conftest.$ac_ext <<_ACEOF
5128 /* confdefs.h. */
5129 _ACEOF
5130 cat confdefs.h >>conftest.$ac_ext
5131 cat >>conftest.$ac_ext <<_ACEOF
5132 /* end confdefs.h. */
5133 #ifdef __STDC__
5134 # include <limits.h>
5135 #else
5136 # include <assert.h>
5137 #endif
5138 Syntax error
5139 _ACEOF
5140 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5141 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5142 ac_status=$?
5143 grep -v '^ *+' conftest.er1 >conftest.err
5144 rm -f conftest.er1
5145 cat conftest.err >&5
5146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5147 (exit $ac_status); } >/dev/null; then
5148 if test -s conftest.err; then
5149 ac_cpp_err=$ac_c_preproc_warn_flag
5150 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5151 else
5152 ac_cpp_err=
5154 else
5155 ac_cpp_err=yes
5157 if test -z "$ac_cpp_err"; then
5159 else
5160 echo "$as_me: failed program was:" >&5
5161 sed 's/^/| /' conftest.$ac_ext >&5
5163 # Broken: fails on valid input.
5164 continue
5166 rm -f conftest.err conftest.$ac_ext
5168 # OK, works on sane cases. Now check whether non-existent headers
5169 # can be detected and how.
5170 cat >conftest.$ac_ext <<_ACEOF
5171 /* confdefs.h. */
5172 _ACEOF
5173 cat confdefs.h >>conftest.$ac_ext
5174 cat >>conftest.$ac_ext <<_ACEOF
5175 /* end confdefs.h. */
5176 #include <ac_nonexistent.h>
5177 _ACEOF
5178 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5179 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5180 ac_status=$?
5181 grep -v '^ *+' conftest.er1 >conftest.err
5182 rm -f conftest.er1
5183 cat conftest.err >&5
5184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5185 (exit $ac_status); } >/dev/null; then
5186 if test -s conftest.err; then
5187 ac_cpp_err=$ac_c_preproc_warn_flag
5188 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5189 else
5190 ac_cpp_err=
5192 else
5193 ac_cpp_err=yes
5195 if test -z "$ac_cpp_err"; then
5196 # Broken: success on invalid input.
5197 continue
5198 else
5199 echo "$as_me: failed program was:" >&5
5200 sed 's/^/| /' conftest.$ac_ext >&5
5202 # Passes both tests.
5203 ac_preproc_ok=:
5204 break
5206 rm -f conftest.err conftest.$ac_ext
5208 done
5209 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5210 rm -f conftest.err conftest.$ac_ext
5211 if $ac_preproc_ok; then
5213 else
5214 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
5215 See \`config.log' for more details." >&5
5216 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
5217 See \`config.log' for more details." >&2;}
5218 { (exit 1); exit 1; }; }
5221 ac_ext=c
5222 ac_cpp='$CPP $CPPFLAGS'
5223 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5224 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5225 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5228 echo "$as_me:$LINENO: checking for egrep" >&5
5229 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
5230 if test "${ac_cv_prog_egrep+set}" = set; then
5231 echo $ECHO_N "(cached) $ECHO_C" >&6
5232 else
5233 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
5234 then ac_cv_prog_egrep='grep -E'
5235 else ac_cv_prog_egrep='egrep'
5238 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
5239 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
5240 EGREP=$ac_cv_prog_egrep
5243 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5244 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
5245 if test "${ac_cv_header_stdc+set}" = set; then
5246 echo $ECHO_N "(cached) $ECHO_C" >&6
5247 else
5248 cat >conftest.$ac_ext <<_ACEOF
5249 /* confdefs.h. */
5250 _ACEOF
5251 cat confdefs.h >>conftest.$ac_ext
5252 cat >>conftest.$ac_ext <<_ACEOF
5253 /* end confdefs.h. */
5254 #include <stdlib.h>
5255 #include <stdarg.h>
5256 #include <string.h>
5257 #include <float.h>
5260 main ()
5264 return 0;
5266 _ACEOF
5267 rm -f conftest.$ac_objext
5268 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5269 (eval $ac_compile) 2>conftest.er1
5270 ac_status=$?
5271 grep -v '^ *+' conftest.er1 >conftest.err
5272 rm -f conftest.er1
5273 cat conftest.err >&5
5274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5275 (exit $ac_status); } &&
5276 { ac_try='test -z "$ac_c_werror_flag"
5277 || test ! -s conftest.err'
5278 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5279 (eval $ac_try) 2>&5
5280 ac_status=$?
5281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5282 (exit $ac_status); }; } &&
5283 { ac_try='test -s conftest.$ac_objext'
5284 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5285 (eval $ac_try) 2>&5
5286 ac_status=$?
5287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5288 (exit $ac_status); }; }; then
5289 ac_cv_header_stdc=yes
5290 else
5291 echo "$as_me: failed program was:" >&5
5292 sed 's/^/| /' conftest.$ac_ext >&5
5294 ac_cv_header_stdc=no
5296 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5298 if test $ac_cv_header_stdc = yes; then
5299 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5300 cat >conftest.$ac_ext <<_ACEOF
5301 /* confdefs.h. */
5302 _ACEOF
5303 cat confdefs.h >>conftest.$ac_ext
5304 cat >>conftest.$ac_ext <<_ACEOF
5305 /* end confdefs.h. */
5306 #include <string.h>
5308 _ACEOF
5309 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5310 $EGREP "memchr" >/dev/null 2>&1; then
5312 else
5313 ac_cv_header_stdc=no
5315 rm -f conftest*
5319 if test $ac_cv_header_stdc = yes; then
5320 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5321 cat >conftest.$ac_ext <<_ACEOF
5322 /* confdefs.h. */
5323 _ACEOF
5324 cat confdefs.h >>conftest.$ac_ext
5325 cat >>conftest.$ac_ext <<_ACEOF
5326 /* end confdefs.h. */
5327 #include <stdlib.h>
5329 _ACEOF
5330 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5331 $EGREP "free" >/dev/null 2>&1; then
5333 else
5334 ac_cv_header_stdc=no
5336 rm -f conftest*
5340 if test $ac_cv_header_stdc = yes; then
5341 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5342 if test "$cross_compiling" = yes; then
5344 else
5345 cat >conftest.$ac_ext <<_ACEOF
5346 /* confdefs.h. */
5347 _ACEOF
5348 cat confdefs.h >>conftest.$ac_ext
5349 cat >>conftest.$ac_ext <<_ACEOF
5350 /* end confdefs.h. */
5351 #include <ctype.h>
5352 #if ((' ' & 0x0FF) == 0x020)
5353 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5354 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5355 #else
5356 # define ISLOWER(c) \
5357 (('a' <= (c) && (c) <= 'i') \
5358 || ('j' <= (c) && (c) <= 'r') \
5359 || ('s' <= (c) && (c) <= 'z'))
5360 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5361 #endif
5363 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5365 main ()
5367 int i;
5368 for (i = 0; i < 256; i++)
5369 if (XOR (islower (i), ISLOWER (i))
5370 || toupper (i) != TOUPPER (i))
5371 exit(2);
5372 exit (0);
5374 _ACEOF
5375 rm -f conftest$ac_exeext
5376 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5377 (eval $ac_link) 2>&5
5378 ac_status=$?
5379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5380 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5381 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5382 (eval $ac_try) 2>&5
5383 ac_status=$?
5384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5385 (exit $ac_status); }; }; then
5387 else
5388 echo "$as_me: program exited with status $ac_status" >&5
5389 echo "$as_me: failed program was:" >&5
5390 sed 's/^/| /' conftest.$ac_ext >&5
5392 ( exit $ac_status )
5393 ac_cv_header_stdc=no
5395 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5399 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5400 echo "${ECHO_T}$ac_cv_header_stdc" >&6
5401 if test $ac_cv_header_stdc = yes; then
5403 cat >>confdefs.h <<\_ACEOF
5404 #define STDC_HEADERS 1
5405 _ACEOF
5409 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5419 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5420 inttypes.h stdint.h unistd.h
5422 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5423 echo "$as_me:$LINENO: checking for $ac_header" >&5
5424 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5425 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5426 echo $ECHO_N "(cached) $ECHO_C" >&6
5427 else
5428 cat >conftest.$ac_ext <<_ACEOF
5429 /* confdefs.h. */
5430 _ACEOF
5431 cat confdefs.h >>conftest.$ac_ext
5432 cat >>conftest.$ac_ext <<_ACEOF
5433 /* end confdefs.h. */
5434 $ac_includes_default
5436 #include <$ac_header>
5437 _ACEOF
5438 rm -f conftest.$ac_objext
5439 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5440 (eval $ac_compile) 2>conftest.er1
5441 ac_status=$?
5442 grep -v '^ *+' conftest.er1 >conftest.err
5443 rm -f conftest.er1
5444 cat conftest.err >&5
5445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5446 (exit $ac_status); } &&
5447 { ac_try='test -z "$ac_c_werror_flag"
5448 || test ! -s conftest.err'
5449 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5450 (eval $ac_try) 2>&5
5451 ac_status=$?
5452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5453 (exit $ac_status); }; } &&
5454 { ac_try='test -s conftest.$ac_objext'
5455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5456 (eval $ac_try) 2>&5
5457 ac_status=$?
5458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5459 (exit $ac_status); }; }; then
5460 eval "$as_ac_Header=yes"
5461 else
5462 echo "$as_me: failed program was:" >&5
5463 sed 's/^/| /' conftest.$ac_ext >&5
5465 eval "$as_ac_Header=no"
5467 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5469 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5470 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5471 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5472 cat >>confdefs.h <<_ACEOF
5473 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5474 _ACEOF
5478 done
5483 for ac_header in stdlib.h unistd.h
5485 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5486 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5487 echo "$as_me:$LINENO: checking for $ac_header" >&5
5488 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5489 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5490 echo $ECHO_N "(cached) $ECHO_C" >&6
5492 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5493 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5494 else
5495 # Is the header compilable?
5496 echo "$as_me:$LINENO: checking $ac_header usability" >&5
5497 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5498 cat >conftest.$ac_ext <<_ACEOF
5499 /* confdefs.h. */
5500 _ACEOF
5501 cat confdefs.h >>conftest.$ac_ext
5502 cat >>conftest.$ac_ext <<_ACEOF
5503 /* end confdefs.h. */
5504 $ac_includes_default
5505 #include <$ac_header>
5506 _ACEOF
5507 rm -f conftest.$ac_objext
5508 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5509 (eval $ac_compile) 2>conftest.er1
5510 ac_status=$?
5511 grep -v '^ *+' conftest.er1 >conftest.err
5512 rm -f conftest.er1
5513 cat conftest.err >&5
5514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5515 (exit $ac_status); } &&
5516 { ac_try='test -z "$ac_c_werror_flag"
5517 || test ! -s conftest.err'
5518 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5519 (eval $ac_try) 2>&5
5520 ac_status=$?
5521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5522 (exit $ac_status); }; } &&
5523 { ac_try='test -s conftest.$ac_objext'
5524 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5525 (eval $ac_try) 2>&5
5526 ac_status=$?
5527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5528 (exit $ac_status); }; }; then
5529 ac_header_compiler=yes
5530 else
5531 echo "$as_me: failed program was:" >&5
5532 sed 's/^/| /' conftest.$ac_ext >&5
5534 ac_header_compiler=no
5536 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5537 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5538 echo "${ECHO_T}$ac_header_compiler" >&6
5540 # Is the header present?
5541 echo "$as_me:$LINENO: checking $ac_header presence" >&5
5542 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5543 cat >conftest.$ac_ext <<_ACEOF
5544 /* confdefs.h. */
5545 _ACEOF
5546 cat confdefs.h >>conftest.$ac_ext
5547 cat >>conftest.$ac_ext <<_ACEOF
5548 /* end confdefs.h. */
5549 #include <$ac_header>
5550 _ACEOF
5551 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5552 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5553 ac_status=$?
5554 grep -v '^ *+' conftest.er1 >conftest.err
5555 rm -f conftest.er1
5556 cat conftest.err >&5
5557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5558 (exit $ac_status); } >/dev/null; then
5559 if test -s conftest.err; then
5560 ac_cpp_err=$ac_c_preproc_warn_flag
5561 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5562 else
5563 ac_cpp_err=
5565 else
5566 ac_cpp_err=yes
5568 if test -z "$ac_cpp_err"; then
5569 ac_header_preproc=yes
5570 else
5571 echo "$as_me: failed program was:" >&5
5572 sed 's/^/| /' conftest.$ac_ext >&5
5574 ac_header_preproc=no
5576 rm -f conftest.err conftest.$ac_ext
5577 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5578 echo "${ECHO_T}$ac_header_preproc" >&6
5580 # So? What about this header?
5581 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5582 yes:no: )
5583 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5584 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5585 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5586 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5587 ac_header_preproc=yes
5589 no:yes:* )
5590 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5591 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5592 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5593 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5594 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5595 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5596 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5597 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5598 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5599 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5600 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5601 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5603 cat <<\_ASBOX
5604 ## ------------------------------------------------------ ##
5605 ## Report this to the GNU Fortran Runtime Library lists. ##
5606 ## ------------------------------------------------------ ##
5607 _ASBOX
5609 sed "s/^/$as_me: WARNING: /" >&2
5611 esac
5612 echo "$as_me:$LINENO: checking for $ac_header" >&5
5613 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5614 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5615 echo $ECHO_N "(cached) $ECHO_C" >&6
5616 else
5617 eval "$as_ac_Header=\$ac_header_preproc"
5619 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5620 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5623 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5624 cat >>confdefs.h <<_ACEOF
5625 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5626 _ACEOF
5630 done
5633 for ac_func in getpagesize
5635 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5636 echo "$as_me:$LINENO: checking for $ac_func" >&5
5637 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
5638 if eval "test \"\${$as_ac_var+set}\" = set"; then
5639 echo $ECHO_N "(cached) $ECHO_C" >&6
5640 else
5641 cat >conftest.$ac_ext <<_ACEOF
5642 /* confdefs.h. */
5643 _ACEOF
5644 cat confdefs.h >>conftest.$ac_ext
5645 cat >>conftest.$ac_ext <<_ACEOF
5646 /* end confdefs.h. */
5647 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
5648 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5649 #define $ac_func innocuous_$ac_func
5651 /* System header to define __stub macros and hopefully few prototypes,
5652 which can conflict with char $ac_func (); below.
5653 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5654 <limits.h> exists even on freestanding compilers. */
5656 #ifdef __STDC__
5657 # include <limits.h>
5658 #else
5659 # include <assert.h>
5660 #endif
5662 #undef $ac_func
5664 /* Override any gcc2 internal prototype to avoid an error. */
5665 #ifdef __cplusplus
5666 extern "C"
5668 #endif
5669 /* We use char because int might match the return type of a gcc2
5670 builtin and then its argument prototype would still apply. */
5671 char $ac_func ();
5672 /* The GNU C library defines this for functions which it implements
5673 to always fail with ENOSYS. Some functions are actually named
5674 something starting with __ and the normal name is an alias. */
5675 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5676 choke me
5677 #else
5678 char (*f) () = $ac_func;
5679 #endif
5680 #ifdef __cplusplus
5682 #endif
5685 main ()
5687 return f != $ac_func;
5689 return 0;
5691 _ACEOF
5692 rm -f conftest.$ac_objext conftest$ac_exeext
5693 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5694 (eval $ac_link) 2>conftest.er1
5695 ac_status=$?
5696 grep -v '^ *+' conftest.er1 >conftest.err
5697 rm -f conftest.er1
5698 cat conftest.err >&5
5699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5700 (exit $ac_status); } &&
5701 { ac_try='test -z "$ac_c_werror_flag"
5702 || test ! -s conftest.err'
5703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5704 (eval $ac_try) 2>&5
5705 ac_status=$?
5706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5707 (exit $ac_status); }; } &&
5708 { ac_try='test -s conftest$ac_exeext'
5709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5710 (eval $ac_try) 2>&5
5711 ac_status=$?
5712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5713 (exit $ac_status); }; }; then
5714 eval "$as_ac_var=yes"
5715 else
5716 echo "$as_me: failed program was:" >&5
5717 sed 's/^/| /' conftest.$ac_ext >&5
5719 eval "$as_ac_var=no"
5721 rm -f conftest.err conftest.$ac_objext \
5722 conftest$ac_exeext conftest.$ac_ext
5724 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
5725 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
5726 if test `eval echo '${'$as_ac_var'}'` = yes; then
5727 cat >>confdefs.h <<_ACEOF
5728 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5729 _ACEOF
5732 done
5734 echo "$as_me:$LINENO: checking for working mmap" >&5
5735 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
5736 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
5737 echo $ECHO_N "(cached) $ECHO_C" >&6
5738 else
5739 if test "$cross_compiling" = yes; then
5740 ac_cv_func_mmap_fixed_mapped=no
5741 else
5742 cat >conftest.$ac_ext <<_ACEOF
5743 /* confdefs.h. */
5744 _ACEOF
5745 cat confdefs.h >>conftest.$ac_ext
5746 cat >>conftest.$ac_ext <<_ACEOF
5747 /* end confdefs.h. */
5748 $ac_includes_default
5749 /* malloc might have been renamed as rpl_malloc. */
5750 #undef malloc
5752 /* Thanks to Mike Haertel and Jim Avera for this test.
5753 Here is a matrix of mmap possibilities:
5754 mmap private not fixed
5755 mmap private fixed at somewhere currently unmapped
5756 mmap private fixed at somewhere already mapped
5757 mmap shared not fixed
5758 mmap shared fixed at somewhere currently unmapped
5759 mmap shared fixed at somewhere already mapped
5760 For private mappings, we should verify that changes cannot be read()
5761 back from the file, nor mmap's back from the file at a different
5762 address. (There have been systems where private was not correctly
5763 implemented like the infamous i386 svr4.0, and systems where the
5764 VM page cache was not coherent with the file system buffer cache
5765 like early versions of FreeBSD and possibly contemporary NetBSD.)
5766 For shared mappings, we should conversely verify that changes get
5767 propagated back to all the places they're supposed to be.
5769 Grep wants private fixed already mapped.
5770 The main things grep needs to know about mmap are:
5771 * does it exist and is it safe to write into the mmap'd area
5772 * how to use it (BSD variants) */
5774 #include <fcntl.h>
5775 #include <sys/mman.h>
5777 #if !STDC_HEADERS && !HAVE_STDLIB_H
5778 char *malloc ();
5779 #endif
5781 /* This mess was copied from the GNU getpagesize.h. */
5782 #if !HAVE_GETPAGESIZE
5783 /* Assume that all systems that can run configure have sys/param.h. */
5784 # if !HAVE_SYS_PARAM_H
5785 # define HAVE_SYS_PARAM_H 1
5786 # endif
5788 # ifdef _SC_PAGESIZE
5789 # define getpagesize() sysconf(_SC_PAGESIZE)
5790 # else /* no _SC_PAGESIZE */
5791 # if HAVE_SYS_PARAM_H
5792 # include <sys/param.h>
5793 # ifdef EXEC_PAGESIZE
5794 # define getpagesize() EXEC_PAGESIZE
5795 # else /* no EXEC_PAGESIZE */
5796 # ifdef NBPG
5797 # define getpagesize() NBPG * CLSIZE
5798 # ifndef CLSIZE
5799 # define CLSIZE 1
5800 # endif /* no CLSIZE */
5801 # else /* no NBPG */
5802 # ifdef NBPC
5803 # define getpagesize() NBPC
5804 # else /* no NBPC */
5805 # ifdef PAGESIZE
5806 # define getpagesize() PAGESIZE
5807 # endif /* PAGESIZE */
5808 # endif /* no NBPC */
5809 # endif /* no NBPG */
5810 # endif /* no EXEC_PAGESIZE */
5811 # else /* no HAVE_SYS_PARAM_H */
5812 # define getpagesize() 8192 /* punt totally */
5813 # endif /* no HAVE_SYS_PARAM_H */
5814 # endif /* no _SC_PAGESIZE */
5816 #endif /* no HAVE_GETPAGESIZE */
5819 main ()
5821 char *data, *data2, *data3;
5822 int i, pagesize;
5823 int fd;
5825 pagesize = getpagesize ();
5827 /* First, make a file with some known garbage in it. */
5828 data = (char *) malloc (pagesize);
5829 if (!data)
5830 exit (1);
5831 for (i = 0; i < pagesize; ++i)
5832 *(data + i) = rand ();
5833 umask (0);
5834 fd = creat ("conftest.mmap", 0600);
5835 if (fd < 0)
5836 exit (1);
5837 if (write (fd, data, pagesize) != pagesize)
5838 exit (1);
5839 close (fd);
5841 /* Next, try to mmap the file at a fixed address which already has
5842 something else allocated at it. If we can, also make sure that
5843 we see the same garbage. */
5844 fd = open ("conftest.mmap", O_RDWR);
5845 if (fd < 0)
5846 exit (1);
5847 data2 = (char *) malloc (2 * pagesize);
5848 if (!data2)
5849 exit (1);
5850 data2 += (pagesize - ((long) data2 & (pagesize - 1))) & (pagesize - 1);
5851 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
5852 MAP_PRIVATE | MAP_FIXED, fd, 0L))
5853 exit (1);
5854 for (i = 0; i < pagesize; ++i)
5855 if (*(data + i) != *(data2 + i))
5856 exit (1);
5858 /* Finally, make sure that changes to the mapped area do not
5859 percolate back to the file as seen by read(). (This is a bug on
5860 some variants of i386 svr4.0.) */
5861 for (i = 0; i < pagesize; ++i)
5862 *(data2 + i) = *(data2 + i) + 1;
5863 data3 = (char *) malloc (pagesize);
5864 if (!data3)
5865 exit (1);
5866 if (read (fd, data3, pagesize) != pagesize)
5867 exit (1);
5868 for (i = 0; i < pagesize; ++i)
5869 if (*(data + i) != *(data3 + i))
5870 exit (1);
5871 close (fd);
5872 exit (0);
5874 _ACEOF
5875 rm -f conftest$ac_exeext
5876 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5877 (eval $ac_link) 2>&5
5878 ac_status=$?
5879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5880 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5881 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5882 (eval $ac_try) 2>&5
5883 ac_status=$?
5884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5885 (exit $ac_status); }; }; then
5886 ac_cv_func_mmap_fixed_mapped=yes
5887 else
5888 echo "$as_me: program exited with status $ac_status" >&5
5889 echo "$as_me: failed program was:" >&5
5890 sed 's/^/| /' conftest.$ac_ext >&5
5892 ( exit $ac_status )
5893 ac_cv_func_mmap_fixed_mapped=no
5895 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5898 echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
5899 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
5900 if test $ac_cv_func_mmap_fixed_mapped = yes; then
5902 cat >>confdefs.h <<\_ACEOF
5903 #define HAVE_MMAP 1
5904 _ACEOF
5907 rm -f conftest.mmap
5909 echo "$as_me:$LINENO: checking for off_t" >&5
5910 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
5911 if test "${ac_cv_type_off_t+set}" = set; then
5912 echo $ECHO_N "(cached) $ECHO_C" >&6
5913 else
5914 cat >conftest.$ac_ext <<_ACEOF
5915 /* confdefs.h. */
5916 _ACEOF
5917 cat confdefs.h >>conftest.$ac_ext
5918 cat >>conftest.$ac_ext <<_ACEOF
5919 /* end confdefs.h. */
5920 $ac_includes_default
5922 main ()
5924 if ((off_t *) 0)
5925 return 0;
5926 if (sizeof (off_t))
5927 return 0;
5929 return 0;
5931 _ACEOF
5932 rm -f conftest.$ac_objext
5933 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5934 (eval $ac_compile) 2>conftest.er1
5935 ac_status=$?
5936 grep -v '^ *+' conftest.er1 >conftest.err
5937 rm -f conftest.er1
5938 cat conftest.err >&5
5939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5940 (exit $ac_status); } &&
5941 { ac_try='test -z "$ac_c_werror_flag"
5942 || test ! -s conftest.err'
5943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5944 (eval $ac_try) 2>&5
5945 ac_status=$?
5946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5947 (exit $ac_status); }; } &&
5948 { ac_try='test -s conftest.$ac_objext'
5949 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5950 (eval $ac_try) 2>&5
5951 ac_status=$?
5952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5953 (exit $ac_status); }; }; then
5954 ac_cv_type_off_t=yes
5955 else
5956 echo "$as_me: failed program was:" >&5
5957 sed 's/^/| /' conftest.$ac_ext >&5
5959 ac_cv_type_off_t=no
5961 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5963 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
5964 echo "${ECHO_T}$ac_cv_type_off_t" >&6
5965 if test $ac_cv_type_off_t = yes; then
5967 else
5969 cat >>confdefs.h <<_ACEOF
5970 #define off_t long
5971 _ACEOF
5976 # check header files
5977 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5978 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
5979 if test "${ac_cv_header_stdc+set}" = set; then
5980 echo $ECHO_N "(cached) $ECHO_C" >&6
5981 else
5982 cat >conftest.$ac_ext <<_ACEOF
5983 /* confdefs.h. */
5984 _ACEOF
5985 cat confdefs.h >>conftest.$ac_ext
5986 cat >>conftest.$ac_ext <<_ACEOF
5987 /* end confdefs.h. */
5988 #include <stdlib.h>
5989 #include <stdarg.h>
5990 #include <string.h>
5991 #include <float.h>
5994 main ()
5998 return 0;
6000 _ACEOF
6001 rm -f conftest.$ac_objext
6002 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6003 (eval $ac_compile) 2>conftest.er1
6004 ac_status=$?
6005 grep -v '^ *+' conftest.er1 >conftest.err
6006 rm -f conftest.er1
6007 cat conftest.err >&5
6008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6009 (exit $ac_status); } &&
6010 { ac_try='test -z "$ac_c_werror_flag"
6011 || test ! -s conftest.err'
6012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6013 (eval $ac_try) 2>&5
6014 ac_status=$?
6015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6016 (exit $ac_status); }; } &&
6017 { ac_try='test -s conftest.$ac_objext'
6018 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6019 (eval $ac_try) 2>&5
6020 ac_status=$?
6021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6022 (exit $ac_status); }; }; then
6023 ac_cv_header_stdc=yes
6024 else
6025 echo "$as_me: failed program was:" >&5
6026 sed 's/^/| /' conftest.$ac_ext >&5
6028 ac_cv_header_stdc=no
6030 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6032 if test $ac_cv_header_stdc = yes; then
6033 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6034 cat >conftest.$ac_ext <<_ACEOF
6035 /* confdefs.h. */
6036 _ACEOF
6037 cat confdefs.h >>conftest.$ac_ext
6038 cat >>conftest.$ac_ext <<_ACEOF
6039 /* end confdefs.h. */
6040 #include <string.h>
6042 _ACEOF
6043 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6044 $EGREP "memchr" >/dev/null 2>&1; then
6046 else
6047 ac_cv_header_stdc=no
6049 rm -f conftest*
6053 if test $ac_cv_header_stdc = yes; then
6054 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6055 cat >conftest.$ac_ext <<_ACEOF
6056 /* confdefs.h. */
6057 _ACEOF
6058 cat confdefs.h >>conftest.$ac_ext
6059 cat >>conftest.$ac_ext <<_ACEOF
6060 /* end confdefs.h. */
6061 #include <stdlib.h>
6063 _ACEOF
6064 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6065 $EGREP "free" >/dev/null 2>&1; then
6067 else
6068 ac_cv_header_stdc=no
6070 rm -f conftest*
6074 if test $ac_cv_header_stdc = yes; then
6075 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6076 if test "$cross_compiling" = yes; then
6078 else
6079 cat >conftest.$ac_ext <<_ACEOF
6080 /* confdefs.h. */
6081 _ACEOF
6082 cat confdefs.h >>conftest.$ac_ext
6083 cat >>conftest.$ac_ext <<_ACEOF
6084 /* end confdefs.h. */
6085 #include <ctype.h>
6086 #if ((' ' & 0x0FF) == 0x020)
6087 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6088 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6089 #else
6090 # define ISLOWER(c) \
6091 (('a' <= (c) && (c) <= 'i') \
6092 || ('j' <= (c) && (c) <= 'r') \
6093 || ('s' <= (c) && (c) <= 'z'))
6094 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6095 #endif
6097 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6099 main ()
6101 int i;
6102 for (i = 0; i < 256; i++)
6103 if (XOR (islower (i), ISLOWER (i))
6104 || toupper (i) != TOUPPER (i))
6105 exit(2);
6106 exit (0);
6108 _ACEOF
6109 rm -f conftest$ac_exeext
6110 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6111 (eval $ac_link) 2>&5
6112 ac_status=$?
6113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6114 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6115 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6116 (eval $ac_try) 2>&5
6117 ac_status=$?
6118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6119 (exit $ac_status); }; }; then
6121 else
6122 echo "$as_me: program exited with status $ac_status" >&5
6123 echo "$as_me: failed program was:" >&5
6124 sed 's/^/| /' conftest.$ac_ext >&5
6126 ( exit $ac_status )
6127 ac_cv_header_stdc=no
6129 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6133 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
6134 echo "${ECHO_T}$ac_cv_header_stdc" >&6
6135 if test $ac_cv_header_stdc = yes; then
6137 cat >>confdefs.h <<\_ACEOF
6138 #define STDC_HEADERS 1
6139 _ACEOF
6150 for ac_header in stdlib.h stdio.h string.h stddef.h math.h unistd.h signal.h
6152 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6153 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6154 echo "$as_me:$LINENO: checking for $ac_header" >&5
6155 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6156 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6157 echo $ECHO_N "(cached) $ECHO_C" >&6
6159 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6160 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6161 else
6162 # Is the header compilable?
6163 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6164 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6165 cat >conftest.$ac_ext <<_ACEOF
6166 /* confdefs.h. */
6167 _ACEOF
6168 cat confdefs.h >>conftest.$ac_ext
6169 cat >>conftest.$ac_ext <<_ACEOF
6170 /* end confdefs.h. */
6171 $ac_includes_default
6172 #include <$ac_header>
6173 _ACEOF
6174 rm -f conftest.$ac_objext
6175 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6176 (eval $ac_compile) 2>conftest.er1
6177 ac_status=$?
6178 grep -v '^ *+' conftest.er1 >conftest.err
6179 rm -f conftest.er1
6180 cat conftest.err >&5
6181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6182 (exit $ac_status); } &&
6183 { ac_try='test -z "$ac_c_werror_flag"
6184 || test ! -s conftest.err'
6185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6186 (eval $ac_try) 2>&5
6187 ac_status=$?
6188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6189 (exit $ac_status); }; } &&
6190 { ac_try='test -s conftest.$ac_objext'
6191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6192 (eval $ac_try) 2>&5
6193 ac_status=$?
6194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6195 (exit $ac_status); }; }; then
6196 ac_header_compiler=yes
6197 else
6198 echo "$as_me: failed program was:" >&5
6199 sed 's/^/| /' conftest.$ac_ext >&5
6201 ac_header_compiler=no
6203 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6204 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6205 echo "${ECHO_T}$ac_header_compiler" >&6
6207 # Is the header present?
6208 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6209 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6210 cat >conftest.$ac_ext <<_ACEOF
6211 /* confdefs.h. */
6212 _ACEOF
6213 cat confdefs.h >>conftest.$ac_ext
6214 cat >>conftest.$ac_ext <<_ACEOF
6215 /* end confdefs.h. */
6216 #include <$ac_header>
6217 _ACEOF
6218 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6219 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6220 ac_status=$?
6221 grep -v '^ *+' conftest.er1 >conftest.err
6222 rm -f conftest.er1
6223 cat conftest.err >&5
6224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6225 (exit $ac_status); } >/dev/null; then
6226 if test -s conftest.err; then
6227 ac_cpp_err=$ac_c_preproc_warn_flag
6228 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6229 else
6230 ac_cpp_err=
6232 else
6233 ac_cpp_err=yes
6235 if test -z "$ac_cpp_err"; then
6236 ac_header_preproc=yes
6237 else
6238 echo "$as_me: failed program was:" >&5
6239 sed 's/^/| /' conftest.$ac_ext >&5
6241 ac_header_preproc=no
6243 rm -f conftest.err conftest.$ac_ext
6244 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6245 echo "${ECHO_T}$ac_header_preproc" >&6
6247 # So? What about this header?
6248 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6249 yes:no: )
6250 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6251 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6252 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6253 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6254 ac_header_preproc=yes
6256 no:yes:* )
6257 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6258 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6259 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6260 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6261 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6262 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6263 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6264 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6265 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6266 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6267 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6268 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6270 cat <<\_ASBOX
6271 ## ------------------------------------------------------ ##
6272 ## Report this to the GNU Fortran Runtime Library lists. ##
6273 ## ------------------------------------------------------ ##
6274 _ASBOX
6276 sed "s/^/$as_me: WARNING: /" >&2
6278 esac
6279 echo "$as_me:$LINENO: checking for $ac_header" >&5
6280 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6281 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6282 echo $ECHO_N "(cached) $ECHO_C" >&6
6283 else
6284 eval "$as_ac_Header=\$ac_header_preproc"
6286 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6287 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6290 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6291 cat >>confdefs.h <<_ACEOF
6292 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6293 _ACEOF
6297 done
6304 for ac_header in time.h sys/params.h sys/time.h sys/times.h sys/resource.h
6306 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6307 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6308 echo "$as_me:$LINENO: checking for $ac_header" >&5
6309 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6310 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6311 echo $ECHO_N "(cached) $ECHO_C" >&6
6313 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6314 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6315 else
6316 # Is the header compilable?
6317 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6318 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6319 cat >conftest.$ac_ext <<_ACEOF
6320 /* confdefs.h. */
6321 _ACEOF
6322 cat confdefs.h >>conftest.$ac_ext
6323 cat >>conftest.$ac_ext <<_ACEOF
6324 /* end confdefs.h. */
6325 $ac_includes_default
6326 #include <$ac_header>
6327 _ACEOF
6328 rm -f conftest.$ac_objext
6329 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6330 (eval $ac_compile) 2>conftest.er1
6331 ac_status=$?
6332 grep -v '^ *+' conftest.er1 >conftest.err
6333 rm -f conftest.er1
6334 cat conftest.err >&5
6335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6336 (exit $ac_status); } &&
6337 { ac_try='test -z "$ac_c_werror_flag"
6338 || test ! -s conftest.err'
6339 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6340 (eval $ac_try) 2>&5
6341 ac_status=$?
6342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6343 (exit $ac_status); }; } &&
6344 { ac_try='test -s conftest.$ac_objext'
6345 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6346 (eval $ac_try) 2>&5
6347 ac_status=$?
6348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6349 (exit $ac_status); }; }; then
6350 ac_header_compiler=yes
6351 else
6352 echo "$as_me: failed program was:" >&5
6353 sed 's/^/| /' conftest.$ac_ext >&5
6355 ac_header_compiler=no
6357 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6358 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6359 echo "${ECHO_T}$ac_header_compiler" >&6
6361 # Is the header present?
6362 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6363 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6364 cat >conftest.$ac_ext <<_ACEOF
6365 /* confdefs.h. */
6366 _ACEOF
6367 cat confdefs.h >>conftest.$ac_ext
6368 cat >>conftest.$ac_ext <<_ACEOF
6369 /* end confdefs.h. */
6370 #include <$ac_header>
6371 _ACEOF
6372 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6373 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6374 ac_status=$?
6375 grep -v '^ *+' conftest.er1 >conftest.err
6376 rm -f conftest.er1
6377 cat conftest.err >&5
6378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6379 (exit $ac_status); } >/dev/null; then
6380 if test -s conftest.err; then
6381 ac_cpp_err=$ac_c_preproc_warn_flag
6382 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6383 else
6384 ac_cpp_err=
6386 else
6387 ac_cpp_err=yes
6389 if test -z "$ac_cpp_err"; then
6390 ac_header_preproc=yes
6391 else
6392 echo "$as_me: failed program was:" >&5
6393 sed 's/^/| /' conftest.$ac_ext >&5
6395 ac_header_preproc=no
6397 rm -f conftest.err conftest.$ac_ext
6398 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6399 echo "${ECHO_T}$ac_header_preproc" >&6
6401 # So? What about this header?
6402 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6403 yes:no: )
6404 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6405 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6406 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6407 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6408 ac_header_preproc=yes
6410 no:yes:* )
6411 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6412 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6413 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6414 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6415 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6416 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6417 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6418 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6419 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6420 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6421 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6422 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6424 cat <<\_ASBOX
6425 ## ------------------------------------------------------ ##
6426 ## Report this to the GNU Fortran Runtime Library lists. ##
6427 ## ------------------------------------------------------ ##
6428 _ASBOX
6430 sed "s/^/$as_me: WARNING: /" >&2
6432 esac
6433 echo "$as_me:$LINENO: checking for $ac_header" >&5
6434 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6435 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6436 echo $ECHO_N "(cached) $ECHO_C" >&6
6437 else
6438 eval "$as_ac_Header=\$ac_header_preproc"
6440 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6441 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6444 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6445 cat >>confdefs.h <<_ACEOF
6446 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6447 _ACEOF
6451 done
6457 for ac_header in sys/mman.h sys/types.h sys/stat.h ieeefp.h
6459 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6460 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6461 echo "$as_me:$LINENO: checking for $ac_header" >&5
6462 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6463 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6464 echo $ECHO_N "(cached) $ECHO_C" >&6
6466 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6467 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6468 else
6469 # Is the header compilable?
6470 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6471 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6472 cat >conftest.$ac_ext <<_ACEOF
6473 /* confdefs.h. */
6474 _ACEOF
6475 cat confdefs.h >>conftest.$ac_ext
6476 cat >>conftest.$ac_ext <<_ACEOF
6477 /* end confdefs.h. */
6478 $ac_includes_default
6479 #include <$ac_header>
6480 _ACEOF
6481 rm -f conftest.$ac_objext
6482 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6483 (eval $ac_compile) 2>conftest.er1
6484 ac_status=$?
6485 grep -v '^ *+' conftest.er1 >conftest.err
6486 rm -f conftest.er1
6487 cat conftest.err >&5
6488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6489 (exit $ac_status); } &&
6490 { ac_try='test -z "$ac_c_werror_flag"
6491 || test ! -s conftest.err'
6492 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6493 (eval $ac_try) 2>&5
6494 ac_status=$?
6495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6496 (exit $ac_status); }; } &&
6497 { ac_try='test -s conftest.$ac_objext'
6498 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6499 (eval $ac_try) 2>&5
6500 ac_status=$?
6501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6502 (exit $ac_status); }; }; then
6503 ac_header_compiler=yes
6504 else
6505 echo "$as_me: failed program was:" >&5
6506 sed 's/^/| /' conftest.$ac_ext >&5
6508 ac_header_compiler=no
6510 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6511 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6512 echo "${ECHO_T}$ac_header_compiler" >&6
6514 # Is the header present?
6515 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6516 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6517 cat >conftest.$ac_ext <<_ACEOF
6518 /* confdefs.h. */
6519 _ACEOF
6520 cat confdefs.h >>conftest.$ac_ext
6521 cat >>conftest.$ac_ext <<_ACEOF
6522 /* end confdefs.h. */
6523 #include <$ac_header>
6524 _ACEOF
6525 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6526 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6527 ac_status=$?
6528 grep -v '^ *+' conftest.er1 >conftest.err
6529 rm -f conftest.er1
6530 cat conftest.err >&5
6531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6532 (exit $ac_status); } >/dev/null; then
6533 if test -s conftest.err; then
6534 ac_cpp_err=$ac_c_preproc_warn_flag
6535 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6536 else
6537 ac_cpp_err=
6539 else
6540 ac_cpp_err=yes
6542 if test -z "$ac_cpp_err"; then
6543 ac_header_preproc=yes
6544 else
6545 echo "$as_me: failed program was:" >&5
6546 sed 's/^/| /' conftest.$ac_ext >&5
6548 ac_header_preproc=no
6550 rm -f conftest.err conftest.$ac_ext
6551 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6552 echo "${ECHO_T}$ac_header_preproc" >&6
6554 # So? What about this header?
6555 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6556 yes:no: )
6557 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6558 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6559 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6560 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6561 ac_header_preproc=yes
6563 no:yes:* )
6564 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6565 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6566 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6567 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6568 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6569 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6570 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6571 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6572 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6573 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6574 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6575 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6577 cat <<\_ASBOX
6578 ## ------------------------------------------------------ ##
6579 ## Report this to the GNU Fortran Runtime Library lists. ##
6580 ## ------------------------------------------------------ ##
6581 _ASBOX
6583 sed "s/^/$as_me: WARNING: /" >&2
6585 esac
6586 echo "$as_me:$LINENO: checking for $ac_header" >&5
6587 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6588 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6589 echo $ECHO_N "(cached) $ECHO_C" >&6
6590 else
6591 eval "$as_ac_Header=\$ac_header_preproc"
6593 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6594 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6597 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6598 cat >>confdefs.h <<_ACEOF
6599 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6600 _ACEOF
6604 done
6606 if test "${ac_cv_header_complex_h+set}" = set; then
6607 echo "$as_me:$LINENO: checking for complex.h" >&5
6608 echo $ECHO_N "checking for complex.h... $ECHO_C" >&6
6609 if test "${ac_cv_header_complex_h+set}" = set; then
6610 echo $ECHO_N "(cached) $ECHO_C" >&6
6612 echo "$as_me:$LINENO: result: $ac_cv_header_complex_h" >&5
6613 echo "${ECHO_T}$ac_cv_header_complex_h" >&6
6614 else
6615 # Is the header compilable?
6616 echo "$as_me:$LINENO: checking complex.h usability" >&5
6617 echo $ECHO_N "checking complex.h usability... $ECHO_C" >&6
6618 cat >conftest.$ac_ext <<_ACEOF
6619 /* confdefs.h. */
6620 _ACEOF
6621 cat confdefs.h >>conftest.$ac_ext
6622 cat >>conftest.$ac_ext <<_ACEOF
6623 /* end confdefs.h. */
6624 $ac_includes_default
6625 #include <complex.h>
6626 _ACEOF
6627 rm -f conftest.$ac_objext
6628 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6629 (eval $ac_compile) 2>conftest.er1
6630 ac_status=$?
6631 grep -v '^ *+' conftest.er1 >conftest.err
6632 rm -f conftest.er1
6633 cat conftest.err >&5
6634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6635 (exit $ac_status); } &&
6636 { ac_try='test -z "$ac_c_werror_flag"
6637 || test ! -s conftest.err'
6638 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6639 (eval $ac_try) 2>&5
6640 ac_status=$?
6641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6642 (exit $ac_status); }; } &&
6643 { ac_try='test -s conftest.$ac_objext'
6644 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6645 (eval $ac_try) 2>&5
6646 ac_status=$?
6647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6648 (exit $ac_status); }; }; then
6649 ac_header_compiler=yes
6650 else
6651 echo "$as_me: failed program was:" >&5
6652 sed 's/^/| /' conftest.$ac_ext >&5
6654 ac_header_compiler=no
6656 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6657 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6658 echo "${ECHO_T}$ac_header_compiler" >&6
6660 # Is the header present?
6661 echo "$as_me:$LINENO: checking complex.h presence" >&5
6662 echo $ECHO_N "checking complex.h presence... $ECHO_C" >&6
6663 cat >conftest.$ac_ext <<_ACEOF
6664 /* confdefs.h. */
6665 _ACEOF
6666 cat confdefs.h >>conftest.$ac_ext
6667 cat >>conftest.$ac_ext <<_ACEOF
6668 /* end confdefs.h. */
6669 #include <complex.h>
6670 _ACEOF
6671 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6672 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6673 ac_status=$?
6674 grep -v '^ *+' conftest.er1 >conftest.err
6675 rm -f conftest.er1
6676 cat conftest.err >&5
6677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6678 (exit $ac_status); } >/dev/null; then
6679 if test -s conftest.err; then
6680 ac_cpp_err=$ac_c_preproc_warn_flag
6681 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6682 else
6683 ac_cpp_err=
6685 else
6686 ac_cpp_err=yes
6688 if test -z "$ac_cpp_err"; then
6689 ac_header_preproc=yes
6690 else
6691 echo "$as_me: failed program was:" >&5
6692 sed 's/^/| /' conftest.$ac_ext >&5
6694 ac_header_preproc=no
6696 rm -f conftest.err conftest.$ac_ext
6697 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6698 echo "${ECHO_T}$ac_header_preproc" >&6
6700 # So? What about this header?
6701 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6702 yes:no: )
6703 { echo "$as_me:$LINENO: WARNING: complex.h: accepted by the compiler, rejected by the preprocessor!" >&5
6704 echo "$as_me: WARNING: complex.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
6705 { echo "$as_me:$LINENO: WARNING: complex.h: proceeding with the compiler's result" >&5
6706 echo "$as_me: WARNING: complex.h: proceeding with the compiler's result" >&2;}
6707 ac_header_preproc=yes
6709 no:yes:* )
6710 { echo "$as_me:$LINENO: WARNING: complex.h: present but cannot be compiled" >&5
6711 echo "$as_me: WARNING: complex.h: present but cannot be compiled" >&2;}
6712 { echo "$as_me:$LINENO: WARNING: complex.h: check for missing prerequisite headers?" >&5
6713 echo "$as_me: WARNING: complex.h: check for missing prerequisite headers?" >&2;}
6714 { echo "$as_me:$LINENO: WARNING: complex.h: see the Autoconf documentation" >&5
6715 echo "$as_me: WARNING: complex.h: see the Autoconf documentation" >&2;}
6716 { echo "$as_me:$LINENO: WARNING: complex.h: section \"Present But Cannot Be Compiled\"" >&5
6717 echo "$as_me: WARNING: complex.h: section \"Present But Cannot Be Compiled\"" >&2;}
6718 { echo "$as_me:$LINENO: WARNING: complex.h: proceeding with the preprocessor's result" >&5
6719 echo "$as_me: WARNING: complex.h: proceeding with the preprocessor's result" >&2;}
6720 { echo "$as_me:$LINENO: WARNING: complex.h: in the future, the compiler will take precedence" >&5
6721 echo "$as_me: WARNING: complex.h: in the future, the compiler will take precedence" >&2;}
6723 cat <<\_ASBOX
6724 ## ------------------------------------------------------ ##
6725 ## Report this to the GNU Fortran Runtime Library lists. ##
6726 ## ------------------------------------------------------ ##
6727 _ASBOX
6729 sed "s/^/$as_me: WARNING: /" >&2
6731 esac
6732 echo "$as_me:$LINENO: checking for complex.h" >&5
6733 echo $ECHO_N "checking for complex.h... $ECHO_C" >&6
6734 if test "${ac_cv_header_complex_h+set}" = set; then
6735 echo $ECHO_N "(cached) $ECHO_C" >&6
6736 else
6737 ac_cv_header_complex_h=$ac_header_preproc
6739 echo "$as_me:$LINENO: result: $ac_cv_header_complex_h" >&5
6740 echo "${ECHO_T}$ac_cv_header_complex_h" >&6
6743 if test $ac_cv_header_complex_h = yes; then
6745 cat >>confdefs.h <<\_ACEOF
6746 #define HAVE_COMPLEX_H 1
6747 _ACEOF
6753 echo "$as_me:$LINENO: checking for struct stat.st_blksize" >&5
6754 echo $ECHO_N "checking for struct stat.st_blksize... $ECHO_C" >&6
6755 if test "${ac_cv_member_struct_stat_st_blksize+set}" = set; then
6756 echo $ECHO_N "(cached) $ECHO_C" >&6
6757 else
6758 cat >conftest.$ac_ext <<_ACEOF
6759 /* confdefs.h. */
6760 _ACEOF
6761 cat confdefs.h >>conftest.$ac_ext
6762 cat >>conftest.$ac_ext <<_ACEOF
6763 /* end confdefs.h. */
6764 $ac_includes_default
6766 main ()
6768 static struct stat ac_aggr;
6769 if (ac_aggr.st_blksize)
6770 return 0;
6772 return 0;
6774 _ACEOF
6775 rm -f conftest.$ac_objext
6776 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6777 (eval $ac_compile) 2>conftest.er1
6778 ac_status=$?
6779 grep -v '^ *+' conftest.er1 >conftest.err
6780 rm -f conftest.er1
6781 cat conftest.err >&5
6782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6783 (exit $ac_status); } &&
6784 { ac_try='test -z "$ac_c_werror_flag"
6785 || test ! -s conftest.err'
6786 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6787 (eval $ac_try) 2>&5
6788 ac_status=$?
6789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6790 (exit $ac_status); }; } &&
6791 { ac_try='test -s conftest.$ac_objext'
6792 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6793 (eval $ac_try) 2>&5
6794 ac_status=$?
6795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6796 (exit $ac_status); }; }; then
6797 ac_cv_member_struct_stat_st_blksize=yes
6798 else
6799 echo "$as_me: failed program was:" >&5
6800 sed 's/^/| /' conftest.$ac_ext >&5
6802 cat >conftest.$ac_ext <<_ACEOF
6803 /* confdefs.h. */
6804 _ACEOF
6805 cat confdefs.h >>conftest.$ac_ext
6806 cat >>conftest.$ac_ext <<_ACEOF
6807 /* end confdefs.h. */
6808 $ac_includes_default
6810 main ()
6812 static struct stat ac_aggr;
6813 if (sizeof ac_aggr.st_blksize)
6814 return 0;
6816 return 0;
6818 _ACEOF
6819 rm -f conftest.$ac_objext
6820 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6821 (eval $ac_compile) 2>conftest.er1
6822 ac_status=$?
6823 grep -v '^ *+' conftest.er1 >conftest.err
6824 rm -f conftest.er1
6825 cat conftest.err >&5
6826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6827 (exit $ac_status); } &&
6828 { ac_try='test -z "$ac_c_werror_flag"
6829 || test ! -s conftest.err'
6830 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6831 (eval $ac_try) 2>&5
6832 ac_status=$?
6833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6834 (exit $ac_status); }; } &&
6835 { ac_try='test -s conftest.$ac_objext'
6836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6837 (eval $ac_try) 2>&5
6838 ac_status=$?
6839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6840 (exit $ac_status); }; }; then
6841 ac_cv_member_struct_stat_st_blksize=yes
6842 else
6843 echo "$as_me: failed program was:" >&5
6844 sed 's/^/| /' conftest.$ac_ext >&5
6846 ac_cv_member_struct_stat_st_blksize=no
6848 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6850 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6852 echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blksize" >&5
6853 echo "${ECHO_T}$ac_cv_member_struct_stat_st_blksize" >&6
6854 if test $ac_cv_member_struct_stat_st_blksize = yes; then
6856 cat >>confdefs.h <<_ACEOF
6857 #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
6858 _ACEOF
6863 echo "$as_me:$LINENO: checking for struct stat.st_blocks" >&5
6864 echo $ECHO_N "checking for struct stat.st_blocks... $ECHO_C" >&6
6865 if test "${ac_cv_member_struct_stat_st_blocks+set}" = set; then
6866 echo $ECHO_N "(cached) $ECHO_C" >&6
6867 else
6868 cat >conftest.$ac_ext <<_ACEOF
6869 /* confdefs.h. */
6870 _ACEOF
6871 cat confdefs.h >>conftest.$ac_ext
6872 cat >>conftest.$ac_ext <<_ACEOF
6873 /* end confdefs.h. */
6874 $ac_includes_default
6876 main ()
6878 static struct stat ac_aggr;
6879 if (ac_aggr.st_blocks)
6880 return 0;
6882 return 0;
6884 _ACEOF
6885 rm -f conftest.$ac_objext
6886 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6887 (eval $ac_compile) 2>conftest.er1
6888 ac_status=$?
6889 grep -v '^ *+' conftest.er1 >conftest.err
6890 rm -f conftest.er1
6891 cat conftest.err >&5
6892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6893 (exit $ac_status); } &&
6894 { ac_try='test -z "$ac_c_werror_flag"
6895 || test ! -s conftest.err'
6896 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6897 (eval $ac_try) 2>&5
6898 ac_status=$?
6899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6900 (exit $ac_status); }; } &&
6901 { ac_try='test -s conftest.$ac_objext'
6902 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6903 (eval $ac_try) 2>&5
6904 ac_status=$?
6905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6906 (exit $ac_status); }; }; then
6907 ac_cv_member_struct_stat_st_blocks=yes
6908 else
6909 echo "$as_me: failed program was:" >&5
6910 sed 's/^/| /' conftest.$ac_ext >&5
6912 cat >conftest.$ac_ext <<_ACEOF
6913 /* confdefs.h. */
6914 _ACEOF
6915 cat confdefs.h >>conftest.$ac_ext
6916 cat >>conftest.$ac_ext <<_ACEOF
6917 /* end confdefs.h. */
6918 $ac_includes_default
6920 main ()
6922 static struct stat ac_aggr;
6923 if (sizeof ac_aggr.st_blocks)
6924 return 0;
6926 return 0;
6928 _ACEOF
6929 rm -f conftest.$ac_objext
6930 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6931 (eval $ac_compile) 2>conftest.er1
6932 ac_status=$?
6933 grep -v '^ *+' conftest.er1 >conftest.err
6934 rm -f conftest.er1
6935 cat conftest.err >&5
6936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6937 (exit $ac_status); } &&
6938 { ac_try='test -z "$ac_c_werror_flag"
6939 || test ! -s conftest.err'
6940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6941 (eval $ac_try) 2>&5
6942 ac_status=$?
6943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6944 (exit $ac_status); }; } &&
6945 { ac_try='test -s conftest.$ac_objext'
6946 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6947 (eval $ac_try) 2>&5
6948 ac_status=$?
6949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6950 (exit $ac_status); }; }; then
6951 ac_cv_member_struct_stat_st_blocks=yes
6952 else
6953 echo "$as_me: failed program was:" >&5
6954 sed 's/^/| /' conftest.$ac_ext >&5
6956 ac_cv_member_struct_stat_st_blocks=no
6958 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6960 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6962 echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blocks" >&5
6963 echo "${ECHO_T}$ac_cv_member_struct_stat_st_blocks" >&6
6964 if test $ac_cv_member_struct_stat_st_blocks = yes; then
6966 cat >>confdefs.h <<_ACEOF
6967 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
6968 _ACEOF
6973 echo "$as_me:$LINENO: checking for struct stat.st_rdev" >&5
6974 echo $ECHO_N "checking for struct stat.st_rdev... $ECHO_C" >&6
6975 if test "${ac_cv_member_struct_stat_st_rdev+set}" = set; then
6976 echo $ECHO_N "(cached) $ECHO_C" >&6
6977 else
6978 cat >conftest.$ac_ext <<_ACEOF
6979 /* confdefs.h. */
6980 _ACEOF
6981 cat confdefs.h >>conftest.$ac_ext
6982 cat >>conftest.$ac_ext <<_ACEOF
6983 /* end confdefs.h. */
6984 $ac_includes_default
6986 main ()
6988 static struct stat ac_aggr;
6989 if (ac_aggr.st_rdev)
6990 return 0;
6992 return 0;
6994 _ACEOF
6995 rm -f conftest.$ac_objext
6996 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6997 (eval $ac_compile) 2>conftest.er1
6998 ac_status=$?
6999 grep -v '^ *+' conftest.er1 >conftest.err
7000 rm -f conftest.er1
7001 cat conftest.err >&5
7002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7003 (exit $ac_status); } &&
7004 { ac_try='test -z "$ac_c_werror_flag"
7005 || test ! -s conftest.err'
7006 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7007 (eval $ac_try) 2>&5
7008 ac_status=$?
7009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7010 (exit $ac_status); }; } &&
7011 { ac_try='test -s conftest.$ac_objext'
7012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7013 (eval $ac_try) 2>&5
7014 ac_status=$?
7015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7016 (exit $ac_status); }; }; then
7017 ac_cv_member_struct_stat_st_rdev=yes
7018 else
7019 echo "$as_me: failed program was:" >&5
7020 sed 's/^/| /' conftest.$ac_ext >&5
7022 cat >conftest.$ac_ext <<_ACEOF
7023 /* confdefs.h. */
7024 _ACEOF
7025 cat confdefs.h >>conftest.$ac_ext
7026 cat >>conftest.$ac_ext <<_ACEOF
7027 /* end confdefs.h. */
7028 $ac_includes_default
7030 main ()
7032 static struct stat ac_aggr;
7033 if (sizeof ac_aggr.st_rdev)
7034 return 0;
7036 return 0;
7038 _ACEOF
7039 rm -f conftest.$ac_objext
7040 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7041 (eval $ac_compile) 2>conftest.er1
7042 ac_status=$?
7043 grep -v '^ *+' conftest.er1 >conftest.err
7044 rm -f conftest.er1
7045 cat conftest.err >&5
7046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7047 (exit $ac_status); } &&
7048 { ac_try='test -z "$ac_c_werror_flag"
7049 || test ! -s conftest.err'
7050 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7051 (eval $ac_try) 2>&5
7052 ac_status=$?
7053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7054 (exit $ac_status); }; } &&
7055 { ac_try='test -s conftest.$ac_objext'
7056 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7057 (eval $ac_try) 2>&5
7058 ac_status=$?
7059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7060 (exit $ac_status); }; }; then
7061 ac_cv_member_struct_stat_st_rdev=yes
7062 else
7063 echo "$as_me: failed program was:" >&5
7064 sed 's/^/| /' conftest.$ac_ext >&5
7066 ac_cv_member_struct_stat_st_rdev=no
7068 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7070 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7072 echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_rdev" >&5
7073 echo "${ECHO_T}$ac_cv_member_struct_stat_st_rdev" >&6
7074 if test $ac_cv_member_struct_stat_st_rdev = yes; then
7076 cat >>confdefs.h <<_ACEOF
7077 #define HAVE_STRUCT_STAT_ST_RDEV 1
7078 _ACEOF
7084 # Check for complex math functions
7085 echo "$as_me:$LINENO: checking for csin in -lm" >&5
7086 echo $ECHO_N "checking for csin in -lm... $ECHO_C" >&6
7087 if test "${ac_cv_lib_m_csin+set}" = set; then
7088 echo $ECHO_N "(cached) $ECHO_C" >&6
7089 else
7090 ac_check_lib_save_LIBS=$LIBS
7091 LIBS="-lm $LIBS"
7092 cat >conftest.$ac_ext <<_ACEOF
7093 /* confdefs.h. */
7094 _ACEOF
7095 cat confdefs.h >>conftest.$ac_ext
7096 cat >>conftest.$ac_ext <<_ACEOF
7097 /* end confdefs.h. */
7099 /* Override any gcc2 internal prototype to avoid an error. */
7100 #ifdef __cplusplus
7101 extern "C"
7102 #endif
7103 /* We use char because int might match the return type of a gcc2
7104 builtin and then its argument prototype would still apply. */
7105 char csin ();
7107 main ()
7109 csin ();
7111 return 0;
7113 _ACEOF
7114 rm -f conftest.$ac_objext conftest$ac_exeext
7115 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7116 (eval $ac_link) 2>conftest.er1
7117 ac_status=$?
7118 grep -v '^ *+' conftest.er1 >conftest.err
7119 rm -f conftest.er1
7120 cat conftest.err >&5
7121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7122 (exit $ac_status); } &&
7123 { ac_try='test -z "$ac_c_werror_flag"
7124 || test ! -s conftest.err'
7125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7126 (eval $ac_try) 2>&5
7127 ac_status=$?
7128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7129 (exit $ac_status); }; } &&
7130 { ac_try='test -s conftest$ac_exeext'
7131 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7132 (eval $ac_try) 2>&5
7133 ac_status=$?
7134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7135 (exit $ac_status); }; }; then
7136 ac_cv_lib_m_csin=yes
7137 else
7138 echo "$as_me: failed program was:" >&5
7139 sed 's/^/| /' conftest.$ac_ext >&5
7141 ac_cv_lib_m_csin=no
7143 rm -f conftest.err conftest.$ac_objext \
7144 conftest$ac_exeext conftest.$ac_ext
7145 LIBS=$ac_check_lib_save_LIBS
7147 echo "$as_me:$LINENO: result: $ac_cv_lib_m_csin" >&5
7148 echo "${ECHO_T}$ac_cv_lib_m_csin" >&6
7149 if test $ac_cv_lib_m_csin = yes; then
7150 need_math="no"
7151 else
7152 need_math="yes"
7156 # Check for library functions.
7162 for ac_func in getrusage times mkstemp strtof snprintf
7164 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7165 echo "$as_me:$LINENO: checking for $ac_func" >&5
7166 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
7167 if eval "test \"\${$as_ac_var+set}\" = set"; then
7168 echo $ECHO_N "(cached) $ECHO_C" >&6
7169 else
7170 cat >conftest.$ac_ext <<_ACEOF
7171 /* confdefs.h. */
7172 _ACEOF
7173 cat confdefs.h >>conftest.$ac_ext
7174 cat >>conftest.$ac_ext <<_ACEOF
7175 /* end confdefs.h. */
7176 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
7177 For example, HP-UX 11i <limits.h> declares gettimeofday. */
7178 #define $ac_func innocuous_$ac_func
7180 /* System header to define __stub macros and hopefully few prototypes,
7181 which can conflict with char $ac_func (); below.
7182 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7183 <limits.h> exists even on freestanding compilers. */
7185 #ifdef __STDC__
7186 # include <limits.h>
7187 #else
7188 # include <assert.h>
7189 #endif
7191 #undef $ac_func
7193 /* Override any gcc2 internal prototype to avoid an error. */
7194 #ifdef __cplusplus
7195 extern "C"
7197 #endif
7198 /* We use char because int might match the return type of a gcc2
7199 builtin and then its argument prototype would still apply. */
7200 char $ac_func ();
7201 /* The GNU C library defines this for functions which it implements
7202 to always fail with ENOSYS. Some functions are actually named
7203 something starting with __ and the normal name is an alias. */
7204 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7205 choke me
7206 #else
7207 char (*f) () = $ac_func;
7208 #endif
7209 #ifdef __cplusplus
7211 #endif
7214 main ()
7216 return f != $ac_func;
7218 return 0;
7220 _ACEOF
7221 rm -f conftest.$ac_objext conftest$ac_exeext
7222 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7223 (eval $ac_link) 2>conftest.er1
7224 ac_status=$?
7225 grep -v '^ *+' conftest.er1 >conftest.err
7226 rm -f conftest.er1
7227 cat conftest.err >&5
7228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7229 (exit $ac_status); } &&
7230 { ac_try='test -z "$ac_c_werror_flag"
7231 || test ! -s conftest.err'
7232 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7233 (eval $ac_try) 2>&5
7234 ac_status=$?
7235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7236 (exit $ac_status); }; } &&
7237 { ac_try='test -s conftest$ac_exeext'
7238 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7239 (eval $ac_try) 2>&5
7240 ac_status=$?
7241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7242 (exit $ac_status); }; }; then
7243 eval "$as_ac_var=yes"
7244 else
7245 echo "$as_me: failed program was:" >&5
7246 sed 's/^/| /' conftest.$ac_ext >&5
7248 eval "$as_ac_var=no"
7250 rm -f conftest.err conftest.$ac_objext \
7251 conftest$ac_exeext conftest.$ac_ext
7253 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
7254 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
7255 if test `eval echo '${'$as_ac_var'}'` = yes; then
7256 cat >>confdefs.h <<_ACEOF
7257 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
7258 _ACEOF
7261 done
7271 for ac_func in chdir strerror getlogin gethostname kill link symlink perror
7273 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7274 echo "$as_me:$LINENO: checking for $ac_func" >&5
7275 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
7276 if eval "test \"\${$as_ac_var+set}\" = set"; then
7277 echo $ECHO_N "(cached) $ECHO_C" >&6
7278 else
7279 cat >conftest.$ac_ext <<_ACEOF
7280 /* confdefs.h. */
7281 _ACEOF
7282 cat confdefs.h >>conftest.$ac_ext
7283 cat >>conftest.$ac_ext <<_ACEOF
7284 /* end confdefs.h. */
7285 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
7286 For example, HP-UX 11i <limits.h> declares gettimeofday. */
7287 #define $ac_func innocuous_$ac_func
7289 /* System header to define __stub macros and hopefully few prototypes,
7290 which can conflict with char $ac_func (); below.
7291 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7292 <limits.h> exists even on freestanding compilers. */
7294 #ifdef __STDC__
7295 # include <limits.h>
7296 #else
7297 # include <assert.h>
7298 #endif
7300 #undef $ac_func
7302 /* Override any gcc2 internal prototype to avoid an error. */
7303 #ifdef __cplusplus
7304 extern "C"
7306 #endif
7307 /* We use char because int might match the return type of a gcc2
7308 builtin and then its argument prototype would still apply. */
7309 char $ac_func ();
7310 /* The GNU C library defines this for functions which it implements
7311 to always fail with ENOSYS. Some functions are actually named
7312 something starting with __ and the normal name is an alias. */
7313 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7314 choke me
7315 #else
7316 char (*f) () = $ac_func;
7317 #endif
7318 #ifdef __cplusplus
7320 #endif
7323 main ()
7325 return f != $ac_func;
7327 return 0;
7329 _ACEOF
7330 rm -f conftest.$ac_objext conftest$ac_exeext
7331 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7332 (eval $ac_link) 2>conftest.er1
7333 ac_status=$?
7334 grep -v '^ *+' conftest.er1 >conftest.err
7335 rm -f conftest.er1
7336 cat conftest.err >&5
7337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7338 (exit $ac_status); } &&
7339 { ac_try='test -z "$ac_c_werror_flag"
7340 || test ! -s conftest.err'
7341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7342 (eval $ac_try) 2>&5
7343 ac_status=$?
7344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7345 (exit $ac_status); }; } &&
7346 { ac_try='test -s conftest$ac_exeext'
7347 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7348 (eval $ac_try) 2>&5
7349 ac_status=$?
7350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7351 (exit $ac_status); }; }; then
7352 eval "$as_ac_var=yes"
7353 else
7354 echo "$as_me: failed program was:" >&5
7355 sed 's/^/| /' conftest.$ac_ext >&5
7357 eval "$as_ac_var=no"
7359 rm -f conftest.err conftest.$ac_objext \
7360 conftest$ac_exeext conftest.$ac_ext
7362 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
7363 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
7364 if test `eval echo '${'$as_ac_var'}'` = yes; then
7365 cat >>confdefs.h <<_ACEOF
7366 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
7367 _ACEOF
7370 done
7374 for ac_func in sleep time
7376 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7377 echo "$as_me:$LINENO: checking for $ac_func" >&5
7378 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
7379 if eval "test \"\${$as_ac_var+set}\" = set"; then
7380 echo $ECHO_N "(cached) $ECHO_C" >&6
7381 else
7382 cat >conftest.$ac_ext <<_ACEOF
7383 /* confdefs.h. */
7384 _ACEOF
7385 cat confdefs.h >>conftest.$ac_ext
7386 cat >>conftest.$ac_ext <<_ACEOF
7387 /* end confdefs.h. */
7388 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
7389 For example, HP-UX 11i <limits.h> declares gettimeofday. */
7390 #define $ac_func innocuous_$ac_func
7392 /* System header to define __stub macros and hopefully few prototypes,
7393 which can conflict with char $ac_func (); below.
7394 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7395 <limits.h> exists even on freestanding compilers. */
7397 #ifdef __STDC__
7398 # include <limits.h>
7399 #else
7400 # include <assert.h>
7401 #endif
7403 #undef $ac_func
7405 /* Override any gcc2 internal prototype to avoid an error. */
7406 #ifdef __cplusplus
7407 extern "C"
7409 #endif
7410 /* We use char because int might match the return type of a gcc2
7411 builtin and then its argument prototype would still apply. */
7412 char $ac_func ();
7413 /* The GNU C library defines this for functions which it implements
7414 to always fail with ENOSYS. Some functions are actually named
7415 something starting with __ and the normal name is an alias. */
7416 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7417 choke me
7418 #else
7419 char (*f) () = $ac_func;
7420 #endif
7421 #ifdef __cplusplus
7423 #endif
7426 main ()
7428 return f != $ac_func;
7430 return 0;
7432 _ACEOF
7433 rm -f conftest.$ac_objext conftest$ac_exeext
7434 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7435 (eval $ac_link) 2>conftest.er1
7436 ac_status=$?
7437 grep -v '^ *+' conftest.er1 >conftest.err
7438 rm -f conftest.er1
7439 cat conftest.err >&5
7440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7441 (exit $ac_status); } &&
7442 { ac_try='test -z "$ac_c_werror_flag"
7443 || test ! -s conftest.err'
7444 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7445 (eval $ac_try) 2>&5
7446 ac_status=$?
7447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7448 (exit $ac_status); }; } &&
7449 { ac_try='test -s conftest$ac_exeext'
7450 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7451 (eval $ac_try) 2>&5
7452 ac_status=$?
7453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7454 (exit $ac_status); }; }; then
7455 eval "$as_ac_var=yes"
7456 else
7457 echo "$as_me: failed program was:" >&5
7458 sed 's/^/| /' conftest.$ac_ext >&5
7460 eval "$as_ac_var=no"
7462 rm -f conftest.err conftest.$ac_objext \
7463 conftest$ac_exeext conftest.$ac_ext
7465 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
7466 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
7467 if test `eval echo '${'$as_ac_var'}'` = yes; then
7468 cat >>confdefs.h <<_ACEOF
7469 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
7470 _ACEOF
7473 done
7476 # Check libc for getgid, getpid, getuid
7477 echo "$as_me:$LINENO: checking for getgid in -lc" >&5
7478 echo $ECHO_N "checking for getgid in -lc... $ECHO_C" >&6
7479 if test "${ac_cv_lib_c_getgid+set}" = set; then
7480 echo $ECHO_N "(cached) $ECHO_C" >&6
7481 else
7482 ac_check_lib_save_LIBS=$LIBS
7483 LIBS="-lc $LIBS"
7484 cat >conftest.$ac_ext <<_ACEOF
7485 /* confdefs.h. */
7486 _ACEOF
7487 cat confdefs.h >>conftest.$ac_ext
7488 cat >>conftest.$ac_ext <<_ACEOF
7489 /* end confdefs.h. */
7491 /* Override any gcc2 internal prototype to avoid an error. */
7492 #ifdef __cplusplus
7493 extern "C"
7494 #endif
7495 /* We use char because int might match the return type of a gcc2
7496 builtin and then its argument prototype would still apply. */
7497 char getgid ();
7499 main ()
7501 getgid ();
7503 return 0;
7505 _ACEOF
7506 rm -f conftest.$ac_objext conftest$ac_exeext
7507 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7508 (eval $ac_link) 2>conftest.er1
7509 ac_status=$?
7510 grep -v '^ *+' conftest.er1 >conftest.err
7511 rm -f conftest.er1
7512 cat conftest.err >&5
7513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7514 (exit $ac_status); } &&
7515 { ac_try='test -z "$ac_c_werror_flag"
7516 || test ! -s conftest.err'
7517 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7518 (eval $ac_try) 2>&5
7519 ac_status=$?
7520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7521 (exit $ac_status); }; } &&
7522 { ac_try='test -s conftest$ac_exeext'
7523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7524 (eval $ac_try) 2>&5
7525 ac_status=$?
7526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7527 (exit $ac_status); }; }; then
7528 ac_cv_lib_c_getgid=yes
7529 else
7530 echo "$as_me: failed program was:" >&5
7531 sed 's/^/| /' conftest.$ac_ext >&5
7533 ac_cv_lib_c_getgid=no
7535 rm -f conftest.err conftest.$ac_objext \
7536 conftest$ac_exeext conftest.$ac_ext
7537 LIBS=$ac_check_lib_save_LIBS
7539 echo "$as_me:$LINENO: result: $ac_cv_lib_c_getgid" >&5
7540 echo "${ECHO_T}$ac_cv_lib_c_getgid" >&6
7541 if test $ac_cv_lib_c_getgid = yes; then
7543 cat >>confdefs.h <<\_ACEOF
7544 #define HAVE_GETGID 1
7545 _ACEOF
7549 echo "$as_me:$LINENO: checking for getpid in -lc" >&5
7550 echo $ECHO_N "checking for getpid in -lc... $ECHO_C" >&6
7551 if test "${ac_cv_lib_c_getpid+set}" = set; then
7552 echo $ECHO_N "(cached) $ECHO_C" >&6
7553 else
7554 ac_check_lib_save_LIBS=$LIBS
7555 LIBS="-lc $LIBS"
7556 cat >conftest.$ac_ext <<_ACEOF
7557 /* confdefs.h. */
7558 _ACEOF
7559 cat confdefs.h >>conftest.$ac_ext
7560 cat >>conftest.$ac_ext <<_ACEOF
7561 /* end confdefs.h. */
7563 /* Override any gcc2 internal prototype to avoid an error. */
7564 #ifdef __cplusplus
7565 extern "C"
7566 #endif
7567 /* We use char because int might match the return type of a gcc2
7568 builtin and then its argument prototype would still apply. */
7569 char getpid ();
7571 main ()
7573 getpid ();
7575 return 0;
7577 _ACEOF
7578 rm -f conftest.$ac_objext conftest$ac_exeext
7579 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7580 (eval $ac_link) 2>conftest.er1
7581 ac_status=$?
7582 grep -v '^ *+' conftest.er1 >conftest.err
7583 rm -f conftest.er1
7584 cat conftest.err >&5
7585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7586 (exit $ac_status); } &&
7587 { ac_try='test -z "$ac_c_werror_flag"
7588 || test ! -s conftest.err'
7589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7590 (eval $ac_try) 2>&5
7591 ac_status=$?
7592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7593 (exit $ac_status); }; } &&
7594 { ac_try='test -s conftest$ac_exeext'
7595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7596 (eval $ac_try) 2>&5
7597 ac_status=$?
7598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7599 (exit $ac_status); }; }; then
7600 ac_cv_lib_c_getpid=yes
7601 else
7602 echo "$as_me: failed program was:" >&5
7603 sed 's/^/| /' conftest.$ac_ext >&5
7605 ac_cv_lib_c_getpid=no
7607 rm -f conftest.err conftest.$ac_objext \
7608 conftest$ac_exeext conftest.$ac_ext
7609 LIBS=$ac_check_lib_save_LIBS
7611 echo "$as_me:$LINENO: result: $ac_cv_lib_c_getpid" >&5
7612 echo "${ECHO_T}$ac_cv_lib_c_getpid" >&6
7613 if test $ac_cv_lib_c_getpid = yes; then
7615 cat >>confdefs.h <<\_ACEOF
7616 #define HAVE_GETPID 1
7617 _ACEOF
7621 echo "$as_me:$LINENO: checking for getuid in -lc" >&5
7622 echo $ECHO_N "checking for getuid in -lc... $ECHO_C" >&6
7623 if test "${ac_cv_lib_c_getuid+set}" = set; then
7624 echo $ECHO_N "(cached) $ECHO_C" >&6
7625 else
7626 ac_check_lib_save_LIBS=$LIBS
7627 LIBS="-lc $LIBS"
7628 cat >conftest.$ac_ext <<_ACEOF
7629 /* confdefs.h. */
7630 _ACEOF
7631 cat confdefs.h >>conftest.$ac_ext
7632 cat >>conftest.$ac_ext <<_ACEOF
7633 /* end confdefs.h. */
7635 /* Override any gcc2 internal prototype to avoid an error. */
7636 #ifdef __cplusplus
7637 extern "C"
7638 #endif
7639 /* We use char because int might match the return type of a gcc2
7640 builtin and then its argument prototype would still apply. */
7641 char getuid ();
7643 main ()
7645 getuid ();
7647 return 0;
7649 _ACEOF
7650 rm -f conftest.$ac_objext conftest$ac_exeext
7651 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7652 (eval $ac_link) 2>conftest.er1
7653 ac_status=$?
7654 grep -v '^ *+' conftest.er1 >conftest.err
7655 rm -f conftest.er1
7656 cat conftest.err >&5
7657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7658 (exit $ac_status); } &&
7659 { ac_try='test -z "$ac_c_werror_flag"
7660 || test ! -s conftest.err'
7661 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7662 (eval $ac_try) 2>&5
7663 ac_status=$?
7664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7665 (exit $ac_status); }; } &&
7666 { ac_try='test -s conftest$ac_exeext'
7667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7668 (eval $ac_try) 2>&5
7669 ac_status=$?
7670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7671 (exit $ac_status); }; }; then
7672 ac_cv_lib_c_getuid=yes
7673 else
7674 echo "$as_me: failed program was:" >&5
7675 sed 's/^/| /' conftest.$ac_ext >&5
7677 ac_cv_lib_c_getuid=no
7679 rm -f conftest.err conftest.$ac_objext \
7680 conftest$ac_exeext conftest.$ac_ext
7681 LIBS=$ac_check_lib_save_LIBS
7683 echo "$as_me:$LINENO: result: $ac_cv_lib_c_getuid" >&5
7684 echo "${ECHO_T}$ac_cv_lib_c_getuid" >&6
7685 if test $ac_cv_lib_c_getuid = yes; then
7687 cat >>confdefs.h <<\_ACEOF
7688 #define HAVE_GETUID 1
7689 _ACEOF
7694 # Check for C99 (and other IEEE) math functions
7695 # ??? This list seems awful long. Is there a better way to test for these?
7696 echo "$as_me:$LINENO: checking for acosf in -lm" >&5
7697 echo $ECHO_N "checking for acosf in -lm... $ECHO_C" >&6
7698 if test "${ac_cv_lib_m_acosf+set}" = set; then
7699 echo $ECHO_N "(cached) $ECHO_C" >&6
7700 else
7701 ac_check_lib_save_LIBS=$LIBS
7702 LIBS="-lm $LIBS"
7703 cat >conftest.$ac_ext <<_ACEOF
7704 /* confdefs.h. */
7705 _ACEOF
7706 cat confdefs.h >>conftest.$ac_ext
7707 cat >>conftest.$ac_ext <<_ACEOF
7708 /* end confdefs.h. */
7710 /* Override any gcc2 internal prototype to avoid an error. */
7711 #ifdef __cplusplus
7712 extern "C"
7713 #endif
7714 /* We use char because int might match the return type of a gcc2
7715 builtin and then its argument prototype would still apply. */
7716 char acosf ();
7718 main ()
7720 acosf ();
7722 return 0;
7724 _ACEOF
7725 rm -f conftest.$ac_objext conftest$ac_exeext
7726 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7727 (eval $ac_link) 2>conftest.er1
7728 ac_status=$?
7729 grep -v '^ *+' conftest.er1 >conftest.err
7730 rm -f conftest.er1
7731 cat conftest.err >&5
7732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7733 (exit $ac_status); } &&
7734 { ac_try='test -z "$ac_c_werror_flag"
7735 || test ! -s conftest.err'
7736 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7737 (eval $ac_try) 2>&5
7738 ac_status=$?
7739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7740 (exit $ac_status); }; } &&
7741 { ac_try='test -s conftest$ac_exeext'
7742 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7743 (eval $ac_try) 2>&5
7744 ac_status=$?
7745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7746 (exit $ac_status); }; }; then
7747 ac_cv_lib_m_acosf=yes
7748 else
7749 echo "$as_me: failed program was:" >&5
7750 sed 's/^/| /' conftest.$ac_ext >&5
7752 ac_cv_lib_m_acosf=no
7754 rm -f conftest.err conftest.$ac_objext \
7755 conftest$ac_exeext conftest.$ac_ext
7756 LIBS=$ac_check_lib_save_LIBS
7758 echo "$as_me:$LINENO: result: $ac_cv_lib_m_acosf" >&5
7759 echo "${ECHO_T}$ac_cv_lib_m_acosf" >&6
7760 if test $ac_cv_lib_m_acosf = yes; then
7762 cat >>confdefs.h <<\_ACEOF
7763 #define HAVE_ACOSF 1
7764 _ACEOF
7768 echo "$as_me:$LINENO: checking for asinf in -lm" >&5
7769 echo $ECHO_N "checking for asinf in -lm... $ECHO_C" >&6
7770 if test "${ac_cv_lib_m_asinf+set}" = set; then
7771 echo $ECHO_N "(cached) $ECHO_C" >&6
7772 else
7773 ac_check_lib_save_LIBS=$LIBS
7774 LIBS="-lm $LIBS"
7775 cat >conftest.$ac_ext <<_ACEOF
7776 /* confdefs.h. */
7777 _ACEOF
7778 cat confdefs.h >>conftest.$ac_ext
7779 cat >>conftest.$ac_ext <<_ACEOF
7780 /* end confdefs.h. */
7782 /* Override any gcc2 internal prototype to avoid an error. */
7783 #ifdef __cplusplus
7784 extern "C"
7785 #endif
7786 /* We use char because int might match the return type of a gcc2
7787 builtin and then its argument prototype would still apply. */
7788 char asinf ();
7790 main ()
7792 asinf ();
7794 return 0;
7796 _ACEOF
7797 rm -f conftest.$ac_objext conftest$ac_exeext
7798 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7799 (eval $ac_link) 2>conftest.er1
7800 ac_status=$?
7801 grep -v '^ *+' conftest.er1 >conftest.err
7802 rm -f conftest.er1
7803 cat conftest.err >&5
7804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7805 (exit $ac_status); } &&
7806 { ac_try='test -z "$ac_c_werror_flag"
7807 || test ! -s conftest.err'
7808 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7809 (eval $ac_try) 2>&5
7810 ac_status=$?
7811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7812 (exit $ac_status); }; } &&
7813 { ac_try='test -s conftest$ac_exeext'
7814 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7815 (eval $ac_try) 2>&5
7816 ac_status=$?
7817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7818 (exit $ac_status); }; }; then
7819 ac_cv_lib_m_asinf=yes
7820 else
7821 echo "$as_me: failed program was:" >&5
7822 sed 's/^/| /' conftest.$ac_ext >&5
7824 ac_cv_lib_m_asinf=no
7826 rm -f conftest.err conftest.$ac_objext \
7827 conftest$ac_exeext conftest.$ac_ext
7828 LIBS=$ac_check_lib_save_LIBS
7830 echo "$as_me:$LINENO: result: $ac_cv_lib_m_asinf" >&5
7831 echo "${ECHO_T}$ac_cv_lib_m_asinf" >&6
7832 if test $ac_cv_lib_m_asinf = yes; then
7834 cat >>confdefs.h <<\_ACEOF
7835 #define HAVE_ASINF 1
7836 _ACEOF
7840 echo "$as_me:$LINENO: checking for atan2f in -lm" >&5
7841 echo $ECHO_N "checking for atan2f in -lm... $ECHO_C" >&6
7842 if test "${ac_cv_lib_m_atan2f+set}" = set; then
7843 echo $ECHO_N "(cached) $ECHO_C" >&6
7844 else
7845 ac_check_lib_save_LIBS=$LIBS
7846 LIBS="-lm $LIBS"
7847 cat >conftest.$ac_ext <<_ACEOF
7848 /* confdefs.h. */
7849 _ACEOF
7850 cat confdefs.h >>conftest.$ac_ext
7851 cat >>conftest.$ac_ext <<_ACEOF
7852 /* end confdefs.h. */
7854 /* Override any gcc2 internal prototype to avoid an error. */
7855 #ifdef __cplusplus
7856 extern "C"
7857 #endif
7858 /* We use char because int might match the return type of a gcc2
7859 builtin and then its argument prototype would still apply. */
7860 char atan2f ();
7862 main ()
7864 atan2f ();
7866 return 0;
7868 _ACEOF
7869 rm -f conftest.$ac_objext conftest$ac_exeext
7870 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7871 (eval $ac_link) 2>conftest.er1
7872 ac_status=$?
7873 grep -v '^ *+' conftest.er1 >conftest.err
7874 rm -f conftest.er1
7875 cat conftest.err >&5
7876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7877 (exit $ac_status); } &&
7878 { ac_try='test -z "$ac_c_werror_flag"
7879 || test ! -s conftest.err'
7880 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7881 (eval $ac_try) 2>&5
7882 ac_status=$?
7883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7884 (exit $ac_status); }; } &&
7885 { ac_try='test -s conftest$ac_exeext'
7886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7887 (eval $ac_try) 2>&5
7888 ac_status=$?
7889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7890 (exit $ac_status); }; }; then
7891 ac_cv_lib_m_atan2f=yes
7892 else
7893 echo "$as_me: failed program was:" >&5
7894 sed 's/^/| /' conftest.$ac_ext >&5
7896 ac_cv_lib_m_atan2f=no
7898 rm -f conftest.err conftest.$ac_objext \
7899 conftest$ac_exeext conftest.$ac_ext
7900 LIBS=$ac_check_lib_save_LIBS
7902 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atan2f" >&5
7903 echo "${ECHO_T}$ac_cv_lib_m_atan2f" >&6
7904 if test $ac_cv_lib_m_atan2f = yes; then
7906 cat >>confdefs.h <<\_ACEOF
7907 #define HAVE_ATAN2F 1
7908 _ACEOF
7912 echo "$as_me:$LINENO: checking for atanf in -lm" >&5
7913 echo $ECHO_N "checking for atanf in -lm... $ECHO_C" >&6
7914 if test "${ac_cv_lib_m_atanf+set}" = set; then
7915 echo $ECHO_N "(cached) $ECHO_C" >&6
7916 else
7917 ac_check_lib_save_LIBS=$LIBS
7918 LIBS="-lm $LIBS"
7919 cat >conftest.$ac_ext <<_ACEOF
7920 /* confdefs.h. */
7921 _ACEOF
7922 cat confdefs.h >>conftest.$ac_ext
7923 cat >>conftest.$ac_ext <<_ACEOF
7924 /* end confdefs.h. */
7926 /* Override any gcc2 internal prototype to avoid an error. */
7927 #ifdef __cplusplus
7928 extern "C"
7929 #endif
7930 /* We use char because int might match the return type of a gcc2
7931 builtin and then its argument prototype would still apply. */
7932 char atanf ();
7934 main ()
7936 atanf ();
7938 return 0;
7940 _ACEOF
7941 rm -f conftest.$ac_objext conftest$ac_exeext
7942 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7943 (eval $ac_link) 2>conftest.er1
7944 ac_status=$?
7945 grep -v '^ *+' conftest.er1 >conftest.err
7946 rm -f conftest.er1
7947 cat conftest.err >&5
7948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7949 (exit $ac_status); } &&
7950 { ac_try='test -z "$ac_c_werror_flag"
7951 || test ! -s conftest.err'
7952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7953 (eval $ac_try) 2>&5
7954 ac_status=$?
7955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7956 (exit $ac_status); }; } &&
7957 { ac_try='test -s conftest$ac_exeext'
7958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7959 (eval $ac_try) 2>&5
7960 ac_status=$?
7961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7962 (exit $ac_status); }; }; then
7963 ac_cv_lib_m_atanf=yes
7964 else
7965 echo "$as_me: failed program was:" >&5
7966 sed 's/^/| /' conftest.$ac_ext >&5
7968 ac_cv_lib_m_atanf=no
7970 rm -f conftest.err conftest.$ac_objext \
7971 conftest$ac_exeext conftest.$ac_ext
7972 LIBS=$ac_check_lib_save_LIBS
7974 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atanf" >&5
7975 echo "${ECHO_T}$ac_cv_lib_m_atanf" >&6
7976 if test $ac_cv_lib_m_atanf = yes; then
7978 cat >>confdefs.h <<\_ACEOF
7979 #define HAVE_ATANF 1
7980 _ACEOF
7984 echo "$as_me:$LINENO: checking for ceilf in -lm" >&5
7985 echo $ECHO_N "checking for ceilf in -lm... $ECHO_C" >&6
7986 if test "${ac_cv_lib_m_ceilf+set}" = set; then
7987 echo $ECHO_N "(cached) $ECHO_C" >&6
7988 else
7989 ac_check_lib_save_LIBS=$LIBS
7990 LIBS="-lm $LIBS"
7991 cat >conftest.$ac_ext <<_ACEOF
7992 /* confdefs.h. */
7993 _ACEOF
7994 cat confdefs.h >>conftest.$ac_ext
7995 cat >>conftest.$ac_ext <<_ACEOF
7996 /* end confdefs.h. */
7998 /* Override any gcc2 internal prototype to avoid an error. */
7999 #ifdef __cplusplus
8000 extern "C"
8001 #endif
8002 /* We use char because int might match the return type of a gcc2
8003 builtin and then its argument prototype would still apply. */
8004 char ceilf ();
8006 main ()
8008 ceilf ();
8010 return 0;
8012 _ACEOF
8013 rm -f conftest.$ac_objext conftest$ac_exeext
8014 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8015 (eval $ac_link) 2>conftest.er1
8016 ac_status=$?
8017 grep -v '^ *+' conftest.er1 >conftest.err
8018 rm -f conftest.er1
8019 cat conftest.err >&5
8020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8021 (exit $ac_status); } &&
8022 { ac_try='test -z "$ac_c_werror_flag"
8023 || test ! -s conftest.err'
8024 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8025 (eval $ac_try) 2>&5
8026 ac_status=$?
8027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8028 (exit $ac_status); }; } &&
8029 { ac_try='test -s conftest$ac_exeext'
8030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8031 (eval $ac_try) 2>&5
8032 ac_status=$?
8033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8034 (exit $ac_status); }; }; then
8035 ac_cv_lib_m_ceilf=yes
8036 else
8037 echo "$as_me: failed program was:" >&5
8038 sed 's/^/| /' conftest.$ac_ext >&5
8040 ac_cv_lib_m_ceilf=no
8042 rm -f conftest.err conftest.$ac_objext \
8043 conftest$ac_exeext conftest.$ac_ext
8044 LIBS=$ac_check_lib_save_LIBS
8046 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ceilf" >&5
8047 echo "${ECHO_T}$ac_cv_lib_m_ceilf" >&6
8048 if test $ac_cv_lib_m_ceilf = yes; then
8050 cat >>confdefs.h <<\_ACEOF
8051 #define HAVE_CEILF 1
8052 _ACEOF
8056 echo "$as_me:$LINENO: checking for copysignf in -lm" >&5
8057 echo $ECHO_N "checking for copysignf in -lm... $ECHO_C" >&6
8058 if test "${ac_cv_lib_m_copysignf+set}" = set; then
8059 echo $ECHO_N "(cached) $ECHO_C" >&6
8060 else
8061 ac_check_lib_save_LIBS=$LIBS
8062 LIBS="-lm $LIBS"
8063 cat >conftest.$ac_ext <<_ACEOF
8064 /* confdefs.h. */
8065 _ACEOF
8066 cat confdefs.h >>conftest.$ac_ext
8067 cat >>conftest.$ac_ext <<_ACEOF
8068 /* end confdefs.h. */
8070 /* Override any gcc2 internal prototype to avoid an error. */
8071 #ifdef __cplusplus
8072 extern "C"
8073 #endif
8074 /* We use char because int might match the return type of a gcc2
8075 builtin and then its argument prototype would still apply. */
8076 char copysignf ();
8078 main ()
8080 copysignf ();
8082 return 0;
8084 _ACEOF
8085 rm -f conftest.$ac_objext conftest$ac_exeext
8086 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8087 (eval $ac_link) 2>conftest.er1
8088 ac_status=$?
8089 grep -v '^ *+' conftest.er1 >conftest.err
8090 rm -f conftest.er1
8091 cat conftest.err >&5
8092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8093 (exit $ac_status); } &&
8094 { ac_try='test -z "$ac_c_werror_flag"
8095 || test ! -s conftest.err'
8096 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8097 (eval $ac_try) 2>&5
8098 ac_status=$?
8099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8100 (exit $ac_status); }; } &&
8101 { ac_try='test -s conftest$ac_exeext'
8102 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8103 (eval $ac_try) 2>&5
8104 ac_status=$?
8105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8106 (exit $ac_status); }; }; then
8107 ac_cv_lib_m_copysignf=yes
8108 else
8109 echo "$as_me: failed program was:" >&5
8110 sed 's/^/| /' conftest.$ac_ext >&5
8112 ac_cv_lib_m_copysignf=no
8114 rm -f conftest.err conftest.$ac_objext \
8115 conftest$ac_exeext conftest.$ac_ext
8116 LIBS=$ac_check_lib_save_LIBS
8118 echo "$as_me:$LINENO: result: $ac_cv_lib_m_copysignf" >&5
8119 echo "${ECHO_T}$ac_cv_lib_m_copysignf" >&6
8120 if test $ac_cv_lib_m_copysignf = yes; then
8122 cat >>confdefs.h <<\_ACEOF
8123 #define HAVE_COPYSIGNF 1
8124 _ACEOF
8128 echo "$as_me:$LINENO: checking for cosf in -lm" >&5
8129 echo $ECHO_N "checking for cosf in -lm... $ECHO_C" >&6
8130 if test "${ac_cv_lib_m_cosf+set}" = set; then
8131 echo $ECHO_N "(cached) $ECHO_C" >&6
8132 else
8133 ac_check_lib_save_LIBS=$LIBS
8134 LIBS="-lm $LIBS"
8135 cat >conftest.$ac_ext <<_ACEOF
8136 /* confdefs.h. */
8137 _ACEOF
8138 cat confdefs.h >>conftest.$ac_ext
8139 cat >>conftest.$ac_ext <<_ACEOF
8140 /* end confdefs.h. */
8142 /* Override any gcc2 internal prototype to avoid an error. */
8143 #ifdef __cplusplus
8144 extern "C"
8145 #endif
8146 /* We use char because int might match the return type of a gcc2
8147 builtin and then its argument prototype would still apply. */
8148 char cosf ();
8150 main ()
8152 cosf ();
8154 return 0;
8156 _ACEOF
8157 rm -f conftest.$ac_objext conftest$ac_exeext
8158 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8159 (eval $ac_link) 2>conftest.er1
8160 ac_status=$?
8161 grep -v '^ *+' conftest.er1 >conftest.err
8162 rm -f conftest.er1
8163 cat conftest.err >&5
8164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8165 (exit $ac_status); } &&
8166 { ac_try='test -z "$ac_c_werror_flag"
8167 || test ! -s conftest.err'
8168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8169 (eval $ac_try) 2>&5
8170 ac_status=$?
8171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8172 (exit $ac_status); }; } &&
8173 { ac_try='test -s conftest$ac_exeext'
8174 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8175 (eval $ac_try) 2>&5
8176 ac_status=$?
8177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8178 (exit $ac_status); }; }; then
8179 ac_cv_lib_m_cosf=yes
8180 else
8181 echo "$as_me: failed program was:" >&5
8182 sed 's/^/| /' conftest.$ac_ext >&5
8184 ac_cv_lib_m_cosf=no
8186 rm -f conftest.err conftest.$ac_objext \
8187 conftest$ac_exeext conftest.$ac_ext
8188 LIBS=$ac_check_lib_save_LIBS
8190 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cosf" >&5
8191 echo "${ECHO_T}$ac_cv_lib_m_cosf" >&6
8192 if test $ac_cv_lib_m_cosf = yes; then
8194 cat >>confdefs.h <<\_ACEOF
8195 #define HAVE_COSF 1
8196 _ACEOF
8200 echo "$as_me:$LINENO: checking for coshf in -lm" >&5
8201 echo $ECHO_N "checking for coshf in -lm... $ECHO_C" >&6
8202 if test "${ac_cv_lib_m_coshf+set}" = set; then
8203 echo $ECHO_N "(cached) $ECHO_C" >&6
8204 else
8205 ac_check_lib_save_LIBS=$LIBS
8206 LIBS="-lm $LIBS"
8207 cat >conftest.$ac_ext <<_ACEOF
8208 /* confdefs.h. */
8209 _ACEOF
8210 cat confdefs.h >>conftest.$ac_ext
8211 cat >>conftest.$ac_ext <<_ACEOF
8212 /* end confdefs.h. */
8214 /* Override any gcc2 internal prototype to avoid an error. */
8215 #ifdef __cplusplus
8216 extern "C"
8217 #endif
8218 /* We use char because int might match the return type of a gcc2
8219 builtin and then its argument prototype would still apply. */
8220 char coshf ();
8222 main ()
8224 coshf ();
8226 return 0;
8228 _ACEOF
8229 rm -f conftest.$ac_objext conftest$ac_exeext
8230 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8231 (eval $ac_link) 2>conftest.er1
8232 ac_status=$?
8233 grep -v '^ *+' conftest.er1 >conftest.err
8234 rm -f conftest.er1
8235 cat conftest.err >&5
8236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8237 (exit $ac_status); } &&
8238 { ac_try='test -z "$ac_c_werror_flag"
8239 || test ! -s conftest.err'
8240 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8241 (eval $ac_try) 2>&5
8242 ac_status=$?
8243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8244 (exit $ac_status); }; } &&
8245 { ac_try='test -s conftest$ac_exeext'
8246 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8247 (eval $ac_try) 2>&5
8248 ac_status=$?
8249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8250 (exit $ac_status); }; }; then
8251 ac_cv_lib_m_coshf=yes
8252 else
8253 echo "$as_me: failed program was:" >&5
8254 sed 's/^/| /' conftest.$ac_ext >&5
8256 ac_cv_lib_m_coshf=no
8258 rm -f conftest.err conftest.$ac_objext \
8259 conftest$ac_exeext conftest.$ac_ext
8260 LIBS=$ac_check_lib_save_LIBS
8262 echo "$as_me:$LINENO: result: $ac_cv_lib_m_coshf" >&5
8263 echo "${ECHO_T}$ac_cv_lib_m_coshf" >&6
8264 if test $ac_cv_lib_m_coshf = yes; then
8266 cat >>confdefs.h <<\_ACEOF
8267 #define HAVE_COSHF 1
8268 _ACEOF
8272 echo "$as_me:$LINENO: checking for expf in -lm" >&5
8273 echo $ECHO_N "checking for expf in -lm... $ECHO_C" >&6
8274 if test "${ac_cv_lib_m_expf+set}" = set; then
8275 echo $ECHO_N "(cached) $ECHO_C" >&6
8276 else
8277 ac_check_lib_save_LIBS=$LIBS
8278 LIBS="-lm $LIBS"
8279 cat >conftest.$ac_ext <<_ACEOF
8280 /* confdefs.h. */
8281 _ACEOF
8282 cat confdefs.h >>conftest.$ac_ext
8283 cat >>conftest.$ac_ext <<_ACEOF
8284 /* end confdefs.h. */
8286 /* Override any gcc2 internal prototype to avoid an error. */
8287 #ifdef __cplusplus
8288 extern "C"
8289 #endif
8290 /* We use char because int might match the return type of a gcc2
8291 builtin and then its argument prototype would still apply. */
8292 char expf ();
8294 main ()
8296 expf ();
8298 return 0;
8300 _ACEOF
8301 rm -f conftest.$ac_objext conftest$ac_exeext
8302 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8303 (eval $ac_link) 2>conftest.er1
8304 ac_status=$?
8305 grep -v '^ *+' conftest.er1 >conftest.err
8306 rm -f conftest.er1
8307 cat conftest.err >&5
8308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8309 (exit $ac_status); } &&
8310 { ac_try='test -z "$ac_c_werror_flag"
8311 || test ! -s conftest.err'
8312 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8313 (eval $ac_try) 2>&5
8314 ac_status=$?
8315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8316 (exit $ac_status); }; } &&
8317 { ac_try='test -s conftest$ac_exeext'
8318 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8319 (eval $ac_try) 2>&5
8320 ac_status=$?
8321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8322 (exit $ac_status); }; }; then
8323 ac_cv_lib_m_expf=yes
8324 else
8325 echo "$as_me: failed program was:" >&5
8326 sed 's/^/| /' conftest.$ac_ext >&5
8328 ac_cv_lib_m_expf=no
8330 rm -f conftest.err conftest.$ac_objext \
8331 conftest$ac_exeext conftest.$ac_ext
8332 LIBS=$ac_check_lib_save_LIBS
8334 echo "$as_me:$LINENO: result: $ac_cv_lib_m_expf" >&5
8335 echo "${ECHO_T}$ac_cv_lib_m_expf" >&6
8336 if test $ac_cv_lib_m_expf = yes; then
8338 cat >>confdefs.h <<\_ACEOF
8339 #define HAVE_EXPF 1
8340 _ACEOF
8344 echo "$as_me:$LINENO: checking for fabsf in -lm" >&5
8345 echo $ECHO_N "checking for fabsf in -lm... $ECHO_C" >&6
8346 if test "${ac_cv_lib_m_fabsf+set}" = set; then
8347 echo $ECHO_N "(cached) $ECHO_C" >&6
8348 else
8349 ac_check_lib_save_LIBS=$LIBS
8350 LIBS="-lm $LIBS"
8351 cat >conftest.$ac_ext <<_ACEOF
8352 /* confdefs.h. */
8353 _ACEOF
8354 cat confdefs.h >>conftest.$ac_ext
8355 cat >>conftest.$ac_ext <<_ACEOF
8356 /* end confdefs.h. */
8358 /* Override any gcc2 internal prototype to avoid an error. */
8359 #ifdef __cplusplus
8360 extern "C"
8361 #endif
8362 /* We use char because int might match the return type of a gcc2
8363 builtin and then its argument prototype would still apply. */
8364 char fabsf ();
8366 main ()
8368 fabsf ();
8370 return 0;
8372 _ACEOF
8373 rm -f conftest.$ac_objext conftest$ac_exeext
8374 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8375 (eval $ac_link) 2>conftest.er1
8376 ac_status=$?
8377 grep -v '^ *+' conftest.er1 >conftest.err
8378 rm -f conftest.er1
8379 cat conftest.err >&5
8380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8381 (exit $ac_status); } &&
8382 { ac_try='test -z "$ac_c_werror_flag"
8383 || test ! -s conftest.err'
8384 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8385 (eval $ac_try) 2>&5
8386 ac_status=$?
8387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8388 (exit $ac_status); }; } &&
8389 { ac_try='test -s conftest$ac_exeext'
8390 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8391 (eval $ac_try) 2>&5
8392 ac_status=$?
8393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8394 (exit $ac_status); }; }; then
8395 ac_cv_lib_m_fabsf=yes
8396 else
8397 echo "$as_me: failed program was:" >&5
8398 sed 's/^/| /' conftest.$ac_ext >&5
8400 ac_cv_lib_m_fabsf=no
8402 rm -f conftest.err conftest.$ac_objext \
8403 conftest$ac_exeext conftest.$ac_ext
8404 LIBS=$ac_check_lib_save_LIBS
8406 echo "$as_me:$LINENO: result: $ac_cv_lib_m_fabsf" >&5
8407 echo "${ECHO_T}$ac_cv_lib_m_fabsf" >&6
8408 if test $ac_cv_lib_m_fabsf = yes; then
8410 cat >>confdefs.h <<\_ACEOF
8411 #define HAVE_FABSF 1
8412 _ACEOF
8416 echo "$as_me:$LINENO: checking for floorf in -lm" >&5
8417 echo $ECHO_N "checking for floorf in -lm... $ECHO_C" >&6
8418 if test "${ac_cv_lib_m_floorf+set}" = set; then
8419 echo $ECHO_N "(cached) $ECHO_C" >&6
8420 else
8421 ac_check_lib_save_LIBS=$LIBS
8422 LIBS="-lm $LIBS"
8423 cat >conftest.$ac_ext <<_ACEOF
8424 /* confdefs.h. */
8425 _ACEOF
8426 cat confdefs.h >>conftest.$ac_ext
8427 cat >>conftest.$ac_ext <<_ACEOF
8428 /* end confdefs.h. */
8430 /* Override any gcc2 internal prototype to avoid an error. */
8431 #ifdef __cplusplus
8432 extern "C"
8433 #endif
8434 /* We use char because int might match the return type of a gcc2
8435 builtin and then its argument prototype would still apply. */
8436 char floorf ();
8438 main ()
8440 floorf ();
8442 return 0;
8444 _ACEOF
8445 rm -f conftest.$ac_objext conftest$ac_exeext
8446 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8447 (eval $ac_link) 2>conftest.er1
8448 ac_status=$?
8449 grep -v '^ *+' conftest.er1 >conftest.err
8450 rm -f conftest.er1
8451 cat conftest.err >&5
8452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8453 (exit $ac_status); } &&
8454 { ac_try='test -z "$ac_c_werror_flag"
8455 || test ! -s conftest.err'
8456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8457 (eval $ac_try) 2>&5
8458 ac_status=$?
8459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8460 (exit $ac_status); }; } &&
8461 { ac_try='test -s conftest$ac_exeext'
8462 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8463 (eval $ac_try) 2>&5
8464 ac_status=$?
8465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8466 (exit $ac_status); }; }; then
8467 ac_cv_lib_m_floorf=yes
8468 else
8469 echo "$as_me: failed program was:" >&5
8470 sed 's/^/| /' conftest.$ac_ext >&5
8472 ac_cv_lib_m_floorf=no
8474 rm -f conftest.err conftest.$ac_objext \
8475 conftest$ac_exeext conftest.$ac_ext
8476 LIBS=$ac_check_lib_save_LIBS
8478 echo "$as_me:$LINENO: result: $ac_cv_lib_m_floorf" >&5
8479 echo "${ECHO_T}$ac_cv_lib_m_floorf" >&6
8480 if test $ac_cv_lib_m_floorf = yes; then
8482 cat >>confdefs.h <<\_ACEOF
8483 #define HAVE_FLOORF 1
8484 _ACEOF
8488 echo "$as_me:$LINENO: checking for frexpf in -lm" >&5
8489 echo $ECHO_N "checking for frexpf in -lm... $ECHO_C" >&6
8490 if test "${ac_cv_lib_m_frexpf+set}" = set; then
8491 echo $ECHO_N "(cached) $ECHO_C" >&6
8492 else
8493 ac_check_lib_save_LIBS=$LIBS
8494 LIBS="-lm $LIBS"
8495 cat >conftest.$ac_ext <<_ACEOF
8496 /* confdefs.h. */
8497 _ACEOF
8498 cat confdefs.h >>conftest.$ac_ext
8499 cat >>conftest.$ac_ext <<_ACEOF
8500 /* end confdefs.h. */
8502 /* Override any gcc2 internal prototype to avoid an error. */
8503 #ifdef __cplusplus
8504 extern "C"
8505 #endif
8506 /* We use char because int might match the return type of a gcc2
8507 builtin and then its argument prototype would still apply. */
8508 char frexpf ();
8510 main ()
8512 frexpf ();
8514 return 0;
8516 _ACEOF
8517 rm -f conftest.$ac_objext conftest$ac_exeext
8518 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8519 (eval $ac_link) 2>conftest.er1
8520 ac_status=$?
8521 grep -v '^ *+' conftest.er1 >conftest.err
8522 rm -f conftest.er1
8523 cat conftest.err >&5
8524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8525 (exit $ac_status); } &&
8526 { ac_try='test -z "$ac_c_werror_flag"
8527 || test ! -s conftest.err'
8528 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8529 (eval $ac_try) 2>&5
8530 ac_status=$?
8531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8532 (exit $ac_status); }; } &&
8533 { ac_try='test -s conftest$ac_exeext'
8534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8535 (eval $ac_try) 2>&5
8536 ac_status=$?
8537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8538 (exit $ac_status); }; }; then
8539 ac_cv_lib_m_frexpf=yes
8540 else
8541 echo "$as_me: failed program was:" >&5
8542 sed 's/^/| /' conftest.$ac_ext >&5
8544 ac_cv_lib_m_frexpf=no
8546 rm -f conftest.err conftest.$ac_objext \
8547 conftest$ac_exeext conftest.$ac_ext
8548 LIBS=$ac_check_lib_save_LIBS
8550 echo "$as_me:$LINENO: result: $ac_cv_lib_m_frexpf" >&5
8551 echo "${ECHO_T}$ac_cv_lib_m_frexpf" >&6
8552 if test $ac_cv_lib_m_frexpf = yes; then
8554 cat >>confdefs.h <<\_ACEOF
8555 #define HAVE_FREXPF 1
8556 _ACEOF
8560 echo "$as_me:$LINENO: checking for hypotf in -lm" >&5
8561 echo $ECHO_N "checking for hypotf in -lm... $ECHO_C" >&6
8562 if test "${ac_cv_lib_m_hypotf+set}" = set; then
8563 echo $ECHO_N "(cached) $ECHO_C" >&6
8564 else
8565 ac_check_lib_save_LIBS=$LIBS
8566 LIBS="-lm $LIBS"
8567 cat >conftest.$ac_ext <<_ACEOF
8568 /* confdefs.h. */
8569 _ACEOF
8570 cat confdefs.h >>conftest.$ac_ext
8571 cat >>conftest.$ac_ext <<_ACEOF
8572 /* end confdefs.h. */
8574 /* Override any gcc2 internal prototype to avoid an error. */
8575 #ifdef __cplusplus
8576 extern "C"
8577 #endif
8578 /* We use char because int might match the return type of a gcc2
8579 builtin and then its argument prototype would still apply. */
8580 char hypotf ();
8582 main ()
8584 hypotf ();
8586 return 0;
8588 _ACEOF
8589 rm -f conftest.$ac_objext conftest$ac_exeext
8590 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8591 (eval $ac_link) 2>conftest.er1
8592 ac_status=$?
8593 grep -v '^ *+' conftest.er1 >conftest.err
8594 rm -f conftest.er1
8595 cat conftest.err >&5
8596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8597 (exit $ac_status); } &&
8598 { ac_try='test -z "$ac_c_werror_flag"
8599 || test ! -s conftest.err'
8600 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8601 (eval $ac_try) 2>&5
8602 ac_status=$?
8603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8604 (exit $ac_status); }; } &&
8605 { ac_try='test -s conftest$ac_exeext'
8606 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8607 (eval $ac_try) 2>&5
8608 ac_status=$?
8609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8610 (exit $ac_status); }; }; then
8611 ac_cv_lib_m_hypotf=yes
8612 else
8613 echo "$as_me: failed program was:" >&5
8614 sed 's/^/| /' conftest.$ac_ext >&5
8616 ac_cv_lib_m_hypotf=no
8618 rm -f conftest.err conftest.$ac_objext \
8619 conftest$ac_exeext conftest.$ac_ext
8620 LIBS=$ac_check_lib_save_LIBS
8622 echo "$as_me:$LINENO: result: $ac_cv_lib_m_hypotf" >&5
8623 echo "${ECHO_T}$ac_cv_lib_m_hypotf" >&6
8624 if test $ac_cv_lib_m_hypotf = yes; then
8626 cat >>confdefs.h <<\_ACEOF
8627 #define HAVE_HYPOTF 1
8628 _ACEOF
8632 echo "$as_me:$LINENO: checking for logf in -lm" >&5
8633 echo $ECHO_N "checking for logf in -lm... $ECHO_C" >&6
8634 if test "${ac_cv_lib_m_logf+set}" = set; then
8635 echo $ECHO_N "(cached) $ECHO_C" >&6
8636 else
8637 ac_check_lib_save_LIBS=$LIBS
8638 LIBS="-lm $LIBS"
8639 cat >conftest.$ac_ext <<_ACEOF
8640 /* confdefs.h. */
8641 _ACEOF
8642 cat confdefs.h >>conftest.$ac_ext
8643 cat >>conftest.$ac_ext <<_ACEOF
8644 /* end confdefs.h. */
8646 /* Override any gcc2 internal prototype to avoid an error. */
8647 #ifdef __cplusplus
8648 extern "C"
8649 #endif
8650 /* We use char because int might match the return type of a gcc2
8651 builtin and then its argument prototype would still apply. */
8652 char logf ();
8654 main ()
8656 logf ();
8658 return 0;
8660 _ACEOF
8661 rm -f conftest.$ac_objext conftest$ac_exeext
8662 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8663 (eval $ac_link) 2>conftest.er1
8664 ac_status=$?
8665 grep -v '^ *+' conftest.er1 >conftest.err
8666 rm -f conftest.er1
8667 cat conftest.err >&5
8668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8669 (exit $ac_status); } &&
8670 { ac_try='test -z "$ac_c_werror_flag"
8671 || test ! -s conftest.err'
8672 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8673 (eval $ac_try) 2>&5
8674 ac_status=$?
8675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8676 (exit $ac_status); }; } &&
8677 { ac_try='test -s conftest$ac_exeext'
8678 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8679 (eval $ac_try) 2>&5
8680 ac_status=$?
8681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8682 (exit $ac_status); }; }; then
8683 ac_cv_lib_m_logf=yes
8684 else
8685 echo "$as_me: failed program was:" >&5
8686 sed 's/^/| /' conftest.$ac_ext >&5
8688 ac_cv_lib_m_logf=no
8690 rm -f conftest.err conftest.$ac_objext \
8691 conftest$ac_exeext conftest.$ac_ext
8692 LIBS=$ac_check_lib_save_LIBS
8694 echo "$as_me:$LINENO: result: $ac_cv_lib_m_logf" >&5
8695 echo "${ECHO_T}$ac_cv_lib_m_logf" >&6
8696 if test $ac_cv_lib_m_logf = yes; then
8698 cat >>confdefs.h <<\_ACEOF
8699 #define HAVE_LOGF 1
8700 _ACEOF
8704 echo "$as_me:$LINENO: checking for log10f in -lm" >&5
8705 echo $ECHO_N "checking for log10f in -lm... $ECHO_C" >&6
8706 if test "${ac_cv_lib_m_log10f+set}" = set; then
8707 echo $ECHO_N "(cached) $ECHO_C" >&6
8708 else
8709 ac_check_lib_save_LIBS=$LIBS
8710 LIBS="-lm $LIBS"
8711 cat >conftest.$ac_ext <<_ACEOF
8712 /* confdefs.h. */
8713 _ACEOF
8714 cat confdefs.h >>conftest.$ac_ext
8715 cat >>conftest.$ac_ext <<_ACEOF
8716 /* end confdefs.h. */
8718 /* Override any gcc2 internal prototype to avoid an error. */
8719 #ifdef __cplusplus
8720 extern "C"
8721 #endif
8722 /* We use char because int might match the return type of a gcc2
8723 builtin and then its argument prototype would still apply. */
8724 char log10f ();
8726 main ()
8728 log10f ();
8730 return 0;
8732 _ACEOF
8733 rm -f conftest.$ac_objext conftest$ac_exeext
8734 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8735 (eval $ac_link) 2>conftest.er1
8736 ac_status=$?
8737 grep -v '^ *+' conftest.er1 >conftest.err
8738 rm -f conftest.er1
8739 cat conftest.err >&5
8740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8741 (exit $ac_status); } &&
8742 { ac_try='test -z "$ac_c_werror_flag"
8743 || test ! -s conftest.err'
8744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8745 (eval $ac_try) 2>&5
8746 ac_status=$?
8747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8748 (exit $ac_status); }; } &&
8749 { ac_try='test -s conftest$ac_exeext'
8750 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8751 (eval $ac_try) 2>&5
8752 ac_status=$?
8753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8754 (exit $ac_status); }; }; then
8755 ac_cv_lib_m_log10f=yes
8756 else
8757 echo "$as_me: failed program was:" >&5
8758 sed 's/^/| /' conftest.$ac_ext >&5
8760 ac_cv_lib_m_log10f=no
8762 rm -f conftest.err conftest.$ac_objext \
8763 conftest$ac_exeext conftest.$ac_ext
8764 LIBS=$ac_check_lib_save_LIBS
8766 echo "$as_me:$LINENO: result: $ac_cv_lib_m_log10f" >&5
8767 echo "${ECHO_T}$ac_cv_lib_m_log10f" >&6
8768 if test $ac_cv_lib_m_log10f = yes; then
8770 cat >>confdefs.h <<\_ACEOF
8771 #define HAVE_LOG10F 1
8772 _ACEOF
8776 echo "$as_me:$LINENO: checking for nextafter in -lm" >&5
8777 echo $ECHO_N "checking for nextafter in -lm... $ECHO_C" >&6
8778 if test "${ac_cv_lib_m_nextafter+set}" = set; then
8779 echo $ECHO_N "(cached) $ECHO_C" >&6
8780 else
8781 ac_check_lib_save_LIBS=$LIBS
8782 LIBS="-lm $LIBS"
8783 cat >conftest.$ac_ext <<_ACEOF
8784 /* confdefs.h. */
8785 _ACEOF
8786 cat confdefs.h >>conftest.$ac_ext
8787 cat >>conftest.$ac_ext <<_ACEOF
8788 /* end confdefs.h. */
8790 /* Override any gcc2 internal prototype to avoid an error. */
8791 #ifdef __cplusplus
8792 extern "C"
8793 #endif
8794 /* We use char because int might match the return type of a gcc2
8795 builtin and then its argument prototype would still apply. */
8796 char nextafter ();
8798 main ()
8800 nextafter ();
8802 return 0;
8804 _ACEOF
8805 rm -f conftest.$ac_objext conftest$ac_exeext
8806 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8807 (eval $ac_link) 2>conftest.er1
8808 ac_status=$?
8809 grep -v '^ *+' conftest.er1 >conftest.err
8810 rm -f conftest.er1
8811 cat conftest.err >&5
8812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8813 (exit $ac_status); } &&
8814 { ac_try='test -z "$ac_c_werror_flag"
8815 || test ! -s conftest.err'
8816 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8817 (eval $ac_try) 2>&5
8818 ac_status=$?
8819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8820 (exit $ac_status); }; } &&
8821 { ac_try='test -s conftest$ac_exeext'
8822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8823 (eval $ac_try) 2>&5
8824 ac_status=$?
8825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8826 (exit $ac_status); }; }; then
8827 ac_cv_lib_m_nextafter=yes
8828 else
8829 echo "$as_me: failed program was:" >&5
8830 sed 's/^/| /' conftest.$ac_ext >&5
8832 ac_cv_lib_m_nextafter=no
8834 rm -f conftest.err conftest.$ac_objext \
8835 conftest$ac_exeext conftest.$ac_ext
8836 LIBS=$ac_check_lib_save_LIBS
8838 echo "$as_me:$LINENO: result: $ac_cv_lib_m_nextafter" >&5
8839 echo "${ECHO_T}$ac_cv_lib_m_nextafter" >&6
8840 if test $ac_cv_lib_m_nextafter = yes; then
8842 cat >>confdefs.h <<\_ACEOF
8843 #define HAVE_NEXTAFTER 1
8844 _ACEOF
8848 echo "$as_me:$LINENO: checking for nextafterf in -lm" >&5
8849 echo $ECHO_N "checking for nextafterf in -lm... $ECHO_C" >&6
8850 if test "${ac_cv_lib_m_nextafterf+set}" = set; then
8851 echo $ECHO_N "(cached) $ECHO_C" >&6
8852 else
8853 ac_check_lib_save_LIBS=$LIBS
8854 LIBS="-lm $LIBS"
8855 cat >conftest.$ac_ext <<_ACEOF
8856 /* confdefs.h. */
8857 _ACEOF
8858 cat confdefs.h >>conftest.$ac_ext
8859 cat >>conftest.$ac_ext <<_ACEOF
8860 /* end confdefs.h. */
8862 /* Override any gcc2 internal prototype to avoid an error. */
8863 #ifdef __cplusplus
8864 extern "C"
8865 #endif
8866 /* We use char because int might match the return type of a gcc2
8867 builtin and then its argument prototype would still apply. */
8868 char nextafterf ();
8870 main ()
8872 nextafterf ();
8874 return 0;
8876 _ACEOF
8877 rm -f conftest.$ac_objext conftest$ac_exeext
8878 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8879 (eval $ac_link) 2>conftest.er1
8880 ac_status=$?
8881 grep -v '^ *+' conftest.er1 >conftest.err
8882 rm -f conftest.er1
8883 cat conftest.err >&5
8884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8885 (exit $ac_status); } &&
8886 { ac_try='test -z "$ac_c_werror_flag"
8887 || test ! -s conftest.err'
8888 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8889 (eval $ac_try) 2>&5
8890 ac_status=$?
8891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8892 (exit $ac_status); }; } &&
8893 { ac_try='test -s conftest$ac_exeext'
8894 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8895 (eval $ac_try) 2>&5
8896 ac_status=$?
8897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8898 (exit $ac_status); }; }; then
8899 ac_cv_lib_m_nextafterf=yes
8900 else
8901 echo "$as_me: failed program was:" >&5
8902 sed 's/^/| /' conftest.$ac_ext >&5
8904 ac_cv_lib_m_nextafterf=no
8906 rm -f conftest.err conftest.$ac_objext \
8907 conftest$ac_exeext conftest.$ac_ext
8908 LIBS=$ac_check_lib_save_LIBS
8910 echo "$as_me:$LINENO: result: $ac_cv_lib_m_nextafterf" >&5
8911 echo "${ECHO_T}$ac_cv_lib_m_nextafterf" >&6
8912 if test $ac_cv_lib_m_nextafterf = yes; then
8914 cat >>confdefs.h <<\_ACEOF
8915 #define HAVE_NEXTAFTERF 1
8916 _ACEOF
8920 echo "$as_me:$LINENO: checking for powf in -lm" >&5
8921 echo $ECHO_N "checking for powf in -lm... $ECHO_C" >&6
8922 if test "${ac_cv_lib_m_powf+set}" = set; then
8923 echo $ECHO_N "(cached) $ECHO_C" >&6
8924 else
8925 ac_check_lib_save_LIBS=$LIBS
8926 LIBS="-lm $LIBS"
8927 cat >conftest.$ac_ext <<_ACEOF
8928 /* confdefs.h. */
8929 _ACEOF
8930 cat confdefs.h >>conftest.$ac_ext
8931 cat >>conftest.$ac_ext <<_ACEOF
8932 /* end confdefs.h. */
8934 /* Override any gcc2 internal prototype to avoid an error. */
8935 #ifdef __cplusplus
8936 extern "C"
8937 #endif
8938 /* We use char because int might match the return type of a gcc2
8939 builtin and then its argument prototype would still apply. */
8940 char powf ();
8942 main ()
8944 powf ();
8946 return 0;
8948 _ACEOF
8949 rm -f conftest.$ac_objext conftest$ac_exeext
8950 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8951 (eval $ac_link) 2>conftest.er1
8952 ac_status=$?
8953 grep -v '^ *+' conftest.er1 >conftest.err
8954 rm -f conftest.er1
8955 cat conftest.err >&5
8956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8957 (exit $ac_status); } &&
8958 { ac_try='test -z "$ac_c_werror_flag"
8959 || test ! -s conftest.err'
8960 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8961 (eval $ac_try) 2>&5
8962 ac_status=$?
8963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8964 (exit $ac_status); }; } &&
8965 { ac_try='test -s conftest$ac_exeext'
8966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8967 (eval $ac_try) 2>&5
8968 ac_status=$?
8969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8970 (exit $ac_status); }; }; then
8971 ac_cv_lib_m_powf=yes
8972 else
8973 echo "$as_me: failed program was:" >&5
8974 sed 's/^/| /' conftest.$ac_ext >&5
8976 ac_cv_lib_m_powf=no
8978 rm -f conftest.err conftest.$ac_objext \
8979 conftest$ac_exeext conftest.$ac_ext
8980 LIBS=$ac_check_lib_save_LIBS
8982 echo "$as_me:$LINENO: result: $ac_cv_lib_m_powf" >&5
8983 echo "${ECHO_T}$ac_cv_lib_m_powf" >&6
8984 if test $ac_cv_lib_m_powf = yes; then
8986 cat >>confdefs.h <<\_ACEOF
8987 #define HAVE_POWF 1
8988 _ACEOF
8992 echo "$as_me:$LINENO: checking for round in -lm" >&5
8993 echo $ECHO_N "checking for round in -lm... $ECHO_C" >&6
8994 if test "${ac_cv_lib_m_round+set}" = set; then
8995 echo $ECHO_N "(cached) $ECHO_C" >&6
8996 else
8997 ac_check_lib_save_LIBS=$LIBS
8998 LIBS="-lm $LIBS"
8999 cat >conftest.$ac_ext <<_ACEOF
9000 /* confdefs.h. */
9001 _ACEOF
9002 cat confdefs.h >>conftest.$ac_ext
9003 cat >>conftest.$ac_ext <<_ACEOF
9004 /* end confdefs.h. */
9006 /* Override any gcc2 internal prototype to avoid an error. */
9007 #ifdef __cplusplus
9008 extern "C"
9009 #endif
9010 /* We use char because int might match the return type of a gcc2
9011 builtin and then its argument prototype would still apply. */
9012 char round ();
9014 main ()
9016 round ();
9018 return 0;
9020 _ACEOF
9021 rm -f conftest.$ac_objext conftest$ac_exeext
9022 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9023 (eval $ac_link) 2>conftest.er1
9024 ac_status=$?
9025 grep -v '^ *+' conftest.er1 >conftest.err
9026 rm -f conftest.er1
9027 cat conftest.err >&5
9028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9029 (exit $ac_status); } &&
9030 { ac_try='test -z "$ac_c_werror_flag"
9031 || test ! -s conftest.err'
9032 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9033 (eval $ac_try) 2>&5
9034 ac_status=$?
9035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9036 (exit $ac_status); }; } &&
9037 { ac_try='test -s conftest$ac_exeext'
9038 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9039 (eval $ac_try) 2>&5
9040 ac_status=$?
9041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9042 (exit $ac_status); }; }; then
9043 ac_cv_lib_m_round=yes
9044 else
9045 echo "$as_me: failed program was:" >&5
9046 sed 's/^/| /' conftest.$ac_ext >&5
9048 ac_cv_lib_m_round=no
9050 rm -f conftest.err conftest.$ac_objext \
9051 conftest$ac_exeext conftest.$ac_ext
9052 LIBS=$ac_check_lib_save_LIBS
9054 echo "$as_me:$LINENO: result: $ac_cv_lib_m_round" >&5
9055 echo "${ECHO_T}$ac_cv_lib_m_round" >&6
9056 if test $ac_cv_lib_m_round = yes; then
9058 cat >>confdefs.h <<\_ACEOF
9059 #define HAVE_ROUND 1
9060 _ACEOF
9064 echo "$as_me:$LINENO: checking for roundf in -lm" >&5
9065 echo $ECHO_N "checking for roundf in -lm... $ECHO_C" >&6
9066 if test "${ac_cv_lib_m_roundf+set}" = set; then
9067 echo $ECHO_N "(cached) $ECHO_C" >&6
9068 else
9069 ac_check_lib_save_LIBS=$LIBS
9070 LIBS="-lm $LIBS"
9071 cat >conftest.$ac_ext <<_ACEOF
9072 /* confdefs.h. */
9073 _ACEOF
9074 cat confdefs.h >>conftest.$ac_ext
9075 cat >>conftest.$ac_ext <<_ACEOF
9076 /* end confdefs.h. */
9078 /* Override any gcc2 internal prototype to avoid an error. */
9079 #ifdef __cplusplus
9080 extern "C"
9081 #endif
9082 /* We use char because int might match the return type of a gcc2
9083 builtin and then its argument prototype would still apply. */
9084 char roundf ();
9086 main ()
9088 roundf ();
9090 return 0;
9092 _ACEOF
9093 rm -f conftest.$ac_objext conftest$ac_exeext
9094 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9095 (eval $ac_link) 2>conftest.er1
9096 ac_status=$?
9097 grep -v '^ *+' conftest.er1 >conftest.err
9098 rm -f conftest.er1
9099 cat conftest.err >&5
9100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9101 (exit $ac_status); } &&
9102 { ac_try='test -z "$ac_c_werror_flag"
9103 || test ! -s conftest.err'
9104 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9105 (eval $ac_try) 2>&5
9106 ac_status=$?
9107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9108 (exit $ac_status); }; } &&
9109 { ac_try='test -s conftest$ac_exeext'
9110 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9111 (eval $ac_try) 2>&5
9112 ac_status=$?
9113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9114 (exit $ac_status); }; }; then
9115 ac_cv_lib_m_roundf=yes
9116 else
9117 echo "$as_me: failed program was:" >&5
9118 sed 's/^/| /' conftest.$ac_ext >&5
9120 ac_cv_lib_m_roundf=no
9122 rm -f conftest.err conftest.$ac_objext \
9123 conftest$ac_exeext conftest.$ac_ext
9124 LIBS=$ac_check_lib_save_LIBS
9126 echo "$as_me:$LINENO: result: $ac_cv_lib_m_roundf" >&5
9127 echo "${ECHO_T}$ac_cv_lib_m_roundf" >&6
9128 if test $ac_cv_lib_m_roundf = yes; then
9130 cat >>confdefs.h <<\_ACEOF
9131 #define HAVE_ROUNDF 1
9132 _ACEOF
9136 echo "$as_me:$LINENO: checking for scalbnf in -lm" >&5
9137 echo $ECHO_N "checking for scalbnf in -lm... $ECHO_C" >&6
9138 if test "${ac_cv_lib_m_scalbnf+set}" = set; then
9139 echo $ECHO_N "(cached) $ECHO_C" >&6
9140 else
9141 ac_check_lib_save_LIBS=$LIBS
9142 LIBS="-lm $LIBS"
9143 cat >conftest.$ac_ext <<_ACEOF
9144 /* confdefs.h. */
9145 _ACEOF
9146 cat confdefs.h >>conftest.$ac_ext
9147 cat >>conftest.$ac_ext <<_ACEOF
9148 /* end confdefs.h. */
9150 /* Override any gcc2 internal prototype to avoid an error. */
9151 #ifdef __cplusplus
9152 extern "C"
9153 #endif
9154 /* We use char because int might match the return type of a gcc2
9155 builtin and then its argument prototype would still apply. */
9156 char scalbnf ();
9158 main ()
9160 scalbnf ();
9162 return 0;
9164 _ACEOF
9165 rm -f conftest.$ac_objext conftest$ac_exeext
9166 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9167 (eval $ac_link) 2>conftest.er1
9168 ac_status=$?
9169 grep -v '^ *+' conftest.er1 >conftest.err
9170 rm -f conftest.er1
9171 cat conftest.err >&5
9172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9173 (exit $ac_status); } &&
9174 { ac_try='test -z "$ac_c_werror_flag"
9175 || test ! -s conftest.err'
9176 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9177 (eval $ac_try) 2>&5
9178 ac_status=$?
9179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9180 (exit $ac_status); }; } &&
9181 { ac_try='test -s conftest$ac_exeext'
9182 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9183 (eval $ac_try) 2>&5
9184 ac_status=$?
9185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9186 (exit $ac_status); }; }; then
9187 ac_cv_lib_m_scalbnf=yes
9188 else
9189 echo "$as_me: failed program was:" >&5
9190 sed 's/^/| /' conftest.$ac_ext >&5
9192 ac_cv_lib_m_scalbnf=no
9194 rm -f conftest.err conftest.$ac_objext \
9195 conftest$ac_exeext conftest.$ac_ext
9196 LIBS=$ac_check_lib_save_LIBS
9198 echo "$as_me:$LINENO: result: $ac_cv_lib_m_scalbnf" >&5
9199 echo "${ECHO_T}$ac_cv_lib_m_scalbnf" >&6
9200 if test $ac_cv_lib_m_scalbnf = yes; then
9202 cat >>confdefs.h <<\_ACEOF
9203 #define HAVE_SCALBNF 1
9204 _ACEOF
9208 echo "$as_me:$LINENO: checking for sinf in -lm" >&5
9209 echo $ECHO_N "checking for sinf in -lm... $ECHO_C" >&6
9210 if test "${ac_cv_lib_m_sinf+set}" = set; then
9211 echo $ECHO_N "(cached) $ECHO_C" >&6
9212 else
9213 ac_check_lib_save_LIBS=$LIBS
9214 LIBS="-lm $LIBS"
9215 cat >conftest.$ac_ext <<_ACEOF
9216 /* confdefs.h. */
9217 _ACEOF
9218 cat confdefs.h >>conftest.$ac_ext
9219 cat >>conftest.$ac_ext <<_ACEOF
9220 /* end confdefs.h. */
9222 /* Override any gcc2 internal prototype to avoid an error. */
9223 #ifdef __cplusplus
9224 extern "C"
9225 #endif
9226 /* We use char because int might match the return type of a gcc2
9227 builtin and then its argument prototype would still apply. */
9228 char sinf ();
9230 main ()
9232 sinf ();
9234 return 0;
9236 _ACEOF
9237 rm -f conftest.$ac_objext conftest$ac_exeext
9238 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9239 (eval $ac_link) 2>conftest.er1
9240 ac_status=$?
9241 grep -v '^ *+' conftest.er1 >conftest.err
9242 rm -f conftest.er1
9243 cat conftest.err >&5
9244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9245 (exit $ac_status); } &&
9246 { ac_try='test -z "$ac_c_werror_flag"
9247 || test ! -s conftest.err'
9248 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9249 (eval $ac_try) 2>&5
9250 ac_status=$?
9251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9252 (exit $ac_status); }; } &&
9253 { ac_try='test -s conftest$ac_exeext'
9254 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9255 (eval $ac_try) 2>&5
9256 ac_status=$?
9257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9258 (exit $ac_status); }; }; then
9259 ac_cv_lib_m_sinf=yes
9260 else
9261 echo "$as_me: failed program was:" >&5
9262 sed 's/^/| /' conftest.$ac_ext >&5
9264 ac_cv_lib_m_sinf=no
9266 rm -f conftest.err conftest.$ac_objext \
9267 conftest$ac_exeext conftest.$ac_ext
9268 LIBS=$ac_check_lib_save_LIBS
9270 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sinf" >&5
9271 echo "${ECHO_T}$ac_cv_lib_m_sinf" >&6
9272 if test $ac_cv_lib_m_sinf = yes; then
9274 cat >>confdefs.h <<\_ACEOF
9275 #define HAVE_SINF 1
9276 _ACEOF
9280 echo "$as_me:$LINENO: checking for sinhf in -lm" >&5
9281 echo $ECHO_N "checking for sinhf in -lm... $ECHO_C" >&6
9282 if test "${ac_cv_lib_m_sinhf+set}" = set; then
9283 echo $ECHO_N "(cached) $ECHO_C" >&6
9284 else
9285 ac_check_lib_save_LIBS=$LIBS
9286 LIBS="-lm $LIBS"
9287 cat >conftest.$ac_ext <<_ACEOF
9288 /* confdefs.h. */
9289 _ACEOF
9290 cat confdefs.h >>conftest.$ac_ext
9291 cat >>conftest.$ac_ext <<_ACEOF
9292 /* end confdefs.h. */
9294 /* Override any gcc2 internal prototype to avoid an error. */
9295 #ifdef __cplusplus
9296 extern "C"
9297 #endif
9298 /* We use char because int might match the return type of a gcc2
9299 builtin and then its argument prototype would still apply. */
9300 char sinhf ();
9302 main ()
9304 sinhf ();
9306 return 0;
9308 _ACEOF
9309 rm -f conftest.$ac_objext conftest$ac_exeext
9310 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9311 (eval $ac_link) 2>conftest.er1
9312 ac_status=$?
9313 grep -v '^ *+' conftest.er1 >conftest.err
9314 rm -f conftest.er1
9315 cat conftest.err >&5
9316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9317 (exit $ac_status); } &&
9318 { ac_try='test -z "$ac_c_werror_flag"
9319 || test ! -s conftest.err'
9320 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9321 (eval $ac_try) 2>&5
9322 ac_status=$?
9323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9324 (exit $ac_status); }; } &&
9325 { ac_try='test -s conftest$ac_exeext'
9326 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9327 (eval $ac_try) 2>&5
9328 ac_status=$?
9329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9330 (exit $ac_status); }; }; then
9331 ac_cv_lib_m_sinhf=yes
9332 else
9333 echo "$as_me: failed program was:" >&5
9334 sed 's/^/| /' conftest.$ac_ext >&5
9336 ac_cv_lib_m_sinhf=no
9338 rm -f conftest.err conftest.$ac_objext \
9339 conftest$ac_exeext conftest.$ac_ext
9340 LIBS=$ac_check_lib_save_LIBS
9342 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sinhf" >&5
9343 echo "${ECHO_T}$ac_cv_lib_m_sinhf" >&6
9344 if test $ac_cv_lib_m_sinhf = yes; then
9346 cat >>confdefs.h <<\_ACEOF
9347 #define HAVE_SINHF 1
9348 _ACEOF
9352 echo "$as_me:$LINENO: checking for sqrtf in -lm" >&5
9353 echo $ECHO_N "checking for sqrtf in -lm... $ECHO_C" >&6
9354 if test "${ac_cv_lib_m_sqrtf+set}" = set; then
9355 echo $ECHO_N "(cached) $ECHO_C" >&6
9356 else
9357 ac_check_lib_save_LIBS=$LIBS
9358 LIBS="-lm $LIBS"
9359 cat >conftest.$ac_ext <<_ACEOF
9360 /* confdefs.h. */
9361 _ACEOF
9362 cat confdefs.h >>conftest.$ac_ext
9363 cat >>conftest.$ac_ext <<_ACEOF
9364 /* end confdefs.h. */
9366 /* Override any gcc2 internal prototype to avoid an error. */
9367 #ifdef __cplusplus
9368 extern "C"
9369 #endif
9370 /* We use char because int might match the return type of a gcc2
9371 builtin and then its argument prototype would still apply. */
9372 char sqrtf ();
9374 main ()
9376 sqrtf ();
9378 return 0;
9380 _ACEOF
9381 rm -f conftest.$ac_objext conftest$ac_exeext
9382 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9383 (eval $ac_link) 2>conftest.er1
9384 ac_status=$?
9385 grep -v '^ *+' conftest.er1 >conftest.err
9386 rm -f conftest.er1
9387 cat conftest.err >&5
9388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9389 (exit $ac_status); } &&
9390 { ac_try='test -z "$ac_c_werror_flag"
9391 || test ! -s conftest.err'
9392 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9393 (eval $ac_try) 2>&5
9394 ac_status=$?
9395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9396 (exit $ac_status); }; } &&
9397 { ac_try='test -s conftest$ac_exeext'
9398 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9399 (eval $ac_try) 2>&5
9400 ac_status=$?
9401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9402 (exit $ac_status); }; }; then
9403 ac_cv_lib_m_sqrtf=yes
9404 else
9405 echo "$as_me: failed program was:" >&5
9406 sed 's/^/| /' conftest.$ac_ext >&5
9408 ac_cv_lib_m_sqrtf=no
9410 rm -f conftest.err conftest.$ac_objext \
9411 conftest$ac_exeext conftest.$ac_ext
9412 LIBS=$ac_check_lib_save_LIBS
9414 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sqrtf" >&5
9415 echo "${ECHO_T}$ac_cv_lib_m_sqrtf" >&6
9416 if test $ac_cv_lib_m_sqrtf = yes; then
9418 cat >>confdefs.h <<\_ACEOF
9419 #define HAVE_SQRTF 1
9420 _ACEOF
9424 echo "$as_me:$LINENO: checking for tanf in -lm" >&5
9425 echo $ECHO_N "checking for tanf in -lm... $ECHO_C" >&6
9426 if test "${ac_cv_lib_m_tanf+set}" = set; then
9427 echo $ECHO_N "(cached) $ECHO_C" >&6
9428 else
9429 ac_check_lib_save_LIBS=$LIBS
9430 LIBS="-lm $LIBS"
9431 cat >conftest.$ac_ext <<_ACEOF
9432 /* confdefs.h. */
9433 _ACEOF
9434 cat confdefs.h >>conftest.$ac_ext
9435 cat >>conftest.$ac_ext <<_ACEOF
9436 /* end confdefs.h. */
9438 /* Override any gcc2 internal prototype to avoid an error. */
9439 #ifdef __cplusplus
9440 extern "C"
9441 #endif
9442 /* We use char because int might match the return type of a gcc2
9443 builtin and then its argument prototype would still apply. */
9444 char tanf ();
9446 main ()
9448 tanf ();
9450 return 0;
9452 _ACEOF
9453 rm -f conftest.$ac_objext conftest$ac_exeext
9454 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9455 (eval $ac_link) 2>conftest.er1
9456 ac_status=$?
9457 grep -v '^ *+' conftest.er1 >conftest.err
9458 rm -f conftest.er1
9459 cat conftest.err >&5
9460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9461 (exit $ac_status); } &&
9462 { ac_try='test -z "$ac_c_werror_flag"
9463 || test ! -s conftest.err'
9464 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9465 (eval $ac_try) 2>&5
9466 ac_status=$?
9467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9468 (exit $ac_status); }; } &&
9469 { ac_try='test -s conftest$ac_exeext'
9470 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9471 (eval $ac_try) 2>&5
9472 ac_status=$?
9473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9474 (exit $ac_status); }; }; then
9475 ac_cv_lib_m_tanf=yes
9476 else
9477 echo "$as_me: failed program was:" >&5
9478 sed 's/^/| /' conftest.$ac_ext >&5
9480 ac_cv_lib_m_tanf=no
9482 rm -f conftest.err conftest.$ac_objext \
9483 conftest$ac_exeext conftest.$ac_ext
9484 LIBS=$ac_check_lib_save_LIBS
9486 echo "$as_me:$LINENO: result: $ac_cv_lib_m_tanf" >&5
9487 echo "${ECHO_T}$ac_cv_lib_m_tanf" >&6
9488 if test $ac_cv_lib_m_tanf = yes; then
9490 cat >>confdefs.h <<\_ACEOF
9491 #define HAVE_TANF 1
9492 _ACEOF
9496 echo "$as_me:$LINENO: checking for tanhf in -lm" >&5
9497 echo $ECHO_N "checking for tanhf in -lm... $ECHO_C" >&6
9498 if test "${ac_cv_lib_m_tanhf+set}" = set; then
9499 echo $ECHO_N "(cached) $ECHO_C" >&6
9500 else
9501 ac_check_lib_save_LIBS=$LIBS
9502 LIBS="-lm $LIBS"
9503 cat >conftest.$ac_ext <<_ACEOF
9504 /* confdefs.h. */
9505 _ACEOF
9506 cat confdefs.h >>conftest.$ac_ext
9507 cat >>conftest.$ac_ext <<_ACEOF
9508 /* end confdefs.h. */
9510 /* Override any gcc2 internal prototype to avoid an error. */
9511 #ifdef __cplusplus
9512 extern "C"
9513 #endif
9514 /* We use char because int might match the return type of a gcc2
9515 builtin and then its argument prototype would still apply. */
9516 char tanhf ();
9518 main ()
9520 tanhf ();
9522 return 0;
9524 _ACEOF
9525 rm -f conftest.$ac_objext conftest$ac_exeext
9526 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9527 (eval $ac_link) 2>conftest.er1
9528 ac_status=$?
9529 grep -v '^ *+' conftest.er1 >conftest.err
9530 rm -f conftest.er1
9531 cat conftest.err >&5
9532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9533 (exit $ac_status); } &&
9534 { ac_try='test -z "$ac_c_werror_flag"
9535 || test ! -s conftest.err'
9536 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9537 (eval $ac_try) 2>&5
9538 ac_status=$?
9539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9540 (exit $ac_status); }; } &&
9541 { ac_try='test -s conftest$ac_exeext'
9542 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9543 (eval $ac_try) 2>&5
9544 ac_status=$?
9545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9546 (exit $ac_status); }; }; then
9547 ac_cv_lib_m_tanhf=yes
9548 else
9549 echo "$as_me: failed program was:" >&5
9550 sed 's/^/| /' conftest.$ac_ext >&5
9552 ac_cv_lib_m_tanhf=no
9554 rm -f conftest.err conftest.$ac_objext \
9555 conftest$ac_exeext conftest.$ac_ext
9556 LIBS=$ac_check_lib_save_LIBS
9558 echo "$as_me:$LINENO: result: $ac_cv_lib_m_tanhf" >&5
9559 echo "${ECHO_T}$ac_cv_lib_m_tanhf" >&6
9560 if test $ac_cv_lib_m_tanhf = yes; then
9562 cat >>confdefs.h <<\_ACEOF
9563 #define HAVE_TANHF 1
9564 _ACEOF
9568 echo "$as_me:$LINENO: checking for erf in -lm" >&5
9569 echo $ECHO_N "checking for erf in -lm... $ECHO_C" >&6
9570 if test "${ac_cv_lib_m_erf+set}" = set; then
9571 echo $ECHO_N "(cached) $ECHO_C" >&6
9572 else
9573 ac_check_lib_save_LIBS=$LIBS
9574 LIBS="-lm $LIBS"
9575 cat >conftest.$ac_ext <<_ACEOF
9576 /* confdefs.h. */
9577 _ACEOF
9578 cat confdefs.h >>conftest.$ac_ext
9579 cat >>conftest.$ac_ext <<_ACEOF
9580 /* end confdefs.h. */
9582 /* Override any gcc2 internal prototype to avoid an error. */
9583 #ifdef __cplusplus
9584 extern "C"
9585 #endif
9586 /* We use char because int might match the return type of a gcc2
9587 builtin and then its argument prototype would still apply. */
9588 char erf ();
9590 main ()
9592 erf ();
9594 return 0;
9596 _ACEOF
9597 rm -f conftest.$ac_objext conftest$ac_exeext
9598 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9599 (eval $ac_link) 2>conftest.er1
9600 ac_status=$?
9601 grep -v '^ *+' conftest.er1 >conftest.err
9602 rm -f conftest.er1
9603 cat conftest.err >&5
9604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9605 (exit $ac_status); } &&
9606 { ac_try='test -z "$ac_c_werror_flag"
9607 || test ! -s conftest.err'
9608 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9609 (eval $ac_try) 2>&5
9610 ac_status=$?
9611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9612 (exit $ac_status); }; } &&
9613 { ac_try='test -s conftest$ac_exeext'
9614 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9615 (eval $ac_try) 2>&5
9616 ac_status=$?
9617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9618 (exit $ac_status); }; }; then
9619 ac_cv_lib_m_erf=yes
9620 else
9621 echo "$as_me: failed program was:" >&5
9622 sed 's/^/| /' conftest.$ac_ext >&5
9624 ac_cv_lib_m_erf=no
9626 rm -f conftest.err conftest.$ac_objext \
9627 conftest$ac_exeext conftest.$ac_ext
9628 LIBS=$ac_check_lib_save_LIBS
9630 echo "$as_me:$LINENO: result: $ac_cv_lib_m_erf" >&5
9631 echo "${ECHO_T}$ac_cv_lib_m_erf" >&6
9632 if test $ac_cv_lib_m_erf = yes; then
9634 cat >>confdefs.h <<\_ACEOF
9635 #define HAVE_ERF 1
9636 _ACEOF
9640 echo "$as_me:$LINENO: checking for erfc in -lm" >&5
9641 echo $ECHO_N "checking for erfc in -lm... $ECHO_C" >&6
9642 if test "${ac_cv_lib_m_erfc+set}" = set; then
9643 echo $ECHO_N "(cached) $ECHO_C" >&6
9644 else
9645 ac_check_lib_save_LIBS=$LIBS
9646 LIBS="-lm $LIBS"
9647 cat >conftest.$ac_ext <<_ACEOF
9648 /* confdefs.h. */
9649 _ACEOF
9650 cat confdefs.h >>conftest.$ac_ext
9651 cat >>conftest.$ac_ext <<_ACEOF
9652 /* end confdefs.h. */
9654 /* Override any gcc2 internal prototype to avoid an error. */
9655 #ifdef __cplusplus
9656 extern "C"
9657 #endif
9658 /* We use char because int might match the return type of a gcc2
9659 builtin and then its argument prototype would still apply. */
9660 char erfc ();
9662 main ()
9664 erfc ();
9666 return 0;
9668 _ACEOF
9669 rm -f conftest.$ac_objext conftest$ac_exeext
9670 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9671 (eval $ac_link) 2>conftest.er1
9672 ac_status=$?
9673 grep -v '^ *+' conftest.er1 >conftest.err
9674 rm -f conftest.er1
9675 cat conftest.err >&5
9676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9677 (exit $ac_status); } &&
9678 { ac_try='test -z "$ac_c_werror_flag"
9679 || test ! -s conftest.err'
9680 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9681 (eval $ac_try) 2>&5
9682 ac_status=$?
9683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9684 (exit $ac_status); }; } &&
9685 { ac_try='test -s conftest$ac_exeext'
9686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9687 (eval $ac_try) 2>&5
9688 ac_status=$?
9689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9690 (exit $ac_status); }; }; then
9691 ac_cv_lib_m_erfc=yes
9692 else
9693 echo "$as_me: failed program was:" >&5
9694 sed 's/^/| /' conftest.$ac_ext >&5
9696 ac_cv_lib_m_erfc=no
9698 rm -f conftest.err conftest.$ac_objext \
9699 conftest$ac_exeext conftest.$ac_ext
9700 LIBS=$ac_check_lib_save_LIBS
9702 echo "$as_me:$LINENO: result: $ac_cv_lib_m_erfc" >&5
9703 echo "${ECHO_T}$ac_cv_lib_m_erfc" >&6
9704 if test $ac_cv_lib_m_erfc = yes; then
9706 cat >>confdefs.h <<\_ACEOF
9707 #define HAVE_ERFC 1
9708 _ACEOF
9712 echo "$as_me:$LINENO: checking for erfcf in -lm" >&5
9713 echo $ECHO_N "checking for erfcf in -lm... $ECHO_C" >&6
9714 if test "${ac_cv_lib_m_erfcf+set}" = set; then
9715 echo $ECHO_N "(cached) $ECHO_C" >&6
9716 else
9717 ac_check_lib_save_LIBS=$LIBS
9718 LIBS="-lm $LIBS"
9719 cat >conftest.$ac_ext <<_ACEOF
9720 /* confdefs.h. */
9721 _ACEOF
9722 cat confdefs.h >>conftest.$ac_ext
9723 cat >>conftest.$ac_ext <<_ACEOF
9724 /* end confdefs.h. */
9726 /* Override any gcc2 internal prototype to avoid an error. */
9727 #ifdef __cplusplus
9728 extern "C"
9729 #endif
9730 /* We use char because int might match the return type of a gcc2
9731 builtin and then its argument prototype would still apply. */
9732 char erfcf ();
9734 main ()
9736 erfcf ();
9738 return 0;
9740 _ACEOF
9741 rm -f conftest.$ac_objext conftest$ac_exeext
9742 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9743 (eval $ac_link) 2>conftest.er1
9744 ac_status=$?
9745 grep -v '^ *+' conftest.er1 >conftest.err
9746 rm -f conftest.er1
9747 cat conftest.err >&5
9748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9749 (exit $ac_status); } &&
9750 { ac_try='test -z "$ac_c_werror_flag"
9751 || test ! -s conftest.err'
9752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9753 (eval $ac_try) 2>&5
9754 ac_status=$?
9755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9756 (exit $ac_status); }; } &&
9757 { ac_try='test -s conftest$ac_exeext'
9758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9759 (eval $ac_try) 2>&5
9760 ac_status=$?
9761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9762 (exit $ac_status); }; }; then
9763 ac_cv_lib_m_erfcf=yes
9764 else
9765 echo "$as_me: failed program was:" >&5
9766 sed 's/^/| /' conftest.$ac_ext >&5
9768 ac_cv_lib_m_erfcf=no
9770 rm -f conftest.err conftest.$ac_objext \
9771 conftest$ac_exeext conftest.$ac_ext
9772 LIBS=$ac_check_lib_save_LIBS
9774 echo "$as_me:$LINENO: result: $ac_cv_lib_m_erfcf" >&5
9775 echo "${ECHO_T}$ac_cv_lib_m_erfcf" >&6
9776 if test $ac_cv_lib_m_erfcf = yes; then
9778 cat >>confdefs.h <<\_ACEOF
9779 #define HAVE_ERFCF 1
9780 _ACEOF
9784 echo "$as_me:$LINENO: checking for erff in -lm" >&5
9785 echo $ECHO_N "checking for erff in -lm... $ECHO_C" >&6
9786 if test "${ac_cv_lib_m_erff+set}" = set; then
9787 echo $ECHO_N "(cached) $ECHO_C" >&6
9788 else
9789 ac_check_lib_save_LIBS=$LIBS
9790 LIBS="-lm $LIBS"
9791 cat >conftest.$ac_ext <<_ACEOF
9792 /* confdefs.h. */
9793 _ACEOF
9794 cat confdefs.h >>conftest.$ac_ext
9795 cat >>conftest.$ac_ext <<_ACEOF
9796 /* end confdefs.h. */
9798 /* Override any gcc2 internal prototype to avoid an error. */
9799 #ifdef __cplusplus
9800 extern "C"
9801 #endif
9802 /* We use char because int might match the return type of a gcc2
9803 builtin and then its argument prototype would still apply. */
9804 char erff ();
9806 main ()
9808 erff ();
9810 return 0;
9812 _ACEOF
9813 rm -f conftest.$ac_objext conftest$ac_exeext
9814 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9815 (eval $ac_link) 2>conftest.er1
9816 ac_status=$?
9817 grep -v '^ *+' conftest.er1 >conftest.err
9818 rm -f conftest.er1
9819 cat conftest.err >&5
9820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9821 (exit $ac_status); } &&
9822 { ac_try='test -z "$ac_c_werror_flag"
9823 || test ! -s conftest.err'
9824 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9825 (eval $ac_try) 2>&5
9826 ac_status=$?
9827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9828 (exit $ac_status); }; } &&
9829 { ac_try='test -s conftest$ac_exeext'
9830 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9831 (eval $ac_try) 2>&5
9832 ac_status=$?
9833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9834 (exit $ac_status); }; }; then
9835 ac_cv_lib_m_erff=yes
9836 else
9837 echo "$as_me: failed program was:" >&5
9838 sed 's/^/| /' conftest.$ac_ext >&5
9840 ac_cv_lib_m_erff=no
9842 rm -f conftest.err conftest.$ac_objext \
9843 conftest$ac_exeext conftest.$ac_ext
9844 LIBS=$ac_check_lib_save_LIBS
9846 echo "$as_me:$LINENO: result: $ac_cv_lib_m_erff" >&5
9847 echo "${ECHO_T}$ac_cv_lib_m_erff" >&6
9848 if test $ac_cv_lib_m_erff = yes; then
9850 cat >>confdefs.h <<\_ACEOF
9851 #define HAVE_ERFF 1
9852 _ACEOF
9856 echo "$as_me:$LINENO: checking for j0 in -lm" >&5
9857 echo $ECHO_N "checking for j0 in -lm... $ECHO_C" >&6
9858 if test "${ac_cv_lib_m_j0+set}" = set; then
9859 echo $ECHO_N "(cached) $ECHO_C" >&6
9860 else
9861 ac_check_lib_save_LIBS=$LIBS
9862 LIBS="-lm $LIBS"
9863 cat >conftest.$ac_ext <<_ACEOF
9864 /* confdefs.h. */
9865 _ACEOF
9866 cat confdefs.h >>conftest.$ac_ext
9867 cat >>conftest.$ac_ext <<_ACEOF
9868 /* end confdefs.h. */
9870 /* Override any gcc2 internal prototype to avoid an error. */
9871 #ifdef __cplusplus
9872 extern "C"
9873 #endif
9874 /* We use char because int might match the return type of a gcc2
9875 builtin and then its argument prototype would still apply. */
9876 char j0 ();
9878 main ()
9880 j0 ();
9882 return 0;
9884 _ACEOF
9885 rm -f conftest.$ac_objext conftest$ac_exeext
9886 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9887 (eval $ac_link) 2>conftest.er1
9888 ac_status=$?
9889 grep -v '^ *+' conftest.er1 >conftest.err
9890 rm -f conftest.er1
9891 cat conftest.err >&5
9892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9893 (exit $ac_status); } &&
9894 { ac_try='test -z "$ac_c_werror_flag"
9895 || test ! -s conftest.err'
9896 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9897 (eval $ac_try) 2>&5
9898 ac_status=$?
9899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9900 (exit $ac_status); }; } &&
9901 { ac_try='test -s conftest$ac_exeext'
9902 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9903 (eval $ac_try) 2>&5
9904 ac_status=$?
9905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9906 (exit $ac_status); }; }; then
9907 ac_cv_lib_m_j0=yes
9908 else
9909 echo "$as_me: failed program was:" >&5
9910 sed 's/^/| /' conftest.$ac_ext >&5
9912 ac_cv_lib_m_j0=no
9914 rm -f conftest.err conftest.$ac_objext \
9915 conftest$ac_exeext conftest.$ac_ext
9916 LIBS=$ac_check_lib_save_LIBS
9918 echo "$as_me:$LINENO: result: $ac_cv_lib_m_j0" >&5
9919 echo "${ECHO_T}$ac_cv_lib_m_j0" >&6
9920 if test $ac_cv_lib_m_j0 = yes; then
9922 cat >>confdefs.h <<\_ACEOF
9923 #define HAVE_J0 1
9924 _ACEOF
9928 echo "$as_me:$LINENO: checking for j0f in -lm" >&5
9929 echo $ECHO_N "checking for j0f in -lm... $ECHO_C" >&6
9930 if test "${ac_cv_lib_m_j0f+set}" = set; then
9931 echo $ECHO_N "(cached) $ECHO_C" >&6
9932 else
9933 ac_check_lib_save_LIBS=$LIBS
9934 LIBS="-lm $LIBS"
9935 cat >conftest.$ac_ext <<_ACEOF
9936 /* confdefs.h. */
9937 _ACEOF
9938 cat confdefs.h >>conftest.$ac_ext
9939 cat >>conftest.$ac_ext <<_ACEOF
9940 /* end confdefs.h. */
9942 /* Override any gcc2 internal prototype to avoid an error. */
9943 #ifdef __cplusplus
9944 extern "C"
9945 #endif
9946 /* We use char because int might match the return type of a gcc2
9947 builtin and then its argument prototype would still apply. */
9948 char j0f ();
9950 main ()
9952 j0f ();
9954 return 0;
9956 _ACEOF
9957 rm -f conftest.$ac_objext conftest$ac_exeext
9958 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9959 (eval $ac_link) 2>conftest.er1
9960 ac_status=$?
9961 grep -v '^ *+' conftest.er1 >conftest.err
9962 rm -f conftest.er1
9963 cat conftest.err >&5
9964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9965 (exit $ac_status); } &&
9966 { ac_try='test -z "$ac_c_werror_flag"
9967 || test ! -s conftest.err'
9968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9969 (eval $ac_try) 2>&5
9970 ac_status=$?
9971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9972 (exit $ac_status); }; } &&
9973 { ac_try='test -s conftest$ac_exeext'
9974 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9975 (eval $ac_try) 2>&5
9976 ac_status=$?
9977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9978 (exit $ac_status); }; }; then
9979 ac_cv_lib_m_j0f=yes
9980 else
9981 echo "$as_me: failed program was:" >&5
9982 sed 's/^/| /' conftest.$ac_ext >&5
9984 ac_cv_lib_m_j0f=no
9986 rm -f conftest.err conftest.$ac_objext \
9987 conftest$ac_exeext conftest.$ac_ext
9988 LIBS=$ac_check_lib_save_LIBS
9990 echo "$as_me:$LINENO: result: $ac_cv_lib_m_j0f" >&5
9991 echo "${ECHO_T}$ac_cv_lib_m_j0f" >&6
9992 if test $ac_cv_lib_m_j0f = yes; then
9994 cat >>confdefs.h <<\_ACEOF
9995 #define HAVE_J0F 1
9996 _ACEOF
10000 echo "$as_me:$LINENO: checking for j1 in -lm" >&5
10001 echo $ECHO_N "checking for j1 in -lm... $ECHO_C" >&6
10002 if test "${ac_cv_lib_m_j1+set}" = set; then
10003 echo $ECHO_N "(cached) $ECHO_C" >&6
10004 else
10005 ac_check_lib_save_LIBS=$LIBS
10006 LIBS="-lm $LIBS"
10007 cat >conftest.$ac_ext <<_ACEOF
10008 /* confdefs.h. */
10009 _ACEOF
10010 cat confdefs.h >>conftest.$ac_ext
10011 cat >>conftest.$ac_ext <<_ACEOF
10012 /* end confdefs.h. */
10014 /* Override any gcc2 internal prototype to avoid an error. */
10015 #ifdef __cplusplus
10016 extern "C"
10017 #endif
10018 /* We use char because int might match the return type of a gcc2
10019 builtin and then its argument prototype would still apply. */
10020 char j1 ();
10022 main ()
10024 j1 ();
10026 return 0;
10028 _ACEOF
10029 rm -f conftest.$ac_objext conftest$ac_exeext
10030 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10031 (eval $ac_link) 2>conftest.er1
10032 ac_status=$?
10033 grep -v '^ *+' conftest.er1 >conftest.err
10034 rm -f conftest.er1
10035 cat conftest.err >&5
10036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10037 (exit $ac_status); } &&
10038 { ac_try='test -z "$ac_c_werror_flag"
10039 || test ! -s conftest.err'
10040 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10041 (eval $ac_try) 2>&5
10042 ac_status=$?
10043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10044 (exit $ac_status); }; } &&
10045 { ac_try='test -s conftest$ac_exeext'
10046 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10047 (eval $ac_try) 2>&5
10048 ac_status=$?
10049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10050 (exit $ac_status); }; }; then
10051 ac_cv_lib_m_j1=yes
10052 else
10053 echo "$as_me: failed program was:" >&5
10054 sed 's/^/| /' conftest.$ac_ext >&5
10056 ac_cv_lib_m_j1=no
10058 rm -f conftest.err conftest.$ac_objext \
10059 conftest$ac_exeext conftest.$ac_ext
10060 LIBS=$ac_check_lib_save_LIBS
10062 echo "$as_me:$LINENO: result: $ac_cv_lib_m_j1" >&5
10063 echo "${ECHO_T}$ac_cv_lib_m_j1" >&6
10064 if test $ac_cv_lib_m_j1 = yes; then
10066 cat >>confdefs.h <<\_ACEOF
10067 #define HAVE_J1 1
10068 _ACEOF
10072 echo "$as_me:$LINENO: checking for j1f in -lm" >&5
10073 echo $ECHO_N "checking for j1f in -lm... $ECHO_C" >&6
10074 if test "${ac_cv_lib_m_j1f+set}" = set; then
10075 echo $ECHO_N "(cached) $ECHO_C" >&6
10076 else
10077 ac_check_lib_save_LIBS=$LIBS
10078 LIBS="-lm $LIBS"
10079 cat >conftest.$ac_ext <<_ACEOF
10080 /* confdefs.h. */
10081 _ACEOF
10082 cat confdefs.h >>conftest.$ac_ext
10083 cat >>conftest.$ac_ext <<_ACEOF
10084 /* end confdefs.h. */
10086 /* Override any gcc2 internal prototype to avoid an error. */
10087 #ifdef __cplusplus
10088 extern "C"
10089 #endif
10090 /* We use char because int might match the return type of a gcc2
10091 builtin and then its argument prototype would still apply. */
10092 char j1f ();
10094 main ()
10096 j1f ();
10098 return 0;
10100 _ACEOF
10101 rm -f conftest.$ac_objext conftest$ac_exeext
10102 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10103 (eval $ac_link) 2>conftest.er1
10104 ac_status=$?
10105 grep -v '^ *+' conftest.er1 >conftest.err
10106 rm -f conftest.er1
10107 cat conftest.err >&5
10108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10109 (exit $ac_status); } &&
10110 { ac_try='test -z "$ac_c_werror_flag"
10111 || test ! -s conftest.err'
10112 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10113 (eval $ac_try) 2>&5
10114 ac_status=$?
10115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10116 (exit $ac_status); }; } &&
10117 { ac_try='test -s conftest$ac_exeext'
10118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10119 (eval $ac_try) 2>&5
10120 ac_status=$?
10121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10122 (exit $ac_status); }; }; then
10123 ac_cv_lib_m_j1f=yes
10124 else
10125 echo "$as_me: failed program was:" >&5
10126 sed 's/^/| /' conftest.$ac_ext >&5
10128 ac_cv_lib_m_j1f=no
10130 rm -f conftest.err conftest.$ac_objext \
10131 conftest$ac_exeext conftest.$ac_ext
10132 LIBS=$ac_check_lib_save_LIBS
10134 echo "$as_me:$LINENO: result: $ac_cv_lib_m_j1f" >&5
10135 echo "${ECHO_T}$ac_cv_lib_m_j1f" >&6
10136 if test $ac_cv_lib_m_j1f = yes; then
10138 cat >>confdefs.h <<\_ACEOF
10139 #define HAVE_J1F 1
10140 _ACEOF
10144 echo "$as_me:$LINENO: checking for jn in -lm" >&5
10145 echo $ECHO_N "checking for jn in -lm... $ECHO_C" >&6
10146 if test "${ac_cv_lib_m_jn+set}" = set; then
10147 echo $ECHO_N "(cached) $ECHO_C" >&6
10148 else
10149 ac_check_lib_save_LIBS=$LIBS
10150 LIBS="-lm $LIBS"
10151 cat >conftest.$ac_ext <<_ACEOF
10152 /* confdefs.h. */
10153 _ACEOF
10154 cat confdefs.h >>conftest.$ac_ext
10155 cat >>conftest.$ac_ext <<_ACEOF
10156 /* end confdefs.h. */
10158 /* Override any gcc2 internal prototype to avoid an error. */
10159 #ifdef __cplusplus
10160 extern "C"
10161 #endif
10162 /* We use char because int might match the return type of a gcc2
10163 builtin and then its argument prototype would still apply. */
10164 char jn ();
10166 main ()
10168 jn ();
10170 return 0;
10172 _ACEOF
10173 rm -f conftest.$ac_objext conftest$ac_exeext
10174 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10175 (eval $ac_link) 2>conftest.er1
10176 ac_status=$?
10177 grep -v '^ *+' conftest.er1 >conftest.err
10178 rm -f conftest.er1
10179 cat conftest.err >&5
10180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10181 (exit $ac_status); } &&
10182 { ac_try='test -z "$ac_c_werror_flag"
10183 || test ! -s conftest.err'
10184 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10185 (eval $ac_try) 2>&5
10186 ac_status=$?
10187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10188 (exit $ac_status); }; } &&
10189 { ac_try='test -s conftest$ac_exeext'
10190 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10191 (eval $ac_try) 2>&5
10192 ac_status=$?
10193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10194 (exit $ac_status); }; }; then
10195 ac_cv_lib_m_jn=yes
10196 else
10197 echo "$as_me: failed program was:" >&5
10198 sed 's/^/| /' conftest.$ac_ext >&5
10200 ac_cv_lib_m_jn=no
10202 rm -f conftest.err conftest.$ac_objext \
10203 conftest$ac_exeext conftest.$ac_ext
10204 LIBS=$ac_check_lib_save_LIBS
10206 echo "$as_me:$LINENO: result: $ac_cv_lib_m_jn" >&5
10207 echo "${ECHO_T}$ac_cv_lib_m_jn" >&6
10208 if test $ac_cv_lib_m_jn = yes; then
10210 cat >>confdefs.h <<\_ACEOF
10211 #define HAVE_JN 1
10212 _ACEOF
10216 echo "$as_me:$LINENO: checking for jnf in -lm" >&5
10217 echo $ECHO_N "checking for jnf in -lm... $ECHO_C" >&6
10218 if test "${ac_cv_lib_m_jnf+set}" = set; then
10219 echo $ECHO_N "(cached) $ECHO_C" >&6
10220 else
10221 ac_check_lib_save_LIBS=$LIBS
10222 LIBS="-lm $LIBS"
10223 cat >conftest.$ac_ext <<_ACEOF
10224 /* confdefs.h. */
10225 _ACEOF
10226 cat confdefs.h >>conftest.$ac_ext
10227 cat >>conftest.$ac_ext <<_ACEOF
10228 /* end confdefs.h. */
10230 /* Override any gcc2 internal prototype to avoid an error. */
10231 #ifdef __cplusplus
10232 extern "C"
10233 #endif
10234 /* We use char because int might match the return type of a gcc2
10235 builtin and then its argument prototype would still apply. */
10236 char jnf ();
10238 main ()
10240 jnf ();
10242 return 0;
10244 _ACEOF
10245 rm -f conftest.$ac_objext conftest$ac_exeext
10246 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10247 (eval $ac_link) 2>conftest.er1
10248 ac_status=$?
10249 grep -v '^ *+' conftest.er1 >conftest.err
10250 rm -f conftest.er1
10251 cat conftest.err >&5
10252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10253 (exit $ac_status); } &&
10254 { ac_try='test -z "$ac_c_werror_flag"
10255 || test ! -s conftest.err'
10256 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10257 (eval $ac_try) 2>&5
10258 ac_status=$?
10259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10260 (exit $ac_status); }; } &&
10261 { ac_try='test -s conftest$ac_exeext'
10262 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10263 (eval $ac_try) 2>&5
10264 ac_status=$?
10265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10266 (exit $ac_status); }; }; then
10267 ac_cv_lib_m_jnf=yes
10268 else
10269 echo "$as_me: failed program was:" >&5
10270 sed 's/^/| /' conftest.$ac_ext >&5
10272 ac_cv_lib_m_jnf=no
10274 rm -f conftest.err conftest.$ac_objext \
10275 conftest$ac_exeext conftest.$ac_ext
10276 LIBS=$ac_check_lib_save_LIBS
10278 echo "$as_me:$LINENO: result: $ac_cv_lib_m_jnf" >&5
10279 echo "${ECHO_T}$ac_cv_lib_m_jnf" >&6
10280 if test $ac_cv_lib_m_jnf = yes; then
10282 cat >>confdefs.h <<\_ACEOF
10283 #define HAVE_JNF 1
10284 _ACEOF
10288 echo "$as_me:$LINENO: checking for y0 in -lm" >&5
10289 echo $ECHO_N "checking for y0 in -lm... $ECHO_C" >&6
10290 if test "${ac_cv_lib_m_y0+set}" = set; then
10291 echo $ECHO_N "(cached) $ECHO_C" >&6
10292 else
10293 ac_check_lib_save_LIBS=$LIBS
10294 LIBS="-lm $LIBS"
10295 cat >conftest.$ac_ext <<_ACEOF
10296 /* confdefs.h. */
10297 _ACEOF
10298 cat confdefs.h >>conftest.$ac_ext
10299 cat >>conftest.$ac_ext <<_ACEOF
10300 /* end confdefs.h. */
10302 /* Override any gcc2 internal prototype to avoid an error. */
10303 #ifdef __cplusplus
10304 extern "C"
10305 #endif
10306 /* We use char because int might match the return type of a gcc2
10307 builtin and then its argument prototype would still apply. */
10308 char y0 ();
10310 main ()
10312 y0 ();
10314 return 0;
10316 _ACEOF
10317 rm -f conftest.$ac_objext conftest$ac_exeext
10318 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10319 (eval $ac_link) 2>conftest.er1
10320 ac_status=$?
10321 grep -v '^ *+' conftest.er1 >conftest.err
10322 rm -f conftest.er1
10323 cat conftest.err >&5
10324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10325 (exit $ac_status); } &&
10326 { ac_try='test -z "$ac_c_werror_flag"
10327 || test ! -s conftest.err'
10328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10329 (eval $ac_try) 2>&5
10330 ac_status=$?
10331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10332 (exit $ac_status); }; } &&
10333 { ac_try='test -s conftest$ac_exeext'
10334 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10335 (eval $ac_try) 2>&5
10336 ac_status=$?
10337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10338 (exit $ac_status); }; }; then
10339 ac_cv_lib_m_y0=yes
10340 else
10341 echo "$as_me: failed program was:" >&5
10342 sed 's/^/| /' conftest.$ac_ext >&5
10344 ac_cv_lib_m_y0=no
10346 rm -f conftest.err conftest.$ac_objext \
10347 conftest$ac_exeext conftest.$ac_ext
10348 LIBS=$ac_check_lib_save_LIBS
10350 echo "$as_me:$LINENO: result: $ac_cv_lib_m_y0" >&5
10351 echo "${ECHO_T}$ac_cv_lib_m_y0" >&6
10352 if test $ac_cv_lib_m_y0 = yes; then
10354 cat >>confdefs.h <<\_ACEOF
10355 #define HAVE_Y0 1
10356 _ACEOF
10360 echo "$as_me:$LINENO: checking for y0f in -lm" >&5
10361 echo $ECHO_N "checking for y0f in -lm... $ECHO_C" >&6
10362 if test "${ac_cv_lib_m_y0f+set}" = set; then
10363 echo $ECHO_N "(cached) $ECHO_C" >&6
10364 else
10365 ac_check_lib_save_LIBS=$LIBS
10366 LIBS="-lm $LIBS"
10367 cat >conftest.$ac_ext <<_ACEOF
10368 /* confdefs.h. */
10369 _ACEOF
10370 cat confdefs.h >>conftest.$ac_ext
10371 cat >>conftest.$ac_ext <<_ACEOF
10372 /* end confdefs.h. */
10374 /* Override any gcc2 internal prototype to avoid an error. */
10375 #ifdef __cplusplus
10376 extern "C"
10377 #endif
10378 /* We use char because int might match the return type of a gcc2
10379 builtin and then its argument prototype would still apply. */
10380 char y0f ();
10382 main ()
10384 y0f ();
10386 return 0;
10388 _ACEOF
10389 rm -f conftest.$ac_objext conftest$ac_exeext
10390 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10391 (eval $ac_link) 2>conftest.er1
10392 ac_status=$?
10393 grep -v '^ *+' conftest.er1 >conftest.err
10394 rm -f conftest.er1
10395 cat conftest.err >&5
10396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10397 (exit $ac_status); } &&
10398 { ac_try='test -z "$ac_c_werror_flag"
10399 || test ! -s conftest.err'
10400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10401 (eval $ac_try) 2>&5
10402 ac_status=$?
10403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10404 (exit $ac_status); }; } &&
10405 { ac_try='test -s conftest$ac_exeext'
10406 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10407 (eval $ac_try) 2>&5
10408 ac_status=$?
10409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10410 (exit $ac_status); }; }; then
10411 ac_cv_lib_m_y0f=yes
10412 else
10413 echo "$as_me: failed program was:" >&5
10414 sed 's/^/| /' conftest.$ac_ext >&5
10416 ac_cv_lib_m_y0f=no
10418 rm -f conftest.err conftest.$ac_objext \
10419 conftest$ac_exeext conftest.$ac_ext
10420 LIBS=$ac_check_lib_save_LIBS
10422 echo "$as_me:$LINENO: result: $ac_cv_lib_m_y0f" >&5
10423 echo "${ECHO_T}$ac_cv_lib_m_y0f" >&6
10424 if test $ac_cv_lib_m_y0f = yes; then
10426 cat >>confdefs.h <<\_ACEOF
10427 #define HAVE_Y0F 1
10428 _ACEOF
10432 echo "$as_me:$LINENO: checking for y1 in -lm" >&5
10433 echo $ECHO_N "checking for y1 in -lm... $ECHO_C" >&6
10434 if test "${ac_cv_lib_m_y1+set}" = set; then
10435 echo $ECHO_N "(cached) $ECHO_C" >&6
10436 else
10437 ac_check_lib_save_LIBS=$LIBS
10438 LIBS="-lm $LIBS"
10439 cat >conftest.$ac_ext <<_ACEOF
10440 /* confdefs.h. */
10441 _ACEOF
10442 cat confdefs.h >>conftest.$ac_ext
10443 cat >>conftest.$ac_ext <<_ACEOF
10444 /* end confdefs.h. */
10446 /* Override any gcc2 internal prototype to avoid an error. */
10447 #ifdef __cplusplus
10448 extern "C"
10449 #endif
10450 /* We use char because int might match the return type of a gcc2
10451 builtin and then its argument prototype would still apply. */
10452 char y1 ();
10454 main ()
10456 y1 ();
10458 return 0;
10460 _ACEOF
10461 rm -f conftest.$ac_objext conftest$ac_exeext
10462 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10463 (eval $ac_link) 2>conftest.er1
10464 ac_status=$?
10465 grep -v '^ *+' conftest.er1 >conftest.err
10466 rm -f conftest.er1
10467 cat conftest.err >&5
10468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10469 (exit $ac_status); } &&
10470 { ac_try='test -z "$ac_c_werror_flag"
10471 || test ! -s conftest.err'
10472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10473 (eval $ac_try) 2>&5
10474 ac_status=$?
10475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10476 (exit $ac_status); }; } &&
10477 { ac_try='test -s conftest$ac_exeext'
10478 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10479 (eval $ac_try) 2>&5
10480 ac_status=$?
10481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10482 (exit $ac_status); }; }; then
10483 ac_cv_lib_m_y1=yes
10484 else
10485 echo "$as_me: failed program was:" >&5
10486 sed 's/^/| /' conftest.$ac_ext >&5
10488 ac_cv_lib_m_y1=no
10490 rm -f conftest.err conftest.$ac_objext \
10491 conftest$ac_exeext conftest.$ac_ext
10492 LIBS=$ac_check_lib_save_LIBS
10494 echo "$as_me:$LINENO: result: $ac_cv_lib_m_y1" >&5
10495 echo "${ECHO_T}$ac_cv_lib_m_y1" >&6
10496 if test $ac_cv_lib_m_y1 = yes; then
10498 cat >>confdefs.h <<\_ACEOF
10499 #define HAVE_Y1 1
10500 _ACEOF
10504 echo "$as_me:$LINENO: checking for y1f in -lm" >&5
10505 echo $ECHO_N "checking for y1f in -lm... $ECHO_C" >&6
10506 if test "${ac_cv_lib_m_y1f+set}" = set; then
10507 echo $ECHO_N "(cached) $ECHO_C" >&6
10508 else
10509 ac_check_lib_save_LIBS=$LIBS
10510 LIBS="-lm $LIBS"
10511 cat >conftest.$ac_ext <<_ACEOF
10512 /* confdefs.h. */
10513 _ACEOF
10514 cat confdefs.h >>conftest.$ac_ext
10515 cat >>conftest.$ac_ext <<_ACEOF
10516 /* end confdefs.h. */
10518 /* Override any gcc2 internal prototype to avoid an error. */
10519 #ifdef __cplusplus
10520 extern "C"
10521 #endif
10522 /* We use char because int might match the return type of a gcc2
10523 builtin and then its argument prototype would still apply. */
10524 char y1f ();
10526 main ()
10528 y1f ();
10530 return 0;
10532 _ACEOF
10533 rm -f conftest.$ac_objext conftest$ac_exeext
10534 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10535 (eval $ac_link) 2>conftest.er1
10536 ac_status=$?
10537 grep -v '^ *+' conftest.er1 >conftest.err
10538 rm -f conftest.er1
10539 cat conftest.err >&5
10540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10541 (exit $ac_status); } &&
10542 { ac_try='test -z "$ac_c_werror_flag"
10543 || test ! -s conftest.err'
10544 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10545 (eval $ac_try) 2>&5
10546 ac_status=$?
10547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10548 (exit $ac_status); }; } &&
10549 { ac_try='test -s conftest$ac_exeext'
10550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10551 (eval $ac_try) 2>&5
10552 ac_status=$?
10553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10554 (exit $ac_status); }; }; then
10555 ac_cv_lib_m_y1f=yes
10556 else
10557 echo "$as_me: failed program was:" >&5
10558 sed 's/^/| /' conftest.$ac_ext >&5
10560 ac_cv_lib_m_y1f=no
10562 rm -f conftest.err conftest.$ac_objext \
10563 conftest$ac_exeext conftest.$ac_ext
10564 LIBS=$ac_check_lib_save_LIBS
10566 echo "$as_me:$LINENO: result: $ac_cv_lib_m_y1f" >&5
10567 echo "${ECHO_T}$ac_cv_lib_m_y1f" >&6
10568 if test $ac_cv_lib_m_y1f = yes; then
10570 cat >>confdefs.h <<\_ACEOF
10571 #define HAVE_Y1F 1
10572 _ACEOF
10576 echo "$as_me:$LINENO: checking for yn in -lm" >&5
10577 echo $ECHO_N "checking for yn in -lm... $ECHO_C" >&6
10578 if test "${ac_cv_lib_m_yn+set}" = set; then
10579 echo $ECHO_N "(cached) $ECHO_C" >&6
10580 else
10581 ac_check_lib_save_LIBS=$LIBS
10582 LIBS="-lm $LIBS"
10583 cat >conftest.$ac_ext <<_ACEOF
10584 /* confdefs.h. */
10585 _ACEOF
10586 cat confdefs.h >>conftest.$ac_ext
10587 cat >>conftest.$ac_ext <<_ACEOF
10588 /* end confdefs.h. */
10590 /* Override any gcc2 internal prototype to avoid an error. */
10591 #ifdef __cplusplus
10592 extern "C"
10593 #endif
10594 /* We use char because int might match the return type of a gcc2
10595 builtin and then its argument prototype would still apply. */
10596 char yn ();
10598 main ()
10600 yn ();
10602 return 0;
10604 _ACEOF
10605 rm -f conftest.$ac_objext conftest$ac_exeext
10606 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10607 (eval $ac_link) 2>conftest.er1
10608 ac_status=$?
10609 grep -v '^ *+' conftest.er1 >conftest.err
10610 rm -f conftest.er1
10611 cat conftest.err >&5
10612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10613 (exit $ac_status); } &&
10614 { ac_try='test -z "$ac_c_werror_flag"
10615 || test ! -s conftest.err'
10616 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10617 (eval $ac_try) 2>&5
10618 ac_status=$?
10619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10620 (exit $ac_status); }; } &&
10621 { ac_try='test -s conftest$ac_exeext'
10622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10623 (eval $ac_try) 2>&5
10624 ac_status=$?
10625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10626 (exit $ac_status); }; }; then
10627 ac_cv_lib_m_yn=yes
10628 else
10629 echo "$as_me: failed program was:" >&5
10630 sed 's/^/| /' conftest.$ac_ext >&5
10632 ac_cv_lib_m_yn=no
10634 rm -f conftest.err conftest.$ac_objext \
10635 conftest$ac_exeext conftest.$ac_ext
10636 LIBS=$ac_check_lib_save_LIBS
10638 echo "$as_me:$LINENO: result: $ac_cv_lib_m_yn" >&5
10639 echo "${ECHO_T}$ac_cv_lib_m_yn" >&6
10640 if test $ac_cv_lib_m_yn = yes; then
10642 cat >>confdefs.h <<\_ACEOF
10643 #define HAVE_YN 1
10644 _ACEOF
10648 echo "$as_me:$LINENO: checking for ynf in -lm" >&5
10649 echo $ECHO_N "checking for ynf in -lm... $ECHO_C" >&6
10650 if test "${ac_cv_lib_m_ynf+set}" = set; then
10651 echo $ECHO_N "(cached) $ECHO_C" >&6
10652 else
10653 ac_check_lib_save_LIBS=$LIBS
10654 LIBS="-lm $LIBS"
10655 cat >conftest.$ac_ext <<_ACEOF
10656 /* confdefs.h. */
10657 _ACEOF
10658 cat confdefs.h >>conftest.$ac_ext
10659 cat >>conftest.$ac_ext <<_ACEOF
10660 /* end confdefs.h. */
10662 /* Override any gcc2 internal prototype to avoid an error. */
10663 #ifdef __cplusplus
10664 extern "C"
10665 #endif
10666 /* We use char because int might match the return type of a gcc2
10667 builtin and then its argument prototype would still apply. */
10668 char ynf ();
10670 main ()
10672 ynf ();
10674 return 0;
10676 _ACEOF
10677 rm -f conftest.$ac_objext conftest$ac_exeext
10678 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10679 (eval $ac_link) 2>conftest.er1
10680 ac_status=$?
10681 grep -v '^ *+' conftest.er1 >conftest.err
10682 rm -f conftest.er1
10683 cat conftest.err >&5
10684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10685 (exit $ac_status); } &&
10686 { ac_try='test -z "$ac_c_werror_flag"
10687 || test ! -s conftest.err'
10688 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10689 (eval $ac_try) 2>&5
10690 ac_status=$?
10691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10692 (exit $ac_status); }; } &&
10693 { ac_try='test -s conftest$ac_exeext'
10694 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10695 (eval $ac_try) 2>&5
10696 ac_status=$?
10697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10698 (exit $ac_status); }; }; then
10699 ac_cv_lib_m_ynf=yes
10700 else
10701 echo "$as_me: failed program was:" >&5
10702 sed 's/^/| /' conftest.$ac_ext >&5
10704 ac_cv_lib_m_ynf=no
10706 rm -f conftest.err conftest.$ac_objext \
10707 conftest$ac_exeext conftest.$ac_ext
10708 LIBS=$ac_check_lib_save_LIBS
10710 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ynf" >&5
10711 echo "${ECHO_T}$ac_cv_lib_m_ynf" >&6
10712 if test $ac_cv_lib_m_ynf = yes; then
10714 cat >>confdefs.h <<\_ACEOF
10715 #define HAVE_YNF 1
10716 _ACEOF
10721 # Fallback in case isfinite is not available.
10722 echo "$as_me:$LINENO: checking for finite in -lm" >&5
10723 echo $ECHO_N "checking for finite in -lm... $ECHO_C" >&6
10724 if test "${ac_cv_lib_m_finite+set}" = set; then
10725 echo $ECHO_N "(cached) $ECHO_C" >&6
10726 else
10727 ac_check_lib_save_LIBS=$LIBS
10728 LIBS="-lm $LIBS"
10729 cat >conftest.$ac_ext <<_ACEOF
10730 /* confdefs.h. */
10731 _ACEOF
10732 cat confdefs.h >>conftest.$ac_ext
10733 cat >>conftest.$ac_ext <<_ACEOF
10734 /* end confdefs.h. */
10736 /* Override any gcc2 internal prototype to avoid an error. */
10737 #ifdef __cplusplus
10738 extern "C"
10739 #endif
10740 /* We use char because int might match the return type of a gcc2
10741 builtin and then its argument prototype would still apply. */
10742 char finite ();
10744 main ()
10746 finite ();
10748 return 0;
10750 _ACEOF
10751 rm -f conftest.$ac_objext conftest$ac_exeext
10752 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10753 (eval $ac_link) 2>conftest.er1
10754 ac_status=$?
10755 grep -v '^ *+' conftest.er1 >conftest.err
10756 rm -f conftest.er1
10757 cat conftest.err >&5
10758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10759 (exit $ac_status); } &&
10760 { ac_try='test -z "$ac_c_werror_flag"
10761 || test ! -s conftest.err'
10762 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10763 (eval $ac_try) 2>&5
10764 ac_status=$?
10765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10766 (exit $ac_status); }; } &&
10767 { ac_try='test -s conftest$ac_exeext'
10768 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10769 (eval $ac_try) 2>&5
10770 ac_status=$?
10771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10772 (exit $ac_status); }; }; then
10773 ac_cv_lib_m_finite=yes
10774 else
10775 echo "$as_me: failed program was:" >&5
10776 sed 's/^/| /' conftest.$ac_ext >&5
10778 ac_cv_lib_m_finite=no
10780 rm -f conftest.err conftest.$ac_objext \
10781 conftest$ac_exeext conftest.$ac_ext
10782 LIBS=$ac_check_lib_save_LIBS
10784 echo "$as_me:$LINENO: result: $ac_cv_lib_m_finite" >&5
10785 echo "${ECHO_T}$ac_cv_lib_m_finite" >&6
10786 if test $ac_cv_lib_m_finite = yes; then
10788 cat >>confdefs.h <<\_ACEOF
10789 #define HAVE_FINITE 1
10790 _ACEOF
10795 # Let the user override this
10796 # Check whether --enable-cmath or --disable-cmath was given.
10797 if test "${enable_cmath+set}" = set; then
10798 enableval="$enable_cmath"
10799 need_math=$enableval
10801 if test "$need_math" = "yes"; then
10802 { echo "$as_me:$LINENO: Including complex math functions in libgfor" >&5
10803 echo "$as_me: Including complex math functions in libgfor" >&6;};
10804 extra_math_obj='$(gfor_cmath_obj)'
10807 MATH_OBJ="$extra_math_obj"
10810 # The standard autoconf HAVE_STRUCT_TIMEZONE doesn't actually check
10811 # for struct timezone, as you might think. We also need to check how
10812 # to call gettimeofday if we have it.
10813 echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
10814 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
10815 if test "${ac_cv_header_time+set}" = set; then
10816 echo $ECHO_N "(cached) $ECHO_C" >&6
10817 else
10818 cat >conftest.$ac_ext <<_ACEOF
10819 /* confdefs.h. */
10820 _ACEOF
10821 cat confdefs.h >>conftest.$ac_ext
10822 cat >>conftest.$ac_ext <<_ACEOF
10823 /* end confdefs.h. */
10824 #include <sys/types.h>
10825 #include <sys/time.h>
10826 #include <time.h>
10829 main ()
10831 if ((struct tm *) 0)
10832 return 0;
10834 return 0;
10836 _ACEOF
10837 rm -f conftest.$ac_objext
10838 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10839 (eval $ac_compile) 2>conftest.er1
10840 ac_status=$?
10841 grep -v '^ *+' conftest.er1 >conftest.err
10842 rm -f conftest.er1
10843 cat conftest.err >&5
10844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10845 (exit $ac_status); } &&
10846 { ac_try='test -z "$ac_c_werror_flag"
10847 || test ! -s conftest.err'
10848 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10849 (eval $ac_try) 2>&5
10850 ac_status=$?
10851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10852 (exit $ac_status); }; } &&
10853 { ac_try='test -s conftest.$ac_objext'
10854 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10855 (eval $ac_try) 2>&5
10856 ac_status=$?
10857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10858 (exit $ac_status); }; }; then
10859 ac_cv_header_time=yes
10860 else
10861 echo "$as_me: failed program was:" >&5
10862 sed 's/^/| /' conftest.$ac_ext >&5
10864 ac_cv_header_time=no
10866 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10868 echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
10869 echo "${ECHO_T}$ac_cv_header_time" >&6
10870 if test $ac_cv_header_time = yes; then
10872 cat >>confdefs.h <<\_ACEOF
10873 #define TIME_WITH_SYS_TIME 1
10874 _ACEOF
10880 for ac_func in gettimeofday
10882 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10883 echo "$as_me:$LINENO: checking for $ac_func" >&5
10884 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10885 if eval "test \"\${$as_ac_var+set}\" = set"; then
10886 echo $ECHO_N "(cached) $ECHO_C" >&6
10887 else
10888 cat >conftest.$ac_ext <<_ACEOF
10889 /* confdefs.h. */
10890 _ACEOF
10891 cat confdefs.h >>conftest.$ac_ext
10892 cat >>conftest.$ac_ext <<_ACEOF
10893 /* end confdefs.h. */
10894 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10895 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10896 #define $ac_func innocuous_$ac_func
10898 /* System header to define __stub macros and hopefully few prototypes,
10899 which can conflict with char $ac_func (); below.
10900 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10901 <limits.h> exists even on freestanding compilers. */
10903 #ifdef __STDC__
10904 # include <limits.h>
10905 #else
10906 # include <assert.h>
10907 #endif
10909 #undef $ac_func
10911 /* Override any gcc2 internal prototype to avoid an error. */
10912 #ifdef __cplusplus
10913 extern "C"
10915 #endif
10916 /* We use char because int might match the return type of a gcc2
10917 builtin and then its argument prototype would still apply. */
10918 char $ac_func ();
10919 /* The GNU C library defines this for functions which it implements
10920 to always fail with ENOSYS. Some functions are actually named
10921 something starting with __ and the normal name is an alias. */
10922 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10923 choke me
10924 #else
10925 char (*f) () = $ac_func;
10926 #endif
10927 #ifdef __cplusplus
10929 #endif
10932 main ()
10934 return f != $ac_func;
10936 return 0;
10938 _ACEOF
10939 rm -f conftest.$ac_objext conftest$ac_exeext
10940 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10941 (eval $ac_link) 2>conftest.er1
10942 ac_status=$?
10943 grep -v '^ *+' conftest.er1 >conftest.err
10944 rm -f conftest.er1
10945 cat conftest.err >&5
10946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10947 (exit $ac_status); } &&
10948 { ac_try='test -z "$ac_c_werror_flag"
10949 || test ! -s conftest.err'
10950 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10951 (eval $ac_try) 2>&5
10952 ac_status=$?
10953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10954 (exit $ac_status); }; } &&
10955 { ac_try='test -s conftest$ac_exeext'
10956 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10957 (eval $ac_try) 2>&5
10958 ac_status=$?
10959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10960 (exit $ac_status); }; }; then
10961 eval "$as_ac_var=yes"
10962 else
10963 echo "$as_me: failed program was:" >&5
10964 sed 's/^/| /' conftest.$ac_ext >&5
10966 eval "$as_ac_var=no"
10968 rm -f conftest.err conftest.$ac_objext \
10969 conftest$ac_exeext conftest.$ac_ext
10971 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10972 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10973 if test `eval echo '${'$as_ac_var'}'` = yes; then
10974 cat >>confdefs.h <<_ACEOF
10975 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10976 _ACEOF
10979 done
10981 if test "$ac_cv_func_gettimeofday" = yes; then
10982 echo "$as_me:$LINENO: checking for struct timezone" >&5
10983 echo $ECHO_N "checking for struct timezone... $ECHO_C" >&6
10984 if test "${gfor_cv_struct_timezone+set}" = set; then
10985 echo $ECHO_N "(cached) $ECHO_C" >&6
10986 else
10987 cat >conftest.$ac_ext <<_ACEOF
10988 /* confdefs.h. */
10989 _ACEOF
10990 cat confdefs.h >>conftest.$ac_ext
10991 cat >>conftest.$ac_ext <<_ACEOF
10992 /* end confdefs.h. */
10993 #include <sys/time.h>
10995 main ()
10997 struct timezone tz;
10999 return 0;
11001 _ACEOF
11002 rm -f conftest.$ac_objext
11003 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11004 (eval $ac_compile) 2>conftest.er1
11005 ac_status=$?
11006 grep -v '^ *+' conftest.er1 >conftest.err
11007 rm -f conftest.er1
11008 cat conftest.err >&5
11009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11010 (exit $ac_status); } &&
11011 { ac_try='test -z "$ac_c_werror_flag"
11012 || test ! -s conftest.err'
11013 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11014 (eval $ac_try) 2>&5
11015 ac_status=$?
11016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11017 (exit $ac_status); }; } &&
11018 { ac_try='test -s conftest.$ac_objext'
11019 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11020 (eval $ac_try) 2>&5
11021 ac_status=$?
11022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11023 (exit $ac_status); }; }; then
11024 gfor_cv_struct_timezone=yes
11025 else
11026 echo "$as_me: failed program was:" >&5
11027 sed 's/^/| /' conftest.$ac_ext >&5
11029 gfor_cv_struct_timezone=no
11031 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11033 echo "$as_me:$LINENO: result: $gfor_cv_struct_timezone" >&5
11034 echo "${ECHO_T}$gfor_cv_struct_timezone" >&6
11035 if test $gfor_cv_struct_timezone = yes; then
11036 if test "$cross_compiling" = yes; then
11037 gfor_have_struct_timezone=yes
11038 else
11039 cat >conftest.$ac_ext <<_ACEOF
11040 /* confdefs.h. */
11041 _ACEOF
11042 cat confdefs.h >>conftest.$ac_ext
11043 cat >>conftest.$ac_ext <<_ACEOF
11044 /* end confdefs.h. */
11046 #ifdef TIME_WITH_SYS_TIME
11047 #include <sys/time.h>
11048 #include <time.h>
11049 #else
11050 #ifdef HAVE_SYS_TIME_H
11051 #include <sys/time.h>
11052 #else
11053 #include <time.h>
11054 #endif
11055 #endif
11056 main ()
11058 struct timeval time;
11059 struct timezone dummy;
11060 if (gettimeofday (&time, &dummy))
11061 exit (1);
11062 else
11063 exit (0);
11065 _ACEOF
11066 rm -f conftest$ac_exeext
11067 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11068 (eval $ac_link) 2>&5
11069 ac_status=$?
11070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11071 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
11072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11073 (eval $ac_try) 2>&5
11074 ac_status=$?
11075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11076 (exit $ac_status); }; }; then
11077 gfor_have_struct_timezone=yes
11078 else
11079 echo "$as_me: program exited with status $ac_status" >&5
11080 echo "$as_me: failed program was:" >&5
11081 sed 's/^/| /' conftest.$ac_ext >&5
11083 ( exit $ac_status )
11084 gfor_have_struct_timezone=no
11086 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
11088 if test $gfor_have_struct_timezone = yes; then
11090 cat >>confdefs.h <<\_ACEOF
11091 #define HAVE_TIMEZONE 1
11092 _ACEOF
11097 echo "$as_me:$LINENO: checking whether gettimeofday can accept two arguments" >&5
11098 echo $ECHO_N "checking whether gettimeofday can accept two arguments... $ECHO_C" >&6
11099 if test "${emacs_cv_gettimeofday_two_arguments+set}" = set; then
11100 echo $ECHO_N "(cached) $ECHO_C" >&6
11101 else
11102 cat >conftest.$ac_ext <<_ACEOF
11103 /* confdefs.h. */
11104 _ACEOF
11105 cat confdefs.h >>conftest.$ac_ext
11106 cat >>conftest.$ac_ext <<_ACEOF
11107 /* end confdefs.h. */
11109 #ifdef TIME_WITH_SYS_TIME
11110 #include <sys/time.h>
11111 #include <time.h>
11112 #else
11113 #ifdef HAVE_SYS_TIME_H
11114 #include <sys/time.h>
11115 #else
11116 #include <time.h>
11117 #endif
11118 #endif
11121 main ()
11124 struct timeval time;
11125 #ifdef HAVE_TIMEZONE
11126 struct timezone dummy;
11127 #define DUMMY &dummy
11128 #else
11129 #define DUMMY NULL
11130 #endif
11131 gettimeofday (&time, DUMMY);
11133 return 0;
11135 _ACEOF
11136 rm -f conftest.$ac_objext conftest$ac_exeext
11137 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11138 (eval $ac_link) 2>conftest.er1
11139 ac_status=$?
11140 grep -v '^ *+' conftest.er1 >conftest.err
11141 rm -f conftest.er1
11142 cat conftest.err >&5
11143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11144 (exit $ac_status); } &&
11145 { ac_try='test -z "$ac_c_werror_flag"
11146 || test ! -s conftest.err'
11147 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11148 (eval $ac_try) 2>&5
11149 ac_status=$?
11150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11151 (exit $ac_status); }; } &&
11152 { ac_try='test -s conftest$ac_exeext'
11153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11154 (eval $ac_try) 2>&5
11155 ac_status=$?
11156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11157 (exit $ac_status); }; }; then
11158 emacs_cv_gettimeofday_two_arguments=yes
11159 else
11160 echo "$as_me: failed program was:" >&5
11161 sed 's/^/| /' conftest.$ac_ext >&5
11163 emacs_cv_gettimeofday_two_arguments=no
11165 rm -f conftest.err conftest.$ac_objext \
11166 conftest$ac_exeext conftest.$ac_ext
11168 echo "$as_me:$LINENO: result: $emacs_cv_gettimeofday_two_arguments" >&5
11169 echo "${ECHO_T}$emacs_cv_gettimeofday_two_arguments" >&6
11170 if test $emacs_cv_gettimeofday_two_arguments = no; then
11172 cat >>confdefs.h <<\_ACEOF
11173 #define GETTIMEOFDAY_ONE_ARGUMENT 1
11174 _ACEOF
11179 # Attempt to assert that the target is of common type in case we don't
11180 # have C99 integer types at all.
11182 echo "$as_me:$LINENO: checking whether the target is ILP32" >&5
11183 echo $ECHO_N "checking whether the target is ILP32... $ECHO_C" >&6
11184 if test "${target_ilp32+set}" = set; then
11185 echo $ECHO_N "(cached) $ECHO_C" >&6
11186 else
11188 save_CFLAGS="$CFLAGS"
11189 CFLAGS="-O2"
11190 cat >conftest.$ac_ext <<_ACEOF
11191 /* confdefs.h. */
11192 _ACEOF
11193 cat confdefs.h >>conftest.$ac_ext
11194 cat >>conftest.$ac_ext <<_ACEOF
11195 /* end confdefs.h. */
11198 main ()
11201 if (sizeof(int) == 4 && sizeof(long) == 4 && sizeof(void *) == 4)
11203 else
11204 undefined_function ();
11207 return 0;
11209 _ACEOF
11210 rm -f conftest.$ac_objext conftest$ac_exeext
11211 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11212 (eval $ac_link) 2>conftest.er1
11213 ac_status=$?
11214 grep -v '^ *+' conftest.er1 >conftest.err
11215 rm -f conftest.er1
11216 cat conftest.err >&5
11217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11218 (exit $ac_status); } &&
11219 { ac_try='test -z "$ac_c_werror_flag"
11220 || test ! -s conftest.err'
11221 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11222 (eval $ac_try) 2>&5
11223 ac_status=$?
11224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11225 (exit $ac_status); }; } &&
11226 { ac_try='test -s conftest$ac_exeext'
11227 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11228 (eval $ac_try) 2>&5
11229 ac_status=$?
11230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11231 (exit $ac_status); }; }; then
11232 target_ilp32=yes
11233 else
11234 echo "$as_me: failed program was:" >&5
11235 sed 's/^/| /' conftest.$ac_ext >&5
11237 target_ilp32=no
11239 rm -f conftest.err conftest.$ac_objext \
11240 conftest$ac_exeext conftest.$ac_ext
11241 CFLAGS="$save_CFLAGS"
11243 echo "$as_me:$LINENO: result: $target_ilp32" >&5
11244 echo "${ECHO_T}$target_ilp32" >&6
11245 if test $target_ilp32 = yes; then
11247 cat >>confdefs.h <<\_ACEOF
11248 #define TARGET_ILP32 1
11249 _ACEOF
11254 # Check out attribute support.
11256 echo "$as_me:$LINENO: checking whether the target supports hidden visibility" >&5
11257 echo $ECHO_N "checking whether the target supports hidden visibility... $ECHO_C" >&6
11258 if test "${have_attribute_visibility+set}" = set; then
11259 echo $ECHO_N "(cached) $ECHO_C" >&6
11260 else
11262 save_CFLAGS="$CFLAGS"
11263 CFLAGS="$CFLAGS -Werror"
11264 cat >conftest.$ac_ext <<_ACEOF
11265 /* confdefs.h. */
11266 _ACEOF
11267 cat confdefs.h >>conftest.$ac_ext
11268 cat >>conftest.$ac_ext <<_ACEOF
11269 /* end confdefs.h. */
11270 void __attribute__((visibility("hidden"))) foo(void) { }
11272 main ()
11276 return 0;
11278 _ACEOF
11279 rm -f conftest.$ac_objext
11280 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11281 (eval $ac_compile) 2>conftest.er1
11282 ac_status=$?
11283 grep -v '^ *+' conftest.er1 >conftest.err
11284 rm -f conftest.er1
11285 cat conftest.err >&5
11286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11287 (exit $ac_status); } &&
11288 { ac_try='test -z "$ac_c_werror_flag"
11289 || test ! -s conftest.err'
11290 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11291 (eval $ac_try) 2>&5
11292 ac_status=$?
11293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11294 (exit $ac_status); }; } &&
11295 { ac_try='test -s conftest.$ac_objext'
11296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11297 (eval $ac_try) 2>&5
11298 ac_status=$?
11299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11300 (exit $ac_status); }; }; then
11301 have_attribute_visibility=yes
11302 else
11303 echo "$as_me: failed program was:" >&5
11304 sed 's/^/| /' conftest.$ac_ext >&5
11306 have_attribute_visibility=no
11308 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11309 CFLAGS="$save_CFLAGS"
11311 echo "$as_me:$LINENO: result: $have_attribute_visibility" >&5
11312 echo "${ECHO_T}$have_attribute_visibility" >&6
11313 if test $have_attribute_visibility = yes; then
11315 cat >>confdefs.h <<\_ACEOF
11316 #define HAVE_ATTRIBUTE_VISIBILITY 1
11317 _ACEOF
11321 echo "$as_me:$LINENO: checking whether the target supports dllexport" >&5
11322 echo $ECHO_N "checking whether the target supports dllexport... $ECHO_C" >&6
11323 if test "${have_attribute_dllexport+set}" = set; then
11324 echo $ECHO_N "(cached) $ECHO_C" >&6
11325 else
11327 save_CFLAGS="$CFLAGS"
11328 CFLAGS="$CFLAGS -Werror"
11329 cat >conftest.$ac_ext <<_ACEOF
11330 /* confdefs.h. */
11331 _ACEOF
11332 cat confdefs.h >>conftest.$ac_ext
11333 cat >>conftest.$ac_ext <<_ACEOF
11334 /* end confdefs.h. */
11335 void __attribute__((dllexport)) foo(void) { }
11337 main ()
11341 return 0;
11343 _ACEOF
11344 rm -f conftest.$ac_objext
11345 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11346 (eval $ac_compile) 2>conftest.er1
11347 ac_status=$?
11348 grep -v '^ *+' conftest.er1 >conftest.err
11349 rm -f conftest.er1
11350 cat conftest.err >&5
11351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11352 (exit $ac_status); } &&
11353 { ac_try='test -z "$ac_c_werror_flag"
11354 || test ! -s conftest.err'
11355 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11356 (eval $ac_try) 2>&5
11357 ac_status=$?
11358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11359 (exit $ac_status); }; } &&
11360 { ac_try='test -s conftest.$ac_objext'
11361 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11362 (eval $ac_try) 2>&5
11363 ac_status=$?
11364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11365 (exit $ac_status); }; }; then
11366 have_attribute_dllexport=yes
11367 else
11368 echo "$as_me: failed program was:" >&5
11369 sed 's/^/| /' conftest.$ac_ext >&5
11371 have_attribute_dllexport=no
11373 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11374 CFLAGS="$save_CFLAGS"
11376 echo "$as_me:$LINENO: result: $have_attribute_dllexport" >&5
11377 echo "${ECHO_T}$have_attribute_dllexport" >&6
11378 if test $have_attribute_dllexport = yes; then
11380 cat >>confdefs.h <<\_ACEOF
11381 #define HAVE_ATTRIBUTE_DLLEXPORT 1
11382 _ACEOF
11386 echo "$as_me:$LINENO: checking whether the target supports symbol aliases" >&5
11387 echo $ECHO_N "checking whether the target supports symbol aliases... $ECHO_C" >&6
11388 if test "${have_attribute_alias+set}" = set; then
11389 echo $ECHO_N "(cached) $ECHO_C" >&6
11390 else
11392 cat >conftest.$ac_ext <<_ACEOF
11393 /* confdefs.h. */
11394 _ACEOF
11395 cat confdefs.h >>conftest.$ac_ext
11396 cat >>conftest.$ac_ext <<_ACEOF
11397 /* end confdefs.h. */
11399 #define ULP STR1(__USER_LABEL_PREFIX__)
11400 #define STR1(x) STR2(x)
11401 #define STR2(x) #x
11402 void foo(void) { }
11403 extern void bar(void) __attribute__((alias(ULP "foo")));
11405 main ()
11407 bar();
11409 return 0;
11411 _ACEOF
11412 rm -f conftest.$ac_objext conftest$ac_exeext
11413 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11414 (eval $ac_link) 2>conftest.er1
11415 ac_status=$?
11416 grep -v '^ *+' conftest.er1 >conftest.err
11417 rm -f conftest.er1
11418 cat conftest.err >&5
11419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11420 (exit $ac_status); } &&
11421 { ac_try='test -z "$ac_c_werror_flag"
11422 || test ! -s conftest.err'
11423 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11424 (eval $ac_try) 2>&5
11425 ac_status=$?
11426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11427 (exit $ac_status); }; } &&
11428 { ac_try='test -s conftest$ac_exeext'
11429 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11430 (eval $ac_try) 2>&5
11431 ac_status=$?
11432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11433 (exit $ac_status); }; }; then
11434 have_attribute_alias=yes
11435 else
11436 echo "$as_me: failed program was:" >&5
11437 sed 's/^/| /' conftest.$ac_ext >&5
11439 have_attribute_alias=no
11441 rm -f conftest.err conftest.$ac_objext \
11442 conftest$ac_exeext conftest.$ac_ext
11444 echo "$as_me:$LINENO: result: $have_attribute_alias" >&5
11445 echo "${ECHO_T}$have_attribute_alias" >&6
11446 if test $have_attribute_alias = yes; then
11448 cat >>confdefs.h <<\_ACEOF
11449 #define HAVE_ATTRIBUTE_ALIAS 1
11450 _ACEOF
11454 cat >confcache <<\_ACEOF
11455 # This file is a shell script that caches the results of configure
11456 # tests run on this system so they can be shared between configure
11457 # scripts and configure runs, see configure's option --config-cache.
11458 # It is not useful on other systems. If it contains results you don't
11459 # want to keep, you may remove or edit it.
11461 # config.status only pays attention to the cache file if you give it
11462 # the --recheck option to rerun configure.
11464 # `ac_cv_env_foo' variables (set or unset) will be overridden when
11465 # loading this file, other *unset* `ac_cv_foo' will be assigned the
11466 # following values.
11468 _ACEOF
11470 # The following way of writing the cache mishandles newlines in values,
11471 # but we know of no workaround that is simple, portable, and efficient.
11472 # So, don't put newlines in cache variables' values.
11473 # Ultrix sh set writes to stderr and can't be redirected directly,
11474 # and sets the high bit in the cache file unless we assign to the vars.
11476 (set) 2>&1 |
11477 case `(ac_space=' '; set | grep ac_space) 2>&1` in
11478 *ac_space=\ *)
11479 # `set' does not quote correctly, so add quotes (double-quote
11480 # substitution turns \\\\ into \\, and sed turns \\ into \).
11481 sed -n \
11482 "s/'/'\\\\''/g;
11483 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
11486 # `set' quotes correctly as required by POSIX, so do not add quotes.
11487 sed -n \
11488 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
11490 esac;
11492 sed '
11493 t clear
11494 : clear
11495 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
11496 t end
11497 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
11498 : end' >>confcache
11499 if diff $cache_file confcache >/dev/null 2>&1; then :; else
11500 if test -w $cache_file; then
11501 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
11502 cat confcache >$cache_file
11503 else
11504 echo "not updating unwritable cache $cache_file"
11507 rm -f confcache
11509 if test ${multilib} = yes; then
11510 multilib_arg="--enable-multilib"
11511 else
11512 multilib_arg=
11515 # Write our Makefile.
11516 ac_config_files="$ac_config_files Makefile"
11518 cat >confcache <<\_ACEOF
11519 # This file is a shell script that caches the results of configure
11520 # tests run on this system so they can be shared between configure
11521 # scripts and configure runs, see configure's option --config-cache.
11522 # It is not useful on other systems. If it contains results you don't
11523 # want to keep, you may remove or edit it.
11525 # config.status only pays attention to the cache file if you give it
11526 # the --recheck option to rerun configure.
11528 # `ac_cv_env_foo' variables (set or unset) will be overridden when
11529 # loading this file, other *unset* `ac_cv_foo' will be assigned the
11530 # following values.
11532 _ACEOF
11534 # The following way of writing the cache mishandles newlines in values,
11535 # but we know of no workaround that is simple, portable, and efficient.
11536 # So, don't put newlines in cache variables' values.
11537 # Ultrix sh set writes to stderr and can't be redirected directly,
11538 # and sets the high bit in the cache file unless we assign to the vars.
11540 (set) 2>&1 |
11541 case `(ac_space=' '; set | grep ac_space) 2>&1` in
11542 *ac_space=\ *)
11543 # `set' does not quote correctly, so add quotes (double-quote
11544 # substitution turns \\\\ into \\, and sed turns \\ into \).
11545 sed -n \
11546 "s/'/'\\\\''/g;
11547 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
11550 # `set' quotes correctly as required by POSIX, so do not add quotes.
11551 sed -n \
11552 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
11554 esac;
11556 sed '
11557 t clear
11558 : clear
11559 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
11560 t end
11561 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
11562 : end' >>confcache
11563 if diff $cache_file confcache >/dev/null 2>&1; then :; else
11564 if test -w $cache_file; then
11565 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
11566 cat confcache >$cache_file
11567 else
11568 echo "not updating unwritable cache $cache_file"
11571 rm -f confcache
11573 test "x$prefix" = xNONE && prefix=$ac_default_prefix
11574 # Let make expand exec_prefix.
11575 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
11577 # VPATH may cause trouble with some makes, so we remove $(srcdir),
11578 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
11579 # trailing colons and then remove the whole line if VPATH becomes empty
11580 # (actually we leave an empty line to preserve line numbers).
11581 if test "x$srcdir" = x.; then
11582 ac_vpsub='/^[ ]*VPATH[ ]*=/{
11583 s/:*\$(srcdir):*/:/;
11584 s/:*\${srcdir}:*/:/;
11585 s/:*@srcdir@:*/:/;
11586 s/^\([^=]*=[ ]*\):*/\1/;
11587 s/:*$//;
11588 s/^[^=]*=[ ]*$//;
11592 DEFS=-DHAVE_CONFIG_H
11594 ac_libobjs=
11595 ac_ltlibobjs=
11596 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
11597 # 1. Remove the extension, and $U if already installed.
11598 ac_i=`echo "$ac_i" |
11599 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
11600 # 2. Add them.
11601 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
11602 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
11603 done
11604 LIBOBJS=$ac_libobjs
11606 LTLIBOBJS=$ac_ltlibobjs
11609 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
11610 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
11611 Usually this means the macro was only invoked conditionally." >&5
11612 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
11613 Usually this means the macro was only invoked conditionally." >&2;}
11614 { (exit 1); exit 1; }; }
11617 : ${CONFIG_STATUS=./config.status}
11618 ac_clean_files_save=$ac_clean_files
11619 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
11620 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
11621 echo "$as_me: creating $CONFIG_STATUS" >&6;}
11622 cat >$CONFIG_STATUS <<_ACEOF
11623 #! $SHELL
11624 # Generated by $as_me.
11625 # Run this file to recreate the current configuration.
11626 # Compiler output produced by configure, useful for debugging
11627 # configure, is in config.log if it exists.
11629 debug=false
11630 ac_cs_recheck=false
11631 ac_cs_silent=false
11632 SHELL=\${CONFIG_SHELL-$SHELL}
11633 _ACEOF
11635 cat >>$CONFIG_STATUS <<\_ACEOF
11636 ## --------------------- ##
11637 ## M4sh Initialization. ##
11638 ## --------------------- ##
11640 # Be Bourne compatible
11641 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
11642 emulate sh
11643 NULLCMD=:
11644 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
11645 # is contrary to our usage. Disable this feature.
11646 alias -g '${1+"$@"}'='"$@"'
11647 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
11648 set -o posix
11650 DUALCASE=1; export DUALCASE # for MKS sh
11652 # Support unset when possible.
11653 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
11654 as_unset=unset
11655 else
11656 as_unset=false
11660 # Work around bugs in pre-3.0 UWIN ksh.
11661 $as_unset ENV MAIL MAILPATH
11662 PS1='$ '
11663 PS2='> '
11664 PS4='+ '
11666 # NLS nuisances.
11667 for as_var in \
11668 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
11669 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
11670 LC_TELEPHONE LC_TIME
11672 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
11673 eval $as_var=C; export $as_var
11674 else
11675 $as_unset $as_var
11677 done
11679 # Required to use basename.
11680 if expr a : '\(a\)' >/dev/null 2>&1; then
11681 as_expr=expr
11682 else
11683 as_expr=false
11686 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
11687 as_basename=basename
11688 else
11689 as_basename=false
11693 # Name of the executable.
11694 as_me=`$as_basename "$0" ||
11695 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
11696 X"$0" : 'X\(//\)$' \| \
11697 X"$0" : 'X\(/\)$' \| \
11698 . : '\(.\)' 2>/dev/null ||
11699 echo X/"$0" |
11700 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
11701 /^X\/\(\/\/\)$/{ s//\1/; q; }
11702 /^X\/\(\/\).*/{ s//\1/; q; }
11703 s/.*/./; q'`
11706 # PATH needs CR, and LINENO needs CR and PATH.
11707 # Avoid depending upon Character Ranges.
11708 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
11709 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
11710 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
11711 as_cr_digits='0123456789'
11712 as_cr_alnum=$as_cr_Letters$as_cr_digits
11714 # The user is always right.
11715 if test "${PATH_SEPARATOR+set}" != set; then
11716 echo "#! /bin/sh" >conf$$.sh
11717 echo "exit 0" >>conf$$.sh
11718 chmod +x conf$$.sh
11719 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
11720 PATH_SEPARATOR=';'
11721 else
11722 PATH_SEPARATOR=:
11724 rm -f conf$$.sh
11728 as_lineno_1=$LINENO
11729 as_lineno_2=$LINENO
11730 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
11731 test "x$as_lineno_1" != "x$as_lineno_2" &&
11732 test "x$as_lineno_3" = "x$as_lineno_2" || {
11733 # Find who we are. Look in the path if we contain no path at all
11734 # relative or not.
11735 case $0 in
11736 *[\\/]* ) as_myself=$0 ;;
11737 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11738 for as_dir in $PATH
11740 IFS=$as_save_IFS
11741 test -z "$as_dir" && as_dir=.
11742 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
11743 done
11746 esac
11747 # We did not find ourselves, most probably we were run as `sh COMMAND'
11748 # in which case we are not to be found in the path.
11749 if test "x$as_myself" = x; then
11750 as_myself=$0
11752 if test ! -f "$as_myself"; then
11753 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
11754 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
11755 { (exit 1); exit 1; }; }
11757 case $CONFIG_SHELL in
11759 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11760 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
11762 IFS=$as_save_IFS
11763 test -z "$as_dir" && as_dir=.
11764 for as_base in sh bash ksh sh5; do
11765 case $as_dir in
11767 if ("$as_dir/$as_base" -c '
11768 as_lineno_1=$LINENO
11769 as_lineno_2=$LINENO
11770 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
11771 test "x$as_lineno_1" != "x$as_lineno_2" &&
11772 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
11773 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
11774 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
11775 CONFIG_SHELL=$as_dir/$as_base
11776 export CONFIG_SHELL
11777 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
11778 fi;;
11779 esac
11780 done
11781 done
11783 esac
11785 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
11786 # uniformly replaced by the line number. The first 'sed' inserts a
11787 # line-number line before each line; the second 'sed' does the real
11788 # work. The second script uses 'N' to pair each line-number line
11789 # with the numbered line, and appends trailing '-' during
11790 # substitution so that $LINENO is not a special case at line end.
11791 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
11792 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
11793 sed '=' <$as_myself |
11794 sed '
11796 s,$,-,
11797 : loop
11798 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
11799 t loop
11800 s,-$,,
11801 s,^['$as_cr_digits']*\n,,
11802 ' >$as_me.lineno &&
11803 chmod +x $as_me.lineno ||
11804 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
11805 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
11806 { (exit 1); exit 1; }; }
11808 # Don't try to exec as it changes $[0], causing all sort of problems
11809 # (the dirname of $[0] is not the place where we might find the
11810 # original and so on. Autoconf is especially sensible to this).
11811 . ./$as_me.lineno
11812 # Exit status is that of the last command.
11813 exit
11817 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
11818 *c*,-n*) ECHO_N= ECHO_C='
11819 ' ECHO_T=' ' ;;
11820 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
11821 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
11822 esac
11824 if expr a : '\(a\)' >/dev/null 2>&1; then
11825 as_expr=expr
11826 else
11827 as_expr=false
11830 rm -f conf$$ conf$$.exe conf$$.file
11831 echo >conf$$.file
11832 if ln -s conf$$.file conf$$ 2>/dev/null; then
11833 # We could just check for DJGPP; but this test a) works b) is more generic
11834 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
11835 if test -f conf$$.exe; then
11836 # Don't use ln at all; we don't have any links
11837 as_ln_s='cp -p'
11838 else
11839 as_ln_s='ln -s'
11841 elif ln conf$$.file conf$$ 2>/dev/null; then
11842 as_ln_s=ln
11843 else
11844 as_ln_s='cp -p'
11846 rm -f conf$$ conf$$.exe conf$$.file
11848 if mkdir -p . 2>/dev/null; then
11849 as_mkdir_p=:
11850 else
11851 test -d ./-p && rmdir ./-p
11852 as_mkdir_p=false
11855 as_executable_p="test -f"
11857 # Sed expression to map a string onto a valid CPP name.
11858 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
11860 # Sed expression to map a string onto a valid variable name.
11861 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
11864 # IFS
11865 # We need space, tab and new line, in precisely that order.
11866 as_nl='
11868 IFS=" $as_nl"
11870 # CDPATH.
11871 $as_unset CDPATH
11873 exec 6>&1
11875 # Open the log real soon, to keep \$[0] and so on meaningful, and to
11876 # report actual input values of CONFIG_FILES etc. instead of their
11877 # values after options handling. Logging --version etc. is OK.
11878 exec 5>>config.log
11880 echo
11881 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
11882 ## Running $as_me. ##
11883 _ASBOX
11884 } >&5
11885 cat >&5 <<_CSEOF
11887 This file was extended by GNU Fortran Runtime Library $as_me 0.2, which was
11888 generated by GNU Autoconf 2.59. Invocation command line was
11890 CONFIG_FILES = $CONFIG_FILES
11891 CONFIG_HEADERS = $CONFIG_HEADERS
11892 CONFIG_LINKS = $CONFIG_LINKS
11893 CONFIG_COMMANDS = $CONFIG_COMMANDS
11894 $ $0 $@
11896 _CSEOF
11897 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
11898 echo >&5
11899 _ACEOF
11901 # Files that config.status was made for.
11902 if test -n "$ac_config_files"; then
11903 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
11906 if test -n "$ac_config_headers"; then
11907 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
11910 if test -n "$ac_config_links"; then
11911 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
11914 if test -n "$ac_config_commands"; then
11915 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
11918 cat >>$CONFIG_STATUS <<\_ACEOF
11920 ac_cs_usage="\
11921 \`$as_me' instantiates files from templates according to the
11922 current configuration.
11924 Usage: $0 [OPTIONS] [FILE]...
11926 -h, --help print this help, then exit
11927 -V, --version print version number, then exit
11928 -q, --quiet do not print progress messages
11929 -d, --debug don't remove temporary files
11930 --recheck update $as_me by reconfiguring in the same conditions
11931 --file=FILE[:TEMPLATE]
11932 instantiate the configuration file FILE
11933 --header=FILE[:TEMPLATE]
11934 instantiate the configuration header FILE
11936 Configuration files:
11937 $config_files
11939 Configuration headers:
11940 $config_headers
11942 Configuration commands:
11943 $config_commands
11945 Report bugs to <bug-autoconf@gnu.org>."
11946 _ACEOF
11948 cat >>$CONFIG_STATUS <<_ACEOF
11949 ac_cs_version="\\
11950 GNU Fortran Runtime Library config.status 0.2
11951 configured by $0, generated by GNU Autoconf 2.59,
11952 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
11954 Copyright (C) 2003 Free Software Foundation, Inc.
11955 This config.status script is free software; the Free Software Foundation
11956 gives unlimited permission to copy, distribute and modify it."
11957 srcdir=$srcdir
11958 INSTALL="$INSTALL"
11959 _ACEOF
11961 cat >>$CONFIG_STATUS <<\_ACEOF
11962 # If no file are specified by the user, then we need to provide default
11963 # value. By we need to know if files were specified by the user.
11964 ac_need_defaults=:
11965 while test $# != 0
11967 case $1 in
11968 --*=*)
11969 ac_option=`expr "x$1" : 'x\([^=]*\)='`
11970 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
11971 ac_shift=:
11974 ac_option=$1
11975 ac_optarg=$2
11976 ac_shift=shift
11978 *) # This is not an option, so the user has probably given explicit
11979 # arguments.
11980 ac_option=$1
11981 ac_need_defaults=false;;
11982 esac
11984 case $ac_option in
11985 # Handling of the options.
11986 _ACEOF
11987 cat >>$CONFIG_STATUS <<\_ACEOF
11988 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
11989 ac_cs_recheck=: ;;
11990 --version | --vers* | -V )
11991 echo "$ac_cs_version"; exit 0 ;;
11992 --he | --h)
11993 # Conflict between --help and --header
11994 { { echo "$as_me:$LINENO: error: ambiguous option: $1
11995 Try \`$0 --help' for more information." >&5
11996 echo "$as_me: error: ambiguous option: $1
11997 Try \`$0 --help' for more information." >&2;}
11998 { (exit 1); exit 1; }; };;
11999 --help | --hel | -h )
12000 echo "$ac_cs_usage"; exit 0 ;;
12001 --debug | --d* | -d )
12002 debug=: ;;
12003 --file | --fil | --fi | --f )
12004 $ac_shift
12005 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
12006 ac_need_defaults=false;;
12007 --header | --heade | --head | --hea )
12008 $ac_shift
12009 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
12010 ac_need_defaults=false;;
12011 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
12012 | -silent | --silent | --silen | --sile | --sil | --si | --s)
12013 ac_cs_silent=: ;;
12015 # This is an error.
12016 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
12017 Try \`$0 --help' for more information." >&5
12018 echo "$as_me: error: unrecognized option: $1
12019 Try \`$0 --help' for more information." >&2;}
12020 { (exit 1); exit 1; }; } ;;
12022 *) ac_config_targets="$ac_config_targets $1" ;;
12024 esac
12025 shift
12026 done
12028 ac_configure_extra_args=
12030 if $ac_cs_silent; then
12031 exec 6>/dev/null
12032 ac_configure_extra_args="$ac_configure_extra_args --silent"
12035 _ACEOF
12036 cat >>$CONFIG_STATUS <<_ACEOF
12037 if \$ac_cs_recheck; then
12038 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
12039 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
12042 _ACEOF
12044 cat >>$CONFIG_STATUS <<_ACEOF
12046 # INIT-COMMANDS section.
12050 srcdir="$srcdir"
12051 host="$host"
12052 target="$target"
12053 with_multisubdir="$with_multisubdir"
12054 with_multisrctop="$with_multisrctop"
12055 with_target_subdir="$with_target_subdir"
12056 ac_configure_args="${multilib_arg} ${ac_configure_args}"
12057 multi_basedir="$multi_basedir"
12058 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
12059 CC="$CC"
12061 _ACEOF
12065 cat >>$CONFIG_STATUS <<\_ACEOF
12066 for ac_config_target in $ac_config_targets
12068 case "$ac_config_target" in
12069 # Handling of arguments.
12070 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
12071 "default-1" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
12072 "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
12073 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
12074 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
12075 { (exit 1); exit 1; }; };;
12076 esac
12077 done
12079 # If the user did not use the arguments to specify the items to instantiate,
12080 # then the envvar interface is used. Set only those that are not.
12081 # We use the long form for the default assignment because of an extremely
12082 # bizarre bug on SunOS 4.1.3.
12083 if $ac_need_defaults; then
12084 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
12085 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
12086 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
12089 # Have a temporary directory for convenience. Make it in the build tree
12090 # simply because there is no reason to put it here, and in addition,
12091 # creating and moving files from /tmp can sometimes cause problems.
12092 # Create a temporary directory, and hook for its removal unless debugging.
12093 $debug ||
12095 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
12096 trap '{ (exit 1); exit 1; }' 1 2 13 15
12099 # Create a (secure) tmp directory for tmp files.
12102 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
12103 test -n "$tmp" && test -d "$tmp"
12104 } ||
12106 tmp=./confstat$$-$RANDOM
12107 (umask 077 && mkdir $tmp)
12108 } ||
12110 echo "$me: cannot create a temporary directory in ." >&2
12111 { (exit 1); exit 1; }
12114 _ACEOF
12116 cat >>$CONFIG_STATUS <<_ACEOF
12119 # CONFIG_FILES section.
12122 # No need to generate the scripts if there are no CONFIG_FILES.
12123 # This happens for instance when ./config.status config.h
12124 if test -n "\$CONFIG_FILES"; then
12125 # Protect against being on the right side of a sed subst in config.status.
12126 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
12127 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
12128 s,@SHELL@,$SHELL,;t t
12129 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
12130 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
12131 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
12132 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
12133 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
12134 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
12135 s,@exec_prefix@,$exec_prefix,;t t
12136 s,@prefix@,$prefix,;t t
12137 s,@program_transform_name@,$program_transform_name,;t t
12138 s,@bindir@,$bindir,;t t
12139 s,@sbindir@,$sbindir,;t t
12140 s,@libexecdir@,$libexecdir,;t t
12141 s,@datadir@,$datadir,;t t
12142 s,@sysconfdir@,$sysconfdir,;t t
12143 s,@sharedstatedir@,$sharedstatedir,;t t
12144 s,@localstatedir@,$localstatedir,;t t
12145 s,@libdir@,$libdir,;t t
12146 s,@includedir@,$includedir,;t t
12147 s,@oldincludedir@,$oldincludedir,;t t
12148 s,@infodir@,$infodir,;t t
12149 s,@mandir@,$mandir,;t t
12150 s,@build_alias@,$build_alias,;t t
12151 s,@host_alias@,$host_alias,;t t
12152 s,@target_alias@,$target_alias,;t t
12153 s,@DEFS@,$DEFS,;t t
12154 s,@ECHO_C@,$ECHO_C,;t t
12155 s,@ECHO_N@,$ECHO_N,;t t
12156 s,@ECHO_T@,$ECHO_T,;t t
12157 s,@LIBS@,$LIBS,;t t
12158 s,@build@,$build,;t t
12159 s,@build_cpu@,$build_cpu,;t t
12160 s,@build_vendor@,$build_vendor,;t t
12161 s,@build_os@,$build_os,;t t
12162 s,@host@,$host,;t t
12163 s,@host_cpu@,$host_cpu,;t t
12164 s,@host_vendor@,$host_vendor,;t t
12165 s,@host_os@,$host_os,;t t
12166 s,@target@,$target,;t t
12167 s,@target_cpu@,$target_cpu,;t t
12168 s,@target_vendor@,$target_vendor,;t t
12169 s,@target_os@,$target_os,;t t
12170 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
12171 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
12172 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
12173 s,@CYGPATH_W@,$CYGPATH_W,;t t
12174 s,@PACKAGE@,$PACKAGE,;t t
12175 s,@VERSION@,$VERSION,;t t
12176 s,@ACLOCAL@,$ACLOCAL,;t t
12177 s,@AUTOCONF@,$AUTOCONF,;t t
12178 s,@AUTOMAKE@,$AUTOMAKE,;t t
12179 s,@AUTOHEADER@,$AUTOHEADER,;t t
12180 s,@MAKEINFO@,$MAKEINFO,;t t
12181 s,@install_sh@,$install_sh,;t t
12182 s,@STRIP@,$STRIP,;t t
12183 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
12184 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
12185 s,@mkdir_p@,$mkdir_p,;t t
12186 s,@AWK@,$AWK,;t t
12187 s,@SET_MAKE@,$SET_MAKE,;t t
12188 s,@am__leading_dot@,$am__leading_dot,;t t
12189 s,@AMTAR@,$AMTAR,;t t
12190 s,@am__tar@,$am__tar,;t t
12191 s,@am__untar@,$am__untar,;t t
12192 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
12193 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
12194 s,@MAINT@,$MAINT,;t t
12195 s,@multi_basedir@,$multi_basedir,;t t
12196 s,@toolexecdir@,$toolexecdir,;t t
12197 s,@toolexeclibdir@,$toolexeclibdir,;t t
12198 s,@CC@,$CC,;t t
12199 s,@ac_ct_CC@,$ac_ct_CC,;t t
12200 s,@EXEEXT@,$EXEEXT,;t t
12201 s,@OBJEXT@,$OBJEXT,;t t
12202 s,@CFLAGS@,$CFLAGS,;t t
12203 s,@AS@,$AS,;t t
12204 s,@ac_ct_AS@,$ac_ct_AS,;t t
12205 s,@AR@,$AR,;t t
12206 s,@ac_ct_AR@,$ac_ct_AR,;t t
12207 s,@RANLIB@,$RANLIB,;t t
12208 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
12209 s,@LN_S@,$LN_S,;t t
12210 s,@LIBTOOL@,$LIBTOOL,;t t
12211 s,@enable_shared@,$enable_shared,;t t
12212 s,@enable_static@,$enable_static,;t t
12213 s,@FC@,$FC,;t t
12214 s,@FCFLAGS@,$FCFLAGS,;t t
12215 s,@LDFLAGS@,$LDFLAGS,;t t
12216 s,@ac_ct_FC@,$ac_ct_FC,;t t
12217 s,@extra_ldflags_libgfortran@,$extra_ldflags_libgfortran,;t t
12218 s,@CPP@,$CPP,;t t
12219 s,@CPPFLAGS@,$CPPFLAGS,;t t
12220 s,@EGREP@,$EGREP,;t t
12221 s,@MATH_OBJ@,$MATH_OBJ,;t t
12222 s,@LIBOBJS@,$LIBOBJS,;t t
12223 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
12224 CEOF
12226 _ACEOF
12228 cat >>$CONFIG_STATUS <<\_ACEOF
12229 # Split the substitutions into bite-sized pieces for seds with
12230 # small command number limits, like on Digital OSF/1 and HP-UX.
12231 ac_max_sed_lines=48
12232 ac_sed_frag=1 # Number of current file.
12233 ac_beg=1 # First line for current file.
12234 ac_end=$ac_max_sed_lines # Line after last line for current file.
12235 ac_more_lines=:
12236 ac_sed_cmds=
12237 while $ac_more_lines; do
12238 if test $ac_beg -gt 1; then
12239 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
12240 else
12241 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
12243 if test ! -s $tmp/subs.frag; then
12244 ac_more_lines=false
12245 else
12246 # The purpose of the label and of the branching condition is to
12247 # speed up the sed processing (if there are no `@' at all, there
12248 # is no need to browse any of the substitutions).
12249 # These are the two extra sed commands mentioned above.
12250 (echo ':t
12251 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
12252 if test -z "$ac_sed_cmds"; then
12253 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
12254 else
12255 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
12257 ac_sed_frag=`expr $ac_sed_frag + 1`
12258 ac_beg=$ac_end
12259 ac_end=`expr $ac_end + $ac_max_sed_lines`
12261 done
12262 if test -z "$ac_sed_cmds"; then
12263 ac_sed_cmds=cat
12265 fi # test -n "$CONFIG_FILES"
12267 _ACEOF
12268 cat >>$CONFIG_STATUS <<\_ACEOF
12269 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
12270 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
12271 case $ac_file in
12272 - | *:- | *:-:* ) # input from stdin
12273 cat >$tmp/stdin
12274 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
12275 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
12276 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
12277 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
12278 * ) ac_file_in=$ac_file.in ;;
12279 esac
12281 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
12282 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
12283 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12284 X"$ac_file" : 'X\(//\)[^/]' \| \
12285 X"$ac_file" : 'X\(//\)$' \| \
12286 X"$ac_file" : 'X\(/\)' \| \
12287 . : '\(.\)' 2>/dev/null ||
12288 echo X"$ac_file" |
12289 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
12290 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
12291 /^X\(\/\/\)$/{ s//\1/; q; }
12292 /^X\(\/\).*/{ s//\1/; q; }
12293 s/.*/./; q'`
12294 { if $as_mkdir_p; then
12295 mkdir -p "$ac_dir"
12296 else
12297 as_dir="$ac_dir"
12298 as_dirs=
12299 while test ! -d "$as_dir"; do
12300 as_dirs="$as_dir $as_dirs"
12301 as_dir=`(dirname "$as_dir") 2>/dev/null ||
12302 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12303 X"$as_dir" : 'X\(//\)[^/]' \| \
12304 X"$as_dir" : 'X\(//\)$' \| \
12305 X"$as_dir" : 'X\(/\)' \| \
12306 . : '\(.\)' 2>/dev/null ||
12307 echo X"$as_dir" |
12308 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
12309 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
12310 /^X\(\/\/\)$/{ s//\1/; q; }
12311 /^X\(\/\).*/{ s//\1/; q; }
12312 s/.*/./; q'`
12313 done
12314 test ! -n "$as_dirs" || mkdir $as_dirs
12315 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
12316 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
12317 { (exit 1); exit 1; }; }; }
12319 ac_builddir=.
12321 if test "$ac_dir" != .; then
12322 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
12323 # A "../" for each directory in $ac_dir_suffix.
12324 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
12325 else
12326 ac_dir_suffix= ac_top_builddir=
12329 case $srcdir in
12330 .) # No --srcdir option. We are building in place.
12331 ac_srcdir=.
12332 if test -z "$ac_top_builddir"; then
12333 ac_top_srcdir=.
12334 else
12335 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
12336 fi ;;
12337 [\\/]* | ?:[\\/]* ) # Absolute path.
12338 ac_srcdir=$srcdir$ac_dir_suffix;
12339 ac_top_srcdir=$srcdir ;;
12340 *) # Relative path.
12341 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
12342 ac_top_srcdir=$ac_top_builddir$srcdir ;;
12343 esac
12345 # Do not use `cd foo && pwd` to compute absolute paths, because
12346 # the directories may not exist.
12347 case `pwd` in
12348 .) ac_abs_builddir="$ac_dir";;
12350 case "$ac_dir" in
12351 .) ac_abs_builddir=`pwd`;;
12352 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
12353 *) ac_abs_builddir=`pwd`/"$ac_dir";;
12354 esac;;
12355 esac
12356 case $ac_abs_builddir in
12357 .) ac_abs_top_builddir=${ac_top_builddir}.;;
12359 case ${ac_top_builddir}. in
12360 .) ac_abs_top_builddir=$ac_abs_builddir;;
12361 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
12362 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
12363 esac;;
12364 esac
12365 case $ac_abs_builddir in
12366 .) ac_abs_srcdir=$ac_srcdir;;
12368 case $ac_srcdir in
12369 .) ac_abs_srcdir=$ac_abs_builddir;;
12370 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
12371 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
12372 esac;;
12373 esac
12374 case $ac_abs_builddir in
12375 .) ac_abs_top_srcdir=$ac_top_srcdir;;
12377 case $ac_top_srcdir in
12378 .) ac_abs_top_srcdir=$ac_abs_builddir;;
12379 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
12380 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
12381 esac;;
12382 esac
12385 case $INSTALL in
12386 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
12387 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
12388 esac
12390 if test x"$ac_file" != x-; then
12391 { echo "$as_me:$LINENO: creating $ac_file" >&5
12392 echo "$as_me: creating $ac_file" >&6;}
12393 rm -f "$ac_file"
12395 # Let's still pretend it is `configure' which instantiates (i.e., don't
12396 # use $as_me), people would be surprised to read:
12397 # /* config.h. Generated by config.status. */
12398 if test x"$ac_file" = x-; then
12399 configure_input=
12400 else
12401 configure_input="$ac_file. "
12403 configure_input=$configure_input"Generated from `echo $ac_file_in |
12404 sed 's,.*/,,'` by configure."
12406 # First look for the input files in the build tree, otherwise in the
12407 # src tree.
12408 ac_file_inputs=`IFS=:
12409 for f in $ac_file_in; do
12410 case $f in
12411 -) echo $tmp/stdin ;;
12412 [\\/$]*)
12413 # Absolute (can't be DOS-style, as IFS=:)
12414 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
12415 echo "$as_me: error: cannot find input file: $f" >&2;}
12416 { (exit 1); exit 1; }; }
12417 echo "$f";;
12418 *) # Relative
12419 if test -f "$f"; then
12420 # Build tree
12421 echo "$f"
12422 elif test -f "$srcdir/$f"; then
12423 # Source tree
12424 echo "$srcdir/$f"
12425 else
12426 # /dev/null tree
12427 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
12428 echo "$as_me: error: cannot find input file: $f" >&2;}
12429 { (exit 1); exit 1; }; }
12430 fi;;
12431 esac
12432 done` || { (exit 1); exit 1; }
12433 _ACEOF
12434 cat >>$CONFIG_STATUS <<_ACEOF
12435 sed "$ac_vpsub
12436 $extrasub
12437 _ACEOF
12438 cat >>$CONFIG_STATUS <<\_ACEOF
12440 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
12441 s,@configure_input@,$configure_input,;t t
12442 s,@srcdir@,$ac_srcdir,;t t
12443 s,@abs_srcdir@,$ac_abs_srcdir,;t t
12444 s,@top_srcdir@,$ac_top_srcdir,;t t
12445 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
12446 s,@builddir@,$ac_builddir,;t t
12447 s,@abs_builddir@,$ac_abs_builddir,;t t
12448 s,@top_builddir@,$ac_top_builddir,;t t
12449 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
12450 s,@INSTALL@,$ac_INSTALL,;t t
12451 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
12452 rm -f $tmp/stdin
12453 if test x"$ac_file" != x-; then
12454 mv $tmp/out $ac_file
12455 else
12456 cat $tmp/out
12457 rm -f $tmp/out
12460 done
12461 _ACEOF
12462 cat >>$CONFIG_STATUS <<\_ACEOF
12465 # CONFIG_HEADER section.
12468 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
12469 # NAME is the cpp macro being defined and VALUE is the value it is being given.
12471 # ac_d sets the value in "#define NAME VALUE" lines.
12472 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
12473 ac_dB='[ ].*$,\1#\2'
12474 ac_dC=' '
12475 ac_dD=',;t'
12476 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
12477 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
12478 ac_uB='$,\1#\2define\3'
12479 ac_uC=' '
12480 ac_uD=',;t'
12482 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
12483 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
12484 case $ac_file in
12485 - | *:- | *:-:* ) # input from stdin
12486 cat >$tmp/stdin
12487 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
12488 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
12489 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
12490 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
12491 * ) ac_file_in=$ac_file.in ;;
12492 esac
12494 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
12495 echo "$as_me: creating $ac_file" >&6;}
12497 # First look for the input files in the build tree, otherwise in the
12498 # src tree.
12499 ac_file_inputs=`IFS=:
12500 for f in $ac_file_in; do
12501 case $f in
12502 -) echo $tmp/stdin ;;
12503 [\\/$]*)
12504 # Absolute (can't be DOS-style, as IFS=:)
12505 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
12506 echo "$as_me: error: cannot find input file: $f" >&2;}
12507 { (exit 1); exit 1; }; }
12508 # Do quote $f, to prevent DOS paths from being IFS'd.
12509 echo "$f";;
12510 *) # Relative
12511 if test -f "$f"; then
12512 # Build tree
12513 echo "$f"
12514 elif test -f "$srcdir/$f"; then
12515 # Source tree
12516 echo "$srcdir/$f"
12517 else
12518 # /dev/null tree
12519 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
12520 echo "$as_me: error: cannot find input file: $f" >&2;}
12521 { (exit 1); exit 1; }; }
12522 fi;;
12523 esac
12524 done` || { (exit 1); exit 1; }
12525 # Remove the trailing spaces.
12526 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
12528 _ACEOF
12530 # Transform confdefs.h into two sed scripts, `conftest.defines' and
12531 # `conftest.undefs', that substitutes the proper values into
12532 # config.h.in to produce config.h. The first handles `#define'
12533 # templates, and the second `#undef' templates.
12534 # And first: Protect against being on the right side of a sed subst in
12535 # config.status. Protect against being in an unquoted here document
12536 # in config.status.
12537 rm -f conftest.defines conftest.undefs
12538 # Using a here document instead of a string reduces the quoting nightmare.
12539 # Putting comments in sed scripts is not portable.
12541 # `end' is used to avoid that the second main sed command (meant for
12542 # 0-ary CPP macros) applies to n-ary macro definitions.
12543 # See the Autoconf documentation for `clear'.
12544 cat >confdef2sed.sed <<\_ACEOF
12545 s/[\\&,]/\\&/g
12546 s,[\\$`],\\&,g
12547 t clear
12548 : clear
12549 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
12550 t end
12551 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
12552 : end
12553 _ACEOF
12554 # If some macros were called several times there might be several times
12555 # the same #defines, which is useless. Nevertheless, we may not want to
12556 # sort them, since we want the *last* AC-DEFINE to be honored.
12557 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
12558 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
12559 rm -f confdef2sed.sed
12561 # This sed command replaces #undef with comments. This is necessary, for
12562 # example, in the case of _POSIX_SOURCE, which is predefined and required
12563 # on some systems where configure will not decide to define it.
12564 cat >>conftest.undefs <<\_ACEOF
12565 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
12566 _ACEOF
12568 # Break up conftest.defines because some shells have a limit on the size
12569 # of here documents, and old seds have small limits too (100 cmds).
12570 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
12571 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
12572 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
12573 echo ' :' >>$CONFIG_STATUS
12574 rm -f conftest.tail
12575 while grep . conftest.defines >/dev/null
12577 # Write a limited-size here document to $tmp/defines.sed.
12578 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
12579 # Speed up: don't consider the non `#define' lines.
12580 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
12581 # Work around the forget-to-reset-the-flag bug.
12582 echo 't clr' >>$CONFIG_STATUS
12583 echo ': clr' >>$CONFIG_STATUS
12584 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
12585 echo 'CEOF
12586 sed -f $tmp/defines.sed $tmp/in >$tmp/out
12587 rm -f $tmp/in
12588 mv $tmp/out $tmp/in
12589 ' >>$CONFIG_STATUS
12590 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
12591 rm -f conftest.defines
12592 mv conftest.tail conftest.defines
12593 done
12594 rm -f conftest.defines
12595 echo ' fi # grep' >>$CONFIG_STATUS
12596 echo >>$CONFIG_STATUS
12598 # Break up conftest.undefs because some shells have a limit on the size
12599 # of here documents, and old seds have small limits too (100 cmds).
12600 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
12601 rm -f conftest.tail
12602 while grep . conftest.undefs >/dev/null
12604 # Write a limited-size here document to $tmp/undefs.sed.
12605 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
12606 # Speed up: don't consider the non `#undef'
12607 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
12608 # Work around the forget-to-reset-the-flag bug.
12609 echo 't clr' >>$CONFIG_STATUS
12610 echo ': clr' >>$CONFIG_STATUS
12611 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
12612 echo 'CEOF
12613 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
12614 rm -f $tmp/in
12615 mv $tmp/out $tmp/in
12616 ' >>$CONFIG_STATUS
12617 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
12618 rm -f conftest.undefs
12619 mv conftest.tail conftest.undefs
12620 done
12621 rm -f conftest.undefs
12623 cat >>$CONFIG_STATUS <<\_ACEOF
12624 # Let's still pretend it is `configure' which instantiates (i.e., don't
12625 # use $as_me), people would be surprised to read:
12626 # /* config.h. Generated by config.status. */
12627 if test x"$ac_file" = x-; then
12628 echo "/* Generated by configure. */" >$tmp/config.h
12629 else
12630 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
12632 cat $tmp/in >>$tmp/config.h
12633 rm -f $tmp/in
12634 if test x"$ac_file" != x-; then
12635 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
12636 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
12637 echo "$as_me: $ac_file is unchanged" >&6;}
12638 else
12639 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
12640 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12641 X"$ac_file" : 'X\(//\)[^/]' \| \
12642 X"$ac_file" : 'X\(//\)$' \| \
12643 X"$ac_file" : 'X\(/\)' \| \
12644 . : '\(.\)' 2>/dev/null ||
12645 echo X"$ac_file" |
12646 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
12647 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
12648 /^X\(\/\/\)$/{ s//\1/; q; }
12649 /^X\(\/\).*/{ s//\1/; q; }
12650 s/.*/./; q'`
12651 { if $as_mkdir_p; then
12652 mkdir -p "$ac_dir"
12653 else
12654 as_dir="$ac_dir"
12655 as_dirs=
12656 while test ! -d "$as_dir"; do
12657 as_dirs="$as_dir $as_dirs"
12658 as_dir=`(dirname "$as_dir") 2>/dev/null ||
12659 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12660 X"$as_dir" : 'X\(//\)[^/]' \| \
12661 X"$as_dir" : 'X\(//\)$' \| \
12662 X"$as_dir" : 'X\(/\)' \| \
12663 . : '\(.\)' 2>/dev/null ||
12664 echo X"$as_dir" |
12665 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
12666 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
12667 /^X\(\/\/\)$/{ s//\1/; q; }
12668 /^X\(\/\).*/{ s//\1/; q; }
12669 s/.*/./; q'`
12670 done
12671 test ! -n "$as_dirs" || mkdir $as_dirs
12672 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
12673 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
12674 { (exit 1); exit 1; }; }; }
12676 rm -f $ac_file
12677 mv $tmp/config.h $ac_file
12679 else
12680 cat $tmp/config.h
12681 rm -f $tmp/config.h
12683 # Compute $ac_file's index in $config_headers.
12684 _am_stamp_count=1
12685 for _am_header in $config_headers :; do
12686 case $_am_header in
12687 $ac_file | $ac_file:* )
12688 break ;;
12690 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
12691 esac
12692 done
12693 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
12694 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12695 X$ac_file : 'X\(//\)[^/]' \| \
12696 X$ac_file : 'X\(//\)$' \| \
12697 X$ac_file : 'X\(/\)' \| \
12698 . : '\(.\)' 2>/dev/null ||
12699 echo X$ac_file |
12700 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
12701 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
12702 /^X\(\/\/\)$/{ s//\1/; q; }
12703 /^X\(\/\).*/{ s//\1/; q; }
12704 s/.*/./; q'`/stamp-h$_am_stamp_count
12705 done
12706 _ACEOF
12707 cat >>$CONFIG_STATUS <<\_ACEOF
12710 # CONFIG_COMMANDS section.
12712 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
12713 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
12714 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
12715 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
12716 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12717 X"$ac_dest" : 'X\(//\)[^/]' \| \
12718 X"$ac_dest" : 'X\(//\)$' \| \
12719 X"$ac_dest" : 'X\(/\)' \| \
12720 . : '\(.\)' 2>/dev/null ||
12721 echo X"$ac_dest" |
12722 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
12723 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
12724 /^X\(\/\/\)$/{ s//\1/; q; }
12725 /^X\(\/\).*/{ s//\1/; q; }
12726 s/.*/./; q'`
12727 { if $as_mkdir_p; then
12728 mkdir -p "$ac_dir"
12729 else
12730 as_dir="$ac_dir"
12731 as_dirs=
12732 while test ! -d "$as_dir"; do
12733 as_dirs="$as_dir $as_dirs"
12734 as_dir=`(dirname "$as_dir") 2>/dev/null ||
12735 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12736 X"$as_dir" : 'X\(//\)[^/]' \| \
12737 X"$as_dir" : 'X\(//\)$' \| \
12738 X"$as_dir" : 'X\(/\)' \| \
12739 . : '\(.\)' 2>/dev/null ||
12740 echo X"$as_dir" |
12741 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
12742 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
12743 /^X\(\/\/\)$/{ s//\1/; q; }
12744 /^X\(\/\).*/{ s//\1/; q; }
12745 s/.*/./; q'`
12746 done
12747 test ! -n "$as_dirs" || mkdir $as_dirs
12748 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
12749 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
12750 { (exit 1); exit 1; }; }; }
12752 ac_builddir=.
12754 if test "$ac_dir" != .; then
12755 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
12756 # A "../" for each directory in $ac_dir_suffix.
12757 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
12758 else
12759 ac_dir_suffix= ac_top_builddir=
12762 case $srcdir in
12763 .) # No --srcdir option. We are building in place.
12764 ac_srcdir=.
12765 if test -z "$ac_top_builddir"; then
12766 ac_top_srcdir=.
12767 else
12768 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
12769 fi ;;
12770 [\\/]* | ?:[\\/]* ) # Absolute path.
12771 ac_srcdir=$srcdir$ac_dir_suffix;
12772 ac_top_srcdir=$srcdir ;;
12773 *) # Relative path.
12774 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
12775 ac_top_srcdir=$ac_top_builddir$srcdir ;;
12776 esac
12778 # Do not use `cd foo && pwd` to compute absolute paths, because
12779 # the directories may not exist.
12780 case `pwd` in
12781 .) ac_abs_builddir="$ac_dir";;
12783 case "$ac_dir" in
12784 .) ac_abs_builddir=`pwd`;;
12785 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
12786 *) ac_abs_builddir=`pwd`/"$ac_dir";;
12787 esac;;
12788 esac
12789 case $ac_abs_builddir in
12790 .) ac_abs_top_builddir=${ac_top_builddir}.;;
12792 case ${ac_top_builddir}. in
12793 .) ac_abs_top_builddir=$ac_abs_builddir;;
12794 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
12795 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
12796 esac;;
12797 esac
12798 case $ac_abs_builddir in
12799 .) ac_abs_srcdir=$ac_srcdir;;
12801 case $ac_srcdir in
12802 .) ac_abs_srcdir=$ac_abs_builddir;;
12803 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
12804 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
12805 esac;;
12806 esac
12807 case $ac_abs_builddir in
12808 .) ac_abs_top_srcdir=$ac_top_srcdir;;
12810 case $ac_top_srcdir in
12811 .) ac_abs_top_srcdir=$ac_abs_builddir;;
12812 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
12813 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
12814 esac;;
12815 esac
12818 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
12819 echo "$as_me: executing $ac_dest commands" >&6;}
12820 case $ac_dest in
12821 default-1 )
12822 # Only add multilib support code if we just rebuilt the top-level
12823 # Makefile.
12824 case " $CONFIG_FILES " in
12825 *" Makefile "*)
12826 ac_file=Makefile . ${multi_basedir}/config-ml.in
12828 esac ;;
12829 esac
12830 done
12831 _ACEOF
12833 cat >>$CONFIG_STATUS <<\_ACEOF
12835 { (exit 0); exit 0; }
12836 _ACEOF
12837 chmod +x $CONFIG_STATUS
12838 ac_clean_files=$ac_clean_files_save
12841 # configure is writing to config.log, and then calls config.status.
12842 # config.status does its own redirection, appending to config.log.
12843 # Unfortunately, on DOS this fails, as config.log is still kept open
12844 # by configure, so config.status won't be able to write to it; its
12845 # output is simply discarded. So we exec the FD to /dev/null,
12846 # effectively closing config.log, so it can be properly (re)opened and
12847 # appended to by config.status. When coming back to configure, we
12848 # need to make the FD available again.
12849 if test "$no_create" != yes; then
12850 ac_cs_success=:
12851 ac_config_status_args=
12852 test "$silent" = yes &&
12853 ac_config_status_args="$ac_config_status_args --quiet"
12854 exec 5>/dev/null
12855 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
12856 exec 5>>config.log
12857 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
12858 # would make configure fail if this is the last instruction.
12859 $ac_cs_success || { (exit 1); exit 1; }