OSDN Git Service

8fa7b0ecc5a92eb37cffb52e19e84c3fe1028d21
[pf3gnuchains/gcc-fork.git] / libgfortran / configure
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.
4 #
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 ## --------------------- ##
11
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
21 fi
22 DUALCASE=1; export DUALCASE # for MKS sh
23
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
29 fi
30
31
32 # Work around bugs in pre-3.0 UWIN ksh.
33 $as_unset ENV MAIL MAILPATH
34 PS1='$ '
35 PS2='> '
36 PS4='+ '
37
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
43 do
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
48   fi
49 done
50
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
56 fi
57
58 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
59   as_basename=basename
60 else
61   as_basename=false
62 fi
63
64
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'`
76
77
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
85
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=:
95   fi
96   rm -f conf$$.sh
97 fi
98
99
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
111 do
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
116
117        ;;
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
123   fi
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; }; }
127   fi
128   case $CONFIG_SHELL in
129   '')
130     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
131 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
132 do
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
137          /*)
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
153 ;;
154   esac
155
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 '
166       N
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; }; }
177
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
184 }
185
186
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
193
194 if expr a : '\(a\)' >/dev/null 2>&1; then
195   as_expr=expr
196 else
197   as_expr=false
198 fi
199
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'
210   fi
211 elif ln conf$$.file conf$$ 2>/dev/null; then
212   as_ln_s=ln
213 else
214   as_ln_s='cp -p'
215 fi
216 rm -f conf$$ conf$$.exe conf$$.file
217
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
223 fi
224
225 as_executable_p="test -f"
226
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'"
229
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'"
232
233
234 # IFS
235 # We need space, tab and new line, in precisely that order.
236 as_nl='
237 '
238 IFS="   $as_nl"
239
240 # CDPATH.
241 $as_unset CDPATH
242
243
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`
248
249 exec 6>&1
250
251 #
252 # Initializations.
253 #
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}
261
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}
266
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=''
273
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"
310
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 gcc_version toolexecdir toolexeclibdir CC ac_ct_CC EXEEXT OBJEXT CFLAGS AS ac_ct_AS AR ac_ct_AR RANLIB ac_ct_RANLIB LN_S LIBTOOL enable_shared enable_static FC FCFLAGS LDFLAGS ac_ct_FC CPP CPPFLAGS EGREP MATH_OBJ LIBOBJS LTLIBOBJS'
312 ac_subst_files=''
313
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
333
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'
351
352 ac_prev=
353 for ac_option
354 do
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
360   fi
361
362   ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
363
364   # Accept the important Cygnus configure options, so we can diagnose typos.
365
366   case $ac_option in
367
368   -bindir | --bindir | --bindi | --bind | --bin | --bi)
369     ac_prev=bindir ;;
370   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
371     bindir=$ac_optarg ;;
372
373   -build | --build | --buil | --bui | --bu)
374     ac_prev=build_alias ;;
375   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
376     build_alias=$ac_optarg ;;
377
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 ;;
384
385   --config-cache | -C)
386     cache_file=config.cache ;;
387
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 ;;
393
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" ;;
402
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'" ;;
415
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 ;;
424
425   -gas | --gas | --ga | --g)
426     # Obsolete; use --with-gas.
427     with_gas=yes ;;
428
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 ;;
435
436   -host | --host | --hos | --ho)
437     ac_prev=host_alias ;;
438   -host=* | --host=* | --hos=* | --ho=*)
439     host_alias=$ac_optarg ;;
440
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 ;;
447
448   -infodir | --infodir | --infodi | --infod | --info | --inf)
449     ac_prev=infodir ;;
450   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
451     infodir=$ac_optarg ;;
452
453   -libdir | --libdir | --libdi | --libd)
454     ac_prev=libdir ;;
455   -libdir=* | --libdir=* | --libdi=* | --libd=*)
456     libdir=$ac_optarg ;;
457
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 ;;
464
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 ;;
473
474   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
475     ac_prev=mandir ;;
476   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
477     mandir=$ac_optarg ;;
478
479   -nfp | --nfp | --nf)
480     # Obsolete; use --without-fp.
481     with_fp=no ;;
482
483   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
484   | --no-cr | --no-c | -n)
485     no_create=yes ;;
486
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 ;;
490
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 ;;
499
500   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
501     ac_prev=prefix ;;
502   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
503     prefix=$ac_optarg ;;
504
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 ;;
511
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 ;;
518
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 ;;
535
536   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
537   | -silent | --silent | --silen | --sile | --sil)
538     silent=yes ;;
539
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 ;;
545
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 ;;
556
557   -site | --site | --sit)
558     ac_prev=site ;;
559   -site=* | --site=* | --sit=*)
560     site=$ac_optarg ;;
561
562   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
563     ac_prev=srcdir ;;
564   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
565     srcdir=$ac_optarg ;;
566
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 ;;
573
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 ;;
578
579   -v | -verbose | --verbose | --verbos | --verbo | --verb)
580     verbose=yes ;;
581
582   -version | --version | --versio | --versi | --vers | -V)
583     ac_init_version=: ;;
584
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'" ;;
597
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" ;;
606
607   --x)
608     # Obsolete; use --with-x.
609     with_x=yes ;;
610
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 ;;
617
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 ;;
624
625   -*) { echo "$as_me: error: unrecognized option: $ac_option
626 Try \`$0 --help' for more information." >&2
627    { (exit 1); exit 1; }; }
628     ;;
629
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 ;;
639
640   *)
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}
646     ;;
647
648   esac
649 done
650
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; }; }
655 fi
656
657 # Be sure to have absolute paths.
658 for ac_var in exec_prefix prefix
659 do
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
667
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
671 do
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
679
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
686
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
695   fi
696 fi
697
698 ac_tool_prefix=
699 test -n "$host_alias" && ac_tool_prefix=$host_alias-
700
701 test "$silent" = yes && exec 6>/dev/null
702
703
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=..
723   fi
724 else
725   ac_srcdir_defaulted=no
726 fi
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; }; }
734   fi
735 fi
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
772
773 #
774 # Report the --help message.
775 #
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.
781
782 Usage: $0 [OPTION]... [VAR=VALUE]...
783
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.
786
787 Defaults for the options are specified in brackets.
788
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 \`..']
799
800 _ACEOF
801
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]
808
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'.
813
814 For better control, use the options below.
815
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
830
831   cat <<\_ACEOF
832
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
837
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
843 fi
844
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
850
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
864
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
870
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
881
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.
884
885 _ACEOF
886 fi
887
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=.
894
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=
901 fi
902
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
918
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";;
923 *)
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}.;;
932 *)
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;;
941 *)
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;;
950 *)
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
957
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
972     fi
973     cd $ac_popdir
974   done
975 fi
976
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
982
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
988 fi
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.
993
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
996
997   $ $0 $@
998
999 _ACEOF
1000 {
1001 cat <<_ASUNAME
1002 ## --------- ##
1003 ## Platform. ##
1004 ## --------- ##
1005
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`
1011
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`
1014
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`
1022
1023 _ASUNAME
1024
1025 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1026 for as_dir in $PATH
1027 do
1028   IFS=$as_save_IFS
1029   test -z "$as_dir" && as_dir=.
1030   echo "PATH: $as_dir"
1031 done
1032
1033 } >&5
1034
1035 cat >&5 <<_ACEOF
1036
1037
1038 ## ----------- ##
1039 ## Core tests. ##
1040 ## ----------- ##
1041
1042 _ACEOF
1043
1044
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
1056 do
1057   for ac_arg
1058   do
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'" ;;
1069     2)
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
1082             ;;
1083           -* ) ac_must_keep_next=true ;;
1084         esac
1085       fi
1086       ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1087       # Get rid of the leading space.
1088       ac_sep=" "
1089       ;;
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; }
1095
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.
1103   {
1104     echo
1105
1106     cat <<\_ASBOX
1107 ## ---------------- ##
1108 ## Cache variables. ##
1109 ## ---------------- ##
1110 _ASBOX
1111     echo
1112     # The following way of writing the cache mishandles newlines in values,
1113 {
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"
1120       ;;
1121     *)
1122       sed -n \
1123         "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1124       ;;
1125     esac;
1126 }
1127     echo
1128
1129     cat <<\_ASBOX
1130 ## ----------------- ##
1131 ## Output variables. ##
1132 ## ----------------- ##
1133 _ASBOX
1134     echo
1135     for ac_var in $ac_subst_vars
1136     do
1137       eval ac_val=$`echo $ac_var`
1138       echo "$ac_var='"'"'$ac_val'"'"'"
1139     done | sort
1140     echo
1141
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
1150       do
1151         eval ac_val=$`echo $ac_var`
1152         echo "$ac_var='"'"'$ac_val'"'"'"
1153       done | sort
1154       echo
1155     fi
1156
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
1166     fi
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
1174      ' 0
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
1179
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
1184
1185 # Predefined preprocessor variables.
1186
1187 cat >>confdefs.h <<_ACEOF
1188 #define PACKAGE_NAME "$PACKAGE_NAME"
1189 _ACEOF
1190
1191
1192 cat >>confdefs.h <<_ACEOF
1193 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1194 _ACEOF
1195
1196
1197 cat >>confdefs.h <<_ACEOF
1198 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1199 _ACEOF
1200
1201
1202 cat >>confdefs.h <<_ACEOF
1203 #define PACKAGE_STRING "$PACKAGE_STRING"
1204 _ACEOF
1205
1206
1207 cat >>confdefs.h <<_ACEOF
1208 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1209 _ACEOF
1210
1211
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"
1219   fi
1220 fi
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"
1227   fi
1228 done
1229
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
1240   fi
1241 else
1242   { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1243 echo "$as_me: creating cache $cache_file" >&6;}
1244   >$cache_file
1245 fi
1246
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     ,);;
1266     *)
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
1288   fi
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; }; }
1296 fi
1297
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
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330           ac_config_headers="$ac_config_headers config.h"
1331
1332
1333 # -------
1334 # Options
1335 # -------
1336
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
1351 fi;
1352 echo "$as_me:$LINENO: result: $version_specific_libs" >&5
1353 echo "${ECHO_T}$version_specific_libs" >&6
1354
1355
1356 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
1357 #
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/.
1360 #
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.  :-)
1365 #
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.
1368 #
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
1385   fi
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; }; }
1391 fi
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.
1395
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; }; }
1401
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; }; }
1418
1419 fi
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/'`
1426
1427
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; }; }
1440
1441 fi
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/'`
1448
1449
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; }; }
1462
1463 fi
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/'`
1470
1471
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}
1479
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
1513 do
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/* ) ;;
1522   *)
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.
1532             :
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.
1536             :
1537           else
1538             ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1539             break 3
1540           fi
1541         fi
1542       done
1543     done
1544     ;;
1545 esac
1546 done
1547
1548
1549 fi
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
1558   fi
1559 fi
1560 echo "$as_me:$LINENO: result: $INSTALL" >&5
1561 echo "${ECHO_T}$INSTALL" >&6
1562
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}'
1566
1567 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1568
1569 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1570
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`
1586    fi
1587    rm -f conftest.file
1588    if test "$*" != "X $srcdir/configure conftest.file" \
1589       && test "$*" != "X conftest.file $srcdir/configure"; then
1590
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; }; }
1600    fi
1601
1602    test "$2" = conftest.file
1603    )
1604 then
1605    # Ok.
1606    :
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; }; }
1613 fi
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
1628
1629 # expand $ac_aux_dir to an absolute path
1630 am_aux_dir=`cd $ac_aux_dir && pwd`
1631
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;}
1640 fi
1641
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;
1664   do
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'
1672   fi
1673 fi
1674
1675 for ac_prog in gawk mawk nawk awk
1676 do
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
1689 do
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
1697   fi
1698 done
1699 done
1700
1701 fi
1702 fi
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
1710 fi
1711
1712   test -n "$AWK" && break
1713 done
1714
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
1731 fi
1732 rm -f conftest.make
1733 fi
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}"
1742 fi
1743
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=_
1750 fi
1751 rmdir .tst 2>/dev/null
1752
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; }; }
1759 fi
1760
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
1767   fi
1768 fi
1769
1770
1771 # Define the identity of the package.
1772  PACKAGE='libgfortran'
1773  VERSION='0.2'
1774
1775
1776 # Some tools Automake needs.
1777
1778 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1779
1780
1781 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
1782
1783
1784 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1785
1786
1787 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
1788
1789
1790 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
1791
1792 install_sh=${install_sh-"$am_aux_dir/install-sh"}
1793
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
1812 do
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
1820   fi
1821 done
1822 done
1823
1824 fi
1825 fi
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
1833 fi
1834
1835 fi
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
1850 do
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
1858   fi
1859 done
1860 done
1861
1862   test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
1863 fi
1864 fi
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
1872 fi
1873
1874   STRIP=$ac_ct_STRIP
1875 else
1876   STRIP="$ac_cv_prog_STRIP"
1877 fi
1878
1879 fi
1880 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
1881
1882 # We need awk for the "check" target.  The system "awk" is bad on
1883 # some platforms.
1884 # Always define AMTAR for backward compatibility.
1885
1886 AMTAR=${AMTAR-"${am_missing_run}tar"}
1887
1888 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
1889
1890
1891
1892
1893
1894
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
1903 fi;
1904   echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
1905 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
1906
1907
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=
1914 fi
1915
1916   MAINT=$MAINTAINER_MODE_TRUE
1917
1918
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
1932 fi;
1933
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.
1937
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.."
1943   fi
1944 else
1945   multi_basedir="$srcdir/.."
1946 fi
1947
1948
1949           ac_config_commands="$ac_config_commands default-1"
1950
1951
1952 # Handy for debugging:
1953 #AC_MSG_NOTICE($build / $host / $target / $host_alias / $target_alias); sleep 5
1954
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
1961 else
1962   LIBGFOR_IS_NATIVE=true
1963 fi
1964
1965 # Process the option "--enable-version-specific-runtime-libs"
1966 gcc_version_trigger=${srcdir}/../gcc/version.c
1967 gcc_version_full=`grep version_string ${gcc_version_trigger} | sed -e 's/.*\"\([^ \"]*\)[ \"].*/\1/'`
1968 gcc_version=`echo ${gcc_version_full} | sed -e 's/\(^ *\) .*/\1/'`
1969
1970
1971 # Calculate toolexeclibdir
1972 # Also toolexecdir, though it's only used in toolexeclibdir
1973 case ${version_specific_libs} in
1974   yes)
1975     # Need the gcc compiler version to know where to install libraries
1976     # and header files if --enable-version-specific-runtime-libs option
1977     # is selected.
1978     toolexecdir='$(libdir)/gcc/$(target_alias)'
1979     toolexeclibdir='$(toolexecdir)/'${gcc_version}'$(MULTISUBDIR)'
1980     ;;
1981   no)
1982     if test -n "$with_cross_host" &&
1983        test x"$with_cross_host" != x"no"; then
1984       # Install a library built with a cross compiler in tooldir, not libdir.
1985       toolexecdir='$(exec_prefix)/$(target_alias)'
1986       toolexeclibdir='$(toolexecdir)/lib'
1987     else
1988       toolexecdir='$(libdir)/gcc-lib/$(target_alias)'
1989       toolexeclibdir='$(libdir)'
1990     fi
1991     multi_os_directory=`$CC -print-multi-os-directory`
1992     case $multi_os_directory in
1993       .) ;; # Avoid trailing /.
1994       *) toolexeclibdir=$toolexeclibdir/$multi_os_directory ;;
1995     esac
1996     ;;
1997 esac
1998
1999
2000
2001 # Check the compiler.
2002 # The same as in boehm-gc and libstdc++. Have to borrow it from there.
2003 # We must force CC to /not/ be precious variables; otherwise
2004 # the wrong, non-multilib-adjusted value will be used in multilibs.
2005 # As a side effect, we have to subst CFLAGS ourselves.
2006
2007
2008
2009 ac_ext=c
2010 ac_cpp='$CPP $CPPFLAGS'
2011 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2012 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2013 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2014 if test -n "$ac_tool_prefix"; then
2015   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2016 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2017 echo "$as_me:$LINENO: checking for $ac_word" >&5
2018 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2019 if test "${ac_cv_prog_CC+set}" = set; then
2020   echo $ECHO_N "(cached) $ECHO_C" >&6
2021 else
2022   if test -n "$CC"; then
2023   ac_cv_prog_CC="$CC" # Let the user override the test.
2024 else
2025 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2026 for as_dir in $PATH
2027 do
2028   IFS=$as_save_IFS
2029   test -z "$as_dir" && as_dir=.
2030   for ac_exec_ext in '' $ac_executable_extensions; do
2031   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2032     ac_cv_prog_CC="${ac_tool_prefix}gcc"
2033     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2034     break 2
2035   fi
2036 done
2037 done
2038
2039 fi
2040 fi
2041 CC=$ac_cv_prog_CC
2042 if test -n "$CC"; then
2043   echo "$as_me:$LINENO: result: $CC" >&5
2044 echo "${ECHO_T}$CC" >&6
2045 else
2046   echo "$as_me:$LINENO: result: no" >&5
2047 echo "${ECHO_T}no" >&6
2048 fi
2049
2050 fi
2051 if test -z "$ac_cv_prog_CC"; then
2052   ac_ct_CC=$CC
2053   # Extract the first word of "gcc", so it can be a program name with args.
2054 set dummy gcc; ac_word=$2
2055 echo "$as_me:$LINENO: checking for $ac_word" >&5
2056 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2057 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2058   echo $ECHO_N "(cached) $ECHO_C" >&6
2059 else
2060   if test -n "$ac_ct_CC"; then
2061   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2062 else
2063 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2064 for as_dir in $PATH
2065 do
2066   IFS=$as_save_IFS
2067   test -z "$as_dir" && as_dir=.
2068   for ac_exec_ext in '' $ac_executable_extensions; do
2069   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2070     ac_cv_prog_ac_ct_CC="gcc"
2071     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2072     break 2
2073   fi
2074 done
2075 done
2076
2077 fi
2078 fi
2079 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2080 if test -n "$ac_ct_CC"; then
2081   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2082 echo "${ECHO_T}$ac_ct_CC" >&6
2083 else
2084   echo "$as_me:$LINENO: result: no" >&5
2085 echo "${ECHO_T}no" >&6
2086 fi
2087
2088   CC=$ac_ct_CC
2089 else
2090   CC="$ac_cv_prog_CC"
2091 fi
2092
2093 if test -z "$CC"; then
2094   if test -n "$ac_tool_prefix"; then
2095   # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2096 set dummy ${ac_tool_prefix}cc; ac_word=$2
2097 echo "$as_me:$LINENO: checking for $ac_word" >&5
2098 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2099 if test "${ac_cv_prog_CC+set}" = set; then
2100   echo $ECHO_N "(cached) $ECHO_C" >&6
2101 else
2102   if test -n "$CC"; then
2103   ac_cv_prog_CC="$CC" # Let the user override the test.
2104 else
2105 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2106 for as_dir in $PATH
2107 do
2108   IFS=$as_save_IFS
2109   test -z "$as_dir" && as_dir=.
2110   for ac_exec_ext in '' $ac_executable_extensions; do
2111   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2112     ac_cv_prog_CC="${ac_tool_prefix}cc"
2113     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2114     break 2
2115   fi
2116 done
2117 done
2118
2119 fi
2120 fi
2121 CC=$ac_cv_prog_CC
2122 if test -n "$CC"; then
2123   echo "$as_me:$LINENO: result: $CC" >&5
2124 echo "${ECHO_T}$CC" >&6
2125 else
2126   echo "$as_me:$LINENO: result: no" >&5
2127 echo "${ECHO_T}no" >&6
2128 fi
2129
2130 fi
2131 if test -z "$ac_cv_prog_CC"; then
2132   ac_ct_CC=$CC
2133   # Extract the first word of "cc", so it can be a program name with args.
2134 set dummy cc; ac_word=$2
2135 echo "$as_me:$LINENO: checking for $ac_word" >&5
2136 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2137 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2138   echo $ECHO_N "(cached) $ECHO_C" >&6
2139 else
2140   if test -n "$ac_ct_CC"; then
2141   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2142 else
2143 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2144 for as_dir in $PATH
2145 do
2146   IFS=$as_save_IFS
2147   test -z "$as_dir" && as_dir=.
2148   for ac_exec_ext in '' $ac_executable_extensions; do
2149   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2150     ac_cv_prog_ac_ct_CC="cc"
2151     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2152     break 2
2153   fi
2154 done
2155 done
2156
2157 fi
2158 fi
2159 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2160 if test -n "$ac_ct_CC"; then
2161   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2162 echo "${ECHO_T}$ac_ct_CC" >&6
2163 else
2164   echo "$as_me:$LINENO: result: no" >&5
2165 echo "${ECHO_T}no" >&6
2166 fi
2167
2168   CC=$ac_ct_CC
2169 else
2170   CC="$ac_cv_prog_CC"
2171 fi
2172
2173 fi
2174 if test -z "$CC"; then
2175   # Extract the first word of "cc", so it can be a program name with args.
2176 set dummy cc; ac_word=$2
2177 echo "$as_me:$LINENO: checking for $ac_word" >&5
2178 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2179 if test "${ac_cv_prog_CC+set}" = set; then
2180   echo $ECHO_N "(cached) $ECHO_C" >&6
2181 else
2182   if test -n "$CC"; then
2183   ac_cv_prog_CC="$CC" # Let the user override the test.
2184 else
2185   ac_prog_rejected=no
2186 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2187 for as_dir in $PATH
2188 do
2189   IFS=$as_save_IFS
2190   test -z "$as_dir" && as_dir=.
2191   for ac_exec_ext in '' $ac_executable_extensions; do
2192   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2193     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2194        ac_prog_rejected=yes
2195        continue
2196      fi
2197     ac_cv_prog_CC="cc"
2198     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2199     break 2
2200   fi
2201 done
2202 done
2203
2204 if test $ac_prog_rejected = yes; then
2205   # We found a bogon in the path, so make sure we never use it.
2206   set dummy $ac_cv_prog_CC
2207   shift
2208   if test $# != 0; then
2209     # We chose a different compiler from the bogus one.
2210     # However, it has the same basename, so the bogon will be chosen
2211     # first if we set CC to just the basename; use the full file name.
2212     shift
2213     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2214   fi
2215 fi
2216 fi
2217 fi
2218 CC=$ac_cv_prog_CC
2219 if test -n "$CC"; then
2220   echo "$as_me:$LINENO: result: $CC" >&5
2221 echo "${ECHO_T}$CC" >&6
2222 else
2223   echo "$as_me:$LINENO: result: no" >&5
2224 echo "${ECHO_T}no" >&6
2225 fi
2226
2227 fi
2228 if test -z "$CC"; then
2229   if test -n "$ac_tool_prefix"; then
2230   for ac_prog in cl
2231   do
2232     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2233 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2234 echo "$as_me:$LINENO: checking for $ac_word" >&5
2235 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2236 if test "${ac_cv_prog_CC+set}" = set; then
2237   echo $ECHO_N "(cached) $ECHO_C" >&6
2238 else
2239   if test -n "$CC"; then
2240   ac_cv_prog_CC="$CC" # Let the user override the test.
2241 else
2242 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2243 for as_dir in $PATH
2244 do
2245   IFS=$as_save_IFS
2246   test -z "$as_dir" && as_dir=.
2247   for ac_exec_ext in '' $ac_executable_extensions; do
2248   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2249     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2250     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2251     break 2
2252   fi
2253 done
2254 done
2255
2256 fi
2257 fi
2258 CC=$ac_cv_prog_CC
2259 if test -n "$CC"; then
2260   echo "$as_me:$LINENO: result: $CC" >&5
2261 echo "${ECHO_T}$CC" >&6
2262 else
2263   echo "$as_me:$LINENO: result: no" >&5
2264 echo "${ECHO_T}no" >&6
2265 fi
2266
2267     test -n "$CC" && break
2268   done
2269 fi
2270 if test -z "$CC"; then
2271   ac_ct_CC=$CC
2272   for ac_prog in cl
2273 do
2274   # Extract the first word of "$ac_prog", so it can be a program name with args.
2275 set dummy $ac_prog; ac_word=$2
2276 echo "$as_me:$LINENO: checking for $ac_word" >&5
2277 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2278 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2279   echo $ECHO_N "(cached) $ECHO_C" >&6
2280 else
2281   if test -n "$ac_ct_CC"; then
2282   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2283 else
2284 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2285 for as_dir in $PATH
2286 do
2287   IFS=$as_save_IFS
2288   test -z "$as_dir" && as_dir=.
2289   for ac_exec_ext in '' $ac_executable_extensions; do
2290   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2291     ac_cv_prog_ac_ct_CC="$ac_prog"
2292     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2293     break 2
2294   fi
2295 done
2296 done
2297
2298 fi
2299 fi
2300 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2301 if test -n "$ac_ct_CC"; then
2302   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2303 echo "${ECHO_T}$ac_ct_CC" >&6
2304 else
2305   echo "$as_me:$LINENO: result: no" >&5
2306 echo "${ECHO_T}no" >&6
2307 fi
2308
2309   test -n "$ac_ct_CC" && break
2310 done
2311
2312   CC=$ac_ct_CC
2313 fi
2314
2315 fi
2316
2317
2318 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2319 See \`config.log' for more details." >&5
2320 echo "$as_me: error: no acceptable C compiler found in \$PATH
2321 See \`config.log' for more details." >&2;}
2322    { (exit 1); exit 1; }; }
2323
2324 # Provide some information about the compiler.
2325 echo "$as_me:$LINENO:" \
2326      "checking for C compiler version" >&5
2327 ac_compiler=`set X $ac_compile; echo $2`
2328 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2329   (eval $ac_compiler --version </dev/null >&5) 2>&5
2330   ac_status=$?
2331   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2332   (exit $ac_status); }
2333 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2334   (eval $ac_compiler -v </dev/null >&5) 2>&5
2335   ac_status=$?
2336   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2337   (exit $ac_status); }
2338 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2339   (eval $ac_compiler -V </dev/null >&5) 2>&5
2340   ac_status=$?
2341   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2342   (exit $ac_status); }
2343
2344 cat >conftest.$ac_ext <<_ACEOF
2345 /* confdefs.h.  */
2346 _ACEOF
2347 cat confdefs.h >>conftest.$ac_ext
2348 cat >>conftest.$ac_ext <<_ACEOF
2349 /* end confdefs.h.  */
2350
2351 int
2352 main ()
2353 {
2354
2355   ;
2356   return 0;
2357 }
2358 _ACEOF
2359 # FIXME: Cleanup?
2360 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2361   (eval $ac_link) 2>&5
2362   ac_status=$?
2363   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2364   (exit $ac_status); }; then
2365   gcc_no_link=no
2366 else
2367   gcc_no_link=yes
2368 fi
2369
2370 if test x$gcc_no_link = xyes; then
2371   # Setting cross_compile will disable run tests; it will
2372   # also disable AC_CHECK_FILE but that's generally
2373   # correct if we can't link.
2374   cross_compiling=yes
2375   EXEEXT=
2376 else
2377   cat >conftest.$ac_ext <<_ACEOF
2378 /* confdefs.h.  */
2379 _ACEOF
2380 cat confdefs.h >>conftest.$ac_ext
2381 cat >>conftest.$ac_ext <<_ACEOF
2382 /* end confdefs.h.  */
2383
2384 int
2385 main ()
2386 {
2387
2388   ;
2389   return 0;
2390 }
2391 _ACEOF
2392 ac_clean_files_save=$ac_clean_files
2393 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2394 # Try to create an executable without -o first, disregard a.out.
2395 # It will help us diagnose broken compilers, and finding out an intuition
2396 # of exeext.
2397 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2398 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2399 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2400 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2401   (eval $ac_link_default) 2>&5
2402   ac_status=$?
2403   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2404   (exit $ac_status); }; then
2405   # Find the output, starting from the most likely.  This scheme is
2406 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2407 # resort.
2408
2409 # Be careful to initialize this variable, since it used to be cached.
2410 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2411 ac_cv_exeext=
2412 # b.out is created by i960 compilers.
2413 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
2414 do
2415   test -f "$ac_file" || continue
2416   case $ac_file in
2417     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2418         ;;
2419     conftest.$ac_ext )
2420         # This is the source file.
2421         ;;
2422     [ab].out )
2423         # We found the default executable, but exeext='' is most
2424         # certainly right.
2425         break;;
2426     *.* )
2427         ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2428         # FIXME: I believe we export ac_cv_exeext for Libtool,
2429         # but it would be cool to find out if it's true.  Does anybody
2430         # maintain Libtool? --akim.
2431         export ac_cv_exeext
2432         break;;
2433     * )
2434         break;;
2435   esac
2436 done
2437 else
2438   echo "$as_me: failed program was:" >&5
2439 sed 's/^/| /' conftest.$ac_ext >&5
2440
2441 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2442 See \`config.log' for more details." >&5
2443 echo "$as_me: error: C compiler cannot create executables
2444 See \`config.log' for more details." >&2;}
2445    { (exit 77); exit 77; }; }
2446 fi
2447
2448 ac_exeext=$ac_cv_exeext
2449 echo "$as_me:$LINENO: result: $ac_file" >&5
2450 echo "${ECHO_T}$ac_file" >&6
2451
2452 # Check the compiler produces executables we can run.  If not, either
2453 # the compiler is broken, or we cross compile.
2454 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2455 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2456 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2457 # If not cross compiling, check that we can run a simple program.
2458 if test "$cross_compiling" != yes; then
2459   if { ac_try='./$ac_file'
2460   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2461   (eval $ac_try) 2>&5
2462   ac_status=$?
2463   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2464   (exit $ac_status); }; }; then
2465     cross_compiling=no
2466   else
2467     if test "$cross_compiling" = maybe; then
2468         cross_compiling=yes
2469     else
2470         { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2471 If you meant to cross compile, use \`--host'.
2472 See \`config.log' for more details." >&5
2473 echo "$as_me: error: cannot run C compiled programs.
2474 If you meant to cross compile, use \`--host'.
2475 See \`config.log' for more details." >&2;}
2476    { (exit 1); exit 1; }; }
2477     fi
2478   fi
2479 fi
2480 echo "$as_me:$LINENO: result: yes" >&5
2481 echo "${ECHO_T}yes" >&6
2482
2483 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2484 ac_clean_files=$ac_clean_files_save
2485 # Check the compiler produces executables we can run.  If not, either
2486 # the compiler is broken, or we cross compile.
2487 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2488 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2489 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2490 echo "${ECHO_T}$cross_compiling" >&6
2491
2492 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2493 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2494 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2495   (eval $ac_link) 2>&5
2496   ac_status=$?
2497   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2498   (exit $ac_status); }; then
2499   # If both `conftest.exe' and `conftest' are `present' (well, observable)
2500 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
2501 # work properly (i.e., refer to `conftest.exe'), while it won't with
2502 # `rm'.
2503 for ac_file in conftest.exe conftest conftest.*; do
2504   test -f "$ac_file" || continue
2505   case $ac_file in
2506     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
2507     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2508           export ac_cv_exeext
2509           break;;
2510     * ) break;;
2511   esac
2512 done
2513 else
2514   { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2515 See \`config.log' for more details." >&5
2516 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2517 See \`config.log' for more details." >&2;}
2518    { (exit 1); exit 1; }; }
2519 fi
2520
2521 rm -f conftest$ac_cv_exeext
2522 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2523 echo "${ECHO_T}$ac_cv_exeext" >&6
2524
2525 rm -f conftest.$ac_ext
2526 EXEEXT=$ac_cv_exeext
2527 ac_exeext=$EXEEXT
2528 fi
2529 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2530 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2531 if test "${ac_cv_objext+set}" = set; then
2532   echo $ECHO_N "(cached) $ECHO_C" >&6
2533 else
2534   cat >conftest.$ac_ext <<_ACEOF
2535 /* confdefs.h.  */
2536 _ACEOF
2537 cat confdefs.h >>conftest.$ac_ext
2538 cat >>conftest.$ac_ext <<_ACEOF
2539 /* end confdefs.h.  */
2540
2541 int
2542 main ()
2543 {
2544
2545   ;
2546   return 0;
2547 }
2548 _ACEOF
2549 rm -f conftest.o conftest.obj
2550 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2551   (eval $ac_compile) 2>&5
2552   ac_status=$?
2553   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2554   (exit $ac_status); }; then
2555   for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2556   case $ac_file in
2557     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
2558     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2559        break;;
2560   esac
2561 done
2562 else
2563   echo "$as_me: failed program was:" >&5
2564 sed 's/^/| /' conftest.$ac_ext >&5
2565
2566 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2567 See \`config.log' for more details." >&5
2568 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2569 See \`config.log' for more details." >&2;}
2570    { (exit 1); exit 1; }; }
2571 fi
2572
2573 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2574 fi
2575 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2576 echo "${ECHO_T}$ac_cv_objext" >&6
2577 OBJEXT=$ac_cv_objext
2578 ac_objext=$OBJEXT
2579 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2580 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2581 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2582   echo $ECHO_N "(cached) $ECHO_C" >&6
2583 else
2584   cat >conftest.$ac_ext <<_ACEOF
2585 /* confdefs.h.  */
2586 _ACEOF
2587 cat confdefs.h >>conftest.$ac_ext
2588 cat >>conftest.$ac_ext <<_ACEOF
2589 /* end confdefs.h.  */
2590
2591 int
2592 main ()
2593 {
2594 #ifndef __GNUC__
2595        choke me
2596 #endif
2597
2598   ;
2599   return 0;
2600 }
2601 _ACEOF
2602 rm -f conftest.$ac_objext
2603 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2604   (eval $ac_compile) 2>conftest.er1
2605   ac_status=$?
2606   grep -v '^ *+' conftest.er1 >conftest.err
2607   rm -f conftest.er1
2608   cat conftest.err >&5
2609   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2610   (exit $ac_status); } &&
2611          { ac_try='test -z "$ac_c_werror_flag"
2612                          || test ! -s conftest.err'
2613   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2614   (eval $ac_try) 2>&5
2615   ac_status=$?
2616   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2617   (exit $ac_status); }; } &&
2618          { ac_try='test -s conftest.$ac_objext'
2619   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2620   (eval $ac_try) 2>&5
2621   ac_status=$?
2622   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2623   (exit $ac_status); }; }; then
2624   ac_compiler_gnu=yes
2625 else
2626   echo "$as_me: failed program was:" >&5
2627 sed 's/^/| /' conftest.$ac_ext >&5
2628
2629 ac_compiler_gnu=no
2630 fi
2631 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2632 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2633
2634 fi
2635 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2636 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2637 GCC=`test $ac_compiler_gnu = yes && echo yes`
2638 ac_test_CFLAGS=${CFLAGS+set}
2639 ac_save_CFLAGS=$CFLAGS
2640 CFLAGS="-g"
2641 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2642 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2643 if test "${ac_cv_prog_cc_g+set}" = set; then
2644   echo $ECHO_N "(cached) $ECHO_C" >&6
2645 else
2646   cat >conftest.$ac_ext <<_ACEOF
2647 /* confdefs.h.  */
2648 _ACEOF
2649 cat confdefs.h >>conftest.$ac_ext
2650 cat >>conftest.$ac_ext <<_ACEOF
2651 /* end confdefs.h.  */
2652
2653 int
2654 main ()
2655 {
2656
2657   ;
2658   return 0;
2659 }
2660 _ACEOF
2661 rm -f conftest.$ac_objext
2662 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2663   (eval $ac_compile) 2>conftest.er1
2664   ac_status=$?
2665   grep -v '^ *+' conftest.er1 >conftest.err
2666   rm -f conftest.er1
2667   cat conftest.err >&5
2668   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2669   (exit $ac_status); } &&
2670          { ac_try='test -z "$ac_c_werror_flag"
2671                          || test ! -s conftest.err'
2672   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2673   (eval $ac_try) 2>&5
2674   ac_status=$?
2675   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2676   (exit $ac_status); }; } &&
2677          { ac_try='test -s conftest.$ac_objext'
2678   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2679   (eval $ac_try) 2>&5
2680   ac_status=$?
2681   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2682   (exit $ac_status); }; }; then
2683   ac_cv_prog_cc_g=yes
2684 else
2685   echo "$as_me: failed program was:" >&5
2686 sed 's/^/| /' conftest.$ac_ext >&5
2687
2688 ac_cv_prog_cc_g=no
2689 fi
2690 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2691 fi
2692 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2693 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2694 if test "$ac_test_CFLAGS" = set; then
2695   CFLAGS=$ac_save_CFLAGS
2696 elif test $ac_cv_prog_cc_g = yes; then
2697   if test "$GCC" = yes; then
2698     CFLAGS="-g -O2"
2699   else
2700     CFLAGS="-g"
2701   fi
2702 else
2703   if test "$GCC" = yes; then
2704     CFLAGS="-O2"
2705   else
2706     CFLAGS=
2707   fi
2708 fi
2709 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2710 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2711 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2712   echo $ECHO_N "(cached) $ECHO_C" >&6
2713 else
2714   ac_cv_prog_cc_stdc=no
2715 ac_save_CC=$CC
2716 cat >conftest.$ac_ext <<_ACEOF
2717 /* confdefs.h.  */
2718 _ACEOF
2719 cat confdefs.h >>conftest.$ac_ext
2720 cat >>conftest.$ac_ext <<_ACEOF
2721 /* end confdefs.h.  */
2722 #include <stdarg.h>
2723 #include <stdio.h>
2724 #include <sys/types.h>
2725 #include <sys/stat.h>
2726 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
2727 struct buf { int x; };
2728 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2729 static char *e (p, i)
2730      char **p;
2731      int i;
2732 {
2733   return p[i];
2734 }
2735 static char *f (char * (*g) (char **, int), char **p, ...)
2736 {
2737   char *s;
2738   va_list v;
2739   va_start (v,p);
2740   s = g (p, va_arg (v,int));
2741   va_end (v);
2742   return s;
2743 }
2744
2745 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
2746    function prototypes and stuff, but not '\xHH' hex character constants.
2747    These don't provoke an error unfortunately, instead are silently treated
2748    as 'x'.  The following induces an error, until -std1 is added to get
2749    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
2750    array size at least.  It's necessary to write '\x00'==0 to get something
2751    that's true only with -std1.  */
2752 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2753
2754 int test (int i, double x);
2755 struct s1 {int (*f) (int a);};
2756 struct s2 {int (*f) (double a);};
2757 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2758 int argc;
2759 char **argv;
2760 int
2761 main ()
2762 {
2763 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
2764   ;
2765   return 0;
2766 }
2767 _ACEOF
2768 # Don't try gcc -ansi; that turns off useful extensions and
2769 # breaks some systems' header files.
2770 # AIX                   -qlanglvl=ansi
2771 # Ultrix and OSF/1      -std1
2772 # HP-UX 10.20 and later -Ae
2773 # HP-UX older versions  -Aa -D_HPUX_SOURCE
2774 # SVR4                  -Xc -D__EXTENSIONS__
2775 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2776 do
2777   CC="$ac_save_CC $ac_arg"
2778   rm -f conftest.$ac_objext
2779 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2780   (eval $ac_compile) 2>conftest.er1
2781   ac_status=$?
2782   grep -v '^ *+' conftest.er1 >conftest.err
2783   rm -f conftest.er1
2784   cat conftest.err >&5
2785   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2786   (exit $ac_status); } &&
2787          { ac_try='test -z "$ac_c_werror_flag"
2788                          || test ! -s conftest.err'
2789   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2790   (eval $ac_try) 2>&5
2791   ac_status=$?
2792   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2793   (exit $ac_status); }; } &&
2794          { ac_try='test -s conftest.$ac_objext'
2795   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2796   (eval $ac_try) 2>&5
2797   ac_status=$?
2798   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2799   (exit $ac_status); }; }; then
2800   ac_cv_prog_cc_stdc=$ac_arg
2801 break
2802 else
2803   echo "$as_me: failed program was:" >&5
2804 sed 's/^/| /' conftest.$ac_ext >&5
2805
2806 fi
2807 rm -f conftest.err conftest.$ac_objext
2808 done
2809 rm -f conftest.$ac_ext conftest.$ac_objext
2810 CC=$ac_save_CC
2811
2812 fi
2813
2814 case "x$ac_cv_prog_cc_stdc" in
2815   x|xno)
2816     echo "$as_me:$LINENO: result: none needed" >&5
2817 echo "${ECHO_T}none needed" >&6 ;;
2818   *)
2819     echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2820 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2821     CC="$CC $ac_cv_prog_cc_stdc" ;;
2822 esac
2823
2824 # Some people use a C++ compiler to compile C.  Since we use `exit',
2825 # in C++ we need to declare it.  In case someone uses the same compiler
2826 # for both compiling C and C++ we need to have the C++ compiler decide
2827 # the declaration of exit, since it's the most demanding environment.
2828 cat >conftest.$ac_ext <<_ACEOF
2829 #ifndef __cplusplus
2830   choke me
2831 #endif
2832 _ACEOF
2833 rm -f conftest.$ac_objext
2834 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2835   (eval $ac_compile) 2>conftest.er1
2836   ac_status=$?
2837   grep -v '^ *+' conftest.er1 >conftest.err
2838   rm -f conftest.er1
2839   cat conftest.err >&5
2840   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2841   (exit $ac_status); } &&
2842          { ac_try='test -z "$ac_c_werror_flag"
2843                          || test ! -s conftest.err'
2844   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2845   (eval $ac_try) 2>&5
2846   ac_status=$?
2847   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2848   (exit $ac_status); }; } &&
2849          { ac_try='test -s conftest.$ac_objext'
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); }; }; then
2855   for ac_declaration in \
2856    '' \
2857    'extern "C" void std::exit (int) throw (); using std::exit;' \
2858    'extern "C" void std::exit (int); using std::exit;' \
2859    'extern "C" void exit (int) throw ();' \
2860    'extern "C" void exit (int);' \
2861    'void exit (int);'
2862 do
2863   cat >conftest.$ac_ext <<_ACEOF
2864 /* confdefs.h.  */
2865 _ACEOF
2866 cat confdefs.h >>conftest.$ac_ext
2867 cat >>conftest.$ac_ext <<_ACEOF
2868 /* end confdefs.h.  */
2869 $ac_declaration
2870 #include <stdlib.h>
2871 int
2872 main ()
2873 {
2874 exit (42);
2875   ;
2876   return 0;
2877 }
2878 _ACEOF
2879 rm -f conftest.$ac_objext
2880 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2881   (eval $ac_compile) 2>conftest.er1
2882   ac_status=$?
2883   grep -v '^ *+' conftest.er1 >conftest.err
2884   rm -f conftest.er1
2885   cat conftest.err >&5
2886   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2887   (exit $ac_status); } &&
2888          { ac_try='test -z "$ac_c_werror_flag"
2889                          || test ! -s conftest.err'
2890   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2891   (eval $ac_try) 2>&5
2892   ac_status=$?
2893   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2894   (exit $ac_status); }; } &&
2895          { ac_try='test -s conftest.$ac_objext'
2896   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2897   (eval $ac_try) 2>&5
2898   ac_status=$?
2899   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2900   (exit $ac_status); }; }; then
2901   :
2902 else
2903   echo "$as_me: failed program was:" >&5
2904 sed 's/^/| /' conftest.$ac_ext >&5
2905
2906 continue
2907 fi
2908 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2909   cat >conftest.$ac_ext <<_ACEOF
2910 /* confdefs.h.  */
2911 _ACEOF
2912 cat confdefs.h >>conftest.$ac_ext
2913 cat >>conftest.$ac_ext <<_ACEOF
2914 /* end confdefs.h.  */
2915 $ac_declaration
2916 int
2917 main ()
2918 {
2919 exit (42);
2920   ;
2921   return 0;
2922 }
2923 _ACEOF
2924 rm -f conftest.$ac_objext
2925 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2926   (eval $ac_compile) 2>conftest.er1
2927   ac_status=$?
2928   grep -v '^ *+' conftest.er1 >conftest.err
2929   rm -f conftest.er1
2930   cat conftest.err >&5
2931   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2932   (exit $ac_status); } &&
2933          { ac_try='test -z "$ac_c_werror_flag"
2934                          || test ! -s conftest.err'
2935   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2936   (eval $ac_try) 2>&5
2937   ac_status=$?
2938   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2939   (exit $ac_status); }; } &&
2940          { ac_try='test -s conftest.$ac_objext'
2941   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2942   (eval $ac_try) 2>&5
2943   ac_status=$?
2944   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2945   (exit $ac_status); }; }; then
2946   break
2947 else
2948   echo "$as_me: failed program was:" >&5
2949 sed 's/^/| /' conftest.$ac_ext >&5
2950
2951 fi
2952 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2953 done
2954 rm -f conftest*
2955 if test -n "$ac_declaration"; then
2956   echo '#ifdef __cplusplus' >>confdefs.h
2957   echo $ac_declaration      >>confdefs.h
2958   echo '#endif'             >>confdefs.h
2959 fi
2960
2961 else
2962   echo "$as_me: failed program was:" >&5
2963 sed 's/^/| /' conftest.$ac_ext >&5
2964
2965 fi
2966 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2967 ac_ext=c
2968 ac_cpp='$CPP $CPPFLAGS'
2969 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2970 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2971 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2972
2973
2974
2975
2976
2977 # Add -Wall if we are using GCC.
2978 if test "x$GCC" = "xyes"; then
2979   CFLAGS="$CFLAGS -Wall"
2980 fi
2981
2982 # Find other programs we need.
2983 if test -n "$ac_tool_prefix"; then
2984   # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
2985 set dummy ${ac_tool_prefix}as; ac_word=$2
2986 echo "$as_me:$LINENO: checking for $ac_word" >&5
2987 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2988 if test "${ac_cv_prog_AS+set}" = set; then
2989   echo $ECHO_N "(cached) $ECHO_C" >&6
2990 else
2991   if test -n "$AS"; then
2992   ac_cv_prog_AS="$AS" # Let the user override the test.
2993 else
2994 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2995 for as_dir in $PATH
2996 do
2997   IFS=$as_save_IFS
2998   test -z "$as_dir" && as_dir=.
2999   for ac_exec_ext in '' $ac_executable_extensions; do
3000   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3001     ac_cv_prog_AS="${ac_tool_prefix}as"
3002     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3003     break 2
3004   fi
3005 done
3006 done
3007
3008 fi
3009 fi
3010 AS=$ac_cv_prog_AS
3011 if test -n "$AS"; then
3012   echo "$as_me:$LINENO: result: $AS" >&5
3013 echo "${ECHO_T}$AS" >&6
3014 else
3015   echo "$as_me:$LINENO: result: no" >&5
3016 echo "${ECHO_T}no" >&6
3017 fi
3018
3019 fi
3020 if test -z "$ac_cv_prog_AS"; then
3021   ac_ct_AS=$AS
3022   # Extract the first word of "as", so it can be a program name with args.
3023 set dummy as; ac_word=$2
3024 echo "$as_me:$LINENO: checking for $ac_word" >&5
3025 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3026 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
3027   echo $ECHO_N "(cached) $ECHO_C" >&6
3028 else
3029   if test -n "$ac_ct_AS"; then
3030   ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
3031 else
3032 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3033 for as_dir in $PATH
3034 do
3035   IFS=$as_save_IFS
3036   test -z "$as_dir" && as_dir=.
3037   for ac_exec_ext in '' $ac_executable_extensions; do
3038   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3039     ac_cv_prog_ac_ct_AS="as"
3040     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3041     break 2
3042   fi
3043 done
3044 done
3045
3046 fi
3047 fi
3048 ac_ct_AS=$ac_cv_prog_ac_ct_AS
3049 if test -n "$ac_ct_AS"; then
3050   echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
3051 echo "${ECHO_T}$ac_ct_AS" >&6
3052 else
3053   echo "$as_me:$LINENO: result: no" >&5
3054 echo "${ECHO_T}no" >&6
3055 fi
3056
3057   AS=$ac_ct_AS
3058 else
3059   AS="$ac_cv_prog_AS"
3060 fi
3061
3062 if test -n "$ac_tool_prefix"; then
3063   # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
3064 set dummy ${ac_tool_prefix}ar; ac_word=$2
3065 echo "$as_me:$LINENO: checking for $ac_word" >&5
3066 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3067 if test "${ac_cv_prog_AR+set}" = set; then
3068   echo $ECHO_N "(cached) $ECHO_C" >&6
3069 else
3070   if test -n "$AR"; then
3071   ac_cv_prog_AR="$AR" # Let the user override the test.
3072 else
3073 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3074 for as_dir in $PATH
3075 do
3076   IFS=$as_save_IFS
3077   test -z "$as_dir" && as_dir=.
3078   for ac_exec_ext in '' $ac_executable_extensions; do
3079   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3080     ac_cv_prog_AR="${ac_tool_prefix}ar"
3081     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3082     break 2
3083   fi
3084 done
3085 done
3086
3087 fi
3088 fi
3089 AR=$ac_cv_prog_AR
3090 if test -n "$AR"; then
3091   echo "$as_me:$LINENO: result: $AR" >&5
3092 echo "${ECHO_T}$AR" >&6
3093 else
3094   echo "$as_me:$LINENO: result: no" >&5
3095 echo "${ECHO_T}no" >&6
3096 fi
3097
3098 fi
3099 if test -z "$ac_cv_prog_AR"; then
3100   ac_ct_AR=$AR
3101   # Extract the first word of "ar", so it can be a program name with args.
3102 set dummy ar; ac_word=$2
3103 echo "$as_me:$LINENO: checking for $ac_word" >&5
3104 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3105 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
3106   echo $ECHO_N "(cached) $ECHO_C" >&6
3107 else
3108   if test -n "$ac_ct_AR"; then
3109   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
3110 else
3111 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3112 for as_dir in $PATH
3113 do
3114   IFS=$as_save_IFS
3115   test -z "$as_dir" && as_dir=.
3116   for ac_exec_ext in '' $ac_executable_extensions; do
3117   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3118     ac_cv_prog_ac_ct_AR="ar"
3119     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3120     break 2
3121   fi
3122 done
3123 done
3124
3125 fi
3126 fi
3127 ac_ct_AR=$ac_cv_prog_ac_ct_AR
3128 if test -n "$ac_ct_AR"; then
3129   echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
3130 echo "${ECHO_T}$ac_ct_AR" >&6
3131 else
3132   echo "$as_me:$LINENO: result: no" >&5
3133 echo "${ECHO_T}no" >&6
3134 fi
3135
3136   AR=$ac_ct_AR
3137 else
3138   AR="$ac_cv_prog_AR"
3139 fi
3140
3141 if test -n "$ac_tool_prefix"; then
3142   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3143 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
3144 echo "$as_me:$LINENO: checking for $ac_word" >&5
3145 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3146 if test "${ac_cv_prog_RANLIB+set}" = set; then
3147   echo $ECHO_N "(cached) $ECHO_C" >&6
3148 else
3149   if test -n "$RANLIB"; then
3150   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
3151 else
3152 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3153 for as_dir in $PATH
3154 do
3155   IFS=$as_save_IFS
3156   test -z "$as_dir" && as_dir=.
3157   for ac_exec_ext in '' $ac_executable_extensions; do
3158   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3159     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
3160     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3161     break 2
3162   fi
3163 done
3164 done
3165
3166 fi
3167 fi
3168 RANLIB=$ac_cv_prog_RANLIB
3169 if test -n "$RANLIB"; then
3170   echo "$as_me:$LINENO: result: $RANLIB" >&5
3171 echo "${ECHO_T}$RANLIB" >&6
3172 else
3173   echo "$as_me:$LINENO: result: no" >&5
3174 echo "${ECHO_T}no" >&6
3175 fi
3176
3177 fi
3178 if test -z "$ac_cv_prog_RANLIB"; then
3179   ac_ct_RANLIB=$RANLIB
3180   # Extract the first word of "ranlib", so it can be a program name with args.
3181 set dummy ranlib; ac_word=$2
3182 echo "$as_me:$LINENO: checking for $ac_word" >&5
3183 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3184 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3185   echo $ECHO_N "(cached) $ECHO_C" >&6
3186 else
3187   if test -n "$ac_ct_RANLIB"; then
3188   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
3189 else
3190 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3191 for as_dir in $PATH
3192 do
3193   IFS=$as_save_IFS
3194   test -z "$as_dir" && as_dir=.
3195   for ac_exec_ext in '' $ac_executable_extensions; do
3196   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3197     ac_cv_prog_ac_ct_RANLIB="ranlib"
3198     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3199     break 2
3200   fi
3201 done
3202 done
3203
3204   test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB="ranlib-not-found-in-path-error"
3205 fi
3206 fi
3207 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
3208 if test -n "$ac_ct_RANLIB"; then
3209   echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3210 echo "${ECHO_T}$ac_ct_RANLIB" >&6
3211 else
3212   echo "$as_me:$LINENO: result: no" >&5
3213 echo "${ECHO_T}no" >&6
3214 fi
3215
3216   RANLIB=$ac_ct_RANLIB
3217 else
3218   RANLIB="$ac_cv_prog_RANLIB"
3219 fi
3220
3221 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3222 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
3223 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
3224 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
3225   echo $ECHO_N "(cached) $ECHO_C" >&6
3226 else
3227   cat >conftest.make <<\_ACEOF
3228 all:
3229         @echo 'ac_maketemp="$(MAKE)"'
3230 _ACEOF
3231 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3232 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
3233 if test -n "$ac_maketemp"; then
3234   eval ac_cv_prog_make_${ac_make}_set=yes
3235 else
3236   eval ac_cv_prog_make_${ac_make}_set=no
3237 fi
3238 rm -f conftest.make
3239 fi
3240 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
3241   echo "$as_me:$LINENO: result: yes" >&5
3242 echo "${ECHO_T}yes" >&6
3243   SET_MAKE=
3244 else
3245   echo "$as_me:$LINENO: result: no" >&5
3246 echo "${ECHO_T}no" >&6
3247   SET_MAKE="MAKE=${MAKE-make}"
3248 fi
3249
3250 # Find a good install program.  We prefer a C program (faster),
3251 # so one script is as good as another.  But avoid the broken or
3252 # incompatible versions:
3253 # SysV /etc/install, /usr/sbin/install
3254 # SunOS /usr/etc/install
3255 # IRIX /sbin/install
3256 # AIX /bin/install
3257 # AmigaOS /C/install, which installs bootblocks on floppy discs
3258 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3259 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3260 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3261 # OS/2's system install, which has a completely different semantic
3262 # ./install, which can be erroneously created by make from ./install.sh.
3263 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
3264 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
3265 if test -z "$INSTALL"; then
3266 if test "${ac_cv_path_install+set}" = set; then
3267   echo $ECHO_N "(cached) $ECHO_C" >&6
3268 else
3269   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3270 for as_dir in $PATH
3271 do
3272   IFS=$as_save_IFS
3273   test -z "$as_dir" && as_dir=.
3274   # Account for people who put trailing slashes in PATH elements.
3275 case $as_dir/ in
3276   ./ | .// | /cC/* | \
3277   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3278   ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
3279   /usr/ucb/* ) ;;
3280   *)
3281     # OSF1 and SCO ODT 3.0 have their own names for install.
3282     # Don't use installbsd from OSF since it installs stuff as root
3283     # by default.
3284     for ac_prog in ginstall scoinst install; do
3285       for ac_exec_ext in '' $ac_executable_extensions; do
3286         if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
3287           if test $ac_prog = install &&
3288             grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3289             # AIX install.  It has an incompatible calling convention.
3290             :
3291           elif test $ac_prog = install &&
3292             grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3293             # program-specific install script used by HP pwplus--don't use.
3294             :
3295           else
3296             ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3297             break 3
3298           fi
3299         fi
3300       done
3301     done
3302     ;;
3303 esac
3304 done
3305
3306
3307 fi
3308   if test "${ac_cv_path_install+set}" = set; then
3309     INSTALL=$ac_cv_path_install
3310   else
3311     # As a last resort, use the slow shell script.  We don't cache a
3312     # path for INSTALL within a source directory, because that will
3313     # break other packages using the cache if that directory is
3314     # removed, or if the path is relative.
3315     INSTALL=$ac_install_sh
3316   fi
3317 fi
3318 echo "$as_me:$LINENO: result: $INSTALL" >&5
3319 echo "${ECHO_T}$INSTALL" >&6
3320
3321 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3322 # It thinks the first close brace ends the variable substitution.
3323 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3324
3325 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3326
3327 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3328
3329
3330 # Configure libtool
3331 #AC_MSG_NOTICE([====== Starting libtool configuration])
3332
3333 # Check whether --enable-shared or --disable-shared was given.
3334 if test "${enable_shared+set}" = set; then
3335   enableval="$enable_shared"
3336   p=${PACKAGE-default}
3337 case $enableval in
3338 yes) enable_shared=yes ;;
3339 no) enable_shared=no ;;
3340 *)
3341   enable_shared=no
3342   # Look at the argument we got.  We use all the common list separators.
3343   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
3344   for pkg in $enableval; do
3345     if test "X$pkg" = "X$p"; then
3346       enable_shared=yes
3347     fi
3348   done
3349   IFS="$ac_save_ifs"
3350   ;;
3351 esac
3352 else
3353   enable_shared=yes
3354 fi;
3355 # Check whether --enable-static or --disable-static was given.
3356 if test "${enable_static+set}" = set; then
3357   enableval="$enable_static"
3358   p=${PACKAGE-default}
3359 case $enableval in
3360 yes) enable_static=yes ;;
3361 no) enable_static=no ;;
3362 *)
3363   enable_static=no
3364   # Look at the argument we got.  We use all the common list separators.
3365   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
3366   for pkg in $enableval; do
3367     if test "X$pkg" = "X$p"; then
3368       enable_static=yes
3369     fi
3370   done
3371   IFS="$ac_save_ifs"
3372   ;;
3373 esac
3374 else
3375   enable_static=yes
3376 fi;
3377 # Check whether --enable-fast-install or --disable-fast-install was given.
3378 if test "${enable_fast_install+set}" = set; then
3379   enableval="$enable_fast_install"
3380   p=${PACKAGE-default}
3381 case $enableval in
3382 yes) enable_fast_install=yes ;;
3383 no) enable_fast_install=no ;;
3384 *)
3385   enable_fast_install=no
3386   # Look at the argument we got.  We use all the common list separators.
3387   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
3388   for pkg in $enableval; do
3389     if test "X$pkg" = "X$p"; then
3390       enable_fast_install=yes
3391     fi
3392   done
3393   IFS="$ac_save_ifs"
3394   ;;
3395 esac
3396 else
3397   enable_fast_install=yes
3398 fi;
3399
3400 # Check whether --with-gnu-ld or --without-gnu-ld was given.
3401 if test "${with_gnu_ld+set}" = set; then
3402   withval="$with_gnu_ld"
3403   test "$withval" = no || with_gnu_ld=yes
3404 else
3405   with_gnu_ld=no
3406 fi;
3407 ac_prog=ld
3408 if test "$GCC" = yes; then
3409   # Check if gcc -print-prog-name=ld gives a path.
3410   echo "$as_me:$LINENO: checking for ld used by GCC" >&5
3411 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
3412   case $host in
3413   *-*-mingw*)
3414     # gcc leaves a trailing carriage return which upsets mingw
3415     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
3416   *)
3417     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
3418   esac
3419   case $ac_prog in
3420     # Accept absolute paths.
3421     [\\/]* | [A-Za-z]:[\\/]*)
3422       re_direlt='/[^/][^/]*/\.\./'
3423       # Canonicalize the path of ld
3424       ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
3425       while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
3426         ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
3427       done
3428       test -z "$LD" && LD="$ac_prog"
3429       ;;
3430   "")
3431     # If it fails, then pretend we aren't using GCC.
3432     ac_prog=ld
3433     ;;
3434   *)
3435     # If it is relative, then search for the first ld in PATH.
3436     with_gnu_ld=unknown
3437     ;;
3438   esac
3439 elif test "$with_gnu_ld" = yes; then
3440   echo "$as_me:$LINENO: checking for GNU ld" >&5
3441 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
3442 else
3443   echo "$as_me:$LINENO: checking for non-GNU ld" >&5
3444 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
3445 fi
3446 if test "${lt_cv_path_LD+set}" = set; then
3447   echo $ECHO_N "(cached) $ECHO_C" >&6
3448 else
3449   if test -z "$LD"; then
3450   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
3451   for ac_dir in $PATH; do
3452     test -z "$ac_dir" && ac_dir=.
3453     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
3454       lt_cv_path_LD="$ac_dir/$ac_prog"
3455       # Check to see if the program is GNU ld.  I'd rather use --version,
3456       # but apparently some GNU ld's only accept -v.
3457       # Break only if it was the GNU/non-GNU ld that we prefer.
3458       if "$lt_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
3459         test "$with_gnu_ld" != no && break
3460       else
3461         test "$with_gnu_ld" != yes && break
3462       fi
3463     fi
3464   done
3465   IFS="$ac_save_ifs"
3466 else
3467   lt_cv_path_LD="$LD" # Let the user override the test with a path.
3468 fi
3469 fi
3470
3471 LD="$lt_cv_path_LD"
3472 if test -n "$LD"; then
3473   echo "$as_me:$LINENO: result: $LD" >&5
3474 echo "${ECHO_T}$LD" >&6
3475 else
3476   echo "$as_me:$LINENO: result: no" >&5
3477 echo "${ECHO_T}no" >&6
3478 fi
3479 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
3480 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
3481    { (exit 1); exit 1; }; }
3482 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
3483 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
3484 if test "${lt_cv_prog_gnu_ld+set}" = set; then
3485   echo $ECHO_N "(cached) $ECHO_C" >&6
3486 else
3487   # I'd rather use --version here, but apparently some GNU ld's only accept -v.
3488 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
3489   lt_cv_prog_gnu_ld=yes
3490 else
3491   lt_cv_prog_gnu_ld=no
3492 fi
3493 fi
3494 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
3495 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
3496 with_gnu_ld=$lt_cv_prog_gnu_ld
3497
3498
3499 echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
3500 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
3501 if test "${lt_cv_ld_reload_flag+set}" = set; then
3502   echo $ECHO_N "(cached) $ECHO_C" >&6
3503 else
3504   lt_cv_ld_reload_flag='-r'
3505 fi
3506 echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
3507 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
3508 reload_flag=$lt_cv_ld_reload_flag
3509 test -n "$reload_flag" && reload_flag=" $reload_flag"
3510
3511 echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
3512 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
3513 if test "${lt_cv_path_NM+set}" = set; then
3514   echo $ECHO_N "(cached) $ECHO_C" >&6
3515 else
3516   if test -n "$NM"; then
3517   # Let the user override the test.
3518   lt_cv_path_NM="$NM"
3519 else
3520   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
3521   for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
3522     test -z "$ac_dir" && ac_dir=.
3523     tmp_nm=$ac_dir/${ac_tool_prefix}nm
3524     if test -f $tmp_nm || test -f $tmp_nm$ac_exeext ; then
3525       # Check to see if the nm accepts a BSD-compat flag.
3526       # Adding the `sed 1q' prevents false positives on HP-UX, which says:
3527       #   nm: unknown option "B" ignored
3528       # Tru64's nm complains that /dev/null is an invalid object file
3529       if ($tmp_nm -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep '(/dev/null|Invalid file or object type)' >/dev/null; then
3530         lt_cv_path_NM="$tmp_nm -B"
3531         break
3532       elif ($tmp_nm -p /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then
3533         lt_cv_path_NM="$tmp_nm -p"
3534         break
3535       else
3536         lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
3537         continue # so that we can try to find one that supports BSD flags
3538       fi
3539     fi
3540   done
3541   IFS="$ac_save_ifs"
3542   test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
3543 fi
3544 fi
3545
3546 NM="$lt_cv_path_NM"
3547 echo "$as_me:$LINENO: result: $NM" >&5
3548 echo "${ECHO_T}$NM" >&6
3549
3550 echo "$as_me:$LINENO: checking whether ln -s works" >&5
3551 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
3552 LN_S=$as_ln_s
3553 if test "$LN_S" = "ln -s"; then
3554   echo "$as_me:$LINENO: result: yes" >&5
3555 echo "${ECHO_T}yes" >&6
3556 else
3557   echo "$as_me:$LINENO: result: no, using $LN_S" >&5
3558 echo "${ECHO_T}no, using $LN_S" >&6
3559 fi
3560
3561 echo "$as_me:$LINENO: checking how to recognise dependant libraries" >&5
3562 echo $ECHO_N "checking how to recognise dependant libraries... $ECHO_C" >&6
3563 if test "${lt_cv_deplibs_check_method+set}" = set; then
3564   echo $ECHO_N "(cached) $ECHO_C" >&6
3565 else
3566   lt_cv_file_magic_cmd='$MAGIC_CMD'
3567 lt_cv_file_magic_test_file=
3568 lt_cv_deplibs_check_method='unknown'
3569 # Need to set the preceding variable on all platforms that support
3570 # interlibrary dependencies.
3571 # 'none' -- dependencies not supported.
3572 # `unknown' -- same as none, but documents that we really don't know.
3573 # 'pass_all' -- all dependencies passed with no checks.
3574 # 'test_compile' -- check by making test program.
3575 # 'file_magic [regex]' -- check by looking for files in library path
3576 # which responds to the $file_magic_cmd with a given egrep regex.
3577 # If you have `file' or equivalent on your system and you're not sure
3578 # whether `pass_all' will *always* work, you probably want this one.
3579
3580 case $host_os in
3581 aix*)
3582   lt_cv_deplibs_check_method=pass_all
3583   ;;
3584
3585 beos*)
3586   lt_cv_deplibs_check_method=pass_all
3587   ;;
3588
3589 bsdi4*)
3590   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
3591   lt_cv_file_magic_cmd='/usr/bin/file -L'
3592   lt_cv_file_magic_test_file=/shlib/libc.so
3593   ;;
3594
3595 cygwin* | mingw* |pw32*)
3596   lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
3597   lt_cv_file_magic_cmd='$OBJDUMP -f'
3598   ;;
3599
3600 darwin* | rhapsody*)
3601   # this will be overwritten by pass_all, but leave it in just in case
3602   lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library'
3603   lt_cv_file_magic_cmd='/usr/bin/file -L'
3604   case "$host_os" in
3605   rhapsody* | darwin1.012)
3606     lt_cv_file_magic_test_file='/System/Library/Frameworks/System.framework/System'
3607     ;;
3608   *) # Darwin 1.3 on
3609     lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib'
3610     ;;
3611   esac
3612   lt_cv_deplibs_check_method=pass_all
3613   ;;
3614
3615 freebsd* | kfreebsd*-gnu)
3616   if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
3617     case $host_cpu in
3618     i*86 )
3619       # Not sure whether the presence of OpenBSD here was a mistake.
3620       # Let's accept both of them until this is cleared up.
3621       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
3622       lt_cv_file_magic_cmd=/usr/bin/file
3623       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
3624       ;;
3625     esac
3626   else
3627     lt_cv_deplibs_check_method=pass_all
3628   fi
3629   ;;
3630
3631 gnu*)
3632   lt_cv_deplibs_check_method=pass_all
3633   ;;
3634
3635 hpux10.20*|hpux11*)
3636   case $host_cpu in
3637   hppa*)
3638     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
3639     lt_cv_file_magic_cmd=/usr/bin/file
3640     lt_cv_file_magic_test_file=/usr/lib/libc.sl
3641     ;;
3642   ia64*)
3643     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
3644     lt_cv_file_magic_cmd=/usr/bin/file
3645     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
3646     ;;
3647   esac
3648   ;;
3649
3650 irix5* | irix6*)
3651   case $host_os in
3652   irix5*)
3653     # this will be overridden with pass_all, but let us keep it just in case
3654     lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
3655     ;;
3656   *)
3657     case $LD in
3658     *-32|*"-32 ") libmagic=32-bit;;
3659     *-n32|*"-n32 ") libmagic=N32;;
3660     *-64|*"-64 ") libmagic=64-bit;;
3661     *) libmagic=never-match;;
3662     esac
3663     # this will be overridden with pass_all, but let us keep it just in case
3664     lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
3665     ;;
3666   esac
3667   lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*`
3668   lt_cv_deplibs_check_method=pass_all
3669   ;;
3670
3671 # This must be Linux ELF.
3672 linux-gnu*)
3673   lt_cv_deplibs_check_method=pass_all
3674   ;;
3675
3676 netbsd* | knetbsd*-gnu)
3677   if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
3678     lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'
3679   else
3680     lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so$'
3681   fi
3682   ;;
3683
3684 newsos6)
3685   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
3686   lt_cv_file_magic_cmd=/usr/bin/file
3687   lt_cv_file_magic_test_file=/usr/lib/libnls.so
3688   ;;
3689
3690 osf3* | osf4* | osf5*)
3691   # this will be overridden with pass_all, but let us keep it just in case
3692   lt_cv_deplibs_check_method='file_magic COFF format alpha shared library'
3693   lt_cv_file_magic_test_file=/shlib/libc.so
3694   lt_cv_deplibs_check_method=pass_all
3695   ;;
3696
3697 sco3.2v5*)
3698   lt_cv_deplibs_check_method=pass_all
3699   ;;
3700
3701 solaris*)
3702   lt_cv_deplibs_check_method=pass_all
3703   lt_cv_file_magic_test_file=/lib/libc.so
3704   ;;
3705
3706 sysv5uw[78]* | sysv4*uw2*)
3707   lt_cv_deplibs_check_method=pass_all
3708   ;;
3709
3710 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
3711   case $host_vendor in
3712   ncr)
3713     lt_cv_deplibs_check_method=pass_all
3714     ;;
3715   motorola)
3716     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]'
3717     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
3718     ;;
3719   esac
3720   ;;
3721 esac
3722
3723 fi
3724 echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
3725 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
3726 file_magic_cmd=$lt_cv_file_magic_cmd
3727 deplibs_check_method=$lt_cv_deplibs_check_method
3728
3729
3730
3731
3732
3733 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
3734
3735 # Only perform the check for file, if the check method requires it
3736 case $deplibs_check_method in
3737 file_magic*)
3738   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
3739     echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
3740 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
3741 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
3742   echo $ECHO_N "(cached) $ECHO_C" >&6
3743 else
3744   case $MAGIC_CMD in
3745   /*)
3746   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
3747   ;;
3748   ?:/*)
3749   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
3750   ;;
3751   *)
3752   ac_save_MAGIC_CMD="$MAGIC_CMD"
3753   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
3754   ac_dummy="/usr/bin:$PATH"
3755   for ac_dir in $ac_dummy; do
3756     test -z "$ac_dir" && ac_dir=.
3757     if test -f $ac_dir/${ac_tool_prefix}file; then
3758       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
3759       if test -n "$file_magic_test_file"; then
3760         case $deplibs_check_method in
3761         "file_magic "*)
3762           file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
3763           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
3764           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
3765             egrep "$file_magic_regex" > /dev/null; then
3766             :
3767           else
3768             cat <<EOF 1>&2
3769
3770 *** Warning: the command libtool uses to detect shared libraries,
3771 *** $file_magic_cmd, produces output that libtool cannot recognize.
3772 *** The result is that libtool may fail to recognize shared libraries
3773 *** as such.  This will affect the creation of libtool libraries that
3774 *** depend on shared libraries, but programs linked with such libtool
3775 *** libraries will work regardless of this problem.  Nevertheless, you
3776 *** may want to report the problem to your system manager and/or to
3777 *** bug-libtool@gnu.org
3778
3779 EOF
3780           fi ;;
3781         esac
3782       fi
3783       break
3784     fi
3785   done
3786   IFS="$ac_save_ifs"
3787   MAGIC_CMD="$ac_save_MAGIC_CMD"
3788   ;;
3789 esac
3790 fi
3791
3792 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
3793 if test -n "$MAGIC_CMD"; then
3794   echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
3795 echo "${ECHO_T}$MAGIC_CMD" >&6
3796 else
3797   echo "$as_me:$LINENO: result: no" >&5
3798 echo "${ECHO_T}no" >&6
3799 fi
3800
3801 if test -z "$lt_cv_path_MAGIC_CMD"; then
3802   if test -n "$ac_tool_prefix"; then
3803     echo "$as_me:$LINENO: checking for file" >&5
3804 echo $ECHO_N "checking for file... $ECHO_C" >&6
3805 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
3806   echo $ECHO_N "(cached) $ECHO_C" >&6
3807 else
3808   case $MAGIC_CMD in
3809   /*)
3810   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
3811   ;;
3812   ?:/*)
3813   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
3814   ;;
3815   *)
3816   ac_save_MAGIC_CMD="$MAGIC_CMD"
3817   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
3818   ac_dummy="/usr/bin:$PATH"
3819   for ac_dir in $ac_dummy; do
3820     test -z "$ac_dir" && ac_dir=.
3821     if test -f $ac_dir/file; then
3822       lt_cv_path_MAGIC_CMD="$ac_dir/file"
3823       if test -n "$file_magic_test_file"; then
3824         case $deplibs_check_method in
3825         "file_magic "*)
3826           file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
3827           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
3828           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
3829             egrep "$file_magic_regex" > /dev/null; then
3830             :
3831           else
3832             cat <<EOF 1>&2
3833
3834 *** Warning: the command libtool uses to detect shared libraries,
3835 *** $file_magic_cmd, produces output that libtool cannot recognize.
3836 *** The result is that libtool may fail to recognize shared libraries
3837 *** as such.  This will affect the creation of libtool libraries that
3838 *** depend on shared libraries, but programs linked with such libtool
3839 *** libraries will work regardless of this problem.  Nevertheless, you
3840 *** may want to report the problem to your system manager and/or to
3841 *** bug-libtool@gnu.org
3842
3843 EOF
3844           fi ;;
3845         esac
3846       fi
3847       break
3848     fi
3849   done
3850   IFS="$ac_save_ifs"
3851   MAGIC_CMD="$ac_save_MAGIC_CMD"
3852   ;;
3853 esac
3854 fi
3855
3856 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
3857 if test -n "$MAGIC_CMD"; then
3858   echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
3859 echo "${ECHO_T}$MAGIC_CMD" >&6
3860 else
3861   echo "$as_me:$LINENO: result: no" >&5
3862 echo "${ECHO_T}no" >&6
3863 fi
3864
3865   else
3866     MAGIC_CMD=:
3867   fi
3868 fi
3869
3870   fi
3871   ;;
3872 esac
3873
3874 if test -n "$ac_tool_prefix"; then
3875   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3876 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
3877 echo "$as_me:$LINENO: checking for $ac_word" >&5
3878 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3879 if test "${ac_cv_prog_RANLIB+set}" = set; then
3880   echo $ECHO_N "(cached) $ECHO_C" >&6
3881 else
3882   if test -n "$RANLIB"; then
3883   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
3884 else
3885 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3886 for as_dir in $PATH
3887 do
3888   IFS=$as_save_IFS
3889   test -z "$as_dir" && as_dir=.
3890   for ac_exec_ext in '' $ac_executable_extensions; do
3891   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3892     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
3893     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3894     break 2
3895   fi
3896 done
3897 done
3898
3899 fi
3900 fi
3901 RANLIB=$ac_cv_prog_RANLIB
3902 if test -n "$RANLIB"; then
3903   echo "$as_me:$LINENO: result: $RANLIB" >&5
3904 echo "${ECHO_T}$RANLIB" >&6
3905 else
3906   echo "$as_me:$LINENO: result: no" >&5
3907 echo "${ECHO_T}no" >&6
3908 fi
3909
3910 fi
3911 if test -z "$ac_cv_prog_RANLIB"; then
3912   ac_ct_RANLIB=$RANLIB
3913   # Extract the first word of "ranlib", so it can be a program name with args.
3914 set dummy ranlib; ac_word=$2
3915 echo "$as_me:$LINENO: checking for $ac_word" >&5
3916 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3917 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3918   echo $ECHO_N "(cached) $ECHO_C" >&6
3919 else
3920   if test -n "$ac_ct_RANLIB"; then
3921   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
3922 else
3923 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3924 for as_dir in $PATH
3925 do
3926   IFS=$as_save_IFS
3927   test -z "$as_dir" && as_dir=.
3928   for ac_exec_ext in '' $ac_executable_extensions; do
3929   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3930     ac_cv_prog_ac_ct_RANLIB="ranlib"
3931     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3932     break 2
3933   fi
3934 done
3935 done
3936
3937   test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
3938 fi
3939 fi
3940 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
3941 if test -n "$ac_ct_RANLIB"; then
3942   echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3943 echo "${ECHO_T}$ac_ct_RANLIB" >&6
3944 else
3945   echo "$as_me:$LINENO: result: no" >&5
3946 echo "${ECHO_T}no" >&6
3947 fi
3948
3949   RANLIB=$ac_ct_RANLIB
3950 else
3951   RANLIB="$ac_cv_prog_RANLIB"
3952 fi
3953
3954 if test -n "$ac_tool_prefix"; then
3955   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3956 set dummy ${ac_tool_prefix}strip; ac_word=$2
3957 echo "$as_me:$LINENO: checking for $ac_word" >&5
3958 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3959 if test "${ac_cv_prog_STRIP+set}" = set; then
3960   echo $ECHO_N "(cached) $ECHO_C" >&6
3961 else
3962   if test -n "$STRIP"; then
3963   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3964 else
3965 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3966 for as_dir in $PATH
3967 do
3968   IFS=$as_save_IFS
3969   test -z "$as_dir" && as_dir=.
3970   for ac_exec_ext in '' $ac_executable_extensions; do
3971   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3972     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3973     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3974     break 2
3975   fi
3976 done
3977 done
3978
3979 fi
3980 fi
3981 STRIP=$ac_cv_prog_STRIP
3982 if test -n "$STRIP"; then
3983   echo "$as_me:$LINENO: result: $STRIP" >&5
3984 echo "${ECHO_T}$STRIP" >&6
3985 else
3986   echo "$as_me:$LINENO: result: no" >&5
3987 echo "${ECHO_T}no" >&6
3988 fi
3989
3990 fi
3991 if test -z "$ac_cv_prog_STRIP"; then
3992   ac_ct_STRIP=$STRIP
3993   # Extract the first word of "strip", so it can be a program name with args.
3994 set dummy strip; ac_word=$2
3995 echo "$as_me:$LINENO: checking for $ac_word" >&5
3996 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3997 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
3998   echo $ECHO_N "(cached) $ECHO_C" >&6
3999 else
4000   if test -n "$ac_ct_STRIP"; then
4001   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
4002 else
4003 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4004 for as_dir in $PATH
4005 do
4006   IFS=$as_save_IFS
4007   test -z "$as_dir" && as_dir=.
4008   for ac_exec_ext in '' $ac_executable_extensions; do
4009   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4010     ac_cv_prog_ac_ct_STRIP="strip"
4011     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4012     break 2
4013   fi
4014 done
4015 done
4016
4017   test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
4018 fi
4019 fi
4020 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
4021 if test -n "$ac_ct_STRIP"; then
4022   echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
4023 echo "${ECHO_T}$ac_ct_STRIP" >&6
4024 else
4025   echo "$as_me:$LINENO: result: no" >&5
4026 echo "${ECHO_T}no" >&6
4027 fi
4028
4029   STRIP=$ac_ct_STRIP
4030 else
4031   STRIP="$ac_cv_prog_STRIP"
4032 fi
4033
4034
4035 # Check for any special flags to pass to ltconfig.
4036 libtool_flags="--cache-file=$cache_file"
4037 test "$enable_shared" = no && libtool_flags="$libtool_flags --disable-shared"
4038 test "$enable_static" = no && libtool_flags="$libtool_flags --disable-static"
4039 test "$enable_fast_install" = no && libtool_flags="$libtool_flags --disable-fast-install"
4040 test "$GCC" = yes && libtool_flags="$libtool_flags --with-gcc"
4041 test "$lt_cv_prog_gnu_ld" = yes && libtool_flags="$libtool_flags --with-gnu-ld"
4042
4043
4044 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
4045 if test "${enable_libtool_lock+set}" = set; then
4046   enableval="$enable_libtool_lock"
4047
4048 fi;
4049 test "x$enable_libtool_lock" = xno && libtool_flags="$libtool_flags --disable-lock"
4050 test x"$silent" = xyes && libtool_flags="$libtool_flags --silent"
4051
4052
4053 # Check whether --with-pic or --without-pic was given.
4054 if test "${with_pic+set}" = set; then
4055   withval="$with_pic"
4056   pic_mode="$withval"
4057 else
4058   pic_mode=default
4059 fi;
4060 test x"$pic_mode" = xyes && libtool_flags="$libtool_flags --prefer-pic"
4061 test x"$pic_mode" = xno && libtool_flags="$libtool_flags --prefer-non-pic"
4062
4063 # Some flags need to be propagated to the compiler or linker for good
4064 # libtool support.
4065 case $host in
4066 *-*-irix6*)
4067   # Find out which ABI we are using.
4068   echo '#line 4068 "configure"' > conftest.$ac_ext
4069   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4070   (eval $ac_compile) 2>&5
4071   ac_status=$?
4072   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4073   (exit $ac_status); }; then
4074    if test "$lt_cv_prog_gnu_ld" = yes; then
4075     case `/usr/bin/file conftest.$ac_objext` in
4076     *32-bit*)
4077       LD="${LD-ld} -melf32bsmip"
4078       ;;
4079     *N32*)
4080       LD="${LD-ld} -melf32bmipn32"
4081       ;;
4082     *64-bit*)
4083       LD="${LD-ld} -melf64bmip"
4084       ;;
4085     esac
4086    else
4087     case `/usr/bin/file conftest.$ac_objext` in
4088     *32-bit*)
4089       LD="${LD-ld} -32"
4090       ;;
4091     *N32*)
4092       LD="${LD-ld} -n32"
4093       ;;
4094     *64-bit*)
4095       LD="${LD-ld} -64"
4096       ;;
4097     esac
4098    fi
4099   fi
4100   rm -rf conftest*
4101   ;;
4102
4103 ia64-*-hpux*)
4104   # Find out which ABI we are using.
4105   echo 'int i;' > conftest.$ac_ext
4106   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4107   (eval $ac_compile) 2>&5
4108   ac_status=$?
4109   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4110   (exit $ac_status); }; then
4111     case "`/usr/bin/file conftest.o`" in
4112     *ELF-32*)
4113       HPUX_IA64_MODE="32"
4114       ;;
4115     *ELF-64*)
4116       HPUX_IA64_MODE="64"
4117       ;;
4118     esac
4119   fi
4120   rm -rf conftest*
4121   ;;
4122
4123 x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
4124   # Find out which ABI we are using.
4125   echo 'int i;' > conftest.$ac_ext
4126   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4127   (eval $ac_compile) 2>&5
4128   ac_status=$?
4129   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4130   (exit $ac_status); }; then
4131     case "`/usr/bin/file conftest.o`" in
4132     *32-bit*)
4133       case $host in
4134         x86_64-*linux*)
4135           LD="${LD-ld} -m elf_i386"
4136           ;;
4137         ppc64-*linux*|powerpc64-*linux*)
4138           LD="${LD-ld} -m elf32ppclinux"
4139           ;;
4140         s390x-*linux*)
4141           LD="${LD-ld} -m elf_s390"
4142           ;;
4143         sparc64-*linux*)
4144           LD="${LD-ld} -m elf32_sparc"
4145           ;;
4146       esac
4147       ;;
4148     *64-bit*)
4149       case $host in
4150         x86_64-*linux*)
4151           LD="${LD-ld} -m elf_x86_64"
4152           ;;
4153         ppc*-*linux*|powerpc*-*linux*)
4154           LD="${LD-ld} -m elf64ppc"
4155           ;;
4156         s390*-*linux*)
4157           LD="${LD-ld} -m elf64_s390"
4158           ;;
4159         sparc*-*linux*)
4160           LD="${LD-ld} -m elf64_sparc"
4161           ;;
4162       esac
4163       ;;
4164     esac
4165   fi
4166   rm -rf conftest*
4167   ;;
4168
4169 *-*-sco3.2v5*)
4170   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
4171   SAVE_CFLAGS="$CFLAGS"
4172   CFLAGS="$CFLAGS -belf"
4173   echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
4174 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
4175 if test "${lt_cv_cc_needs_belf+set}" = set; then
4176   echo $ECHO_N "(cached) $ECHO_C" >&6
4177 else
4178
4179
4180      ac_ext=c
4181 ac_cpp='$CPP $CPPFLAGS'
4182 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4183 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4184 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4185
4186      if test x$gcc_no_link = xyes; then
4187   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
4188 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
4189    { (exit 1); exit 1; }; }
4190 fi
4191 cat >conftest.$ac_ext <<_ACEOF
4192 /* confdefs.h.  */
4193 _ACEOF
4194 cat confdefs.h >>conftest.$ac_ext
4195 cat >>conftest.$ac_ext <<_ACEOF
4196 /* end confdefs.h.  */
4197
4198 int
4199 main ()
4200 {
4201
4202   ;
4203   return 0;
4204 }
4205 _ACEOF
4206 rm -f conftest.$ac_objext conftest$ac_exeext
4207 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4208   (eval $ac_link) 2>conftest.er1
4209   ac_status=$?
4210   grep -v '^ *+' conftest.er1 >conftest.err
4211   rm -f conftest.er1
4212   cat conftest.err >&5
4213   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4214   (exit $ac_status); } &&
4215          { ac_try='test -z "$ac_c_werror_flag"
4216                          || test ! -s conftest.err'
4217   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4218   (eval $ac_try) 2>&5
4219   ac_status=$?
4220   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4221   (exit $ac_status); }; } &&
4222          { ac_try='test -s conftest$ac_exeext'
4223   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4224   (eval $ac_try) 2>&5
4225   ac_status=$?
4226   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4227   (exit $ac_status); }; }; then
4228   lt_cv_cc_needs_belf=yes
4229 else
4230   echo "$as_me: failed program was:" >&5
4231 sed 's/^/| /' conftest.$ac_ext >&5
4232
4233 lt_cv_cc_needs_belf=no
4234 fi
4235 rm -f conftest.err conftest.$ac_objext \
4236       conftest$ac_exeext conftest.$ac_ext
4237      ac_ext=c
4238 ac_cpp='$CPP $CPPFLAGS'
4239 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4240 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4241 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4242
4243 fi
4244 echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
4245 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
4246   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
4247     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
4248     CFLAGS="$SAVE_CFLAGS"
4249   fi
4250   ;;
4251
4252
4253 esac
4254
4255
4256 # Save cache, so that ltconfig can load it
4257 cat >confcache <<\_ACEOF
4258 # This file is a shell script that caches the results of configure
4259 # tests run on this system so they can be shared between configure
4260 # scripts and configure runs, see configure's option --config-cache.
4261 # It is not useful on other systems.  If it contains results you don't
4262 # want to keep, you may remove or edit it.
4263 #
4264 # config.status only pays attention to the cache file if you give it
4265 # the --recheck option to rerun configure.
4266 #
4267 # `ac_cv_env_foo' variables (set or unset) will be overridden when
4268 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4269 # following values.
4270
4271 _ACEOF
4272
4273 # The following way of writing the cache mishandles newlines in values,
4274 # but we know of no workaround that is simple, portable, and efficient.
4275 # So, don't put newlines in cache variables' values.
4276 # Ultrix sh set writes to stderr and can't be redirected directly,
4277 # and sets the high bit in the cache file unless we assign to the vars.
4278 {
4279   (set) 2>&1 |
4280     case `(ac_space=' '; set | grep ac_space) 2>&1` in
4281     *ac_space=\ *)
4282       # `set' does not quote correctly, so add quotes (double-quote
4283       # substitution turns \\\\ into \\, and sed turns \\ into \).
4284       sed -n \
4285         "s/'/'\\\\''/g;
4286           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4287       ;;
4288     *)
4289       # `set' quotes correctly as required by POSIX, so do not add quotes.
4290       sed -n \
4291         "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
4292       ;;
4293     esac;
4294 } |
4295   sed '
4296      t clear
4297      : clear
4298      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4299      t end
4300      /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4301      : end' >>confcache
4302 if diff $cache_file confcache >/dev/null 2>&1; then :; else
4303   if test -w $cache_file; then
4304     test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
4305     cat confcache >$cache_file
4306   else
4307     echo "not updating unwritable cache $cache_file"
4308   fi
4309 fi
4310 rm -f confcache
4311
4312 # Actually configure libtool.  ac_aux_dir is where install-sh is found.
4313 AR="$AR" LTCC="$CC" CC="$CC" CFLAGS="$CFLAGS" CPPFLAGS="$CPPFLAGS" \
4314 MAGIC_CMD="$MAGIC_CMD" LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
4315 LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \
4316 AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \
4317 objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \
4318 deplibs_check_method="$deplibs_check_method" file_magic_cmd="$file_magic_cmd" \
4319 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig --no-reexec \
4320 $libtool_flags --no-verify --build="$build" $ac_aux_dir/ltmain.sh $host \
4321 || { { echo "$as_me:$LINENO: error: libtool configure failed" >&5
4322 echo "$as_me: error: libtool configure failed" >&2;}
4323    { (exit 1); exit 1; }; }
4324
4325 # Reload cache, that may have been modified by ltconfig
4326 if test -r "$cache_file"; then
4327   # Some versions of bash will fail to source /dev/null (special
4328   # files actually), so we avoid doing that.
4329   if test -f "$cache_file"; then
4330     { echo "$as_me:$LINENO: loading cache $cache_file" >&5
4331 echo "$as_me: loading cache $cache_file" >&6;}
4332     case $cache_file in
4333       [\\/]* | ?:[\\/]* ) . $cache_file;;
4334       *)                      . ./$cache_file;;
4335     esac
4336   fi
4337 else
4338   { echo "$as_me:$LINENO: creating cache $cache_file" >&5
4339 echo "$as_me: creating cache $cache_file" >&6;}
4340   >$cache_file
4341 fi
4342
4343
4344 # This can be used to rebuild libtool when needed
4345 LIBTOOL_DEPS="$ac_aux_dir/ltconfig $ac_aux_dir/ltmain.sh $ac_aux_dir/ltcf-c.sh"
4346
4347 # Always use our own libtool.
4348 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
4349
4350 # Redirect the config.log output again, so that the ltconfig log is not
4351 # clobbered by the next message.
4352 exec 5>>./config.log
4353
4354
4355
4356
4357
4358
4359
4360
4361 #AC_MSG_NOTICE([====== Finished libtool configuration]) ; sleep 10
4362
4363 # We need gfortran to compile parts of the library
4364 # We can't use AC_PROG_FC because it expects a fully working gfortran.
4365 #AC_PROG_FC(gfortran)
4366 FC="$GFORTRAN"
4367 ac_ext=${FC_SRCEXT-f}
4368 ac_compile='$FC -c $FCFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext >&5'
4369 ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext $LIBS >&5'
4370 ac_compiler_gnu=$ac_cv_fc_compiler_gnu
4371 if test -n "$ac_tool_prefix"; then
4372   for ac_prog in gfortran
4373   do
4374     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4375 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4376 echo "$as_me:$LINENO: checking for $ac_word" >&5
4377 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4378 if test "${ac_cv_prog_FC+set}" = set; then
4379   echo $ECHO_N "(cached) $ECHO_C" >&6
4380 else
4381   if test -n "$FC"; then
4382   ac_cv_prog_FC="$FC" # Let the user override the test.
4383 else
4384 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4385 for as_dir in $PATH
4386 do
4387   IFS=$as_save_IFS
4388   test -z "$as_dir" && as_dir=.
4389   for ac_exec_ext in '' $ac_executable_extensions; do
4390   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4391     ac_cv_prog_FC="$ac_tool_prefix$ac_prog"
4392     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4393     break 2
4394   fi
4395 done
4396 done
4397
4398 fi
4399 fi
4400 FC=$ac_cv_prog_FC
4401 if test -n "$FC"; then
4402   echo "$as_me:$LINENO: result: $FC" >&5
4403 echo "${ECHO_T}$FC" >&6
4404 else
4405   echo "$as_me:$LINENO: result: no" >&5
4406 echo "${ECHO_T}no" >&6
4407 fi
4408
4409     test -n "$FC" && break
4410   done
4411 fi
4412 if test -z "$FC"; then
4413   ac_ct_FC=$FC
4414   for ac_prog in gfortran
4415 do
4416   # Extract the first word of "$ac_prog", so it can be a program name with args.
4417 set dummy $ac_prog; ac_word=$2
4418 echo "$as_me:$LINENO: checking for $ac_word" >&5
4419 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4420 if test "${ac_cv_prog_ac_ct_FC+set}" = set; then
4421   echo $ECHO_N "(cached) $ECHO_C" >&6
4422 else
4423   if test -n "$ac_ct_FC"; then
4424   ac_cv_prog_ac_ct_FC="$ac_ct_FC" # Let the user override the test.
4425 else
4426 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4427 for as_dir in $PATH
4428 do
4429   IFS=$as_save_IFS
4430   test -z "$as_dir" && as_dir=.
4431   for ac_exec_ext in '' $ac_executable_extensions; do
4432   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4433     ac_cv_prog_ac_ct_FC="$ac_prog"
4434     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4435     break 2
4436   fi
4437 done
4438 done
4439
4440 fi
4441 fi
4442 ac_ct_FC=$ac_cv_prog_ac_ct_FC
4443 if test -n "$ac_ct_FC"; then
4444   echo "$as_me:$LINENO: result: $ac_ct_FC" >&5
4445 echo "${ECHO_T}$ac_ct_FC" >&6
4446 else
4447   echo "$as_me:$LINENO: result: no" >&5
4448 echo "${ECHO_T}no" >&6
4449 fi
4450
4451   test -n "$ac_ct_FC" && break
4452 done
4453
4454   FC=$ac_ct_FC
4455 fi
4456
4457
4458 # Provide some information about the compiler.
4459 echo "$as_me:4459:" \
4460      "checking for Fortran compiler version" >&5
4461 ac_compiler=`set X $ac_compile; echo $2`
4462 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
4463   (eval $ac_compiler --version </dev/null >&5) 2>&5
4464   ac_status=$?
4465   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4466   (exit $ac_status); }
4467 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
4468   (eval $ac_compiler -v </dev/null >&5) 2>&5
4469   ac_status=$?
4470   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4471   (exit $ac_status); }
4472 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
4473   (eval $ac_compiler -V </dev/null >&5) 2>&5
4474   ac_status=$?
4475   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4476   (exit $ac_status); }
4477 rm -f a.out
4478
4479 # If we don't use `.F' as extension, the preprocessor is not run on the
4480 # input file.  (Note that this only needs to work for GNU compilers.)
4481 ac_save_ext=$ac_ext
4482 ac_ext=F
4483 echo "$as_me:$LINENO: checking whether we are using the GNU Fortran compiler" >&5
4484 echo $ECHO_N "checking whether we are using the GNU Fortran compiler... $ECHO_C" >&6
4485 if test "${ac_cv_fc_compiler_gnu+set}" = set; then
4486   echo $ECHO_N "(cached) $ECHO_C" >&6
4487 else
4488   cat >conftest.$ac_ext <<_ACEOF
4489       program main
4490 #ifndef __GNUC__
4491        choke me
4492 #endif
4493
4494       end
4495 _ACEOF
4496 rm -f conftest.$ac_objext
4497 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4498   (eval $ac_compile) 2>conftest.er1
4499   ac_status=$?
4500   grep -v '^ *+' conftest.er1 >conftest.err
4501   rm -f conftest.er1
4502   cat conftest.err >&5
4503   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4504   (exit $ac_status); } &&
4505          { ac_try='test -z "$ac_fc_werror_flag"
4506                          || test ! -s conftest.err'
4507   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4508   (eval $ac_try) 2>&5
4509   ac_status=$?
4510   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4511   (exit $ac_status); }; } &&
4512          { ac_try='test -s conftest.$ac_objext'
4513   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4514   (eval $ac_try) 2>&5
4515   ac_status=$?
4516   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4517   (exit $ac_status); }; }; then
4518   ac_compiler_gnu=yes
4519 else
4520   echo "$as_me: failed program was:" >&5
4521 sed 's/^/| /' conftest.$ac_ext >&5
4522
4523 ac_compiler_gnu=no
4524 fi
4525 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4526 ac_cv_fc_compiler_gnu=$ac_compiler_gnu
4527
4528 fi
4529 echo "$as_me:$LINENO: result: $ac_cv_fc_compiler_gnu" >&5
4530 echo "${ECHO_T}$ac_cv_fc_compiler_gnu" >&6
4531 ac_ext=$ac_save_ext
4532 ac_test_FFLAGS=${FCFLAGS+set}
4533 ac_save_FFLAGS=$FCFLAGS
4534 FCFLAGS=
4535 echo "$as_me:$LINENO: checking whether $FC accepts -g" >&5
4536 echo $ECHO_N "checking whether $FC accepts -g... $ECHO_C" >&6
4537 if test "${ac_cv_prog_fc_g+set}" = set; then
4538   echo $ECHO_N "(cached) $ECHO_C" >&6
4539 else
4540   FCFLAGS=-g
4541 cat >conftest.$ac_ext <<_ACEOF
4542       program main
4543
4544       end
4545 _ACEOF
4546 rm -f conftest.$ac_objext
4547 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4548   (eval $ac_compile) 2>conftest.er1
4549   ac_status=$?
4550   grep -v '^ *+' conftest.er1 >conftest.err
4551   rm -f conftest.er1
4552   cat conftest.err >&5
4553   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4554   (exit $ac_status); } &&
4555          { ac_try='test -z "$ac_fc_werror_flag"
4556                          || test ! -s conftest.err'
4557   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4558   (eval $ac_try) 2>&5
4559   ac_status=$?
4560   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4561   (exit $ac_status); }; } &&
4562          { ac_try='test -s conftest.$ac_objext'
4563   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4564   (eval $ac_try) 2>&5
4565   ac_status=$?
4566   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4567   (exit $ac_status); }; }; then
4568   ac_cv_prog_fc_g=yes
4569 else
4570   echo "$as_me: failed program was:" >&5
4571 sed 's/^/| /' conftest.$ac_ext >&5
4572
4573 ac_cv_prog_fc_g=no
4574 fi
4575 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4576
4577 fi
4578 echo "$as_me:$LINENO: result: $ac_cv_prog_fc_g" >&5
4579 echo "${ECHO_T}$ac_cv_prog_fc_g" >&6
4580 if test "$ac_test_FFLAGS" = set; then
4581   FCFLAGS=$ac_save_FFLAGS
4582 elif test $ac_cv_prog_fc_g = yes; then
4583   if test "x$ac_cv_fc_compiler_gnu" = xyes; then
4584     FCFLAGS="-g -O2"
4585   else
4586     FCFLAGS="-g"
4587   fi
4588 else
4589   if test "x$ac_cv_fc_compiler_gnu" = xyes; then
4590     FCFLAGS="-O2"
4591   else
4592     FCFLAGS=
4593   fi
4594 fi
4595
4596 ac_ext=c
4597 ac_cpp='$CPP $CPPFLAGS'
4598 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4599 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4600 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4601
4602 FCFLAGS="$FCFLAGS -Wall -fno-repack-arrays -fno-underscoring"
4603
4604 # Check whether --enable-largefile or --disable-largefile was given.
4605 if test "${enable_largefile+set}" = set; then
4606   enableval="$enable_largefile"
4607
4608 fi;
4609 if test "$enable_largefile" != no; then
4610
4611   echo "$as_me:$LINENO: checking for special C compiler options needed for large files" >&5
4612 echo $ECHO_N "checking for special C compiler options needed for large files... $ECHO_C" >&6
4613 if test "${ac_cv_sys_largefile_CC+set}" = set; then
4614   echo $ECHO_N "(cached) $ECHO_C" >&6
4615 else
4616   ac_cv_sys_largefile_CC=no
4617      if test "$GCC" != yes; then
4618        ac_save_CC=$CC
4619        while :; do
4620          # IRIX 6.2 and later do not support large files by default,
4621          # so use the C compiler's -n32 option if that helps.
4622          cat >conftest.$ac_ext <<_ACEOF
4623 /* confdefs.h.  */
4624 _ACEOF
4625 cat confdefs.h >>conftest.$ac_ext
4626 cat >>conftest.$ac_ext <<_ACEOF
4627 /* end confdefs.h.  */
4628 #include <sys/types.h>
4629  /* Check that off_t can represent 2**63 - 1 correctly.
4630     We can't simply define LARGE_OFF_T to be 9223372036854775807,
4631     since some C++ compilers masquerading as C compilers
4632     incorrectly reject 9223372036854775807.  */
4633 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4634   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4635                        && LARGE_OFF_T % 2147483647 == 1)
4636                       ? 1 : -1];
4637 int
4638 main ()
4639 {
4640
4641   ;
4642   return 0;
4643 }
4644 _ACEOF
4645          rm -f conftest.$ac_objext
4646 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4647   (eval $ac_compile) 2>conftest.er1
4648   ac_status=$?
4649   grep -v '^ *+' conftest.er1 >conftest.err
4650   rm -f conftest.er1
4651   cat conftest.err >&5
4652   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4653   (exit $ac_status); } &&
4654          { ac_try='test -z "$ac_c_werror_flag"
4655                          || test ! -s conftest.err'
4656   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4657   (eval $ac_try) 2>&5
4658   ac_status=$?
4659   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4660   (exit $ac_status); }; } &&
4661          { ac_try='test -s conftest.$ac_objext'
4662   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4663   (eval $ac_try) 2>&5
4664   ac_status=$?
4665   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4666   (exit $ac_status); }; }; then
4667   break
4668 else
4669   echo "$as_me: failed program was:" >&5
4670 sed 's/^/| /' conftest.$ac_ext >&5
4671
4672 fi
4673 rm -f conftest.err conftest.$ac_objext
4674          CC="$CC -n32"
4675          rm -f conftest.$ac_objext
4676 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4677   (eval $ac_compile) 2>conftest.er1
4678   ac_status=$?
4679   grep -v '^ *+' conftest.er1 >conftest.err
4680   rm -f conftest.er1
4681   cat conftest.err >&5
4682   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4683   (exit $ac_status); } &&
4684          { ac_try='test -z "$ac_c_werror_flag"
4685                          || test ! -s conftest.err'
4686   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4687   (eval $ac_try) 2>&5
4688   ac_status=$?
4689   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4690   (exit $ac_status); }; } &&
4691          { ac_try='test -s conftest.$ac_objext'
4692   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4693   (eval $ac_try) 2>&5
4694   ac_status=$?
4695   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4696   (exit $ac_status); }; }; then
4697   ac_cv_sys_largefile_CC=' -n32'; break
4698 else
4699   echo "$as_me: failed program was:" >&5
4700 sed 's/^/| /' conftest.$ac_ext >&5
4701
4702 fi
4703 rm -f conftest.err conftest.$ac_objext
4704          break
4705        done
4706        CC=$ac_save_CC
4707        rm -f conftest.$ac_ext
4708     fi
4709 fi
4710 echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_CC" >&5
4711 echo "${ECHO_T}$ac_cv_sys_largefile_CC" >&6
4712   if test "$ac_cv_sys_largefile_CC" != no; then
4713     CC=$CC$ac_cv_sys_largefile_CC
4714   fi
4715
4716   echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
4717 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
4718 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
4719   echo $ECHO_N "(cached) $ECHO_C" >&6
4720 else
4721   while :; do
4722   ac_cv_sys_file_offset_bits=no
4723   cat >conftest.$ac_ext <<_ACEOF
4724 /* confdefs.h.  */
4725 _ACEOF
4726 cat confdefs.h >>conftest.$ac_ext
4727 cat >>conftest.$ac_ext <<_ACEOF
4728 /* end confdefs.h.  */
4729 #include <sys/types.h>
4730  /* Check that off_t can represent 2**63 - 1 correctly.
4731     We can't simply define LARGE_OFF_T to be 9223372036854775807,
4732     since some C++ compilers masquerading as C compilers
4733     incorrectly reject 9223372036854775807.  */
4734 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4735   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4736                        && LARGE_OFF_T % 2147483647 == 1)
4737                       ? 1 : -1];
4738 int
4739 main ()
4740 {
4741
4742   ;
4743   return 0;
4744 }
4745 _ACEOF
4746 rm -f conftest.$ac_objext
4747 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4748   (eval $ac_compile) 2>conftest.er1
4749   ac_status=$?
4750   grep -v '^ *+' conftest.er1 >conftest.err
4751   rm -f conftest.er1
4752   cat conftest.err >&5
4753   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4754   (exit $ac_status); } &&
4755          { ac_try='test -z "$ac_c_werror_flag"
4756                          || test ! -s conftest.err'
4757   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4758   (eval $ac_try) 2>&5
4759   ac_status=$?
4760   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4761   (exit $ac_status); }; } &&
4762          { ac_try='test -s conftest.$ac_objext'
4763   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4764   (eval $ac_try) 2>&5
4765   ac_status=$?
4766   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4767   (exit $ac_status); }; }; then
4768   break
4769 else
4770   echo "$as_me: failed program was:" >&5
4771 sed 's/^/| /' conftest.$ac_ext >&5
4772
4773 fi
4774 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4775   cat >conftest.$ac_ext <<_ACEOF
4776 /* confdefs.h.  */
4777 _ACEOF
4778 cat confdefs.h >>conftest.$ac_ext
4779 cat >>conftest.$ac_ext <<_ACEOF
4780 /* end confdefs.h.  */
4781 #define _FILE_OFFSET_BITS 64
4782 #include <sys/types.h>
4783  /* Check that off_t can represent 2**63 - 1 correctly.
4784     We can't simply define LARGE_OFF_T to be 9223372036854775807,
4785     since some C++ compilers masquerading as C compilers
4786     incorrectly reject 9223372036854775807.  */
4787 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4788   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4789                        && LARGE_OFF_T % 2147483647 == 1)
4790                       ? 1 : -1];
4791 int
4792 main ()
4793 {
4794
4795   ;
4796   return 0;
4797 }
4798 _ACEOF
4799 rm -f conftest.$ac_objext
4800 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4801   (eval $ac_compile) 2>conftest.er1
4802   ac_status=$?
4803   grep -v '^ *+' conftest.er1 >conftest.err
4804   rm -f conftest.er1
4805   cat conftest.err >&5
4806   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4807   (exit $ac_status); } &&
4808          { ac_try='test -z "$ac_c_werror_flag"
4809                          || test ! -s conftest.err'
4810   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4811   (eval $ac_try) 2>&5
4812   ac_status=$?
4813   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4814   (exit $ac_status); }; } &&
4815          { ac_try='test -s conftest.$ac_objext'
4816   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4817   (eval $ac_try) 2>&5
4818   ac_status=$?
4819   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4820   (exit $ac_status); }; }; then
4821   ac_cv_sys_file_offset_bits=64; break
4822 else
4823   echo "$as_me: failed program was:" >&5
4824 sed 's/^/| /' conftest.$ac_ext >&5
4825
4826 fi
4827 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4828   break
4829 done
4830 fi
4831 echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
4832 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
4833 if test "$ac_cv_sys_file_offset_bits" != no; then
4834
4835 cat >>confdefs.h <<_ACEOF
4836 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
4837 _ACEOF
4838
4839 fi
4840 rm -f conftest*
4841   echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
4842 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
4843 if test "${ac_cv_sys_large_files+set}" = set; then
4844   echo $ECHO_N "(cached) $ECHO_C" >&6
4845 else
4846   while :; do
4847   ac_cv_sys_large_files=no
4848   cat >conftest.$ac_ext <<_ACEOF
4849 /* confdefs.h.  */
4850 _ACEOF
4851 cat confdefs.h >>conftest.$ac_ext
4852 cat >>conftest.$ac_ext <<_ACEOF
4853 /* end confdefs.h.  */
4854 #include <sys/types.h>
4855  /* Check that off_t can represent 2**63 - 1 correctly.
4856     We can't simply define LARGE_OFF_T to be 9223372036854775807,
4857     since some C++ compilers masquerading as C compilers
4858     incorrectly reject 9223372036854775807.  */
4859 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4860   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4861                        && LARGE_OFF_T % 2147483647 == 1)
4862                       ? 1 : -1];
4863 int
4864 main ()
4865 {
4866
4867   ;
4868   return 0;
4869 }
4870 _ACEOF
4871 rm -f conftest.$ac_objext
4872 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4873   (eval $ac_compile) 2>conftest.er1
4874   ac_status=$?
4875   grep -v '^ *+' conftest.er1 >conftest.err
4876   rm -f conftest.er1
4877   cat conftest.err >&5
4878   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4879   (exit $ac_status); } &&
4880          { ac_try='test -z "$ac_c_werror_flag"
4881                          || test ! -s conftest.err'
4882   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4883   (eval $ac_try) 2>&5
4884   ac_status=$?
4885   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4886   (exit $ac_status); }; } &&
4887          { ac_try='test -s conftest.$ac_objext'
4888   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4889   (eval $ac_try) 2>&5
4890   ac_status=$?
4891   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4892   (exit $ac_status); }; }; then
4893   break
4894 else
4895   echo "$as_me: failed program was:" >&5
4896 sed 's/^/| /' conftest.$ac_ext >&5
4897
4898 fi
4899 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4900   cat >conftest.$ac_ext <<_ACEOF
4901 /* confdefs.h.  */
4902 _ACEOF
4903 cat confdefs.h >>conftest.$ac_ext
4904 cat >>conftest.$ac_ext <<_ACEOF
4905 /* end confdefs.h.  */
4906 #define _LARGE_FILES 1
4907 #include <sys/types.h>
4908  /* Check that off_t can represent 2**63 - 1 correctly.
4909     We can't simply define LARGE_OFF_T to be 9223372036854775807,
4910     since some C++ compilers masquerading as C compilers
4911     incorrectly reject 9223372036854775807.  */
4912 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4913   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4914                        && LARGE_OFF_T % 2147483647 == 1)
4915                       ? 1 : -1];
4916 int
4917 main ()
4918 {
4919
4920   ;
4921   return 0;
4922 }
4923 _ACEOF
4924 rm -f conftest.$ac_objext
4925 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4926   (eval $ac_compile) 2>conftest.er1
4927   ac_status=$?
4928   grep -v '^ *+' conftest.er1 >conftest.err
4929   rm -f conftest.er1
4930   cat conftest.err >&5
4931   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4932   (exit $ac_status); } &&
4933          { ac_try='test -z "$ac_c_werror_flag"
4934                          || test ! -s conftest.err'
4935   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4936   (eval $ac_try) 2>&5
4937   ac_status=$?
4938   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4939   (exit $ac_status); }; } &&
4940          { ac_try='test -s conftest.$ac_objext'
4941   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4942   (eval $ac_try) 2>&5
4943   ac_status=$?
4944   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4945   (exit $ac_status); }; }; then
4946   ac_cv_sys_large_files=1; break
4947 else
4948   echo "$as_me: failed program was:" >&5
4949 sed 's/^/| /' conftest.$ac_ext >&5
4950
4951 fi
4952 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4953   break
4954 done
4955 fi
4956 echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
4957 echo "${ECHO_T}$ac_cv_sys_large_files" >&6
4958 if test "$ac_cv_sys_large_files" != no; then
4959
4960 cat >>confdefs.h <<_ACEOF
4961 #define _LARGE_FILES $ac_cv_sys_large_files
4962 _ACEOF
4963
4964 fi
4965 rm -f conftest*
4966 fi
4967
4968 if test x$gcc_no_link = xyes; then
4969   if test "x${ac_cv_func_mmap_fixed_mapped+set}" != xset; then
4970     ac_cv_func_mmap_fixed_mapped=no
4971   fi
4972 fi
4973 if test "x${ac_cv_func_mmap_fixed_mapped+set}" != xset; then
4974   ac_ext=c
4975 ac_cpp='$CPP $CPPFLAGS'
4976 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4977 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4978 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4979 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
4980 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
4981 # On Suns, sometimes $CPP names a directory.
4982 if test -n "$CPP" && test -d "$CPP"; then
4983   CPP=
4984 fi
4985 if test -z "$CPP"; then
4986   if test "${ac_cv_prog_CPP+set}" = set; then
4987   echo $ECHO_N "(cached) $ECHO_C" >&6
4988 else
4989       # Double quotes because CPP needs to be expanded
4990     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4991     do
4992       ac_preproc_ok=false
4993 for ac_c_preproc_warn_flag in '' yes
4994 do
4995   # Use a header file that comes with gcc, so configuring glibc
4996   # with a fresh cross-compiler works.
4997   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4998   # <limits.h> exists even on freestanding compilers.
4999   # On the NeXT, cc -E runs the code through the compiler's parser,
5000   # not just through cpp. "Syntax error" is here to catch this case.
5001   cat >conftest.$ac_ext <<_ACEOF
5002 /* confdefs.h.  */
5003 _ACEOF
5004 cat confdefs.h >>conftest.$ac_ext
5005 cat >>conftest.$ac_ext <<_ACEOF
5006 /* end confdefs.h.  */
5007 #ifdef __STDC__
5008 # include <limits.h>
5009 #else
5010 # include <assert.h>
5011 #endif
5012                      Syntax error
5013 _ACEOF
5014 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5015   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5016   ac_status=$?
5017   grep -v '^ *+' conftest.er1 >conftest.err
5018   rm -f conftest.er1
5019   cat conftest.err >&5
5020   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5021   (exit $ac_status); } >/dev/null; then
5022   if test -s conftest.err; then
5023     ac_cpp_err=$ac_c_preproc_warn_flag
5024     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5025   else
5026     ac_cpp_err=
5027   fi
5028 else
5029   ac_cpp_err=yes
5030 fi
5031 if test -z "$ac_cpp_err"; then
5032   :
5033 else
5034   echo "$as_me: failed program was:" >&5
5035 sed 's/^/| /' conftest.$ac_ext >&5
5036
5037   # Broken: fails on valid input.
5038 continue
5039 fi
5040 rm -f conftest.err conftest.$ac_ext
5041
5042   # OK, works on sane cases.  Now check whether non-existent headers
5043   # can be detected and how.
5044   cat >conftest.$ac_ext <<_ACEOF
5045 /* confdefs.h.  */
5046 _ACEOF
5047 cat confdefs.h >>conftest.$ac_ext
5048 cat >>conftest.$ac_ext <<_ACEOF
5049 /* end confdefs.h.  */
5050 #include <ac_nonexistent.h>
5051 _ACEOF
5052 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5053   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5054   ac_status=$?
5055   grep -v '^ *+' conftest.er1 >conftest.err
5056   rm -f conftest.er1
5057   cat conftest.err >&5
5058   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5059   (exit $ac_status); } >/dev/null; then
5060   if test -s conftest.err; then
5061     ac_cpp_err=$ac_c_preproc_warn_flag
5062     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5063   else
5064     ac_cpp_err=
5065   fi
5066 else
5067   ac_cpp_err=yes
5068 fi
5069 if test -z "$ac_cpp_err"; then
5070   # Broken: success on invalid input.
5071 continue
5072 else
5073   echo "$as_me: failed program was:" >&5
5074 sed 's/^/| /' conftest.$ac_ext >&5
5075
5076   # Passes both tests.
5077 ac_preproc_ok=:
5078 break
5079 fi
5080 rm -f conftest.err conftest.$ac_ext
5081
5082 done
5083 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5084 rm -f conftest.err conftest.$ac_ext
5085 if $ac_preproc_ok; then
5086   break
5087 fi
5088
5089     done
5090     ac_cv_prog_CPP=$CPP
5091
5092 fi
5093   CPP=$ac_cv_prog_CPP
5094 else
5095   ac_cv_prog_CPP=$CPP
5096 fi
5097 echo "$as_me:$LINENO: result: $CPP" >&5
5098 echo "${ECHO_T}$CPP" >&6
5099 ac_preproc_ok=false
5100 for ac_c_preproc_warn_flag in '' yes
5101 do
5102   # Use a header file that comes with gcc, so configuring glibc
5103   # with a fresh cross-compiler works.
5104   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5105   # <limits.h> exists even on freestanding compilers.
5106   # On the NeXT, cc -E runs the code through the compiler's parser,
5107   # not just through cpp. "Syntax error" is here to catch this case.
5108   cat >conftest.$ac_ext <<_ACEOF
5109 /* confdefs.h.  */
5110 _ACEOF
5111 cat confdefs.h >>conftest.$ac_ext
5112 cat >>conftest.$ac_ext <<_ACEOF
5113 /* end confdefs.h.  */
5114 #ifdef __STDC__
5115 # include <limits.h>
5116 #else
5117 # include <assert.h>
5118 #endif
5119                      Syntax error
5120 _ACEOF
5121 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5122   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5123   ac_status=$?
5124   grep -v '^ *+' conftest.er1 >conftest.err
5125   rm -f conftest.er1
5126   cat conftest.err >&5
5127   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5128   (exit $ac_status); } >/dev/null; then
5129   if test -s conftest.err; then
5130     ac_cpp_err=$ac_c_preproc_warn_flag
5131     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5132   else
5133     ac_cpp_err=
5134   fi
5135 else
5136   ac_cpp_err=yes
5137 fi
5138 if test -z "$ac_cpp_err"; then
5139   :
5140 else
5141   echo "$as_me: failed program was:" >&5
5142 sed 's/^/| /' conftest.$ac_ext >&5
5143
5144   # Broken: fails on valid input.
5145 continue
5146 fi
5147 rm -f conftest.err conftest.$ac_ext
5148
5149   # OK, works on sane cases.  Now check whether non-existent headers
5150   # can be detected and how.
5151   cat >conftest.$ac_ext <<_ACEOF
5152 /* confdefs.h.  */
5153 _ACEOF
5154 cat confdefs.h >>conftest.$ac_ext
5155 cat >>conftest.$ac_ext <<_ACEOF
5156 /* end confdefs.h.  */
5157 #include <ac_nonexistent.h>
5158 _ACEOF
5159 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5160   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5161   ac_status=$?
5162   grep -v '^ *+' conftest.er1 >conftest.err
5163   rm -f conftest.er1
5164   cat conftest.err >&5
5165   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5166   (exit $ac_status); } >/dev/null; then
5167   if test -s conftest.err; then
5168     ac_cpp_err=$ac_c_preproc_warn_flag
5169     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5170   else
5171     ac_cpp_err=
5172   fi
5173 else
5174   ac_cpp_err=yes
5175 fi
5176 if test -z "$ac_cpp_err"; then
5177   # Broken: success on invalid input.
5178 continue
5179 else
5180   echo "$as_me: failed program was:" >&5
5181 sed 's/^/| /' conftest.$ac_ext >&5
5182
5183   # Passes both tests.
5184 ac_preproc_ok=:
5185 break
5186 fi
5187 rm -f conftest.err conftest.$ac_ext
5188
5189 done
5190 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5191 rm -f conftest.err conftest.$ac_ext
5192 if $ac_preproc_ok; then
5193   :
5194 else
5195   { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
5196 See \`config.log' for more details." >&5
5197 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
5198 See \`config.log' for more details." >&2;}
5199    { (exit 1); exit 1; }; }
5200 fi
5201
5202 ac_ext=c
5203 ac_cpp='$CPP $CPPFLAGS'
5204 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5205 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5206 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5207
5208
5209 echo "$as_me:$LINENO: checking for egrep" >&5
5210 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
5211 if test "${ac_cv_prog_egrep+set}" = set; then
5212   echo $ECHO_N "(cached) $ECHO_C" >&6
5213 else
5214   if echo a | (grep -E '(a|b)') >/dev/null 2>&1
5215     then ac_cv_prog_egrep='grep -E'
5216     else ac_cv_prog_egrep='egrep'
5217     fi
5218 fi
5219 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
5220 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
5221  EGREP=$ac_cv_prog_egrep
5222
5223
5224 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5225 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
5226 if test "${ac_cv_header_stdc+set}" = set; then
5227   echo $ECHO_N "(cached) $ECHO_C" >&6
5228 else
5229   cat >conftest.$ac_ext <<_ACEOF
5230 /* confdefs.h.  */
5231 _ACEOF
5232 cat confdefs.h >>conftest.$ac_ext
5233 cat >>conftest.$ac_ext <<_ACEOF
5234 /* end confdefs.h.  */
5235 #include <stdlib.h>
5236 #include <stdarg.h>
5237 #include <string.h>
5238 #include <float.h>
5239
5240 int
5241 main ()
5242 {
5243
5244   ;
5245   return 0;
5246 }
5247 _ACEOF
5248 rm -f conftest.$ac_objext
5249 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5250   (eval $ac_compile) 2>conftest.er1
5251   ac_status=$?
5252   grep -v '^ *+' conftest.er1 >conftest.err
5253   rm -f conftest.er1
5254   cat conftest.err >&5
5255   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5256   (exit $ac_status); } &&
5257          { ac_try='test -z "$ac_c_werror_flag"
5258                          || test ! -s conftest.err'
5259   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5260   (eval $ac_try) 2>&5
5261   ac_status=$?
5262   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5263   (exit $ac_status); }; } &&
5264          { ac_try='test -s conftest.$ac_objext'
5265   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5266   (eval $ac_try) 2>&5
5267   ac_status=$?
5268   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5269   (exit $ac_status); }; }; then
5270   ac_cv_header_stdc=yes
5271 else
5272   echo "$as_me: failed program was:" >&5
5273 sed 's/^/| /' conftest.$ac_ext >&5
5274
5275 ac_cv_header_stdc=no
5276 fi
5277 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5278
5279 if test $ac_cv_header_stdc = yes; then
5280   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5281   cat >conftest.$ac_ext <<_ACEOF
5282 /* confdefs.h.  */
5283 _ACEOF
5284 cat confdefs.h >>conftest.$ac_ext
5285 cat >>conftest.$ac_ext <<_ACEOF
5286 /* end confdefs.h.  */
5287 #include <string.h>
5288
5289 _ACEOF
5290 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5291   $EGREP "memchr" >/dev/null 2>&1; then
5292   :
5293 else
5294   ac_cv_header_stdc=no
5295 fi
5296 rm -f conftest*
5297
5298 fi
5299
5300 if test $ac_cv_header_stdc = yes; then
5301   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5302   cat >conftest.$ac_ext <<_ACEOF
5303 /* confdefs.h.  */
5304 _ACEOF
5305 cat confdefs.h >>conftest.$ac_ext
5306 cat >>conftest.$ac_ext <<_ACEOF
5307 /* end confdefs.h.  */
5308 #include <stdlib.h>
5309
5310 _ACEOF
5311 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5312   $EGREP "free" >/dev/null 2>&1; then
5313   :
5314 else
5315   ac_cv_header_stdc=no
5316 fi
5317 rm -f conftest*
5318
5319 fi
5320
5321 if test $ac_cv_header_stdc = yes; then
5322   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5323   if test "$cross_compiling" = yes; then
5324   :
5325 else
5326   cat >conftest.$ac_ext <<_ACEOF
5327 /* confdefs.h.  */
5328 _ACEOF
5329 cat confdefs.h >>conftest.$ac_ext
5330 cat >>conftest.$ac_ext <<_ACEOF
5331 /* end confdefs.h.  */
5332 #include <ctype.h>
5333 #if ((' ' & 0x0FF) == 0x020)
5334 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5335 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5336 #else
5337 # define ISLOWER(c) \
5338                    (('a' <= (c) && (c) <= 'i') \
5339                      || ('j' <= (c) && (c) <= 'r') \
5340                      || ('s' <= (c) && (c) <= 'z'))
5341 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5342 #endif
5343
5344 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5345 int
5346 main ()
5347 {
5348   int i;
5349   for (i = 0; i < 256; i++)
5350     if (XOR (islower (i), ISLOWER (i))
5351         || toupper (i) != TOUPPER (i))
5352       exit(2);
5353   exit (0);
5354 }
5355 _ACEOF
5356 rm -f conftest$ac_exeext
5357 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5358   (eval $ac_link) 2>&5
5359   ac_status=$?
5360   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5361   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5362   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5363   (eval $ac_try) 2>&5
5364   ac_status=$?
5365   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5366   (exit $ac_status); }; }; then
5367   :
5368 else
5369   echo "$as_me: program exited with status $ac_status" >&5
5370 echo "$as_me: failed program was:" >&5
5371 sed 's/^/| /' conftest.$ac_ext >&5
5372
5373 ( exit $ac_status )
5374 ac_cv_header_stdc=no
5375 fi
5376 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5377 fi
5378 fi
5379 fi
5380 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5381 echo "${ECHO_T}$ac_cv_header_stdc" >&6
5382 if test $ac_cv_header_stdc = yes; then
5383
5384 cat >>confdefs.h <<\_ACEOF
5385 #define STDC_HEADERS 1
5386 _ACEOF
5387
5388 fi
5389
5390 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5391
5392
5393
5394
5395
5396
5397
5398
5399
5400 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5401                   inttypes.h stdint.h unistd.h
5402 do
5403 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5404 echo "$as_me:$LINENO: checking for $ac_header" >&5
5405 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5406 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5407   echo $ECHO_N "(cached) $ECHO_C" >&6
5408 else
5409   cat >conftest.$ac_ext <<_ACEOF
5410 /* confdefs.h.  */
5411 _ACEOF
5412 cat confdefs.h >>conftest.$ac_ext
5413 cat >>conftest.$ac_ext <<_ACEOF
5414 /* end confdefs.h.  */
5415 $ac_includes_default
5416
5417 #include <$ac_header>
5418 _ACEOF
5419 rm -f conftest.$ac_objext
5420 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5421   (eval $ac_compile) 2>conftest.er1
5422   ac_status=$?
5423   grep -v '^ *+' conftest.er1 >conftest.err
5424   rm -f conftest.er1
5425   cat conftest.err >&5
5426   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5427   (exit $ac_status); } &&
5428          { ac_try='test -z "$ac_c_werror_flag"
5429                          || test ! -s conftest.err'
5430   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5431   (eval $ac_try) 2>&5
5432   ac_status=$?
5433   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5434   (exit $ac_status); }; } &&
5435          { ac_try='test -s conftest.$ac_objext'
5436   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5437   (eval $ac_try) 2>&5
5438   ac_status=$?
5439   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5440   (exit $ac_status); }; }; then
5441   eval "$as_ac_Header=yes"
5442 else
5443   echo "$as_me: failed program was:" >&5
5444 sed 's/^/| /' conftest.$ac_ext >&5
5445
5446 eval "$as_ac_Header=no"
5447 fi
5448 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5449 fi
5450 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5451 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5452 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5453   cat >>confdefs.h <<_ACEOF
5454 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5455 _ACEOF
5456
5457 fi
5458
5459 done
5460
5461
5462
5463
5464 for ac_header in stdlib.h unistd.h
5465 do
5466 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5467 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5468   echo "$as_me:$LINENO: checking for $ac_header" >&5
5469 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5470 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5471   echo $ECHO_N "(cached) $ECHO_C" >&6
5472 fi
5473 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5474 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5475 else
5476   # Is the header compilable?
5477 echo "$as_me:$LINENO: checking $ac_header usability" >&5
5478 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5479 cat >conftest.$ac_ext <<_ACEOF
5480 /* confdefs.h.  */
5481 _ACEOF
5482 cat confdefs.h >>conftest.$ac_ext
5483 cat >>conftest.$ac_ext <<_ACEOF
5484 /* end confdefs.h.  */
5485 $ac_includes_default
5486 #include <$ac_header>
5487 _ACEOF
5488 rm -f conftest.$ac_objext
5489 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5490   (eval $ac_compile) 2>conftest.er1
5491   ac_status=$?
5492   grep -v '^ *+' conftest.er1 >conftest.err
5493   rm -f conftest.er1
5494   cat conftest.err >&5
5495   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5496   (exit $ac_status); } &&
5497          { ac_try='test -z "$ac_c_werror_flag"
5498                          || test ! -s conftest.err'
5499   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5500   (eval $ac_try) 2>&5
5501   ac_status=$?
5502   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5503   (exit $ac_status); }; } &&
5504          { ac_try='test -s conftest.$ac_objext'
5505   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5506   (eval $ac_try) 2>&5
5507   ac_status=$?
5508   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5509   (exit $ac_status); }; }; then
5510   ac_header_compiler=yes
5511 else
5512   echo "$as_me: failed program was:" >&5
5513 sed 's/^/| /' conftest.$ac_ext >&5
5514
5515 ac_header_compiler=no
5516 fi
5517 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5518 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5519 echo "${ECHO_T}$ac_header_compiler" >&6
5520
5521 # Is the header present?
5522 echo "$as_me:$LINENO: checking $ac_header presence" >&5
5523 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5524 cat >conftest.$ac_ext <<_ACEOF
5525 /* confdefs.h.  */
5526 _ACEOF
5527 cat confdefs.h >>conftest.$ac_ext
5528 cat >>conftest.$ac_ext <<_ACEOF
5529 /* end confdefs.h.  */
5530 #include <$ac_header>
5531 _ACEOF
5532 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5533   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5534   ac_status=$?
5535   grep -v '^ *+' conftest.er1 >conftest.err
5536   rm -f conftest.er1
5537   cat conftest.err >&5
5538   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5539   (exit $ac_status); } >/dev/null; then
5540   if test -s conftest.err; then
5541     ac_cpp_err=$ac_c_preproc_warn_flag
5542     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5543   else
5544     ac_cpp_err=
5545   fi
5546 else
5547   ac_cpp_err=yes
5548 fi
5549 if test -z "$ac_cpp_err"; then
5550   ac_header_preproc=yes
5551 else
5552   echo "$as_me: failed program was:" >&5
5553 sed 's/^/| /' conftest.$ac_ext >&5
5554
5555   ac_header_preproc=no
5556 fi
5557 rm -f conftest.err conftest.$ac_ext
5558 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5559 echo "${ECHO_T}$ac_header_preproc" >&6
5560
5561 # So?  What about this header?
5562 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5563   yes:no: )
5564     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5565 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5566     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5567 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5568     ac_header_preproc=yes
5569     ;;
5570   no:yes:* )
5571     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5572 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5573     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
5574 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
5575     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5576 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5577     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
5578 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
5579     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5580 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5581     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5582 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5583     (
5584       cat <<\_ASBOX
5585 ## ------------------------------------------------------ ##
5586 ## Report this to the GNU Fortran Runtime Library lists.  ##
5587 ## ------------------------------------------------------ ##
5588 _ASBOX
5589     ) |
5590       sed "s/^/$as_me: WARNING:     /" >&2
5591     ;;
5592 esac
5593 echo "$as_me:$LINENO: checking for $ac_header" >&5
5594 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5595 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5596   echo $ECHO_N "(cached) $ECHO_C" >&6
5597 else
5598   eval "$as_ac_Header=\$ac_header_preproc"
5599 fi
5600 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5601 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5602
5603 fi
5604 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5605   cat >>confdefs.h <<_ACEOF
5606 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5607 _ACEOF
5608
5609 fi
5610
5611 done
5612
5613
5614 for ac_func in getpagesize
5615 do
5616 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5617 echo "$as_me:$LINENO: checking for $ac_func" >&5
5618 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
5619 if eval "test \"\${$as_ac_var+set}\" = set"; then
5620   echo $ECHO_N "(cached) $ECHO_C" >&6
5621 else
5622   if test x$gcc_no_link = xyes; then
5623   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
5624 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
5625    { (exit 1); exit 1; }; }
5626 fi
5627 cat >conftest.$ac_ext <<_ACEOF
5628 /* confdefs.h.  */
5629 _ACEOF
5630 cat confdefs.h >>conftest.$ac_ext
5631 cat >>conftest.$ac_ext <<_ACEOF
5632 /* end confdefs.h.  */
5633 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
5634    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
5635 #define $ac_func innocuous_$ac_func
5636
5637 /* System header to define __stub macros and hopefully few prototypes,
5638     which can conflict with char $ac_func (); below.
5639     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5640     <limits.h> exists even on freestanding compilers.  */
5641
5642 #ifdef __STDC__
5643 # include <limits.h>
5644 #else
5645 # include <assert.h>
5646 #endif
5647
5648 #undef $ac_func
5649
5650 /* Override any gcc2 internal prototype to avoid an error.  */
5651 #ifdef __cplusplus
5652 extern "C"
5653 {
5654 #endif
5655 /* We use char because int might match the return type of a gcc2
5656    builtin and then its argument prototype would still apply.  */
5657 char $ac_func ();
5658 /* The GNU C library defines this for functions which it implements
5659     to always fail with ENOSYS.  Some functions are actually named
5660     something starting with __ and the normal name is an alias.  */
5661 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5662 choke me
5663 #else
5664 char (*f) () = $ac_func;
5665 #endif
5666 #ifdef __cplusplus
5667 }
5668 #endif
5669
5670 int
5671 main ()
5672 {
5673 return f != $ac_func;
5674   ;
5675   return 0;
5676 }
5677 _ACEOF
5678 rm -f conftest.$ac_objext conftest$ac_exeext
5679 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5680   (eval $ac_link) 2>conftest.er1
5681   ac_status=$?
5682   grep -v '^ *+' conftest.er1 >conftest.err
5683   rm -f conftest.er1
5684   cat conftest.err >&5
5685   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5686   (exit $ac_status); } &&
5687          { ac_try='test -z "$ac_c_werror_flag"
5688                          || test ! -s conftest.err'
5689   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5690   (eval $ac_try) 2>&5
5691   ac_status=$?
5692   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5693   (exit $ac_status); }; } &&
5694          { ac_try='test -s conftest$ac_exeext'
5695   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5696   (eval $ac_try) 2>&5
5697   ac_status=$?
5698   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5699   (exit $ac_status); }; }; then
5700   eval "$as_ac_var=yes"
5701 else
5702   echo "$as_me: failed program was:" >&5
5703 sed 's/^/| /' conftest.$ac_ext >&5
5704
5705 eval "$as_ac_var=no"
5706 fi
5707 rm -f conftest.err conftest.$ac_objext \
5708       conftest$ac_exeext conftest.$ac_ext
5709 fi
5710 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
5711 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
5712 if test `eval echo '${'$as_ac_var'}'` = yes; then
5713   cat >>confdefs.h <<_ACEOF
5714 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5715 _ACEOF
5716
5717 fi
5718 done
5719
5720 echo "$as_me:$LINENO: checking for working mmap" >&5
5721 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
5722 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
5723   echo $ECHO_N "(cached) $ECHO_C" >&6
5724 else
5725   if test "$cross_compiling" = yes; then
5726   ac_cv_func_mmap_fixed_mapped=no
5727 else
5728   cat >conftest.$ac_ext <<_ACEOF
5729 /* confdefs.h.  */
5730 _ACEOF
5731 cat confdefs.h >>conftest.$ac_ext
5732 cat >>conftest.$ac_ext <<_ACEOF
5733 /* end confdefs.h.  */
5734 $ac_includes_default
5735 /* malloc might have been renamed as rpl_malloc. */
5736 #undef malloc
5737
5738 /* Thanks to Mike Haertel and Jim Avera for this test.
5739    Here is a matrix of mmap possibilities:
5740         mmap private not fixed
5741         mmap private fixed at somewhere currently unmapped
5742         mmap private fixed at somewhere already mapped
5743         mmap shared not fixed
5744         mmap shared fixed at somewhere currently unmapped
5745         mmap shared fixed at somewhere already mapped
5746    For private mappings, we should verify that changes cannot be read()
5747    back from the file, nor mmap's back from the file at a different
5748    address.  (There have been systems where private was not correctly
5749    implemented like the infamous i386 svr4.0, and systems where the
5750    VM page cache was not coherent with the file system buffer cache
5751    like early versions of FreeBSD and possibly contemporary NetBSD.)
5752    For shared mappings, we should conversely verify that changes get
5753    propagated back to all the places they're supposed to be.
5754
5755    Grep wants private fixed already mapped.
5756    The main things grep needs to know about mmap are:
5757    * does it exist and is it safe to write into the mmap'd area
5758    * how to use it (BSD variants)  */
5759
5760 #include <fcntl.h>
5761 #include <sys/mman.h>
5762
5763 #if !STDC_HEADERS && !HAVE_STDLIB_H
5764 char *malloc ();
5765 #endif
5766
5767 /* This mess was copied from the GNU getpagesize.h.  */
5768 #if !HAVE_GETPAGESIZE
5769 /* Assume that all systems that can run configure have sys/param.h.  */
5770 # if !HAVE_SYS_PARAM_H
5771 #  define HAVE_SYS_PARAM_H 1
5772 # endif
5773
5774 # ifdef _SC_PAGESIZE
5775 #  define getpagesize() sysconf(_SC_PAGESIZE)
5776 # else /* no _SC_PAGESIZE */
5777 #  if HAVE_SYS_PARAM_H
5778 #   include <sys/param.h>
5779 #   ifdef EXEC_PAGESIZE
5780 #    define getpagesize() EXEC_PAGESIZE
5781 #   else /* no EXEC_PAGESIZE */
5782 #    ifdef NBPG
5783 #     define getpagesize() NBPG * CLSIZE
5784 #     ifndef CLSIZE
5785 #      define CLSIZE 1
5786 #     endif /* no CLSIZE */
5787 #    else /* no NBPG */
5788 #     ifdef NBPC
5789 #      define getpagesize() NBPC
5790 #     else /* no NBPC */
5791 #      ifdef PAGESIZE
5792 #       define getpagesize() PAGESIZE
5793 #      endif /* PAGESIZE */
5794 #     endif /* no NBPC */
5795 #    endif /* no NBPG */
5796 #   endif /* no EXEC_PAGESIZE */
5797 #  else /* no HAVE_SYS_PARAM_H */
5798 #   define getpagesize() 8192   /* punt totally */
5799 #  endif /* no HAVE_SYS_PARAM_H */
5800 # endif /* no _SC_PAGESIZE */
5801
5802 #endif /* no HAVE_GETPAGESIZE */
5803
5804 int
5805 main ()
5806 {
5807   char *data, *data2, *data3;
5808   int i, pagesize;
5809   int fd;
5810
5811   pagesize = getpagesize ();
5812
5813   /* First, make a file with some known garbage in it. */
5814   data = (char *) malloc (pagesize);
5815   if (!data)
5816     exit (1);
5817   for (i = 0; i < pagesize; ++i)
5818     *(data + i) = rand ();
5819   umask (0);
5820   fd = creat ("conftest.mmap", 0600);
5821   if (fd < 0)
5822     exit (1);
5823   if (write (fd, data, pagesize) != pagesize)
5824     exit (1);
5825   close (fd);
5826
5827   /* Next, try to mmap the file at a fixed address which already has
5828      something else allocated at it.  If we can, also make sure that
5829      we see the same garbage.  */
5830   fd = open ("conftest.mmap", O_RDWR);
5831   if (fd < 0)
5832     exit (1);
5833   data2 = (char *) malloc (2 * pagesize);
5834   if (!data2)
5835     exit (1);
5836   data2 += (pagesize - ((long) data2 & (pagesize - 1))) & (pagesize - 1);
5837   if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
5838                      MAP_PRIVATE | MAP_FIXED, fd, 0L))
5839     exit (1);
5840   for (i = 0; i < pagesize; ++i)
5841     if (*(data + i) != *(data2 + i))
5842       exit (1);
5843
5844   /* Finally, make sure that changes to the mapped area do not
5845      percolate back to the file as seen by read().  (This is a bug on
5846      some variants of i386 svr4.0.)  */
5847   for (i = 0; i < pagesize; ++i)
5848     *(data2 + i) = *(data2 + i) + 1;
5849   data3 = (char *) malloc (pagesize);
5850   if (!data3)
5851     exit (1);
5852   if (read (fd, data3, pagesize) != pagesize)
5853     exit (1);
5854   for (i = 0; i < pagesize; ++i)
5855     if (*(data + i) != *(data3 + i))
5856       exit (1);
5857   close (fd);
5858   exit (0);
5859 }
5860 _ACEOF
5861 rm -f conftest$ac_exeext
5862 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5863   (eval $ac_link) 2>&5
5864   ac_status=$?
5865   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5866   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5867   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5868   (eval $ac_try) 2>&5
5869   ac_status=$?
5870   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5871   (exit $ac_status); }; }; then
5872   ac_cv_func_mmap_fixed_mapped=yes
5873 else
5874   echo "$as_me: program exited with status $ac_status" >&5
5875 echo "$as_me: failed program was:" >&5
5876 sed 's/^/| /' conftest.$ac_ext >&5
5877
5878 ( exit $ac_status )
5879 ac_cv_func_mmap_fixed_mapped=no
5880 fi
5881 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5882 fi
5883 fi
5884 echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
5885 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
5886 if test $ac_cv_func_mmap_fixed_mapped = yes; then
5887
5888 cat >>confdefs.h <<\_ACEOF
5889 #define HAVE_MMAP 1
5890 _ACEOF
5891
5892 fi
5893 rm -f conftest.mmap
5894
5895 fi
5896 echo "$as_me:$LINENO: checking for off_t" >&5
5897 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
5898 if test "${ac_cv_type_off_t+set}" = set; then
5899   echo $ECHO_N "(cached) $ECHO_C" >&6
5900 else
5901   cat >conftest.$ac_ext <<_ACEOF
5902 /* confdefs.h.  */
5903 _ACEOF
5904 cat confdefs.h >>conftest.$ac_ext
5905 cat >>conftest.$ac_ext <<_ACEOF
5906 /* end confdefs.h.  */
5907 $ac_includes_default
5908 int
5909 main ()
5910 {
5911 if ((off_t *) 0)
5912   return 0;
5913 if (sizeof (off_t))
5914   return 0;
5915   ;
5916   return 0;
5917 }
5918 _ACEOF
5919 rm -f conftest.$ac_objext
5920 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5921   (eval $ac_compile) 2>conftest.er1
5922   ac_status=$?
5923   grep -v '^ *+' conftest.er1 >conftest.err
5924   rm -f conftest.er1
5925   cat conftest.err >&5
5926   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5927   (exit $ac_status); } &&
5928          { ac_try='test -z "$ac_c_werror_flag"
5929                          || test ! -s conftest.err'
5930   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5931   (eval $ac_try) 2>&5
5932   ac_status=$?
5933   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5934   (exit $ac_status); }; } &&
5935          { ac_try='test -s conftest.$ac_objext'
5936   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5937   (eval $ac_try) 2>&5
5938   ac_status=$?
5939   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5940   (exit $ac_status); }; }; then
5941   ac_cv_type_off_t=yes
5942 else
5943   echo "$as_me: failed program was:" >&5
5944 sed 's/^/| /' conftest.$ac_ext >&5
5945
5946 ac_cv_type_off_t=no
5947 fi
5948 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5949 fi
5950 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
5951 echo "${ECHO_T}$ac_cv_type_off_t" >&6
5952 if test $ac_cv_type_off_t = yes; then
5953   :
5954 else
5955
5956 cat >>confdefs.h <<_ACEOF
5957 #define off_t long
5958 _ACEOF
5959
5960 fi
5961
5962
5963 # check header files
5964 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5965 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
5966 if test "${ac_cv_header_stdc+set}" = set; then
5967   echo $ECHO_N "(cached) $ECHO_C" >&6
5968 else
5969   cat >conftest.$ac_ext <<_ACEOF
5970 /* confdefs.h.  */
5971 _ACEOF
5972 cat confdefs.h >>conftest.$ac_ext
5973 cat >>conftest.$ac_ext <<_ACEOF
5974 /* end confdefs.h.  */
5975 #include <stdlib.h>
5976 #include <stdarg.h>
5977 #include <string.h>
5978 #include <float.h>
5979
5980 int
5981 main ()
5982 {
5983
5984   ;
5985   return 0;
5986 }
5987 _ACEOF
5988 rm -f conftest.$ac_objext
5989 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5990   (eval $ac_compile) 2>conftest.er1
5991   ac_status=$?
5992   grep -v '^ *+' conftest.er1 >conftest.err
5993   rm -f conftest.er1
5994   cat conftest.err >&5
5995   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5996   (exit $ac_status); } &&
5997          { ac_try='test -z "$ac_c_werror_flag"
5998                          || test ! -s conftest.err'
5999   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6000   (eval $ac_try) 2>&5
6001   ac_status=$?
6002   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6003   (exit $ac_status); }; } &&
6004          { ac_try='test -s conftest.$ac_objext'
6005   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6006   (eval $ac_try) 2>&5
6007   ac_status=$?
6008   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6009   (exit $ac_status); }; }; then
6010   ac_cv_header_stdc=yes
6011 else
6012   echo "$as_me: failed program was:" >&5
6013 sed 's/^/| /' conftest.$ac_ext >&5
6014
6015 ac_cv_header_stdc=no
6016 fi
6017 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6018
6019 if test $ac_cv_header_stdc = yes; then
6020   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6021   cat >conftest.$ac_ext <<_ACEOF
6022 /* confdefs.h.  */
6023 _ACEOF
6024 cat confdefs.h >>conftest.$ac_ext
6025 cat >>conftest.$ac_ext <<_ACEOF
6026 /* end confdefs.h.  */
6027 #include <string.h>
6028
6029 _ACEOF
6030 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6031   $EGREP "memchr" >/dev/null 2>&1; then
6032   :
6033 else
6034   ac_cv_header_stdc=no
6035 fi
6036 rm -f conftest*
6037
6038 fi
6039
6040 if test $ac_cv_header_stdc = yes; then
6041   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6042   cat >conftest.$ac_ext <<_ACEOF
6043 /* confdefs.h.  */
6044 _ACEOF
6045 cat confdefs.h >>conftest.$ac_ext
6046 cat >>conftest.$ac_ext <<_ACEOF
6047 /* end confdefs.h.  */
6048 #include <stdlib.h>
6049
6050 _ACEOF
6051 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6052   $EGREP "free" >/dev/null 2>&1; then
6053   :
6054 else
6055   ac_cv_header_stdc=no
6056 fi
6057 rm -f conftest*
6058
6059 fi
6060
6061 if test $ac_cv_header_stdc = yes; then
6062   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6063   if test "$cross_compiling" = yes; then
6064   :
6065 else
6066   cat >conftest.$ac_ext <<_ACEOF
6067 /* confdefs.h.  */
6068 _ACEOF
6069 cat confdefs.h >>conftest.$ac_ext
6070 cat >>conftest.$ac_ext <<_ACEOF
6071 /* end confdefs.h.  */
6072 #include <ctype.h>
6073 #if ((' ' & 0x0FF) == 0x020)
6074 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6075 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6076 #else
6077 # define ISLOWER(c) \
6078                    (('a' <= (c) && (c) <= 'i') \
6079                      || ('j' <= (c) && (c) <= 'r') \
6080                      || ('s' <= (c) && (c) <= 'z'))
6081 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6082 #endif
6083
6084 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6085 int
6086 main ()
6087 {
6088   int i;
6089   for (i = 0; i < 256; i++)
6090     if (XOR (islower (i), ISLOWER (i))
6091         || toupper (i) != TOUPPER (i))
6092       exit(2);
6093   exit (0);
6094 }
6095 _ACEOF
6096 rm -f conftest$ac_exeext
6097 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6098   (eval $ac_link) 2>&5
6099   ac_status=$?
6100   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6101   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6102   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6103   (eval $ac_try) 2>&5
6104   ac_status=$?
6105   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6106   (exit $ac_status); }; }; then
6107   :
6108 else
6109   echo "$as_me: program exited with status $ac_status" >&5
6110 echo "$as_me: failed program was:" >&5
6111 sed 's/^/| /' conftest.$ac_ext >&5
6112
6113 ( exit $ac_status )
6114 ac_cv_header_stdc=no
6115 fi
6116 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6117 fi
6118 fi
6119 fi
6120 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
6121 echo "${ECHO_T}$ac_cv_header_stdc" >&6
6122 if test $ac_cv_header_stdc = yes; then
6123
6124 cat >>confdefs.h <<\_ACEOF
6125 #define STDC_HEADERS 1
6126 _ACEOF
6127
6128 fi
6129
6130
6131
6132
6133
6134
6135
6136 for ac_header in stdlib.h stdio.h string.h stddef.h math.h unistd.h
6137 do
6138 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6139 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6140   echo "$as_me:$LINENO: checking for $ac_header" >&5
6141 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6142 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6143   echo $ECHO_N "(cached) $ECHO_C" >&6
6144 fi
6145 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6146 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6147 else
6148   # Is the header compilable?
6149 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6150 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6151 cat >conftest.$ac_ext <<_ACEOF
6152 /* confdefs.h.  */
6153 _ACEOF
6154 cat confdefs.h >>conftest.$ac_ext
6155 cat >>conftest.$ac_ext <<_ACEOF
6156 /* end confdefs.h.  */
6157 $ac_includes_default
6158 #include <$ac_header>
6159 _ACEOF
6160 rm -f conftest.$ac_objext
6161 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6162   (eval $ac_compile) 2>conftest.er1
6163   ac_status=$?
6164   grep -v '^ *+' conftest.er1 >conftest.err
6165   rm -f conftest.er1
6166   cat conftest.err >&5
6167   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6168   (exit $ac_status); } &&
6169          { ac_try='test -z "$ac_c_werror_flag"
6170                          || test ! -s conftest.err'
6171   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6172   (eval $ac_try) 2>&5
6173   ac_status=$?
6174   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6175   (exit $ac_status); }; } &&
6176          { ac_try='test -s conftest.$ac_objext'
6177   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6178   (eval $ac_try) 2>&5
6179   ac_status=$?
6180   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6181   (exit $ac_status); }; }; then
6182   ac_header_compiler=yes
6183 else
6184   echo "$as_me: failed program was:" >&5
6185 sed 's/^/| /' conftest.$ac_ext >&5
6186
6187 ac_header_compiler=no
6188 fi
6189 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6190 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6191 echo "${ECHO_T}$ac_header_compiler" >&6
6192
6193 # Is the header present?
6194 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6195 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6196 cat >conftest.$ac_ext <<_ACEOF
6197 /* confdefs.h.  */
6198 _ACEOF
6199 cat confdefs.h >>conftest.$ac_ext
6200 cat >>conftest.$ac_ext <<_ACEOF
6201 /* end confdefs.h.  */
6202 #include <$ac_header>
6203 _ACEOF
6204 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6205   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6206   ac_status=$?
6207   grep -v '^ *+' conftest.er1 >conftest.err
6208   rm -f conftest.er1
6209   cat conftest.err >&5
6210   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6211   (exit $ac_status); } >/dev/null; then
6212   if test -s conftest.err; then
6213     ac_cpp_err=$ac_c_preproc_warn_flag
6214     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6215   else
6216     ac_cpp_err=
6217   fi
6218 else
6219   ac_cpp_err=yes
6220 fi
6221 if test -z "$ac_cpp_err"; then
6222   ac_header_preproc=yes
6223 else
6224   echo "$as_me: failed program was:" >&5
6225 sed 's/^/| /' conftest.$ac_ext >&5
6226
6227   ac_header_preproc=no
6228 fi
6229 rm -f conftest.err conftest.$ac_ext
6230 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6231 echo "${ECHO_T}$ac_header_preproc" >&6
6232
6233 # So?  What about this header?
6234 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6235   yes:no: )
6236     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6237 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6238     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6239 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6240     ac_header_preproc=yes
6241     ;;
6242   no:yes:* )
6243     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6244 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6245     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
6246 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
6247     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6248 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6249     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
6250 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
6251     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6252 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6253     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6254 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6255     (
6256       cat <<\_ASBOX
6257 ## ------------------------------------------------------ ##
6258 ## Report this to the GNU Fortran Runtime Library lists.  ##
6259 ## ------------------------------------------------------ ##
6260 _ASBOX
6261     ) |
6262       sed "s/^/$as_me: WARNING:     /" >&2
6263     ;;
6264 esac
6265 echo "$as_me:$LINENO: checking for $ac_header" >&5
6266 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6267 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6268   echo $ECHO_N "(cached) $ECHO_C" >&6
6269 else
6270   eval "$as_ac_Header=\$ac_header_preproc"
6271 fi
6272 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6273 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6274
6275 fi
6276 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6277   cat >>confdefs.h <<_ACEOF
6278 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6279 _ACEOF
6280
6281 fi
6282
6283 done
6284
6285
6286
6287
6288
6289
6290 for ac_header in time.h sys/params.h sys/time.h sys/times.h sys/resource.h
6291 do
6292 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6293 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6294   echo "$as_me:$LINENO: checking for $ac_header" >&5
6295 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6296 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6297   echo $ECHO_N "(cached) $ECHO_C" >&6
6298 fi
6299 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6300 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6301 else
6302   # Is the header compilable?
6303 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6304 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6305 cat >conftest.$ac_ext <<_ACEOF
6306 /* confdefs.h.  */
6307 _ACEOF
6308 cat confdefs.h >>conftest.$ac_ext
6309 cat >>conftest.$ac_ext <<_ACEOF
6310 /* end confdefs.h.  */
6311 $ac_includes_default
6312 #include <$ac_header>
6313 _ACEOF
6314 rm -f conftest.$ac_objext
6315 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6316   (eval $ac_compile) 2>conftest.er1
6317   ac_status=$?
6318   grep -v '^ *+' conftest.er1 >conftest.err
6319   rm -f conftest.er1
6320   cat conftest.err >&5
6321   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6322   (exit $ac_status); } &&
6323          { ac_try='test -z "$ac_c_werror_flag"
6324                          || test ! -s conftest.err'
6325   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6326   (eval $ac_try) 2>&5
6327   ac_status=$?
6328   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6329   (exit $ac_status); }; } &&
6330          { ac_try='test -s conftest.$ac_objext'
6331   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6332   (eval $ac_try) 2>&5
6333   ac_status=$?
6334   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6335   (exit $ac_status); }; }; then
6336   ac_header_compiler=yes
6337 else
6338   echo "$as_me: failed program was:" >&5
6339 sed 's/^/| /' conftest.$ac_ext >&5
6340
6341 ac_header_compiler=no
6342 fi
6343 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6344 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6345 echo "${ECHO_T}$ac_header_compiler" >&6
6346
6347 # Is the header present?
6348 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6349 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6350 cat >conftest.$ac_ext <<_ACEOF
6351 /* confdefs.h.  */
6352 _ACEOF
6353 cat confdefs.h >>conftest.$ac_ext
6354 cat >>conftest.$ac_ext <<_ACEOF
6355 /* end confdefs.h.  */
6356 #include <$ac_header>
6357 _ACEOF
6358 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6359   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6360   ac_status=$?
6361   grep -v '^ *+' conftest.er1 >conftest.err
6362   rm -f conftest.er1
6363   cat conftest.err >&5
6364   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6365   (exit $ac_status); } >/dev/null; then
6366   if test -s conftest.err; then
6367     ac_cpp_err=$ac_c_preproc_warn_flag
6368     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6369   else
6370     ac_cpp_err=
6371   fi
6372 else
6373   ac_cpp_err=yes
6374 fi
6375 if test -z "$ac_cpp_err"; then
6376   ac_header_preproc=yes
6377 else
6378   echo "$as_me: failed program was:" >&5
6379 sed 's/^/| /' conftest.$ac_ext >&5
6380
6381   ac_header_preproc=no
6382 fi
6383 rm -f conftest.err conftest.$ac_ext
6384 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6385 echo "${ECHO_T}$ac_header_preproc" >&6
6386
6387 # So?  What about this header?
6388 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6389   yes:no: )
6390     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6391 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6392     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6393 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6394     ac_header_preproc=yes
6395     ;;
6396   no:yes:* )
6397     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6398 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6399     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
6400 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
6401     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6402 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6403     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
6404 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
6405     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6406 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6407     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6408 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6409     (
6410       cat <<\_ASBOX
6411 ## ------------------------------------------------------ ##
6412 ## Report this to the GNU Fortran Runtime Library lists.  ##
6413 ## ------------------------------------------------------ ##
6414 _ASBOX
6415     ) |
6416       sed "s/^/$as_me: WARNING:     /" >&2
6417     ;;
6418 esac
6419 echo "$as_me:$LINENO: checking for $ac_header" >&5
6420 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6421 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6422   echo $ECHO_N "(cached) $ECHO_C" >&6
6423 else
6424   eval "$as_ac_Header=\$ac_header_preproc"
6425 fi
6426 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6427 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6428
6429 fi
6430 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6431   cat >>confdefs.h <<_ACEOF
6432 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6433 _ACEOF
6434
6435 fi
6436
6437 done
6438
6439
6440 for ac_header in sys/mman.h
6441 do
6442 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6443 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6444   echo "$as_me:$LINENO: checking for $ac_header" >&5
6445 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6446 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6447   echo $ECHO_N "(cached) $ECHO_C" >&6
6448 fi
6449 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6450 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6451 else
6452   # Is the header compilable?
6453 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6454 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6455 cat >conftest.$ac_ext <<_ACEOF
6456 /* confdefs.h.  */
6457 _ACEOF
6458 cat confdefs.h >>conftest.$ac_ext
6459 cat >>conftest.$ac_ext <<_ACEOF
6460 /* end confdefs.h.  */
6461 $ac_includes_default
6462 #include <$ac_header>
6463 _ACEOF
6464 rm -f conftest.$ac_objext
6465 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6466   (eval $ac_compile) 2>conftest.er1
6467   ac_status=$?
6468   grep -v '^ *+' conftest.er1 >conftest.err
6469   rm -f conftest.er1
6470   cat conftest.err >&5
6471   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6472   (exit $ac_status); } &&
6473          { ac_try='test -z "$ac_c_werror_flag"
6474                          || test ! -s conftest.err'
6475   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6476   (eval $ac_try) 2>&5
6477   ac_status=$?
6478   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6479   (exit $ac_status); }; } &&
6480          { ac_try='test -s conftest.$ac_objext'
6481   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6482   (eval $ac_try) 2>&5
6483   ac_status=$?
6484   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6485   (exit $ac_status); }; }; then
6486   ac_header_compiler=yes
6487 else
6488   echo "$as_me: failed program was:" >&5
6489 sed 's/^/| /' conftest.$ac_ext >&5
6490
6491 ac_header_compiler=no
6492 fi
6493 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6494 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6495 echo "${ECHO_T}$ac_header_compiler" >&6
6496
6497 # Is the header present?
6498 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6499 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6500 cat >conftest.$ac_ext <<_ACEOF
6501 /* confdefs.h.  */
6502 _ACEOF
6503 cat confdefs.h >>conftest.$ac_ext
6504 cat >>conftest.$ac_ext <<_ACEOF
6505 /* end confdefs.h.  */
6506 #include <$ac_header>
6507 _ACEOF
6508 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6509   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6510   ac_status=$?
6511   grep -v '^ *+' conftest.er1 >conftest.err
6512   rm -f conftest.er1
6513   cat conftest.err >&5
6514   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6515   (exit $ac_status); } >/dev/null; then
6516   if test -s conftest.err; then
6517     ac_cpp_err=$ac_c_preproc_warn_flag
6518     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6519   else
6520     ac_cpp_err=
6521   fi
6522 else
6523   ac_cpp_err=yes
6524 fi
6525 if test -z "$ac_cpp_err"; then
6526   ac_header_preproc=yes
6527 else
6528   echo "$as_me: failed program was:" >&5
6529 sed 's/^/| /' conftest.$ac_ext >&5
6530
6531   ac_header_preproc=no
6532 fi
6533 rm -f conftest.err conftest.$ac_ext
6534 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6535 echo "${ECHO_T}$ac_header_preproc" >&6
6536
6537 # So?  What about this header?
6538 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6539   yes:no: )
6540     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6541 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6542     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6543 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6544     ac_header_preproc=yes
6545     ;;
6546   no:yes:* )
6547     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6548 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6549     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
6550 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
6551     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6552 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6553     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
6554 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
6555     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6556 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6557     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6558 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6559     (
6560       cat <<\_ASBOX
6561 ## ------------------------------------------------------ ##
6562 ## Report this to the GNU Fortran Runtime Library lists.  ##
6563 ## ------------------------------------------------------ ##
6564 _ASBOX
6565     ) |
6566       sed "s/^/$as_me: WARNING:     /" >&2
6567     ;;
6568 esac
6569 echo "$as_me:$LINENO: checking for $ac_header" >&5
6570 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6571 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6572   echo $ECHO_N "(cached) $ECHO_C" >&6
6573 else
6574   eval "$as_ac_Header=\$ac_header_preproc"
6575 fi
6576 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6577 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6578
6579 fi
6580 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6581   cat >>confdefs.h <<_ACEOF
6582 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6583 _ACEOF
6584
6585 fi
6586
6587 done
6588
6589 if test "${ac_cv_header_complex_h+set}" = set; then
6590   echo "$as_me:$LINENO: checking for complex.h" >&5
6591 echo $ECHO_N "checking for complex.h... $ECHO_C" >&6
6592 if test "${ac_cv_header_complex_h+set}" = set; then
6593   echo $ECHO_N "(cached) $ECHO_C" >&6
6594 fi
6595 echo "$as_me:$LINENO: result: $ac_cv_header_complex_h" >&5
6596 echo "${ECHO_T}$ac_cv_header_complex_h" >&6
6597 else
6598   # Is the header compilable?
6599 echo "$as_me:$LINENO: checking complex.h usability" >&5
6600 echo $ECHO_N "checking complex.h usability... $ECHO_C" >&6
6601 cat >conftest.$ac_ext <<_ACEOF
6602 /* confdefs.h.  */
6603 _ACEOF
6604 cat confdefs.h >>conftest.$ac_ext
6605 cat >>conftest.$ac_ext <<_ACEOF
6606 /* end confdefs.h.  */
6607 $ac_includes_default
6608 #include <complex.h>
6609 _ACEOF
6610 rm -f conftest.$ac_objext
6611 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6612   (eval $ac_compile) 2>conftest.er1
6613   ac_status=$?
6614   grep -v '^ *+' conftest.er1 >conftest.err
6615   rm -f conftest.er1
6616   cat conftest.err >&5
6617   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6618   (exit $ac_status); } &&
6619          { ac_try='test -z "$ac_c_werror_flag"
6620                          || test ! -s conftest.err'
6621   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6622   (eval $ac_try) 2>&5
6623   ac_status=$?
6624   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6625   (exit $ac_status); }; } &&
6626          { ac_try='test -s conftest.$ac_objext'
6627   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6628   (eval $ac_try) 2>&5
6629   ac_status=$?
6630   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6631   (exit $ac_status); }; }; then
6632   ac_header_compiler=yes
6633 else
6634   echo "$as_me: failed program was:" >&5
6635 sed 's/^/| /' conftest.$ac_ext >&5
6636
6637 ac_header_compiler=no
6638 fi
6639 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6640 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6641 echo "${ECHO_T}$ac_header_compiler" >&6
6642
6643 # Is the header present?
6644 echo "$as_me:$LINENO: checking complex.h presence" >&5
6645 echo $ECHO_N "checking complex.h presence... $ECHO_C" >&6
6646 cat >conftest.$ac_ext <<_ACEOF
6647 /* confdefs.h.  */
6648 _ACEOF
6649 cat confdefs.h >>conftest.$ac_ext
6650 cat >>conftest.$ac_ext <<_ACEOF
6651 /* end confdefs.h.  */
6652 #include <complex.h>
6653 _ACEOF
6654 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6655   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6656   ac_status=$?
6657   grep -v '^ *+' conftest.er1 >conftest.err
6658   rm -f conftest.er1
6659   cat conftest.err >&5
6660   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6661   (exit $ac_status); } >/dev/null; then
6662   if test -s conftest.err; then
6663     ac_cpp_err=$ac_c_preproc_warn_flag
6664     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6665   else
6666     ac_cpp_err=
6667   fi
6668 else
6669   ac_cpp_err=yes
6670 fi
6671 if test -z "$ac_cpp_err"; then
6672   ac_header_preproc=yes
6673 else
6674   echo "$as_me: failed program was:" >&5
6675 sed 's/^/| /' conftest.$ac_ext >&5
6676
6677   ac_header_preproc=no
6678 fi
6679 rm -f conftest.err conftest.$ac_ext
6680 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6681 echo "${ECHO_T}$ac_header_preproc" >&6
6682
6683 # So?  What about this header?
6684 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6685   yes:no: )
6686     { echo "$as_me:$LINENO: WARNING: complex.h: accepted by the compiler, rejected by the preprocessor!" >&5
6687 echo "$as_me: WARNING: complex.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
6688     { echo "$as_me:$LINENO: WARNING: complex.h: proceeding with the compiler's result" >&5
6689 echo "$as_me: WARNING: complex.h: proceeding with the compiler's result" >&2;}
6690     ac_header_preproc=yes
6691     ;;
6692   no:yes:* )
6693     { echo "$as_me:$LINENO: WARNING: complex.h: present but cannot be compiled" >&5
6694 echo "$as_me: WARNING: complex.h: present but cannot be compiled" >&2;}
6695     { echo "$as_me:$LINENO: WARNING: complex.h:     check for missing prerequisite headers?" >&5
6696 echo "$as_me: WARNING: complex.h:     check for missing prerequisite headers?" >&2;}
6697     { echo "$as_me:$LINENO: WARNING: complex.h: see the Autoconf documentation" >&5
6698 echo "$as_me: WARNING: complex.h: see the Autoconf documentation" >&2;}
6699     { echo "$as_me:$LINENO: WARNING: complex.h:     section \"Present But Cannot Be Compiled\"" >&5
6700 echo "$as_me: WARNING: complex.h:     section \"Present But Cannot Be Compiled\"" >&2;}
6701     { echo "$as_me:$LINENO: WARNING: complex.h: proceeding with the preprocessor's result" >&5
6702 echo "$as_me: WARNING: complex.h: proceeding with the preprocessor's result" >&2;}
6703     { echo "$as_me:$LINENO: WARNING: complex.h: in the future, the compiler will take precedence" >&5
6704 echo "$as_me: WARNING: complex.h: in the future, the compiler will take precedence" >&2;}
6705     (
6706       cat <<\_ASBOX
6707 ## ------------------------------------------------------ ##
6708 ## Report this to the GNU Fortran Runtime Library lists.  ##
6709 ## ------------------------------------------------------ ##
6710 _ASBOX
6711     ) |
6712       sed "s/^/$as_me: WARNING:     /" >&2
6713     ;;
6714 esac
6715 echo "$as_me:$LINENO: checking for complex.h" >&5
6716 echo $ECHO_N "checking for complex.h... $ECHO_C" >&6
6717 if test "${ac_cv_header_complex_h+set}" = set; then
6718   echo $ECHO_N "(cached) $ECHO_C" >&6
6719 else
6720   ac_cv_header_complex_h=$ac_header_preproc
6721 fi
6722 echo "$as_me:$LINENO: result: $ac_cv_header_complex_h" >&5
6723 echo "${ECHO_T}$ac_cv_header_complex_h" >&6
6724
6725 fi
6726 if test $ac_cv_header_complex_h = yes; then
6727
6728 cat >>confdefs.h <<\_ACEOF
6729 #define HAVE_COMPLEX_H 1
6730 _ACEOF
6731
6732 fi
6733
6734
6735
6736 # Check for complex math functions
6737 echo "$as_me:$LINENO: checking for csin in -lm" >&5
6738 echo $ECHO_N "checking for csin in -lm... $ECHO_C" >&6
6739 if test "${ac_cv_lib_m_csin+set}" = set; then
6740   echo $ECHO_N "(cached) $ECHO_C" >&6
6741 else
6742   ac_check_lib_save_LIBS=$LIBS
6743 LIBS="-lm  $LIBS"
6744 if test x$gcc_no_link = xyes; then
6745   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
6746 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
6747    { (exit 1); exit 1; }; }
6748 fi
6749 cat >conftest.$ac_ext <<_ACEOF
6750 /* confdefs.h.  */
6751 _ACEOF
6752 cat confdefs.h >>conftest.$ac_ext
6753 cat >>conftest.$ac_ext <<_ACEOF
6754 /* end confdefs.h.  */
6755
6756 /* Override any gcc2 internal prototype to avoid an error.  */
6757 #ifdef __cplusplus
6758 extern "C"
6759 #endif
6760 /* We use char because int might match the return type of a gcc2
6761    builtin and then its argument prototype would still apply.  */
6762 char csin ();
6763 int
6764 main ()
6765 {
6766 csin ();
6767   ;
6768   return 0;
6769 }
6770 _ACEOF
6771 rm -f conftest.$ac_objext conftest$ac_exeext
6772 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6773   (eval $ac_link) 2>conftest.er1
6774   ac_status=$?
6775   grep -v '^ *+' conftest.er1 >conftest.err
6776   rm -f conftest.er1
6777   cat conftest.err >&5
6778   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6779   (exit $ac_status); } &&
6780          { ac_try='test -z "$ac_c_werror_flag"
6781                          || test ! -s conftest.err'
6782   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6783   (eval $ac_try) 2>&5
6784   ac_status=$?
6785   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6786   (exit $ac_status); }; } &&
6787          { ac_try='test -s conftest$ac_exeext'
6788   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6789   (eval $ac_try) 2>&5
6790   ac_status=$?
6791   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6792   (exit $ac_status); }; }; then
6793   ac_cv_lib_m_csin=yes
6794 else
6795   echo "$as_me: failed program was:" >&5
6796 sed 's/^/| /' conftest.$ac_ext >&5
6797
6798 ac_cv_lib_m_csin=no
6799 fi
6800 rm -f conftest.err conftest.$ac_objext \
6801       conftest$ac_exeext conftest.$ac_ext
6802 LIBS=$ac_check_lib_save_LIBS
6803 fi
6804 echo "$as_me:$LINENO: result: $ac_cv_lib_m_csin" >&5
6805 echo "${ECHO_T}$ac_cv_lib_m_csin" >&6
6806 if test $ac_cv_lib_m_csin = yes; then
6807   need_math="no"
6808 else
6809   need_math="yes"
6810 fi
6811
6812
6813 # Check for library functions.
6814
6815
6816
6817
6818
6819 for ac_func in getrusage times mkstemp strtof snprintf
6820 do
6821 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6822 echo "$as_me:$LINENO: checking for $ac_func" >&5
6823 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
6824 if eval "test \"\${$as_ac_var+set}\" = set"; then
6825   echo $ECHO_N "(cached) $ECHO_C" >&6
6826 else
6827   if test x$gcc_no_link = xyes; then
6828   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
6829 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
6830    { (exit 1); exit 1; }; }
6831 fi
6832 cat >conftest.$ac_ext <<_ACEOF
6833 /* confdefs.h.  */
6834 _ACEOF
6835 cat confdefs.h >>conftest.$ac_ext
6836 cat >>conftest.$ac_ext <<_ACEOF
6837 /* end confdefs.h.  */
6838 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6839    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
6840 #define $ac_func innocuous_$ac_func
6841
6842 /* System header to define __stub macros and hopefully few prototypes,
6843     which can conflict with char $ac_func (); below.
6844     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6845     <limits.h> exists even on freestanding compilers.  */
6846
6847 #ifdef __STDC__
6848 # include <limits.h>
6849 #else
6850 # include <assert.h>
6851 #endif
6852
6853 #undef $ac_func
6854
6855 /* Override any gcc2 internal prototype to avoid an error.  */
6856 #ifdef __cplusplus
6857 extern "C"
6858 {
6859 #endif
6860 /* We use char because int might match the return type of a gcc2
6861    builtin and then its argument prototype would still apply.  */
6862 char $ac_func ();
6863 /* The GNU C library defines this for functions which it implements
6864     to always fail with ENOSYS.  Some functions are actually named
6865     something starting with __ and the normal name is an alias.  */
6866 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6867 choke me
6868 #else
6869 char (*f) () = $ac_func;
6870 #endif
6871 #ifdef __cplusplus
6872 }
6873 #endif
6874
6875 int
6876 main ()
6877 {
6878 return f != $ac_func;
6879   ;
6880   return 0;
6881 }
6882 _ACEOF
6883 rm -f conftest.$ac_objext conftest$ac_exeext
6884 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6885   (eval $ac_link) 2>conftest.er1
6886   ac_status=$?
6887   grep -v '^ *+' conftest.er1 >conftest.err
6888   rm -f conftest.er1
6889   cat conftest.err >&5
6890   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6891   (exit $ac_status); } &&
6892          { ac_try='test -z "$ac_c_werror_flag"
6893                          || test ! -s conftest.err'
6894   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6895   (eval $ac_try) 2>&5
6896   ac_status=$?
6897   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6898   (exit $ac_status); }; } &&
6899          { ac_try='test -s conftest$ac_exeext'
6900   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6901   (eval $ac_try) 2>&5
6902   ac_status=$?
6903   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6904   (exit $ac_status); }; }; then
6905   eval "$as_ac_var=yes"
6906 else
6907   echo "$as_me: failed program was:" >&5
6908 sed 's/^/| /' conftest.$ac_ext >&5
6909
6910 eval "$as_ac_var=no"
6911 fi
6912 rm -f conftest.err conftest.$ac_objext \
6913       conftest$ac_exeext conftest.$ac_ext
6914 fi
6915 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
6916 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
6917 if test `eval echo '${'$as_ac_var'}'` = yes; then
6918   cat >>confdefs.h <<_ACEOF
6919 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6920 _ACEOF
6921
6922 fi
6923 done
6924
6925
6926 # Check libc for getgid, getpid, getuid
6927 echo "$as_me:$LINENO: checking for getgid in -lc" >&5
6928 echo $ECHO_N "checking for getgid in -lc... $ECHO_C" >&6
6929 if test "${ac_cv_lib_c_getgid+set}" = set; then
6930   echo $ECHO_N "(cached) $ECHO_C" >&6
6931 else
6932   ac_check_lib_save_LIBS=$LIBS
6933 LIBS="-lc  $LIBS"
6934 if test x$gcc_no_link = xyes; then
6935   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
6936 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
6937    { (exit 1); exit 1; }; }
6938 fi
6939 cat >conftest.$ac_ext <<_ACEOF
6940 /* confdefs.h.  */
6941 _ACEOF
6942 cat confdefs.h >>conftest.$ac_ext
6943 cat >>conftest.$ac_ext <<_ACEOF
6944 /* end confdefs.h.  */
6945
6946 /* Override any gcc2 internal prototype to avoid an error.  */
6947 #ifdef __cplusplus
6948 extern "C"
6949 #endif
6950 /* We use char because int might match the return type of a gcc2
6951    builtin and then its argument prototype would still apply.  */
6952 char getgid ();
6953 int
6954 main ()
6955 {
6956 getgid ();
6957   ;
6958   return 0;
6959 }
6960 _ACEOF
6961 rm -f conftest.$ac_objext conftest$ac_exeext
6962 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6963   (eval $ac_link) 2>conftest.er1
6964   ac_status=$?
6965   grep -v '^ *+' conftest.er1 >conftest.err
6966   rm -f conftest.er1
6967   cat conftest.err >&5
6968   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6969   (exit $ac_status); } &&
6970          { ac_try='test -z "$ac_c_werror_flag"
6971                          || test ! -s conftest.err'
6972   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6973   (eval $ac_try) 2>&5
6974   ac_status=$?
6975   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6976   (exit $ac_status); }; } &&
6977          { ac_try='test -s conftest$ac_exeext'
6978   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6979   (eval $ac_try) 2>&5
6980   ac_status=$?
6981   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6982   (exit $ac_status); }; }; then
6983   ac_cv_lib_c_getgid=yes
6984 else
6985   echo "$as_me: failed program was:" >&5
6986 sed 's/^/| /' conftest.$ac_ext >&5
6987
6988 ac_cv_lib_c_getgid=no
6989 fi
6990 rm -f conftest.err conftest.$ac_objext \
6991       conftest$ac_exeext conftest.$ac_ext
6992 LIBS=$ac_check_lib_save_LIBS
6993 fi
6994 echo "$as_me:$LINENO: result: $ac_cv_lib_c_getgid" >&5
6995 echo "${ECHO_T}$ac_cv_lib_c_getgid" >&6
6996 if test $ac_cv_lib_c_getgid = yes; then
6997
6998 cat >>confdefs.h <<\_ACEOF
6999 #define HAVE_GETGID 1
7000 _ACEOF
7001
7002 fi
7003
7004 echo "$as_me:$LINENO: checking for getpid in -lc" >&5
7005 echo $ECHO_N "checking for getpid in -lc... $ECHO_C" >&6
7006 if test "${ac_cv_lib_c_getpid+set}" = set; then
7007   echo $ECHO_N "(cached) $ECHO_C" >&6
7008 else
7009   ac_check_lib_save_LIBS=$LIBS
7010 LIBS="-lc  $LIBS"
7011 if test x$gcc_no_link = xyes; then
7012   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
7013 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
7014    { (exit 1); exit 1; }; }
7015 fi
7016 cat >conftest.$ac_ext <<_ACEOF
7017 /* confdefs.h.  */
7018 _ACEOF
7019 cat confdefs.h >>conftest.$ac_ext
7020 cat >>conftest.$ac_ext <<_ACEOF
7021 /* end confdefs.h.  */
7022
7023 /* Override any gcc2 internal prototype to avoid an error.  */
7024 #ifdef __cplusplus
7025 extern "C"
7026 #endif
7027 /* We use char because int might match the return type of a gcc2
7028    builtin and then its argument prototype would still apply.  */
7029 char getpid ();
7030 int
7031 main ()
7032 {
7033 getpid ();
7034   ;
7035   return 0;
7036 }
7037 _ACEOF
7038 rm -f conftest.$ac_objext conftest$ac_exeext
7039 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7040   (eval $ac_link) 2>conftest.er1
7041   ac_status=$?
7042   grep -v '^ *+' conftest.er1 >conftest.err
7043   rm -f conftest.er1
7044   cat conftest.err >&5
7045   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7046   (exit $ac_status); } &&
7047          { ac_try='test -z "$ac_c_werror_flag"
7048                          || test ! -s conftest.err'
7049   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7050   (eval $ac_try) 2>&5
7051   ac_status=$?
7052   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7053   (exit $ac_status); }; } &&
7054          { ac_try='test -s conftest$ac_exeext'
7055   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7056   (eval $ac_try) 2>&5
7057   ac_status=$?
7058   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7059   (exit $ac_status); }; }; then
7060   ac_cv_lib_c_getpid=yes
7061 else
7062   echo "$as_me: failed program was:" >&5
7063 sed 's/^/| /' conftest.$ac_ext >&5
7064
7065 ac_cv_lib_c_getpid=no
7066 fi
7067 rm -f conftest.err conftest.$ac_objext \
7068       conftest$ac_exeext conftest.$ac_ext
7069 LIBS=$ac_check_lib_save_LIBS
7070 fi
7071 echo "$as_me:$LINENO: result: $ac_cv_lib_c_getpid" >&5
7072 echo "${ECHO_T}$ac_cv_lib_c_getpid" >&6
7073 if test $ac_cv_lib_c_getpid = yes; then
7074
7075 cat >>confdefs.h <<\_ACEOF
7076 #define HAVE_GETPID 1
7077 _ACEOF
7078
7079 fi
7080
7081 echo "$as_me:$LINENO: checking for getuid in -lc" >&5
7082 echo $ECHO_N "checking for getuid in -lc... $ECHO_C" >&6
7083 if test "${ac_cv_lib_c_getuid+set}" = set; then
7084   echo $ECHO_N "(cached) $ECHO_C" >&6
7085 else
7086   ac_check_lib_save_LIBS=$LIBS
7087 LIBS="-lc  $LIBS"
7088 if test x$gcc_no_link = xyes; then
7089   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
7090 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
7091    { (exit 1); exit 1; }; }
7092 fi
7093 cat >conftest.$ac_ext <<_ACEOF
7094 /* confdefs.h.  */
7095 _ACEOF
7096 cat confdefs.h >>conftest.$ac_ext
7097 cat >>conftest.$ac_ext <<_ACEOF
7098 /* end confdefs.h.  */
7099
7100 /* Override any gcc2 internal prototype to avoid an error.  */
7101 #ifdef __cplusplus
7102 extern "C"
7103 #endif
7104 /* We use char because int might match the return type of a gcc2
7105    builtin and then its argument prototype would still apply.  */
7106 char getuid ();
7107 int
7108 main ()
7109 {
7110 getuid ();
7111   ;
7112   return 0;
7113 }
7114 _ACEOF
7115 rm -f conftest.$ac_objext conftest$ac_exeext
7116 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7117   (eval $ac_link) 2>conftest.er1
7118   ac_status=$?
7119   grep -v '^ *+' conftest.er1 >conftest.err
7120   rm -f conftest.er1
7121   cat conftest.err >&5
7122   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7123   (exit $ac_status); } &&
7124          { ac_try='test -z "$ac_c_werror_flag"
7125                          || test ! -s conftest.err'
7126   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7127   (eval $ac_try) 2>&5
7128   ac_status=$?
7129   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7130   (exit $ac_status); }; } &&
7131          { ac_try='test -s conftest$ac_exeext'
7132   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7133   (eval $ac_try) 2>&5
7134   ac_status=$?
7135   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7136   (exit $ac_status); }; }; then
7137   ac_cv_lib_c_getuid=yes
7138 else
7139   echo "$as_me: failed program was:" >&5
7140 sed 's/^/| /' conftest.$ac_ext >&5
7141
7142 ac_cv_lib_c_getuid=no
7143 fi
7144 rm -f conftest.err conftest.$ac_objext \
7145       conftest$ac_exeext conftest.$ac_ext
7146 LIBS=$ac_check_lib_save_LIBS
7147 fi
7148 echo "$as_me:$LINENO: result: $ac_cv_lib_c_getuid" >&5
7149 echo "${ECHO_T}$ac_cv_lib_c_getuid" >&6
7150 if test $ac_cv_lib_c_getuid = yes; then
7151
7152 cat >>confdefs.h <<\_ACEOF
7153 #define HAVE_GETUID 1
7154 _ACEOF
7155
7156 fi
7157
7158
7159 # Check for C99 (and other IEEE) math functions
7160 # ??? This list seems awful long. Is there a better way to test for these?
7161 echo "$as_me:$LINENO: checking for acosf in -lm" >&5
7162 echo $ECHO_N "checking for acosf in -lm... $ECHO_C" >&6
7163 if test "${ac_cv_lib_m_acosf+set}" = set; then
7164   echo $ECHO_N "(cached) $ECHO_C" >&6
7165 else
7166   ac_check_lib_save_LIBS=$LIBS
7167 LIBS="-lm  $LIBS"
7168 if test x$gcc_no_link = xyes; then
7169   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
7170 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
7171    { (exit 1); exit 1; }; }
7172 fi
7173 cat >conftest.$ac_ext <<_ACEOF
7174 /* confdefs.h.  */
7175 _ACEOF
7176 cat confdefs.h >>conftest.$ac_ext
7177 cat >>conftest.$ac_ext <<_ACEOF
7178 /* end confdefs.h.  */
7179
7180 /* Override any gcc2 internal prototype to avoid an error.  */
7181 #ifdef __cplusplus
7182 extern "C"
7183 #endif
7184 /* We use char because int might match the return type of a gcc2
7185    builtin and then its argument prototype would still apply.  */
7186 char acosf ();
7187 int
7188 main ()
7189 {
7190 acosf ();
7191   ;
7192   return 0;
7193 }
7194 _ACEOF
7195 rm -f conftest.$ac_objext conftest$ac_exeext
7196 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7197   (eval $ac_link) 2>conftest.er1
7198   ac_status=$?
7199   grep -v '^ *+' conftest.er1 >conftest.err
7200   rm -f conftest.er1
7201   cat conftest.err >&5
7202   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7203   (exit $ac_status); } &&
7204          { ac_try='test -z "$ac_c_werror_flag"
7205                          || test ! -s conftest.err'
7206   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7207   (eval $ac_try) 2>&5
7208   ac_status=$?
7209   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7210   (exit $ac_status); }; } &&
7211          { ac_try='test -s conftest$ac_exeext'
7212   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7213   (eval $ac_try) 2>&5
7214   ac_status=$?
7215   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7216   (exit $ac_status); }; }; then
7217   ac_cv_lib_m_acosf=yes
7218 else
7219   echo "$as_me: failed program was:" >&5
7220 sed 's/^/| /' conftest.$ac_ext >&5
7221
7222 ac_cv_lib_m_acosf=no
7223 fi
7224 rm -f conftest.err conftest.$ac_objext \
7225       conftest$ac_exeext conftest.$ac_ext
7226 LIBS=$ac_check_lib_save_LIBS
7227 fi
7228 echo "$as_me:$LINENO: result: $ac_cv_lib_m_acosf" >&5
7229 echo "${ECHO_T}$ac_cv_lib_m_acosf" >&6
7230 if test $ac_cv_lib_m_acosf = yes; then
7231
7232 cat >>confdefs.h <<\_ACEOF
7233 #define HAVE_ACOSF 1
7234 _ACEOF
7235
7236 fi
7237
7238 echo "$as_me:$LINENO: checking for asinf in -lm" >&5
7239 echo $ECHO_N "checking for asinf in -lm... $ECHO_C" >&6
7240 if test "${ac_cv_lib_m_asinf+set}" = set; then
7241   echo $ECHO_N "(cached) $ECHO_C" >&6
7242 else
7243   ac_check_lib_save_LIBS=$LIBS
7244 LIBS="-lm  $LIBS"
7245 if test x$gcc_no_link = xyes; then
7246   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
7247 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
7248    { (exit 1); exit 1; }; }
7249 fi
7250 cat >conftest.$ac_ext <<_ACEOF
7251 /* confdefs.h.  */
7252 _ACEOF
7253 cat confdefs.h >>conftest.$ac_ext
7254 cat >>conftest.$ac_ext <<_ACEOF
7255 /* end confdefs.h.  */
7256
7257 /* Override any gcc2 internal prototype to avoid an error.  */
7258 #ifdef __cplusplus
7259 extern "C"
7260 #endif
7261 /* We use char because int might match the return type of a gcc2
7262    builtin and then its argument prototype would still apply.  */
7263 char asinf ();
7264 int
7265 main ()
7266 {
7267 asinf ();
7268   ;
7269   return 0;
7270 }
7271 _ACEOF
7272 rm -f conftest.$ac_objext conftest$ac_exeext
7273 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7274   (eval $ac_link) 2>conftest.er1
7275   ac_status=$?
7276   grep -v '^ *+' conftest.er1 >conftest.err
7277   rm -f conftest.er1
7278   cat conftest.err >&5
7279   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7280   (exit $ac_status); } &&
7281          { ac_try='test -z "$ac_c_werror_flag"
7282                          || test ! -s conftest.err'
7283   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7284   (eval $ac_try) 2>&5
7285   ac_status=$?
7286   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7287   (exit $ac_status); }; } &&
7288          { ac_try='test -s conftest$ac_exeext'
7289   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7290   (eval $ac_try) 2>&5
7291   ac_status=$?
7292   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7293   (exit $ac_status); }; }; then
7294   ac_cv_lib_m_asinf=yes
7295 else
7296   echo "$as_me: failed program was:" >&5
7297 sed 's/^/| /' conftest.$ac_ext >&5
7298
7299 ac_cv_lib_m_asinf=no
7300 fi
7301 rm -f conftest.err conftest.$ac_objext \
7302       conftest$ac_exeext conftest.$ac_ext
7303 LIBS=$ac_check_lib_save_LIBS
7304 fi
7305 echo "$as_me:$LINENO: result: $ac_cv_lib_m_asinf" >&5
7306 echo "${ECHO_T}$ac_cv_lib_m_asinf" >&6
7307 if test $ac_cv_lib_m_asinf = yes; then
7308
7309 cat >>confdefs.h <<\_ACEOF
7310 #define HAVE_ASINF 1
7311 _ACEOF
7312
7313 fi
7314
7315 echo "$as_me:$LINENO: checking for atan2f in -lm" >&5
7316 echo $ECHO_N "checking for atan2f in -lm... $ECHO_C" >&6
7317 if test "${ac_cv_lib_m_atan2f+set}" = set; then
7318   echo $ECHO_N "(cached) $ECHO_C" >&6
7319 else
7320   ac_check_lib_save_LIBS=$LIBS
7321 LIBS="-lm  $LIBS"
7322 if test x$gcc_no_link = xyes; then
7323   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
7324 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
7325    { (exit 1); exit 1; }; }
7326 fi
7327 cat >conftest.$ac_ext <<_ACEOF
7328 /* confdefs.h.  */
7329 _ACEOF
7330 cat confdefs.h >>conftest.$ac_ext
7331 cat >>conftest.$ac_ext <<_ACEOF
7332 /* end confdefs.h.  */
7333
7334 /* Override any gcc2 internal prototype to avoid an error.  */
7335 #ifdef __cplusplus
7336 extern "C"
7337 #endif
7338 /* We use char because int might match the return type of a gcc2
7339    builtin and then its argument prototype would still apply.  */
7340 char atan2f ();
7341 int
7342 main ()
7343 {
7344 atan2f ();
7345   ;
7346   return 0;
7347 }
7348 _ACEOF
7349 rm -f conftest.$ac_objext conftest$ac_exeext
7350 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7351   (eval $ac_link) 2>conftest.er1
7352   ac_status=$?
7353   grep -v '^ *+' conftest.er1 >conftest.err
7354   rm -f conftest.er1
7355   cat conftest.err >&5
7356   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7357   (exit $ac_status); } &&
7358          { ac_try='test -z "$ac_c_werror_flag"
7359                          || test ! -s conftest.err'
7360   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7361   (eval $ac_try) 2>&5
7362   ac_status=$?
7363   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7364   (exit $ac_status); }; } &&
7365          { ac_try='test -s conftest$ac_exeext'
7366   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7367   (eval $ac_try) 2>&5
7368   ac_status=$?
7369   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7370   (exit $ac_status); }; }; then
7371   ac_cv_lib_m_atan2f=yes
7372 else
7373   echo "$as_me: failed program was:" >&5
7374 sed 's/^/| /' conftest.$ac_ext >&5
7375
7376 ac_cv_lib_m_atan2f=no
7377 fi
7378 rm -f conftest.err conftest.$ac_objext \
7379       conftest$ac_exeext conftest.$ac_ext
7380 LIBS=$ac_check_lib_save_LIBS
7381 fi
7382 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atan2f" >&5
7383 echo "${ECHO_T}$ac_cv_lib_m_atan2f" >&6
7384 if test $ac_cv_lib_m_atan2f = yes; then
7385
7386 cat >>confdefs.h <<\_ACEOF
7387 #define HAVE_ATAN2F 1
7388 _ACEOF
7389
7390 fi
7391
7392 echo "$as_me:$LINENO: checking for atanf in -lm" >&5
7393 echo $ECHO_N "checking for atanf in -lm... $ECHO_C" >&6
7394 if test "${ac_cv_lib_m_atanf+set}" = set; then
7395   echo $ECHO_N "(cached) $ECHO_C" >&6
7396 else
7397   ac_check_lib_save_LIBS=$LIBS
7398 LIBS="-lm  $LIBS"
7399 if test x$gcc_no_link = xyes; then
7400   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
7401 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
7402    { (exit 1); exit 1; }; }
7403 fi
7404 cat >conftest.$ac_ext <<_ACEOF
7405 /* confdefs.h.  */
7406 _ACEOF
7407 cat confdefs.h >>conftest.$ac_ext
7408 cat >>conftest.$ac_ext <<_ACEOF
7409 /* end confdefs.h.  */
7410
7411 /* Override any gcc2 internal prototype to avoid an error.  */
7412 #ifdef __cplusplus
7413 extern "C"
7414 #endif
7415 /* We use char because int might match the return type of a gcc2
7416    builtin and then its argument prototype would still apply.  */
7417 char atanf ();
7418 int
7419 main ()
7420 {
7421 atanf ();
7422   ;
7423   return 0;
7424 }
7425 _ACEOF
7426 rm -f conftest.$ac_objext conftest$ac_exeext
7427 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7428   (eval $ac_link) 2>conftest.er1
7429   ac_status=$?
7430   grep -v '^ *+' conftest.er1 >conftest.err
7431   rm -f conftest.er1
7432   cat conftest.err >&5
7433   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7434   (exit $ac_status); } &&
7435          { ac_try='test -z "$ac_c_werror_flag"
7436                          || test ! -s conftest.err'
7437   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7438   (eval $ac_try) 2>&5
7439   ac_status=$?
7440   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7441   (exit $ac_status); }; } &&
7442          { ac_try='test -s conftest$ac_exeext'
7443   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7444   (eval $ac_try) 2>&5
7445   ac_status=$?
7446   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7447   (exit $ac_status); }; }; then
7448   ac_cv_lib_m_atanf=yes
7449 else
7450   echo "$as_me: failed program was:" >&5
7451 sed 's/^/| /' conftest.$ac_ext >&5
7452
7453 ac_cv_lib_m_atanf=no
7454 fi
7455 rm -f conftest.err conftest.$ac_objext \
7456       conftest$ac_exeext conftest.$ac_ext
7457 LIBS=$ac_check_lib_save_LIBS
7458 fi
7459 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atanf" >&5
7460 echo "${ECHO_T}$ac_cv_lib_m_atanf" >&6
7461 if test $ac_cv_lib_m_atanf = yes; then
7462
7463 cat >>confdefs.h <<\_ACEOF
7464 #define HAVE_ATANF 1
7465 _ACEOF
7466
7467 fi
7468
7469 echo "$as_me:$LINENO: checking for ceilf in -lm" >&5
7470 echo $ECHO_N "checking for ceilf in -lm... $ECHO_C" >&6
7471 if test "${ac_cv_lib_m_ceilf+set}" = set; then
7472   echo $ECHO_N "(cached) $ECHO_C" >&6
7473 else
7474   ac_check_lib_save_LIBS=$LIBS
7475 LIBS="-lm  $LIBS"
7476 if test x$gcc_no_link = xyes; then
7477   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
7478 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
7479    { (exit 1); exit 1; }; }
7480 fi
7481 cat >conftest.$ac_ext <<_ACEOF
7482 /* confdefs.h.  */
7483 _ACEOF
7484 cat confdefs.h >>conftest.$ac_ext
7485 cat >>conftest.$ac_ext <<_ACEOF
7486 /* end confdefs.h.  */
7487
7488 /* Override any gcc2 internal prototype to avoid an error.  */
7489 #ifdef __cplusplus
7490 extern "C"
7491 #endif
7492 /* We use char because int might match the return type of a gcc2
7493    builtin and then its argument prototype would still apply.  */
7494 char ceilf ();
7495 int
7496 main ()
7497 {
7498 ceilf ();
7499   ;
7500   return 0;
7501 }
7502 _ACEOF
7503 rm -f conftest.$ac_objext conftest$ac_exeext
7504 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7505   (eval $ac_link) 2>conftest.er1
7506   ac_status=$?
7507   grep -v '^ *+' conftest.er1 >conftest.err
7508   rm -f conftest.er1
7509   cat conftest.err >&5
7510   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7511   (exit $ac_status); } &&
7512          { ac_try='test -z "$ac_c_werror_flag"
7513                          || test ! -s conftest.err'
7514   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7515   (eval $ac_try) 2>&5
7516   ac_status=$?
7517   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7518   (exit $ac_status); }; } &&
7519          { ac_try='test -s conftest$ac_exeext'
7520   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7521   (eval $ac_try) 2>&5
7522   ac_status=$?
7523   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7524   (exit $ac_status); }; }; then
7525   ac_cv_lib_m_ceilf=yes
7526 else
7527   echo "$as_me: failed program was:" >&5
7528 sed 's/^/| /' conftest.$ac_ext >&5
7529
7530 ac_cv_lib_m_ceilf=no
7531 fi
7532 rm -f conftest.err conftest.$ac_objext \
7533       conftest$ac_exeext conftest.$ac_ext
7534 LIBS=$ac_check_lib_save_LIBS
7535 fi
7536 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ceilf" >&5
7537 echo "${ECHO_T}$ac_cv_lib_m_ceilf" >&6
7538 if test $ac_cv_lib_m_ceilf = yes; then
7539
7540 cat >>confdefs.h <<\_ACEOF
7541 #define HAVE_CEILF 1
7542 _ACEOF
7543
7544 fi
7545
7546 echo "$as_me:$LINENO: checking for copysignf in -lm" >&5
7547 echo $ECHO_N "checking for copysignf in -lm... $ECHO_C" >&6
7548 if test "${ac_cv_lib_m_copysignf+set}" = set; then
7549   echo $ECHO_N "(cached) $ECHO_C" >&6
7550 else
7551   ac_check_lib_save_LIBS=$LIBS
7552 LIBS="-lm  $LIBS"
7553 if test x$gcc_no_link = xyes; then
7554   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
7555 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
7556    { (exit 1); exit 1; }; }
7557 fi
7558 cat >conftest.$ac_ext <<_ACEOF
7559 /* confdefs.h.  */
7560 _ACEOF
7561 cat confdefs.h >>conftest.$ac_ext
7562 cat >>conftest.$ac_ext <<_ACEOF
7563 /* end confdefs.h.  */
7564
7565 /* Override any gcc2 internal prototype to avoid an error.  */
7566 #ifdef __cplusplus
7567 extern "C"
7568 #endif
7569 /* We use char because int might match the return type of a gcc2
7570    builtin and then its argument prototype would still apply.  */
7571 char copysignf ();
7572 int
7573 main ()
7574 {
7575 copysignf ();
7576   ;
7577   return 0;
7578 }
7579 _ACEOF
7580 rm -f conftest.$ac_objext conftest$ac_exeext
7581 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7582   (eval $ac_link) 2>conftest.er1
7583   ac_status=$?
7584   grep -v '^ *+' conftest.er1 >conftest.err
7585   rm -f conftest.er1
7586   cat conftest.err >&5
7587   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7588   (exit $ac_status); } &&
7589          { ac_try='test -z "$ac_c_werror_flag"
7590                          || test ! -s conftest.err'
7591   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7592   (eval $ac_try) 2>&5
7593   ac_status=$?
7594   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7595   (exit $ac_status); }; } &&
7596          { ac_try='test -s conftest$ac_exeext'
7597   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7598   (eval $ac_try) 2>&5
7599   ac_status=$?
7600   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7601   (exit $ac_status); }; }; then
7602   ac_cv_lib_m_copysignf=yes
7603 else
7604   echo "$as_me: failed program was:" >&5
7605 sed 's/^/| /' conftest.$ac_ext >&5
7606
7607 ac_cv_lib_m_copysignf=no
7608 fi
7609 rm -f conftest.err conftest.$ac_objext \
7610       conftest$ac_exeext conftest.$ac_ext
7611 LIBS=$ac_check_lib_save_LIBS
7612 fi
7613 echo "$as_me:$LINENO: result: $ac_cv_lib_m_copysignf" >&5
7614 echo "${ECHO_T}$ac_cv_lib_m_copysignf" >&6
7615 if test $ac_cv_lib_m_copysignf = yes; then
7616
7617 cat >>confdefs.h <<\_ACEOF
7618 #define HAVE_COPYSIGNF 1
7619 _ACEOF
7620
7621 fi
7622
7623 echo "$as_me:$LINENO: checking for cosf in -lm" >&5
7624 echo $ECHO_N "checking for cosf in -lm... $ECHO_C" >&6
7625 if test "${ac_cv_lib_m_cosf+set}" = set; then
7626   echo $ECHO_N "(cached) $ECHO_C" >&6
7627 else
7628   ac_check_lib_save_LIBS=$LIBS
7629 LIBS="-lm  $LIBS"
7630 if test x$gcc_no_link = xyes; then
7631   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
7632 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
7633    { (exit 1); exit 1; }; }
7634 fi
7635 cat >conftest.$ac_ext <<_ACEOF
7636 /* confdefs.h.  */
7637 _ACEOF
7638 cat confdefs.h >>conftest.$ac_ext
7639 cat >>conftest.$ac_ext <<_ACEOF
7640 /* end confdefs.h.  */
7641
7642 /* Override any gcc2 internal prototype to avoid an error.  */
7643 #ifdef __cplusplus
7644 extern "C"
7645 #endif
7646 /* We use char because int might match the return type of a gcc2
7647    builtin and then its argument prototype would still apply.  */
7648 char cosf ();
7649 int
7650 main ()
7651 {
7652 cosf ();
7653   ;
7654   return 0;
7655 }
7656 _ACEOF
7657 rm -f conftest.$ac_objext conftest$ac_exeext
7658 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7659   (eval $ac_link) 2>conftest.er1
7660   ac_status=$?
7661   grep -v '^ *+' conftest.er1 >conftest.err
7662   rm -f conftest.er1
7663   cat conftest.err >&5
7664   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7665   (exit $ac_status); } &&
7666          { ac_try='test -z "$ac_c_werror_flag"
7667                          || test ! -s conftest.err'
7668   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7669   (eval $ac_try) 2>&5
7670   ac_status=$?
7671   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7672   (exit $ac_status); }; } &&
7673          { ac_try='test -s conftest$ac_exeext'
7674   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7675   (eval $ac_try) 2>&5
7676   ac_status=$?
7677   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7678   (exit $ac_status); }; }; then
7679   ac_cv_lib_m_cosf=yes
7680 else
7681   echo "$as_me: failed program was:" >&5
7682 sed 's/^/| /' conftest.$ac_ext >&5
7683
7684 ac_cv_lib_m_cosf=no
7685 fi
7686 rm -f conftest.err conftest.$ac_objext \
7687       conftest$ac_exeext conftest.$ac_ext
7688 LIBS=$ac_check_lib_save_LIBS
7689 fi
7690 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cosf" >&5
7691 echo "${ECHO_T}$ac_cv_lib_m_cosf" >&6
7692 if test $ac_cv_lib_m_cosf = yes; then
7693
7694 cat >>confdefs.h <<\_ACEOF
7695 #define HAVE_COSF 1
7696 _ACEOF
7697
7698 fi
7699
7700 echo "$as_me:$LINENO: checking for coshf in -lm" >&5
7701 echo $ECHO_N "checking for coshf in -lm... $ECHO_C" >&6
7702 if test "${ac_cv_lib_m_coshf+set}" = set; then
7703   echo $ECHO_N "(cached) $ECHO_C" >&6
7704 else
7705   ac_check_lib_save_LIBS=$LIBS
7706 LIBS="-lm  $LIBS"
7707 if test x$gcc_no_link = xyes; then
7708   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
7709 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
7710    { (exit 1); exit 1; }; }
7711 fi
7712 cat >conftest.$ac_ext <<_ACEOF
7713 /* confdefs.h.  */
7714 _ACEOF
7715 cat confdefs.h >>conftest.$ac_ext
7716 cat >>conftest.$ac_ext <<_ACEOF
7717 /* end confdefs.h.  */
7718
7719 /* Override any gcc2 internal prototype to avoid an error.  */
7720 #ifdef __cplusplus
7721 extern "C"
7722 #endif
7723 /* We use char because int might match the return type of a gcc2
7724    builtin and then its argument prototype would still apply.  */
7725 char coshf ();
7726 int
7727 main ()
7728 {
7729 coshf ();
7730   ;
7731   return 0;
7732 }
7733 _ACEOF
7734 rm -f conftest.$ac_objext conftest$ac_exeext
7735 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7736   (eval $ac_link) 2>conftest.er1
7737   ac_status=$?
7738   grep -v '^ *+' conftest.er1 >conftest.err
7739   rm -f conftest.er1
7740   cat conftest.err >&5
7741   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7742   (exit $ac_status); } &&
7743          { ac_try='test -z "$ac_c_werror_flag"
7744                          || test ! -s conftest.err'
7745   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7746   (eval $ac_try) 2>&5
7747   ac_status=$?
7748   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7749   (exit $ac_status); }; } &&
7750          { ac_try='test -s conftest$ac_exeext'
7751   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7752   (eval $ac_try) 2>&5
7753   ac_status=$?
7754   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7755   (exit $ac_status); }; }; then
7756   ac_cv_lib_m_coshf=yes
7757 else
7758   echo "$as_me: failed program was:" >&5
7759 sed 's/^/| /' conftest.$ac_ext >&5
7760
7761 ac_cv_lib_m_coshf=no
7762 fi
7763 rm -f conftest.err conftest.$ac_objext \
7764       conftest$ac_exeext conftest.$ac_ext
7765 LIBS=$ac_check_lib_save_LIBS
7766 fi
7767 echo "$as_me:$LINENO: result: $ac_cv_lib_m_coshf" >&5
7768 echo "${ECHO_T}$ac_cv_lib_m_coshf" >&6
7769 if test $ac_cv_lib_m_coshf = yes; then
7770
7771 cat >>confdefs.h <<\_ACEOF
7772 #define HAVE_COSHF 1
7773 _ACEOF
7774
7775 fi
7776
7777 echo "$as_me:$LINENO: checking for expf in -lm" >&5
7778 echo $ECHO_N "checking for expf in -lm... $ECHO_C" >&6
7779 if test "${ac_cv_lib_m_expf+set}" = set; then
7780   echo $ECHO_N "(cached) $ECHO_C" >&6
7781 else
7782   ac_check_lib_save_LIBS=$LIBS
7783 LIBS="-lm  $LIBS"
7784 if test x$gcc_no_link = xyes; then
7785   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
7786 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
7787    { (exit 1); exit 1; }; }
7788 fi
7789 cat >conftest.$ac_ext <<_ACEOF
7790 /* confdefs.h.  */
7791 _ACEOF
7792 cat confdefs.h >>conftest.$ac_ext
7793 cat >>conftest.$ac_ext <<_ACEOF
7794 /* end confdefs.h.  */
7795
7796 /* Override any gcc2 internal prototype to avoid an error.  */
7797 #ifdef __cplusplus
7798 extern "C"
7799 #endif
7800 /* We use char because int might match the return type of a gcc2
7801    builtin and then its argument prototype would still apply.  */
7802 char expf ();
7803 int
7804 main ()
7805 {
7806 expf ();
7807   ;
7808   return 0;
7809 }
7810 _ACEOF
7811 rm -f conftest.$ac_objext conftest$ac_exeext
7812 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7813   (eval $ac_link) 2>conftest.er1
7814   ac_status=$?
7815   grep -v '^ *+' conftest.er1 >conftest.err
7816   rm -f conftest.er1
7817   cat conftest.err >&5
7818   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7819   (exit $ac_status); } &&
7820          { ac_try='test -z "$ac_c_werror_flag"
7821                          || test ! -s conftest.err'
7822   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7823   (eval $ac_try) 2>&5
7824   ac_status=$?
7825   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7826   (exit $ac_status); }; } &&
7827          { ac_try='test -s conftest$ac_exeext'
7828   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7829   (eval $ac_try) 2>&5
7830   ac_status=$?
7831   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7832   (exit $ac_status); }; }; then
7833   ac_cv_lib_m_expf=yes
7834 else
7835   echo "$as_me: failed program was:" >&5
7836 sed 's/^/| /' conftest.$ac_ext >&5
7837
7838 ac_cv_lib_m_expf=no
7839 fi
7840 rm -f conftest.err conftest.$ac_objext \
7841       conftest$ac_exeext conftest.$ac_ext
7842 LIBS=$ac_check_lib_save_LIBS
7843 fi
7844 echo "$as_me:$LINENO: result: $ac_cv_lib_m_expf" >&5
7845 echo "${ECHO_T}$ac_cv_lib_m_expf" >&6
7846 if test $ac_cv_lib_m_expf = yes; then
7847
7848 cat >>confdefs.h <<\_ACEOF
7849 #define HAVE_EXPF 1
7850 _ACEOF
7851
7852 fi
7853
7854 echo "$as_me:$LINENO: checking for floorf in -lm" >&5
7855 echo $ECHO_N "checking for floorf in -lm... $ECHO_C" >&6
7856 if test "${ac_cv_lib_m_floorf+set}" = set; then
7857   echo $ECHO_N "(cached) $ECHO_C" >&6
7858 else
7859   ac_check_lib_save_LIBS=$LIBS
7860 LIBS="-lm  $LIBS"
7861 if test x$gcc_no_link = xyes; then
7862   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
7863 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
7864    { (exit 1); exit 1; }; }
7865 fi
7866 cat >conftest.$ac_ext <<_ACEOF
7867 /* confdefs.h.  */
7868 _ACEOF
7869 cat confdefs.h >>conftest.$ac_ext
7870 cat >>conftest.$ac_ext <<_ACEOF
7871 /* end confdefs.h.  */
7872
7873 /* Override any gcc2 internal prototype to avoid an error.  */
7874 #ifdef __cplusplus
7875 extern "C"
7876 #endif
7877 /* We use char because int might match the return type of a gcc2
7878    builtin and then its argument prototype would still apply.  */
7879 char floorf ();
7880 int
7881 main ()
7882 {
7883 floorf ();
7884   ;
7885   return 0;
7886 }
7887 _ACEOF
7888 rm -f conftest.$ac_objext conftest$ac_exeext
7889 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7890   (eval $ac_link) 2>conftest.er1
7891   ac_status=$?
7892   grep -v '^ *+' conftest.er1 >conftest.err
7893   rm -f conftest.er1
7894   cat conftest.err >&5
7895   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7896   (exit $ac_status); } &&
7897          { ac_try='test -z "$ac_c_werror_flag"
7898                          || test ! -s conftest.err'
7899   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7900   (eval $ac_try) 2>&5
7901   ac_status=$?
7902   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7903   (exit $ac_status); }; } &&
7904          { ac_try='test -s conftest$ac_exeext'
7905   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7906   (eval $ac_try) 2>&5
7907   ac_status=$?
7908   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7909   (exit $ac_status); }; }; then
7910   ac_cv_lib_m_floorf=yes
7911 else
7912   echo "$as_me: failed program was:" >&5
7913 sed 's/^/| /' conftest.$ac_ext >&5
7914
7915 ac_cv_lib_m_floorf=no
7916 fi
7917 rm -f conftest.err conftest.$ac_objext \
7918       conftest$ac_exeext conftest.$ac_ext
7919 LIBS=$ac_check_lib_save_LIBS
7920 fi
7921 echo "$as_me:$LINENO: result: $ac_cv_lib_m_floorf" >&5
7922 echo "${ECHO_T}$ac_cv_lib_m_floorf" >&6
7923 if test $ac_cv_lib_m_floorf = yes; then
7924
7925 cat >>confdefs.h <<\_ACEOF
7926 #define HAVE_FLOORF 1
7927 _ACEOF
7928
7929 fi
7930
7931 echo "$as_me:$LINENO: checking for frexpf in -lm" >&5
7932 echo $ECHO_N "checking for frexpf in -lm... $ECHO_C" >&6
7933 if test "${ac_cv_lib_m_frexpf+set}" = set; then
7934   echo $ECHO_N "(cached) $ECHO_C" >&6
7935 else
7936   ac_check_lib_save_LIBS=$LIBS
7937 LIBS="-lm  $LIBS"
7938 if test x$gcc_no_link = xyes; then
7939   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
7940 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
7941    { (exit 1); exit 1; }; }
7942 fi
7943 cat >conftest.$ac_ext <<_ACEOF
7944 /* confdefs.h.  */
7945 _ACEOF
7946 cat confdefs.h >>conftest.$ac_ext
7947 cat >>conftest.$ac_ext <<_ACEOF
7948 /* end confdefs.h.  */
7949
7950 /* Override any gcc2 internal prototype to avoid an error.  */
7951 #ifdef __cplusplus
7952 extern "C"
7953 #endif
7954 /* We use char because int might match the return type of a gcc2
7955    builtin and then its argument prototype would still apply.  */
7956 char frexpf ();
7957 int
7958 main ()
7959 {
7960 frexpf ();
7961   ;
7962   return 0;
7963 }
7964 _ACEOF
7965 rm -f conftest.$ac_objext conftest$ac_exeext
7966 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7967   (eval $ac_link) 2>conftest.er1
7968   ac_status=$?
7969   grep -v '^ *+' conftest.er1 >conftest.err
7970   rm -f conftest.er1
7971   cat conftest.err >&5
7972   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7973   (exit $ac_status); } &&
7974          { ac_try='test -z "$ac_c_werror_flag"
7975                          || test ! -s conftest.err'
7976   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7977   (eval $ac_try) 2>&5
7978   ac_status=$?
7979   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7980   (exit $ac_status); }; } &&
7981          { ac_try='test -s conftest$ac_exeext'
7982   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7983   (eval $ac_try) 2>&5
7984   ac_status=$?
7985   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7986   (exit $ac_status); }; }; then
7987   ac_cv_lib_m_frexpf=yes
7988 else
7989   echo "$as_me: failed program was:" >&5
7990 sed 's/^/| /' conftest.$ac_ext >&5
7991
7992 ac_cv_lib_m_frexpf=no
7993 fi
7994 rm -f conftest.err conftest.$ac_objext \
7995       conftest$ac_exeext conftest.$ac_ext
7996 LIBS=$ac_check_lib_save_LIBS
7997 fi
7998 echo "$as_me:$LINENO: result: $ac_cv_lib_m_frexpf" >&5
7999 echo "${ECHO_T}$ac_cv_lib_m_frexpf" >&6
8000 if test $ac_cv_lib_m_frexpf = yes; then
8001
8002 cat >>confdefs.h <<\_ACEOF
8003 #define HAVE_FREXPF 1
8004 _ACEOF
8005
8006 fi
8007
8008 echo "$as_me:$LINENO: checking for hypotf in -lm" >&5
8009 echo $ECHO_N "checking for hypotf in -lm... $ECHO_C" >&6
8010 if test "${ac_cv_lib_m_hypotf+set}" = set; then
8011   echo $ECHO_N "(cached) $ECHO_C" >&6
8012 else
8013   ac_check_lib_save_LIBS=$LIBS
8014 LIBS="-lm  $LIBS"
8015 if test x$gcc_no_link = xyes; then
8016   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8017 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8018    { (exit 1); exit 1; }; }
8019 fi
8020 cat >conftest.$ac_ext <<_ACEOF
8021 /* confdefs.h.  */
8022 _ACEOF
8023 cat confdefs.h >>conftest.$ac_ext
8024 cat >>conftest.$ac_ext <<_ACEOF
8025 /* end confdefs.h.  */
8026
8027 /* Override any gcc2 internal prototype to avoid an error.  */
8028 #ifdef __cplusplus
8029 extern "C"
8030 #endif
8031 /* We use char because int might match the return type of a gcc2
8032    builtin and then its argument prototype would still apply.  */
8033 char hypotf ();
8034 int
8035 main ()
8036 {
8037 hypotf ();
8038   ;
8039   return 0;
8040 }
8041 _ACEOF
8042 rm -f conftest.$ac_objext conftest$ac_exeext
8043 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8044   (eval $ac_link) 2>conftest.er1
8045   ac_status=$?
8046   grep -v '^ *+' conftest.er1 >conftest.err
8047   rm -f conftest.er1
8048   cat conftest.err >&5
8049   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8050   (exit $ac_status); } &&
8051          { ac_try='test -z "$ac_c_werror_flag"
8052                          || test ! -s conftest.err'
8053   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8054   (eval $ac_try) 2>&5
8055   ac_status=$?
8056   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8057   (exit $ac_status); }; } &&
8058          { ac_try='test -s conftest$ac_exeext'
8059   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8060   (eval $ac_try) 2>&5
8061   ac_status=$?
8062   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8063   (exit $ac_status); }; }; then
8064   ac_cv_lib_m_hypotf=yes
8065 else
8066   echo "$as_me: failed program was:" >&5
8067 sed 's/^/| /' conftest.$ac_ext >&5
8068
8069 ac_cv_lib_m_hypotf=no
8070 fi
8071 rm -f conftest.err conftest.$ac_objext \
8072       conftest$ac_exeext conftest.$ac_ext
8073 LIBS=$ac_check_lib_save_LIBS
8074 fi
8075 echo "$as_me:$LINENO: result: $ac_cv_lib_m_hypotf" >&5
8076 echo "${ECHO_T}$ac_cv_lib_m_hypotf" >&6
8077 if test $ac_cv_lib_m_hypotf = yes; then
8078
8079 cat >>confdefs.h <<\_ACEOF
8080 #define HAVE_HYPOTF 1
8081 _ACEOF
8082
8083 fi
8084
8085 echo "$as_me:$LINENO: checking for logf in -lm" >&5
8086 echo $ECHO_N "checking for logf in -lm... $ECHO_C" >&6
8087 if test "${ac_cv_lib_m_logf+set}" = set; then
8088   echo $ECHO_N "(cached) $ECHO_C" >&6
8089 else
8090   ac_check_lib_save_LIBS=$LIBS
8091 LIBS="-lm  $LIBS"
8092 if test x$gcc_no_link = xyes; then
8093   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8094 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8095    { (exit 1); exit 1; }; }
8096 fi
8097 cat >conftest.$ac_ext <<_ACEOF
8098 /* confdefs.h.  */
8099 _ACEOF
8100 cat confdefs.h >>conftest.$ac_ext
8101 cat >>conftest.$ac_ext <<_ACEOF
8102 /* end confdefs.h.  */
8103
8104 /* Override any gcc2 internal prototype to avoid an error.  */
8105 #ifdef __cplusplus
8106 extern "C"
8107 #endif
8108 /* We use char because int might match the return type of a gcc2
8109    builtin and then its argument prototype would still apply.  */
8110 char logf ();
8111 int
8112 main ()
8113 {
8114 logf ();
8115   ;
8116   return 0;
8117 }
8118 _ACEOF
8119 rm -f conftest.$ac_objext conftest$ac_exeext
8120 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8121   (eval $ac_link) 2>conftest.er1
8122   ac_status=$?
8123   grep -v '^ *+' conftest.er1 >conftest.err
8124   rm -f conftest.er1
8125   cat conftest.err >&5
8126   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8127   (exit $ac_status); } &&
8128          { ac_try='test -z "$ac_c_werror_flag"
8129                          || test ! -s conftest.err'
8130   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8131   (eval $ac_try) 2>&5
8132   ac_status=$?
8133   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8134   (exit $ac_status); }; } &&
8135          { ac_try='test -s conftest$ac_exeext'
8136   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8137   (eval $ac_try) 2>&5
8138   ac_status=$?
8139   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8140   (exit $ac_status); }; }; then
8141   ac_cv_lib_m_logf=yes
8142 else
8143   echo "$as_me: failed program was:" >&5
8144 sed 's/^/| /' conftest.$ac_ext >&5
8145
8146 ac_cv_lib_m_logf=no
8147 fi
8148 rm -f conftest.err conftest.$ac_objext \
8149       conftest$ac_exeext conftest.$ac_ext
8150 LIBS=$ac_check_lib_save_LIBS
8151 fi
8152 echo "$as_me:$LINENO: result: $ac_cv_lib_m_logf" >&5
8153 echo "${ECHO_T}$ac_cv_lib_m_logf" >&6
8154 if test $ac_cv_lib_m_logf = yes; then
8155
8156 cat >>confdefs.h <<\_ACEOF
8157 #define HAVE_LOGF 1
8158 _ACEOF
8159
8160 fi
8161
8162 echo "$as_me:$LINENO: checking for log10f in -lm" >&5
8163 echo $ECHO_N "checking for log10f in -lm... $ECHO_C" >&6
8164 if test "${ac_cv_lib_m_log10f+set}" = set; then
8165   echo $ECHO_N "(cached) $ECHO_C" >&6
8166 else
8167   ac_check_lib_save_LIBS=$LIBS
8168 LIBS="-lm  $LIBS"
8169 if test x$gcc_no_link = xyes; then
8170   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8171 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8172    { (exit 1); exit 1; }; }
8173 fi
8174 cat >conftest.$ac_ext <<_ACEOF
8175 /* confdefs.h.  */
8176 _ACEOF
8177 cat confdefs.h >>conftest.$ac_ext
8178 cat >>conftest.$ac_ext <<_ACEOF
8179 /* end confdefs.h.  */
8180
8181 /* Override any gcc2 internal prototype to avoid an error.  */
8182 #ifdef __cplusplus
8183 extern "C"
8184 #endif
8185 /* We use char because int might match the return type of a gcc2
8186    builtin and then its argument prototype would still apply.  */
8187 char log10f ();
8188 int
8189 main ()
8190 {
8191 log10f ();
8192   ;
8193   return 0;
8194 }
8195 _ACEOF
8196 rm -f conftest.$ac_objext conftest$ac_exeext
8197 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8198   (eval $ac_link) 2>conftest.er1
8199   ac_status=$?
8200   grep -v '^ *+' conftest.er1 >conftest.err
8201   rm -f conftest.er1
8202   cat conftest.err >&5
8203   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8204   (exit $ac_status); } &&
8205          { ac_try='test -z "$ac_c_werror_flag"
8206                          || test ! -s conftest.err'
8207   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8208   (eval $ac_try) 2>&5
8209   ac_status=$?
8210   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8211   (exit $ac_status); }; } &&
8212          { ac_try='test -s conftest$ac_exeext'
8213   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8214   (eval $ac_try) 2>&5
8215   ac_status=$?
8216   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8217   (exit $ac_status); }; }; then
8218   ac_cv_lib_m_log10f=yes
8219 else
8220   echo "$as_me: failed program was:" >&5
8221 sed 's/^/| /' conftest.$ac_ext >&5
8222
8223 ac_cv_lib_m_log10f=no
8224 fi
8225 rm -f conftest.err conftest.$ac_objext \
8226       conftest$ac_exeext conftest.$ac_ext
8227 LIBS=$ac_check_lib_save_LIBS
8228 fi
8229 echo "$as_me:$LINENO: result: $ac_cv_lib_m_log10f" >&5
8230 echo "${ECHO_T}$ac_cv_lib_m_log10f" >&6
8231 if test $ac_cv_lib_m_log10f = yes; then
8232
8233 cat >>confdefs.h <<\_ACEOF
8234 #define HAVE_LOG10F 1
8235 _ACEOF
8236
8237 fi
8238
8239 echo "$as_me:$LINENO: checking for nextafter in -lm" >&5
8240 echo $ECHO_N "checking for nextafter in -lm... $ECHO_C" >&6
8241 if test "${ac_cv_lib_m_nextafter+set}" = set; then
8242   echo $ECHO_N "(cached) $ECHO_C" >&6
8243 else
8244   ac_check_lib_save_LIBS=$LIBS
8245 LIBS="-lm  $LIBS"
8246 if test x$gcc_no_link = xyes; then
8247   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8248 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8249    { (exit 1); exit 1; }; }
8250 fi
8251 cat >conftest.$ac_ext <<_ACEOF
8252 /* confdefs.h.  */
8253 _ACEOF
8254 cat confdefs.h >>conftest.$ac_ext
8255 cat >>conftest.$ac_ext <<_ACEOF
8256 /* end confdefs.h.  */
8257
8258 /* Override any gcc2 internal prototype to avoid an error.  */
8259 #ifdef __cplusplus
8260 extern "C"
8261 #endif
8262 /* We use char because int might match the return type of a gcc2
8263    builtin and then its argument prototype would still apply.  */
8264 char nextafter ();
8265 int
8266 main ()
8267 {
8268 nextafter ();
8269   ;
8270   return 0;
8271 }
8272 _ACEOF
8273 rm -f conftest.$ac_objext conftest$ac_exeext
8274 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8275   (eval $ac_link) 2>conftest.er1
8276   ac_status=$?
8277   grep -v '^ *+' conftest.er1 >conftest.err
8278   rm -f conftest.er1
8279   cat conftest.err >&5
8280   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8281   (exit $ac_status); } &&
8282          { ac_try='test -z "$ac_c_werror_flag"
8283                          || test ! -s conftest.err'
8284   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8285   (eval $ac_try) 2>&5
8286   ac_status=$?
8287   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8288   (exit $ac_status); }; } &&
8289          { ac_try='test -s conftest$ac_exeext'
8290   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8291   (eval $ac_try) 2>&5
8292   ac_status=$?
8293   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8294   (exit $ac_status); }; }; then
8295   ac_cv_lib_m_nextafter=yes
8296 else
8297   echo "$as_me: failed program was:" >&5
8298 sed 's/^/| /' conftest.$ac_ext >&5
8299
8300 ac_cv_lib_m_nextafter=no
8301 fi
8302 rm -f conftest.err conftest.$ac_objext \
8303       conftest$ac_exeext conftest.$ac_ext
8304 LIBS=$ac_check_lib_save_LIBS
8305 fi
8306 echo "$as_me:$LINENO: result: $ac_cv_lib_m_nextafter" >&5
8307 echo "${ECHO_T}$ac_cv_lib_m_nextafter" >&6
8308 if test $ac_cv_lib_m_nextafter = yes; then
8309
8310 cat >>confdefs.h <<\_ACEOF
8311 #define HAVE_NEXTAFTER 1
8312 _ACEOF
8313
8314 fi
8315
8316 echo "$as_me:$LINENO: checking for nextafterf in -lm" >&5
8317 echo $ECHO_N "checking for nextafterf in -lm... $ECHO_C" >&6
8318 if test "${ac_cv_lib_m_nextafterf+set}" = set; then
8319   echo $ECHO_N "(cached) $ECHO_C" >&6
8320 else
8321   ac_check_lib_save_LIBS=$LIBS
8322 LIBS="-lm  $LIBS"
8323 if test x$gcc_no_link = xyes; then
8324   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8325 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8326    { (exit 1); exit 1; }; }
8327 fi
8328 cat >conftest.$ac_ext <<_ACEOF
8329 /* confdefs.h.  */
8330 _ACEOF
8331 cat confdefs.h >>conftest.$ac_ext
8332 cat >>conftest.$ac_ext <<_ACEOF
8333 /* end confdefs.h.  */
8334
8335 /* Override any gcc2 internal prototype to avoid an error.  */
8336 #ifdef __cplusplus
8337 extern "C"
8338 #endif
8339 /* We use char because int might match the return type of a gcc2
8340    builtin and then its argument prototype would still apply.  */
8341 char nextafterf ();
8342 int
8343 main ()
8344 {
8345 nextafterf ();
8346   ;
8347   return 0;
8348 }
8349 _ACEOF
8350 rm -f conftest.$ac_objext conftest$ac_exeext
8351 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8352   (eval $ac_link) 2>conftest.er1
8353   ac_status=$?
8354   grep -v '^ *+' conftest.er1 >conftest.err
8355   rm -f conftest.er1
8356   cat conftest.err >&5
8357   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8358   (exit $ac_status); } &&
8359          { ac_try='test -z "$ac_c_werror_flag"
8360                          || test ! -s conftest.err'
8361   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8362   (eval $ac_try) 2>&5
8363   ac_status=$?
8364   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8365   (exit $ac_status); }; } &&
8366          { ac_try='test -s conftest$ac_exeext'
8367   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8368   (eval $ac_try) 2>&5
8369   ac_status=$?
8370   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8371   (exit $ac_status); }; }; then
8372   ac_cv_lib_m_nextafterf=yes
8373 else
8374   echo "$as_me: failed program was:" >&5
8375 sed 's/^/| /' conftest.$ac_ext >&5
8376
8377 ac_cv_lib_m_nextafterf=no
8378 fi
8379 rm -f conftest.err conftest.$ac_objext \
8380       conftest$ac_exeext conftest.$ac_ext
8381 LIBS=$ac_check_lib_save_LIBS
8382 fi
8383 echo "$as_me:$LINENO: result: $ac_cv_lib_m_nextafterf" >&5
8384 echo "${ECHO_T}$ac_cv_lib_m_nextafterf" >&6
8385 if test $ac_cv_lib_m_nextafterf = yes; then
8386
8387 cat >>confdefs.h <<\_ACEOF
8388 #define HAVE_NEXTAFTERF 1
8389 _ACEOF
8390
8391 fi
8392
8393 echo "$as_me:$LINENO: checking for powf in -lm" >&5
8394 echo $ECHO_N "checking for powf in -lm... $ECHO_C" >&6
8395 if test "${ac_cv_lib_m_powf+set}" = set; then
8396   echo $ECHO_N "(cached) $ECHO_C" >&6
8397 else
8398   ac_check_lib_save_LIBS=$LIBS
8399 LIBS="-lm  $LIBS"
8400 if test x$gcc_no_link = xyes; then
8401   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8402 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8403    { (exit 1); exit 1; }; }
8404 fi
8405 cat >conftest.$ac_ext <<_ACEOF
8406 /* confdefs.h.  */
8407 _ACEOF
8408 cat confdefs.h >>conftest.$ac_ext
8409 cat >>conftest.$ac_ext <<_ACEOF
8410 /* end confdefs.h.  */
8411
8412 /* Override any gcc2 internal prototype to avoid an error.  */
8413 #ifdef __cplusplus
8414 extern "C"
8415 #endif
8416 /* We use char because int might match the return type of a gcc2
8417    builtin and then its argument prototype would still apply.  */
8418 char powf ();
8419 int
8420 main ()
8421 {
8422 powf ();
8423   ;
8424   return 0;
8425 }
8426 _ACEOF
8427 rm -f conftest.$ac_objext conftest$ac_exeext
8428 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8429   (eval $ac_link) 2>conftest.er1
8430   ac_status=$?
8431   grep -v '^ *+' conftest.er1 >conftest.err
8432   rm -f conftest.er1
8433   cat conftest.err >&5
8434   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8435   (exit $ac_status); } &&
8436          { ac_try='test -z "$ac_c_werror_flag"
8437                          || test ! -s conftest.err'
8438   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8439   (eval $ac_try) 2>&5
8440   ac_status=$?
8441   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8442   (exit $ac_status); }; } &&
8443          { ac_try='test -s conftest$ac_exeext'
8444   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8445   (eval $ac_try) 2>&5
8446   ac_status=$?
8447   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8448   (exit $ac_status); }; }; then
8449   ac_cv_lib_m_powf=yes
8450 else
8451   echo "$as_me: failed program was:" >&5
8452 sed 's/^/| /' conftest.$ac_ext >&5
8453
8454 ac_cv_lib_m_powf=no
8455 fi
8456 rm -f conftest.err conftest.$ac_objext \
8457       conftest$ac_exeext conftest.$ac_ext
8458 LIBS=$ac_check_lib_save_LIBS
8459 fi
8460 echo "$as_me:$LINENO: result: $ac_cv_lib_m_powf" >&5
8461 echo "${ECHO_T}$ac_cv_lib_m_powf" >&6
8462 if test $ac_cv_lib_m_powf = yes; then
8463
8464 cat >>confdefs.h <<\_ACEOF
8465 #define HAVE_POWF 1
8466 _ACEOF
8467
8468 fi
8469
8470 echo "$as_me:$LINENO: checking for round in -lm" >&5
8471 echo $ECHO_N "checking for round in -lm... $ECHO_C" >&6
8472 if test "${ac_cv_lib_m_round+set}" = set; then
8473   echo $ECHO_N "(cached) $ECHO_C" >&6
8474 else
8475   ac_check_lib_save_LIBS=$LIBS
8476 LIBS="-lm  $LIBS"
8477 if test x$gcc_no_link = xyes; then
8478   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8479 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8480    { (exit 1); exit 1; }; }
8481 fi
8482 cat >conftest.$ac_ext <<_ACEOF
8483 /* confdefs.h.  */
8484 _ACEOF
8485 cat confdefs.h >>conftest.$ac_ext
8486 cat >>conftest.$ac_ext <<_ACEOF
8487 /* end confdefs.h.  */
8488
8489 /* Override any gcc2 internal prototype to avoid an error.  */
8490 #ifdef __cplusplus
8491 extern "C"
8492 #endif
8493 /* We use char because int might match the return type of a gcc2
8494    builtin and then its argument prototype would still apply.  */
8495 char round ();
8496 int
8497 main ()
8498 {
8499 round ();
8500   ;
8501   return 0;
8502 }
8503 _ACEOF
8504 rm -f conftest.$ac_objext conftest$ac_exeext
8505 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8506   (eval $ac_link) 2>conftest.er1
8507   ac_status=$?
8508   grep -v '^ *+' conftest.er1 >conftest.err
8509   rm -f conftest.er1
8510   cat conftest.err >&5
8511   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8512   (exit $ac_status); } &&
8513          { ac_try='test -z "$ac_c_werror_flag"
8514                          || test ! -s conftest.err'
8515   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8516   (eval $ac_try) 2>&5
8517   ac_status=$?
8518   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8519   (exit $ac_status); }; } &&
8520          { ac_try='test -s conftest$ac_exeext'
8521   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8522   (eval $ac_try) 2>&5
8523   ac_status=$?
8524   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8525   (exit $ac_status); }; }; then
8526   ac_cv_lib_m_round=yes
8527 else
8528   echo "$as_me: failed program was:" >&5
8529 sed 's/^/| /' conftest.$ac_ext >&5
8530
8531 ac_cv_lib_m_round=no
8532 fi
8533 rm -f conftest.err conftest.$ac_objext \
8534       conftest$ac_exeext conftest.$ac_ext
8535 LIBS=$ac_check_lib_save_LIBS
8536 fi
8537 echo "$as_me:$LINENO: result: $ac_cv_lib_m_round" >&5
8538 echo "${ECHO_T}$ac_cv_lib_m_round" >&6
8539 if test $ac_cv_lib_m_round = yes; then
8540
8541 cat >>confdefs.h <<\_ACEOF
8542 #define HAVE_ROUND 1
8543 _ACEOF
8544
8545 fi
8546
8547 echo "$as_me:$LINENO: checking for roundf in -lm" >&5
8548 echo $ECHO_N "checking for roundf in -lm... $ECHO_C" >&6
8549 if test "${ac_cv_lib_m_roundf+set}" = set; then
8550   echo $ECHO_N "(cached) $ECHO_C" >&6
8551 else
8552   ac_check_lib_save_LIBS=$LIBS
8553 LIBS="-lm  $LIBS"
8554 if test x$gcc_no_link = xyes; then
8555   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8556 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8557    { (exit 1); exit 1; }; }
8558 fi
8559 cat >conftest.$ac_ext <<_ACEOF
8560 /* confdefs.h.  */
8561 _ACEOF
8562 cat confdefs.h >>conftest.$ac_ext
8563 cat >>conftest.$ac_ext <<_ACEOF
8564 /* end confdefs.h.  */
8565
8566 /* Override any gcc2 internal prototype to avoid an error.  */
8567 #ifdef __cplusplus
8568 extern "C"
8569 #endif
8570 /* We use char because int might match the return type of a gcc2
8571    builtin and then its argument prototype would still apply.  */
8572 char roundf ();
8573 int
8574 main ()
8575 {
8576 roundf ();
8577   ;
8578   return 0;
8579 }
8580 _ACEOF
8581 rm -f conftest.$ac_objext conftest$ac_exeext
8582 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8583   (eval $ac_link) 2>conftest.er1
8584   ac_status=$?
8585   grep -v '^ *+' conftest.er1 >conftest.err
8586   rm -f conftest.er1
8587   cat conftest.err >&5
8588   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8589   (exit $ac_status); } &&
8590          { ac_try='test -z "$ac_c_werror_flag"
8591                          || test ! -s conftest.err'
8592   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8593   (eval $ac_try) 2>&5
8594   ac_status=$?
8595   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8596   (exit $ac_status); }; } &&
8597          { ac_try='test -s conftest$ac_exeext'
8598   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8599   (eval $ac_try) 2>&5
8600   ac_status=$?
8601   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8602   (exit $ac_status); }; }; then
8603   ac_cv_lib_m_roundf=yes
8604 else
8605   echo "$as_me: failed program was:" >&5
8606 sed 's/^/| /' conftest.$ac_ext >&5
8607
8608 ac_cv_lib_m_roundf=no
8609 fi
8610 rm -f conftest.err conftest.$ac_objext \
8611       conftest$ac_exeext conftest.$ac_ext
8612 LIBS=$ac_check_lib_save_LIBS
8613 fi
8614 echo "$as_me:$LINENO: result: $ac_cv_lib_m_roundf" >&5
8615 echo "${ECHO_T}$ac_cv_lib_m_roundf" >&6
8616 if test $ac_cv_lib_m_roundf = yes; then
8617
8618 cat >>confdefs.h <<\_ACEOF
8619 #define HAVE_ROUNDF 1
8620 _ACEOF
8621
8622 fi
8623
8624 echo "$as_me:$LINENO: checking for scalbnf in -lm" >&5
8625 echo $ECHO_N "checking for scalbnf in -lm... $ECHO_C" >&6
8626 if test "${ac_cv_lib_m_scalbnf+set}" = set; then
8627   echo $ECHO_N "(cached) $ECHO_C" >&6
8628 else
8629   ac_check_lib_save_LIBS=$LIBS
8630 LIBS="-lm  $LIBS"
8631 if test x$gcc_no_link = xyes; then
8632   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8633 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8634    { (exit 1); exit 1; }; }
8635 fi
8636 cat >conftest.$ac_ext <<_ACEOF
8637 /* confdefs.h.  */
8638 _ACEOF
8639 cat confdefs.h >>conftest.$ac_ext
8640 cat >>conftest.$ac_ext <<_ACEOF
8641 /* end confdefs.h.  */
8642
8643 /* Override any gcc2 internal prototype to avoid an error.  */
8644 #ifdef __cplusplus
8645 extern "C"
8646 #endif
8647 /* We use char because int might match the return type of a gcc2
8648    builtin and then its argument prototype would still apply.  */
8649 char scalbnf ();
8650 int
8651 main ()
8652 {
8653 scalbnf ();
8654   ;
8655   return 0;
8656 }
8657 _ACEOF
8658 rm -f conftest.$ac_objext conftest$ac_exeext
8659 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8660   (eval $ac_link) 2>conftest.er1
8661   ac_status=$?
8662   grep -v '^ *+' conftest.er1 >conftest.err
8663   rm -f conftest.er1
8664   cat conftest.err >&5
8665   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8666   (exit $ac_status); } &&
8667          { ac_try='test -z "$ac_c_werror_flag"
8668                          || test ! -s conftest.err'
8669   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8670   (eval $ac_try) 2>&5
8671   ac_status=$?
8672   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8673   (exit $ac_status); }; } &&
8674          { ac_try='test -s conftest$ac_exeext'
8675   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8676   (eval $ac_try) 2>&5
8677   ac_status=$?
8678   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8679   (exit $ac_status); }; }; then
8680   ac_cv_lib_m_scalbnf=yes
8681 else
8682   echo "$as_me: failed program was:" >&5
8683 sed 's/^/| /' conftest.$ac_ext >&5
8684
8685 ac_cv_lib_m_scalbnf=no
8686 fi
8687 rm -f conftest.err conftest.$ac_objext \
8688       conftest$ac_exeext conftest.$ac_ext
8689 LIBS=$ac_check_lib_save_LIBS
8690 fi
8691 echo "$as_me:$LINENO: result: $ac_cv_lib_m_scalbnf" >&5
8692 echo "${ECHO_T}$ac_cv_lib_m_scalbnf" >&6
8693 if test $ac_cv_lib_m_scalbnf = yes; then
8694
8695 cat >>confdefs.h <<\_ACEOF
8696 #define HAVE_SCALBNF 1
8697 _ACEOF
8698
8699 fi
8700
8701 echo "$as_me:$LINENO: checking for sinf in -lm" >&5
8702 echo $ECHO_N "checking for sinf in -lm... $ECHO_C" >&6
8703 if test "${ac_cv_lib_m_sinf+set}" = set; then
8704   echo $ECHO_N "(cached) $ECHO_C" >&6
8705 else
8706   ac_check_lib_save_LIBS=$LIBS
8707 LIBS="-lm  $LIBS"
8708 if test x$gcc_no_link = xyes; then
8709   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8710 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8711    { (exit 1); exit 1; }; }
8712 fi
8713 cat >conftest.$ac_ext <<_ACEOF
8714 /* confdefs.h.  */
8715 _ACEOF
8716 cat confdefs.h >>conftest.$ac_ext
8717 cat >>conftest.$ac_ext <<_ACEOF
8718 /* end confdefs.h.  */
8719
8720 /* Override any gcc2 internal prototype to avoid an error.  */
8721 #ifdef __cplusplus
8722 extern "C"
8723 #endif
8724 /* We use char because int might match the return type of a gcc2
8725    builtin and then its argument prototype would still apply.  */
8726 char sinf ();
8727 int
8728 main ()
8729 {
8730 sinf ();
8731   ;
8732   return 0;
8733 }
8734 _ACEOF
8735 rm -f conftest.$ac_objext conftest$ac_exeext
8736 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8737   (eval $ac_link) 2>conftest.er1
8738   ac_status=$?
8739   grep -v '^ *+' conftest.er1 >conftest.err
8740   rm -f conftest.er1
8741   cat conftest.err >&5
8742   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8743   (exit $ac_status); } &&
8744          { ac_try='test -z "$ac_c_werror_flag"
8745                          || test ! -s conftest.err'
8746   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8747   (eval $ac_try) 2>&5
8748   ac_status=$?
8749   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8750   (exit $ac_status); }; } &&
8751          { ac_try='test -s conftest$ac_exeext'
8752   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8753   (eval $ac_try) 2>&5
8754   ac_status=$?
8755   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8756   (exit $ac_status); }; }; then
8757   ac_cv_lib_m_sinf=yes
8758 else
8759   echo "$as_me: failed program was:" >&5
8760 sed 's/^/| /' conftest.$ac_ext >&5
8761
8762 ac_cv_lib_m_sinf=no
8763 fi
8764 rm -f conftest.err conftest.$ac_objext \
8765       conftest$ac_exeext conftest.$ac_ext
8766 LIBS=$ac_check_lib_save_LIBS
8767 fi
8768 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sinf" >&5
8769 echo "${ECHO_T}$ac_cv_lib_m_sinf" >&6
8770 if test $ac_cv_lib_m_sinf = yes; then
8771
8772 cat >>confdefs.h <<\_ACEOF
8773 #define HAVE_SINF 1
8774 _ACEOF
8775
8776 fi
8777
8778 echo "$as_me:$LINENO: checking for sinhf in -lm" >&5
8779 echo $ECHO_N "checking for sinhf in -lm... $ECHO_C" >&6
8780 if test "${ac_cv_lib_m_sinhf+set}" = set; then
8781   echo $ECHO_N "(cached) $ECHO_C" >&6
8782 else
8783   ac_check_lib_save_LIBS=$LIBS
8784 LIBS="-lm  $LIBS"
8785 if test x$gcc_no_link = xyes; then
8786   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8787 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8788    { (exit 1); exit 1; }; }
8789 fi
8790 cat >conftest.$ac_ext <<_ACEOF
8791 /* confdefs.h.  */
8792 _ACEOF
8793 cat confdefs.h >>conftest.$ac_ext
8794 cat >>conftest.$ac_ext <<_ACEOF
8795 /* end confdefs.h.  */
8796
8797 /* Override any gcc2 internal prototype to avoid an error.  */
8798 #ifdef __cplusplus
8799 extern "C"
8800 #endif
8801 /* We use char because int might match the return type of a gcc2
8802    builtin and then its argument prototype would still apply.  */
8803 char sinhf ();
8804 int
8805 main ()
8806 {
8807 sinhf ();
8808   ;
8809   return 0;
8810 }
8811 _ACEOF
8812 rm -f conftest.$ac_objext conftest$ac_exeext
8813 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8814   (eval $ac_link) 2>conftest.er1
8815   ac_status=$?
8816   grep -v '^ *+' conftest.er1 >conftest.err
8817   rm -f conftest.er1
8818   cat conftest.err >&5
8819   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8820   (exit $ac_status); } &&
8821          { ac_try='test -z "$ac_c_werror_flag"
8822                          || test ! -s conftest.err'
8823   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8824   (eval $ac_try) 2>&5
8825   ac_status=$?
8826   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8827   (exit $ac_status); }; } &&
8828          { ac_try='test -s conftest$ac_exeext'
8829   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8830   (eval $ac_try) 2>&5
8831   ac_status=$?
8832   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8833   (exit $ac_status); }; }; then
8834   ac_cv_lib_m_sinhf=yes
8835 else
8836   echo "$as_me: failed program was:" >&5
8837 sed 's/^/| /' conftest.$ac_ext >&5
8838
8839 ac_cv_lib_m_sinhf=no
8840 fi
8841 rm -f conftest.err conftest.$ac_objext \
8842       conftest$ac_exeext conftest.$ac_ext
8843 LIBS=$ac_check_lib_save_LIBS
8844 fi
8845 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sinhf" >&5
8846 echo "${ECHO_T}$ac_cv_lib_m_sinhf" >&6
8847 if test $ac_cv_lib_m_sinhf = yes; then
8848
8849 cat >>confdefs.h <<\_ACEOF
8850 #define HAVE_SINHF 1
8851 _ACEOF
8852
8853 fi
8854
8855 echo "$as_me:$LINENO: checking for sqrtf in -lm" >&5
8856 echo $ECHO_N "checking for sqrtf in -lm... $ECHO_C" >&6
8857 if test "${ac_cv_lib_m_sqrtf+set}" = set; then
8858   echo $ECHO_N "(cached) $ECHO_C" >&6
8859 else
8860   ac_check_lib_save_LIBS=$LIBS
8861 LIBS="-lm  $LIBS"
8862 if test x$gcc_no_link = xyes; then
8863   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8864 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8865    { (exit 1); exit 1; }; }
8866 fi
8867 cat >conftest.$ac_ext <<_ACEOF
8868 /* confdefs.h.  */
8869 _ACEOF
8870 cat confdefs.h >>conftest.$ac_ext
8871 cat >>conftest.$ac_ext <<_ACEOF
8872 /* end confdefs.h.  */
8873
8874 /* Override any gcc2 internal prototype to avoid an error.  */
8875 #ifdef __cplusplus
8876 extern "C"
8877 #endif
8878 /* We use char because int might match the return type of a gcc2
8879    builtin and then its argument prototype would still apply.  */
8880 char sqrtf ();
8881 int
8882 main ()
8883 {
8884 sqrtf ();
8885   ;
8886   return 0;
8887 }
8888 _ACEOF
8889 rm -f conftest.$ac_objext conftest$ac_exeext
8890 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8891   (eval $ac_link) 2>conftest.er1
8892   ac_status=$?
8893   grep -v '^ *+' conftest.er1 >conftest.err
8894   rm -f conftest.er1
8895   cat conftest.err >&5
8896   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8897   (exit $ac_status); } &&
8898          { ac_try='test -z "$ac_c_werror_flag"
8899                          || test ! -s conftest.err'
8900   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8901   (eval $ac_try) 2>&5
8902   ac_status=$?
8903   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8904   (exit $ac_status); }; } &&
8905          { ac_try='test -s conftest$ac_exeext'
8906   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8907   (eval $ac_try) 2>&5
8908   ac_status=$?
8909   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8910   (exit $ac_status); }; }; then
8911   ac_cv_lib_m_sqrtf=yes
8912 else
8913   echo "$as_me: failed program was:" >&5
8914 sed 's/^/| /' conftest.$ac_ext >&5
8915
8916 ac_cv_lib_m_sqrtf=no
8917 fi
8918 rm -f conftest.err conftest.$ac_objext \
8919       conftest$ac_exeext conftest.$ac_ext
8920 LIBS=$ac_check_lib_save_LIBS
8921 fi
8922 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sqrtf" >&5
8923 echo "${ECHO_T}$ac_cv_lib_m_sqrtf" >&6
8924 if test $ac_cv_lib_m_sqrtf = yes; then
8925
8926 cat >>confdefs.h <<\_ACEOF
8927 #define HAVE_SQRTF 1
8928 _ACEOF
8929
8930 fi
8931
8932 echo "$as_me:$LINENO: checking for tanf in -lm" >&5
8933 echo $ECHO_N "checking for tanf in -lm... $ECHO_C" >&6
8934 if test "${ac_cv_lib_m_tanf+set}" = set; then
8935   echo $ECHO_N "(cached) $ECHO_C" >&6
8936 else
8937   ac_check_lib_save_LIBS=$LIBS
8938 LIBS="-lm  $LIBS"
8939 if test x$gcc_no_link = xyes; then
8940   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8941 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8942    { (exit 1); exit 1; }; }
8943 fi
8944 cat >conftest.$ac_ext <<_ACEOF
8945 /* confdefs.h.  */
8946 _ACEOF
8947 cat confdefs.h >>conftest.$ac_ext
8948 cat >>conftest.$ac_ext <<_ACEOF
8949 /* end confdefs.h.  */
8950
8951 /* Override any gcc2 internal prototype to avoid an error.  */
8952 #ifdef __cplusplus
8953 extern "C"
8954 #endif
8955 /* We use char because int might match the return type of a gcc2
8956    builtin and then its argument prototype would still apply.  */
8957 char tanf ();
8958 int
8959 main ()
8960 {
8961 tanf ();
8962   ;
8963   return 0;
8964 }
8965 _ACEOF
8966 rm -f conftest.$ac_objext conftest$ac_exeext
8967 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8968   (eval $ac_link) 2>conftest.er1
8969   ac_status=$?
8970   grep -v '^ *+' conftest.er1 >conftest.err
8971   rm -f conftest.er1
8972   cat conftest.err >&5
8973   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8974   (exit $ac_status); } &&
8975          { ac_try='test -z "$ac_c_werror_flag"
8976                          || test ! -s conftest.err'
8977   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8978   (eval $ac_try) 2>&5
8979   ac_status=$?
8980   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8981   (exit $ac_status); }; } &&
8982          { ac_try='test -s conftest$ac_exeext'
8983   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8984   (eval $ac_try) 2>&5
8985   ac_status=$?
8986   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8987   (exit $ac_status); }; }; then
8988   ac_cv_lib_m_tanf=yes
8989 else
8990   echo "$as_me: failed program was:" >&5
8991 sed 's/^/| /' conftest.$ac_ext >&5
8992
8993 ac_cv_lib_m_tanf=no
8994 fi
8995 rm -f conftest.err conftest.$ac_objext \
8996       conftest$ac_exeext conftest.$ac_ext
8997 LIBS=$ac_check_lib_save_LIBS
8998 fi
8999 echo "$as_me:$LINENO: result: $ac_cv_lib_m_tanf" >&5
9000 echo "${ECHO_T}$ac_cv_lib_m_tanf" >&6
9001 if test $ac_cv_lib_m_tanf = yes; then
9002
9003 cat >>confdefs.h <<\_ACEOF
9004 #define HAVE_TANF 1
9005 _ACEOF
9006
9007 fi
9008
9009 echo "$as_me:$LINENO: checking for tanhf in -lm" >&5
9010 echo $ECHO_N "checking for tanhf in -lm... $ECHO_C" >&6
9011 if test "${ac_cv_lib_m_tanhf+set}" = set; then
9012   echo $ECHO_N "(cached) $ECHO_C" >&6
9013 else
9014   ac_check_lib_save_LIBS=$LIBS
9015 LIBS="-lm  $LIBS"
9016 if test x$gcc_no_link = xyes; then
9017   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9018 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9019    { (exit 1); exit 1; }; }
9020 fi
9021 cat >conftest.$ac_ext <<_ACEOF
9022 /* confdefs.h.  */
9023 _ACEOF
9024 cat confdefs.h >>conftest.$ac_ext
9025 cat >>conftest.$ac_ext <<_ACEOF
9026 /* end confdefs.h.  */
9027
9028 /* Override any gcc2 internal prototype to avoid an error.  */
9029 #ifdef __cplusplus
9030 extern "C"
9031 #endif
9032 /* We use char because int might match the return type of a gcc2
9033    builtin and then its argument prototype would still apply.  */
9034 char tanhf ();
9035 int
9036 main ()
9037 {
9038 tanhf ();
9039   ;
9040   return 0;
9041 }
9042 _ACEOF
9043 rm -f conftest.$ac_objext conftest$ac_exeext
9044 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9045   (eval $ac_link) 2>conftest.er1
9046   ac_status=$?
9047   grep -v '^ *+' conftest.er1 >conftest.err
9048   rm -f conftest.er1
9049   cat conftest.err >&5
9050   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9051   (exit $ac_status); } &&
9052          { ac_try='test -z "$ac_c_werror_flag"
9053                          || test ! -s conftest.err'
9054   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9055   (eval $ac_try) 2>&5
9056   ac_status=$?
9057   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9058   (exit $ac_status); }; } &&
9059          { ac_try='test -s conftest$ac_exeext'
9060   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9061   (eval $ac_try) 2>&5
9062   ac_status=$?
9063   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9064   (exit $ac_status); }; }; then
9065   ac_cv_lib_m_tanhf=yes
9066 else
9067   echo "$as_me: failed program was:" >&5
9068 sed 's/^/| /' conftest.$ac_ext >&5
9069
9070 ac_cv_lib_m_tanhf=no
9071 fi
9072 rm -f conftest.err conftest.$ac_objext \
9073       conftest$ac_exeext conftest.$ac_ext
9074 LIBS=$ac_check_lib_save_LIBS
9075 fi
9076 echo "$as_me:$LINENO: result: $ac_cv_lib_m_tanhf" >&5
9077 echo "${ECHO_T}$ac_cv_lib_m_tanhf" >&6
9078 if test $ac_cv_lib_m_tanhf = yes; then
9079
9080 cat >>confdefs.h <<\_ACEOF
9081 #define HAVE_TANHF 1
9082 _ACEOF
9083
9084 fi
9085
9086 echo "$as_me:$LINENO: checking for erf in -lm" >&5
9087 echo $ECHO_N "checking for erf in -lm... $ECHO_C" >&6
9088 if test "${ac_cv_lib_m_erf+set}" = set; then
9089   echo $ECHO_N "(cached) $ECHO_C" >&6
9090 else
9091   ac_check_lib_save_LIBS=$LIBS
9092 LIBS="-lm  $LIBS"
9093 if test x$gcc_no_link = xyes; then
9094   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9095 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9096    { (exit 1); exit 1; }; }
9097 fi
9098 cat >conftest.$ac_ext <<_ACEOF
9099 /* confdefs.h.  */
9100 _ACEOF
9101 cat confdefs.h >>conftest.$ac_ext
9102 cat >>conftest.$ac_ext <<_ACEOF
9103 /* end confdefs.h.  */
9104
9105 /* Override any gcc2 internal prototype to avoid an error.  */
9106 #ifdef __cplusplus
9107 extern "C"
9108 #endif
9109 /* We use char because int might match the return type of a gcc2
9110    builtin and then its argument prototype would still apply.  */
9111 char erf ();
9112 int
9113 main ()
9114 {
9115 erf ();
9116   ;
9117   return 0;
9118 }
9119 _ACEOF
9120 rm -f conftest.$ac_objext conftest$ac_exeext
9121 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9122   (eval $ac_link) 2>conftest.er1
9123   ac_status=$?
9124   grep -v '^ *+' conftest.er1 >conftest.err
9125   rm -f conftest.er1
9126   cat conftest.err >&5
9127   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9128   (exit $ac_status); } &&
9129          { ac_try='test -z "$ac_c_werror_flag"
9130                          || test ! -s conftest.err'
9131   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9132   (eval $ac_try) 2>&5
9133   ac_status=$?
9134   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9135   (exit $ac_status); }; } &&
9136          { ac_try='test -s conftest$ac_exeext'
9137   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9138   (eval $ac_try) 2>&5
9139   ac_status=$?
9140   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9141   (exit $ac_status); }; }; then
9142   ac_cv_lib_m_erf=yes
9143 else
9144   echo "$as_me: failed program was:" >&5
9145 sed 's/^/| /' conftest.$ac_ext >&5
9146
9147 ac_cv_lib_m_erf=no
9148 fi
9149 rm -f conftest.err conftest.$ac_objext \
9150       conftest$ac_exeext conftest.$ac_ext
9151 LIBS=$ac_check_lib_save_LIBS
9152 fi
9153 echo "$as_me:$LINENO: result: $ac_cv_lib_m_erf" >&5
9154 echo "${ECHO_T}$ac_cv_lib_m_erf" >&6
9155 if test $ac_cv_lib_m_erf = yes; then
9156
9157 cat >>confdefs.h <<\_ACEOF
9158 #define HAVE_ERF 1
9159 _ACEOF
9160
9161 fi
9162
9163 echo "$as_me:$LINENO: checking for erfc in -lm" >&5
9164 echo $ECHO_N "checking for erfc in -lm... $ECHO_C" >&6
9165 if test "${ac_cv_lib_m_erfc+set}" = set; then
9166   echo $ECHO_N "(cached) $ECHO_C" >&6
9167 else
9168   ac_check_lib_save_LIBS=$LIBS
9169 LIBS="-lm  $LIBS"
9170 if test x$gcc_no_link = xyes; then
9171   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9172 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9173    { (exit 1); exit 1; }; }
9174 fi
9175 cat >conftest.$ac_ext <<_ACEOF
9176 /* confdefs.h.  */
9177 _ACEOF
9178 cat confdefs.h >>conftest.$ac_ext
9179 cat >>conftest.$ac_ext <<_ACEOF
9180 /* end confdefs.h.  */
9181
9182 /* Override any gcc2 internal prototype to avoid an error.  */
9183 #ifdef __cplusplus
9184 extern "C"
9185 #endif
9186 /* We use char because int might match the return type of a gcc2
9187    builtin and then its argument prototype would still apply.  */
9188 char erfc ();
9189 int
9190 main ()
9191 {
9192 erfc ();
9193   ;
9194   return 0;
9195 }
9196 _ACEOF
9197 rm -f conftest.$ac_objext conftest$ac_exeext
9198 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9199   (eval $ac_link) 2>conftest.er1
9200   ac_status=$?
9201   grep -v '^ *+' conftest.er1 >conftest.err
9202   rm -f conftest.er1
9203   cat conftest.err >&5
9204   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9205   (exit $ac_status); } &&
9206          { ac_try='test -z "$ac_c_werror_flag"
9207                          || test ! -s conftest.err'
9208   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9209   (eval $ac_try) 2>&5
9210   ac_status=$?
9211   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9212   (exit $ac_status); }; } &&
9213          { ac_try='test -s conftest$ac_exeext'
9214   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9215   (eval $ac_try) 2>&5
9216   ac_status=$?
9217   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9218   (exit $ac_status); }; }; then
9219   ac_cv_lib_m_erfc=yes
9220 else
9221   echo "$as_me: failed program was:" >&5
9222 sed 's/^/| /' conftest.$ac_ext >&5
9223
9224 ac_cv_lib_m_erfc=no
9225 fi
9226 rm -f conftest.err conftest.$ac_objext \
9227       conftest$ac_exeext conftest.$ac_ext
9228 LIBS=$ac_check_lib_save_LIBS
9229 fi
9230 echo "$as_me:$LINENO: result: $ac_cv_lib_m_erfc" >&5
9231 echo "${ECHO_T}$ac_cv_lib_m_erfc" >&6
9232 if test $ac_cv_lib_m_erfc = yes; then
9233
9234 cat >>confdefs.h <<\_ACEOF
9235 #define HAVE_ERFC 1
9236 _ACEOF
9237
9238 fi
9239
9240 echo "$as_me:$LINENO: checking for erfcf in -lm" >&5
9241 echo $ECHO_N "checking for erfcf in -lm... $ECHO_C" >&6
9242 if test "${ac_cv_lib_m_erfcf+set}" = set; then
9243   echo $ECHO_N "(cached) $ECHO_C" >&6
9244 else
9245   ac_check_lib_save_LIBS=$LIBS
9246 LIBS="-lm  $LIBS"
9247 if test x$gcc_no_link = xyes; then
9248   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9249 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9250    { (exit 1); exit 1; }; }
9251 fi
9252 cat >conftest.$ac_ext <<_ACEOF
9253 /* confdefs.h.  */
9254 _ACEOF
9255 cat confdefs.h >>conftest.$ac_ext
9256 cat >>conftest.$ac_ext <<_ACEOF
9257 /* end confdefs.h.  */
9258
9259 /* Override any gcc2 internal prototype to avoid an error.  */
9260 #ifdef __cplusplus
9261 extern "C"
9262 #endif
9263 /* We use char because int might match the return type of a gcc2
9264    builtin and then its argument prototype would still apply.  */
9265 char erfcf ();
9266 int
9267 main ()
9268 {
9269 erfcf ();
9270   ;
9271   return 0;
9272 }
9273 _ACEOF
9274 rm -f conftest.$ac_objext conftest$ac_exeext
9275 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9276   (eval $ac_link) 2>conftest.er1
9277   ac_status=$?
9278   grep -v '^ *+' conftest.er1 >conftest.err
9279   rm -f conftest.er1
9280   cat conftest.err >&5
9281   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9282   (exit $ac_status); } &&
9283          { ac_try='test -z "$ac_c_werror_flag"
9284                          || test ! -s conftest.err'
9285   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9286   (eval $ac_try) 2>&5
9287   ac_status=$?
9288   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9289   (exit $ac_status); }; } &&
9290          { ac_try='test -s conftest$ac_exeext'
9291   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9292   (eval $ac_try) 2>&5
9293   ac_status=$?
9294   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9295   (exit $ac_status); }; }; then
9296   ac_cv_lib_m_erfcf=yes
9297 else
9298   echo "$as_me: failed program was:" >&5
9299 sed 's/^/| /' conftest.$ac_ext >&5
9300
9301 ac_cv_lib_m_erfcf=no
9302 fi
9303 rm -f conftest.err conftest.$ac_objext \
9304       conftest$ac_exeext conftest.$ac_ext
9305 LIBS=$ac_check_lib_save_LIBS
9306 fi
9307 echo "$as_me:$LINENO: result: $ac_cv_lib_m_erfcf" >&5
9308 echo "${ECHO_T}$ac_cv_lib_m_erfcf" >&6
9309 if test $ac_cv_lib_m_erfcf = yes; then
9310
9311 cat >>confdefs.h <<\_ACEOF
9312 #define HAVE_ERFCF 1
9313 _ACEOF
9314
9315 fi
9316
9317 echo "$as_me:$LINENO: checking for erff in -lm" >&5
9318 echo $ECHO_N "checking for erff in -lm... $ECHO_C" >&6
9319 if test "${ac_cv_lib_m_erff+set}" = set; then
9320   echo $ECHO_N "(cached) $ECHO_C" >&6
9321 else
9322   ac_check_lib_save_LIBS=$LIBS
9323 LIBS="-lm  $LIBS"
9324 if test x$gcc_no_link = xyes; then
9325   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9326 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9327    { (exit 1); exit 1; }; }
9328 fi
9329 cat >conftest.$ac_ext <<_ACEOF
9330 /* confdefs.h.  */
9331 _ACEOF
9332 cat confdefs.h >>conftest.$ac_ext
9333 cat >>conftest.$ac_ext <<_ACEOF
9334 /* end confdefs.h.  */
9335
9336 /* Override any gcc2 internal prototype to avoid an error.  */
9337 #ifdef __cplusplus
9338 extern "C"
9339 #endif
9340 /* We use char because int might match the return type of a gcc2
9341    builtin and then its argument prototype would still apply.  */
9342 char erff ();
9343 int
9344 main ()
9345 {
9346 erff ();
9347   ;
9348   return 0;
9349 }
9350 _ACEOF
9351 rm -f conftest.$ac_objext conftest$ac_exeext
9352 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9353   (eval $ac_link) 2>conftest.er1
9354   ac_status=$?
9355   grep -v '^ *+' conftest.er1 >conftest.err
9356   rm -f conftest.er1
9357   cat conftest.err >&5
9358   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9359   (exit $ac_status); } &&
9360          { ac_try='test -z "$ac_c_werror_flag"
9361                          || test ! -s conftest.err'
9362   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9363   (eval $ac_try) 2>&5
9364   ac_status=$?
9365   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9366   (exit $ac_status); }; } &&
9367          { ac_try='test -s conftest$ac_exeext'
9368   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9369   (eval $ac_try) 2>&5
9370   ac_status=$?
9371   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9372   (exit $ac_status); }; }; then
9373   ac_cv_lib_m_erff=yes
9374 else
9375   echo "$as_me: failed program was:" >&5
9376 sed 's/^/| /' conftest.$ac_ext >&5
9377
9378 ac_cv_lib_m_erff=no
9379 fi
9380 rm -f conftest.err conftest.$ac_objext \
9381       conftest$ac_exeext conftest.$ac_ext
9382 LIBS=$ac_check_lib_save_LIBS
9383 fi
9384 echo "$as_me:$LINENO: result: $ac_cv_lib_m_erff" >&5
9385 echo "${ECHO_T}$ac_cv_lib_m_erff" >&6
9386 if test $ac_cv_lib_m_erff = yes; then
9387
9388 cat >>confdefs.h <<\_ACEOF
9389 #define HAVE_ERFF 1
9390 _ACEOF
9391
9392 fi
9393
9394 echo "$as_me:$LINENO: checking for j0 in -lm" >&5
9395 echo $ECHO_N "checking for j0 in -lm... $ECHO_C" >&6
9396 if test "${ac_cv_lib_m_j0+set}" = set; then
9397   echo $ECHO_N "(cached) $ECHO_C" >&6
9398 else
9399   ac_check_lib_save_LIBS=$LIBS
9400 LIBS="-lm  $LIBS"
9401 if test x$gcc_no_link = xyes; then
9402   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9403 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9404    { (exit 1); exit 1; }; }
9405 fi
9406 cat >conftest.$ac_ext <<_ACEOF
9407 /* confdefs.h.  */
9408 _ACEOF
9409 cat confdefs.h >>conftest.$ac_ext
9410 cat >>conftest.$ac_ext <<_ACEOF
9411 /* end confdefs.h.  */
9412
9413 /* Override any gcc2 internal prototype to avoid an error.  */
9414 #ifdef __cplusplus
9415 extern "C"
9416 #endif
9417 /* We use char because int might match the return type of a gcc2
9418    builtin and then its argument prototype would still apply.  */
9419 char j0 ();
9420 int
9421 main ()
9422 {
9423 j0 ();
9424   ;
9425   return 0;
9426 }
9427 _ACEOF
9428 rm -f conftest.$ac_objext conftest$ac_exeext
9429 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9430   (eval $ac_link) 2>conftest.er1
9431   ac_status=$?
9432   grep -v '^ *+' conftest.er1 >conftest.err
9433   rm -f conftest.er1
9434   cat conftest.err >&5
9435   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9436   (exit $ac_status); } &&
9437          { ac_try='test -z "$ac_c_werror_flag"
9438                          || test ! -s conftest.err'
9439   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9440   (eval $ac_try) 2>&5
9441   ac_status=$?
9442   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9443   (exit $ac_status); }; } &&
9444          { ac_try='test -s conftest$ac_exeext'
9445   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9446   (eval $ac_try) 2>&5
9447   ac_status=$?
9448   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9449   (exit $ac_status); }; }; then
9450   ac_cv_lib_m_j0=yes
9451 else
9452   echo "$as_me: failed program was:" >&5
9453 sed 's/^/| /' conftest.$ac_ext >&5
9454
9455 ac_cv_lib_m_j0=no
9456 fi
9457 rm -f conftest.err conftest.$ac_objext \
9458       conftest$ac_exeext conftest.$ac_ext
9459 LIBS=$ac_check_lib_save_LIBS
9460 fi
9461 echo "$as_me:$LINENO: result: $ac_cv_lib_m_j0" >&5
9462 echo "${ECHO_T}$ac_cv_lib_m_j0" >&6
9463 if test $ac_cv_lib_m_j0 = yes; then
9464
9465 cat >>confdefs.h <<\_ACEOF
9466 #define HAVE_J0 1
9467 _ACEOF
9468
9469 fi
9470
9471 echo "$as_me:$LINENO: checking for j0f in -lm" >&5
9472 echo $ECHO_N "checking for j0f in -lm... $ECHO_C" >&6
9473 if test "${ac_cv_lib_m_j0f+set}" = set; then
9474   echo $ECHO_N "(cached) $ECHO_C" >&6
9475 else
9476   ac_check_lib_save_LIBS=$LIBS
9477 LIBS="-lm  $LIBS"
9478 if test x$gcc_no_link = xyes; then
9479   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9480 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9481    { (exit 1); exit 1; }; }
9482 fi
9483 cat >conftest.$ac_ext <<_ACEOF
9484 /* confdefs.h.  */
9485 _ACEOF
9486 cat confdefs.h >>conftest.$ac_ext
9487 cat >>conftest.$ac_ext <<_ACEOF
9488 /* end confdefs.h.  */
9489
9490 /* Override any gcc2 internal prototype to avoid an error.  */
9491 #ifdef __cplusplus
9492 extern "C"
9493 #endif
9494 /* We use char because int might match the return type of a gcc2
9495    builtin and then its argument prototype would still apply.  */
9496 char j0f ();
9497 int
9498 main ()
9499 {
9500 j0f ();
9501   ;
9502   return 0;
9503 }
9504 _ACEOF
9505 rm -f conftest.$ac_objext conftest$ac_exeext
9506 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9507   (eval $ac_link) 2>conftest.er1
9508   ac_status=$?
9509   grep -v '^ *+' conftest.er1 >conftest.err
9510   rm -f conftest.er1
9511   cat conftest.err >&5
9512   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9513   (exit $ac_status); } &&
9514          { ac_try='test -z "$ac_c_werror_flag"
9515                          || test ! -s conftest.err'
9516   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9517   (eval $ac_try) 2>&5
9518   ac_status=$?
9519   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9520   (exit $ac_status); }; } &&
9521          { ac_try='test -s conftest$ac_exeext'
9522   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9523   (eval $ac_try) 2>&5
9524   ac_status=$?
9525   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9526   (exit $ac_status); }; }; then
9527   ac_cv_lib_m_j0f=yes
9528 else
9529   echo "$as_me: failed program was:" >&5
9530 sed 's/^/| /' conftest.$ac_ext >&5
9531
9532 ac_cv_lib_m_j0f=no
9533 fi
9534 rm -f conftest.err conftest.$ac_objext \
9535       conftest$ac_exeext conftest.$ac_ext
9536 LIBS=$ac_check_lib_save_LIBS
9537 fi
9538 echo "$as_me:$LINENO: result: $ac_cv_lib_m_j0f" >&5
9539 echo "${ECHO_T}$ac_cv_lib_m_j0f" >&6
9540 if test $ac_cv_lib_m_j0f = yes; then
9541
9542 cat >>confdefs.h <<\_ACEOF
9543 #define HAVE_J0F 1
9544 _ACEOF
9545
9546 fi
9547
9548 echo "$as_me:$LINENO: checking for j1 in -lm" >&5
9549 echo $ECHO_N "checking for j1 in -lm... $ECHO_C" >&6
9550 if test "${ac_cv_lib_m_j1+set}" = set; then
9551   echo $ECHO_N "(cached) $ECHO_C" >&6
9552 else
9553   ac_check_lib_save_LIBS=$LIBS
9554 LIBS="-lm  $LIBS"
9555 if test x$gcc_no_link = xyes; then
9556   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9557 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9558    { (exit 1); exit 1; }; }
9559 fi
9560 cat >conftest.$ac_ext <<_ACEOF
9561 /* confdefs.h.  */
9562 _ACEOF
9563 cat confdefs.h >>conftest.$ac_ext
9564 cat >>conftest.$ac_ext <<_ACEOF
9565 /* end confdefs.h.  */
9566
9567 /* Override any gcc2 internal prototype to avoid an error.  */
9568 #ifdef __cplusplus
9569 extern "C"
9570 #endif
9571 /* We use char because int might match the return type of a gcc2
9572    builtin and then its argument prototype would still apply.  */
9573 char j1 ();
9574 int
9575 main ()
9576 {
9577 j1 ();
9578   ;
9579   return 0;
9580 }
9581 _ACEOF
9582 rm -f conftest.$ac_objext conftest$ac_exeext
9583 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9584   (eval $ac_link) 2>conftest.er1
9585   ac_status=$?
9586   grep -v '^ *+' conftest.er1 >conftest.err
9587   rm -f conftest.er1
9588   cat conftest.err >&5
9589   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9590   (exit $ac_status); } &&
9591          { ac_try='test -z "$ac_c_werror_flag"
9592                          || test ! -s conftest.err'
9593   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9594   (eval $ac_try) 2>&5
9595   ac_status=$?
9596   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9597   (exit $ac_status); }; } &&
9598          { ac_try='test -s conftest$ac_exeext'
9599   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9600   (eval $ac_try) 2>&5
9601   ac_status=$?
9602   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9603   (exit $ac_status); }; }; then
9604   ac_cv_lib_m_j1=yes
9605 else
9606   echo "$as_me: failed program was:" >&5
9607 sed 's/^/| /' conftest.$ac_ext >&5
9608
9609 ac_cv_lib_m_j1=no
9610 fi
9611 rm -f conftest.err conftest.$ac_objext \
9612       conftest$ac_exeext conftest.$ac_ext
9613 LIBS=$ac_check_lib_save_LIBS
9614 fi
9615 echo "$as_me:$LINENO: result: $ac_cv_lib_m_j1" >&5
9616 echo "${ECHO_T}$ac_cv_lib_m_j1" >&6
9617 if test $ac_cv_lib_m_j1 = yes; then
9618
9619 cat >>confdefs.h <<\_ACEOF
9620 #define HAVE_J1 1
9621 _ACEOF
9622
9623 fi
9624
9625 echo "$as_me:$LINENO: checking for j1f in -lm" >&5
9626 echo $ECHO_N "checking for j1f in -lm... $ECHO_C" >&6
9627 if test "${ac_cv_lib_m_j1f+set}" = set; then
9628   echo $ECHO_N "(cached) $ECHO_C" >&6
9629 else
9630   ac_check_lib_save_LIBS=$LIBS
9631 LIBS="-lm  $LIBS"
9632 if test x$gcc_no_link = xyes; then
9633   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9634 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9635    { (exit 1); exit 1; }; }
9636 fi
9637 cat >conftest.$ac_ext <<_ACEOF
9638 /* confdefs.h.  */
9639 _ACEOF
9640 cat confdefs.h >>conftest.$ac_ext
9641 cat >>conftest.$ac_ext <<_ACEOF
9642 /* end confdefs.h.  */
9643
9644 /* Override any gcc2 internal prototype to avoid an error.  */
9645 #ifdef __cplusplus
9646 extern "C"
9647 #endif
9648 /* We use char because int might match the return type of a gcc2
9649    builtin and then its argument prototype would still apply.  */
9650 char j1f ();
9651 int
9652 main ()
9653 {
9654 j1f ();
9655   ;
9656   return 0;
9657 }
9658 _ACEOF
9659 rm -f conftest.$ac_objext conftest$ac_exeext
9660 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9661   (eval $ac_link) 2>conftest.er1
9662   ac_status=$?
9663   grep -v '^ *+' conftest.er1 >conftest.err
9664   rm -f conftest.er1
9665   cat conftest.err >&5
9666   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9667   (exit $ac_status); } &&
9668          { ac_try='test -z "$ac_c_werror_flag"
9669                          || test ! -s conftest.err'
9670   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9671   (eval $ac_try) 2>&5
9672   ac_status=$?
9673   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9674   (exit $ac_status); }; } &&
9675          { ac_try='test -s conftest$ac_exeext'
9676   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9677   (eval $ac_try) 2>&5
9678   ac_status=$?
9679   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9680   (exit $ac_status); }; }; then
9681   ac_cv_lib_m_j1f=yes
9682 else
9683   echo "$as_me: failed program was:" >&5
9684 sed 's/^/| /' conftest.$ac_ext >&5
9685
9686 ac_cv_lib_m_j1f=no
9687 fi
9688 rm -f conftest.err conftest.$ac_objext \
9689       conftest$ac_exeext conftest.$ac_ext
9690 LIBS=$ac_check_lib_save_LIBS
9691 fi
9692 echo "$as_me:$LINENO: result: $ac_cv_lib_m_j1f" >&5
9693 echo "${ECHO_T}$ac_cv_lib_m_j1f" >&6
9694 if test $ac_cv_lib_m_j1f = yes; then
9695
9696 cat >>confdefs.h <<\_ACEOF
9697 #define HAVE_J1F 1
9698 _ACEOF
9699
9700 fi
9701
9702 echo "$as_me:$LINENO: checking for jn in -lm" >&5
9703 echo $ECHO_N "checking for jn in -lm... $ECHO_C" >&6
9704 if test "${ac_cv_lib_m_jn+set}" = set; then
9705   echo $ECHO_N "(cached) $ECHO_C" >&6
9706 else
9707   ac_check_lib_save_LIBS=$LIBS
9708 LIBS="-lm  $LIBS"
9709 if test x$gcc_no_link = xyes; then
9710   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9711 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9712    { (exit 1); exit 1; }; }
9713 fi
9714 cat >conftest.$ac_ext <<_ACEOF
9715 /* confdefs.h.  */
9716 _ACEOF
9717 cat confdefs.h >>conftest.$ac_ext
9718 cat >>conftest.$ac_ext <<_ACEOF
9719 /* end confdefs.h.  */
9720
9721 /* Override any gcc2 internal prototype to avoid an error.  */
9722 #ifdef __cplusplus
9723 extern "C"
9724 #endif
9725 /* We use char because int might match the return type of a gcc2
9726    builtin and then its argument prototype would still apply.  */
9727 char jn ();
9728 int
9729 main ()
9730 {
9731 jn ();
9732   ;
9733   return 0;
9734 }
9735 _ACEOF
9736 rm -f conftest.$ac_objext conftest$ac_exeext
9737 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9738   (eval $ac_link) 2>conftest.er1
9739   ac_status=$?
9740   grep -v '^ *+' conftest.er1 >conftest.err
9741   rm -f conftest.er1
9742   cat conftest.err >&5
9743   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9744   (exit $ac_status); } &&
9745          { ac_try='test -z "$ac_c_werror_flag"
9746                          || test ! -s conftest.err'
9747   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9748   (eval $ac_try) 2>&5
9749   ac_status=$?
9750   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9751   (exit $ac_status); }; } &&
9752          { ac_try='test -s conftest$ac_exeext'
9753   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9754   (eval $ac_try) 2>&5
9755   ac_status=$?
9756   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9757   (exit $ac_status); }; }; then
9758   ac_cv_lib_m_jn=yes
9759 else
9760   echo "$as_me: failed program was:" >&5
9761 sed 's/^/| /' conftest.$ac_ext >&5
9762
9763 ac_cv_lib_m_jn=no
9764 fi
9765 rm -f conftest.err conftest.$ac_objext \
9766       conftest$ac_exeext conftest.$ac_ext
9767 LIBS=$ac_check_lib_save_LIBS
9768 fi
9769 echo "$as_me:$LINENO: result: $ac_cv_lib_m_jn" >&5
9770 echo "${ECHO_T}$ac_cv_lib_m_jn" >&6
9771 if test $ac_cv_lib_m_jn = yes; then
9772
9773 cat >>confdefs.h <<\_ACEOF
9774 #define HAVE_JN 1
9775 _ACEOF
9776
9777 fi
9778
9779 echo "$as_me:$LINENO: checking for jnf in -lm" >&5
9780 echo $ECHO_N "checking for jnf in -lm... $ECHO_C" >&6
9781 if test "${ac_cv_lib_m_jnf+set}" = set; then
9782   echo $ECHO_N "(cached) $ECHO_C" >&6
9783 else
9784   ac_check_lib_save_LIBS=$LIBS
9785 LIBS="-lm  $LIBS"
9786 if test x$gcc_no_link = xyes; then
9787   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9788 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9789    { (exit 1); exit 1; }; }
9790 fi
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.  */
9797
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 jnf ();
9805 int
9806 main ()
9807 {
9808 jnf ();
9809   ;
9810   return 0;
9811 }
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_jnf=yes
9836 else
9837   echo "$as_me: failed program was:" >&5
9838 sed 's/^/| /' conftest.$ac_ext >&5
9839
9840 ac_cv_lib_m_jnf=no
9841 fi
9842 rm -f conftest.err conftest.$ac_objext \
9843       conftest$ac_exeext conftest.$ac_ext
9844 LIBS=$ac_check_lib_save_LIBS
9845 fi
9846 echo "$as_me:$LINENO: result: $ac_cv_lib_m_jnf" >&5
9847 echo "${ECHO_T}$ac_cv_lib_m_jnf" >&6
9848 if test $ac_cv_lib_m_jnf = yes; then
9849
9850 cat >>confdefs.h <<\_ACEOF
9851 #define HAVE_JNF 1
9852 _ACEOF
9853
9854 fi
9855
9856 echo "$as_me:$LINENO: checking for y0 in -lm" >&5
9857 echo $ECHO_N "checking for y0 in -lm... $ECHO_C" >&6
9858 if test "${ac_cv_lib_m_y0+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 if test x$gcc_no_link = xyes; then
9864   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9865 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9866    { (exit 1); exit 1; }; }
9867 fi
9868 cat >conftest.$ac_ext <<_ACEOF
9869 /* confdefs.h.  */
9870 _ACEOF
9871 cat confdefs.h >>conftest.$ac_ext
9872 cat >>conftest.$ac_ext <<_ACEOF
9873 /* end confdefs.h.  */
9874
9875 /* Override any gcc2 internal prototype to avoid an error.  */
9876 #ifdef __cplusplus
9877 extern "C"
9878 #endif
9879 /* We use char because int might match the return type of a gcc2
9880    builtin and then its argument prototype would still apply.  */
9881 char y0 ();
9882 int
9883 main ()
9884 {
9885 y0 ();
9886   ;
9887   return 0;
9888 }
9889 _ACEOF
9890 rm -f conftest.$ac_objext conftest$ac_exeext
9891 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9892   (eval $ac_link) 2>conftest.er1
9893   ac_status=$?
9894   grep -v '^ *+' conftest.er1 >conftest.err
9895   rm -f conftest.er1
9896   cat conftest.err >&5
9897   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9898   (exit $ac_status); } &&
9899          { ac_try='test -z "$ac_c_werror_flag"
9900                          || test ! -s conftest.err'
9901   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9902   (eval $ac_try) 2>&5
9903   ac_status=$?
9904   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9905   (exit $ac_status); }; } &&
9906          { ac_try='test -s conftest$ac_exeext'
9907   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9908   (eval $ac_try) 2>&5
9909   ac_status=$?
9910   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9911   (exit $ac_status); }; }; then
9912   ac_cv_lib_m_y0=yes
9913 else
9914   echo "$as_me: failed program was:" >&5
9915 sed 's/^/| /' conftest.$ac_ext >&5
9916
9917 ac_cv_lib_m_y0=no
9918 fi
9919 rm -f conftest.err conftest.$ac_objext \
9920       conftest$ac_exeext conftest.$ac_ext
9921 LIBS=$ac_check_lib_save_LIBS
9922 fi
9923 echo "$as_me:$LINENO: result: $ac_cv_lib_m_y0" >&5
9924 echo "${ECHO_T}$ac_cv_lib_m_y0" >&6
9925 if test $ac_cv_lib_m_y0 = yes; then
9926
9927 cat >>confdefs.h <<\_ACEOF
9928 #define HAVE_Y0 1
9929 _ACEOF
9930
9931 fi
9932
9933 echo "$as_me:$LINENO: checking for y0f in -lm" >&5
9934 echo $ECHO_N "checking for y0f in -lm... $ECHO_C" >&6
9935 if test "${ac_cv_lib_m_y0f+set}" = set; then
9936   echo $ECHO_N "(cached) $ECHO_C" >&6
9937 else
9938   ac_check_lib_save_LIBS=$LIBS
9939 LIBS="-lm  $LIBS"
9940 if test x$gcc_no_link = xyes; then
9941   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9942 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9943    { (exit 1); exit 1; }; }
9944 fi
9945 cat >conftest.$ac_ext <<_ACEOF
9946 /* confdefs.h.  */
9947 _ACEOF
9948 cat confdefs.h >>conftest.$ac_ext
9949 cat >>conftest.$ac_ext <<_ACEOF
9950 /* end confdefs.h.  */
9951
9952 /* Override any gcc2 internal prototype to avoid an error.  */
9953 #ifdef __cplusplus
9954 extern "C"
9955 #endif
9956 /* We use char because int might match the return type of a gcc2
9957    builtin and then its argument prototype would still apply.  */
9958 char y0f ();
9959 int
9960 main ()
9961 {
9962 y0f ();
9963   ;
9964   return 0;
9965 }
9966 _ACEOF
9967 rm -f conftest.$ac_objext conftest$ac_exeext
9968 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9969   (eval $ac_link) 2>conftest.er1
9970   ac_status=$?
9971   grep -v '^ *+' conftest.er1 >conftest.err
9972   rm -f conftest.er1
9973   cat conftest.err >&5
9974   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9975   (exit $ac_status); } &&
9976          { ac_try='test -z "$ac_c_werror_flag"
9977                          || test ! -s conftest.err'
9978   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9979   (eval $ac_try) 2>&5
9980   ac_status=$?
9981   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9982   (exit $ac_status); }; } &&
9983          { ac_try='test -s conftest$ac_exeext'
9984   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9985   (eval $ac_try) 2>&5
9986   ac_status=$?
9987   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9988   (exit $ac_status); }; }; then
9989   ac_cv_lib_m_y0f=yes
9990 else
9991   echo "$as_me: failed program was:" >&5
9992 sed 's/^/| /' conftest.$ac_ext >&5
9993
9994 ac_cv_lib_m_y0f=no
9995 fi
9996 rm -f conftest.err conftest.$ac_objext \
9997       conftest$ac_exeext conftest.$ac_ext
9998 LIBS=$ac_check_lib_save_LIBS
9999 fi
10000 echo "$as_me:$LINENO: result: $ac_cv_lib_m_y0f" >&5
10001 echo "${ECHO_T}$ac_cv_lib_m_y0f" >&6
10002 if test $ac_cv_lib_m_y0f = yes; then
10003
10004 cat >>confdefs.h <<\_ACEOF
10005 #define HAVE_Y0F 1
10006 _ACEOF
10007
10008 fi
10009
10010 echo "$as_me:$LINENO: checking for y1 in -lm" >&5
10011 echo $ECHO_N "checking for y1 in -lm... $ECHO_C" >&6
10012 if test "${ac_cv_lib_m_y1+set}" = set; then
10013   echo $ECHO_N "(cached) $ECHO_C" >&6
10014 else
10015   ac_check_lib_save_LIBS=$LIBS
10016 LIBS="-lm  $LIBS"
10017 if test x$gcc_no_link = xyes; then
10018   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10019 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10020    { (exit 1); exit 1; }; }
10021 fi
10022 cat >conftest.$ac_ext <<_ACEOF
10023 /* confdefs.h.  */
10024 _ACEOF
10025 cat confdefs.h >>conftest.$ac_ext
10026 cat >>conftest.$ac_ext <<_ACEOF
10027 /* end confdefs.h.  */
10028
10029 /* Override any gcc2 internal prototype to avoid an error.  */
10030 #ifdef __cplusplus
10031 extern "C"
10032 #endif
10033 /* We use char because int might match the return type of a gcc2
10034    builtin and then its argument prototype would still apply.  */
10035 char y1 ();
10036 int
10037 main ()
10038 {
10039 y1 ();
10040   ;
10041   return 0;
10042 }
10043 _ACEOF
10044 rm -f conftest.$ac_objext conftest$ac_exeext
10045 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10046   (eval $ac_link) 2>conftest.er1
10047   ac_status=$?
10048   grep -v '^ *+' conftest.er1 >conftest.err
10049   rm -f conftest.er1
10050   cat conftest.err >&5
10051   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10052   (exit $ac_status); } &&
10053          { ac_try='test -z "$ac_c_werror_flag"
10054                          || test ! -s conftest.err'
10055   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10056   (eval $ac_try) 2>&5
10057   ac_status=$?
10058   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10059   (exit $ac_status); }; } &&
10060          { ac_try='test -s conftest$ac_exeext'
10061   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10062   (eval $ac_try) 2>&5
10063   ac_status=$?
10064   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10065   (exit $ac_status); }; }; then
10066   ac_cv_lib_m_y1=yes
10067 else
10068   echo "$as_me: failed program was:" >&5
10069 sed 's/^/| /' conftest.$ac_ext >&5
10070
10071 ac_cv_lib_m_y1=no
10072 fi
10073 rm -f conftest.err conftest.$ac_objext \
10074       conftest$ac_exeext conftest.$ac_ext
10075 LIBS=$ac_check_lib_save_LIBS
10076 fi
10077 echo "$as_me:$LINENO: result: $ac_cv_lib_m_y1" >&5
10078 echo "${ECHO_T}$ac_cv_lib_m_y1" >&6
10079 if test $ac_cv_lib_m_y1 = yes; then
10080
10081 cat >>confdefs.h <<\_ACEOF
10082 #define HAVE_Y1 1
10083 _ACEOF
10084
10085 fi
10086
10087 echo "$as_me:$LINENO: checking for y1f in -lm" >&5
10088 echo $ECHO_N "checking for y1f in -lm... $ECHO_C" >&6
10089 if test "${ac_cv_lib_m_y1f+set}" = set; then
10090   echo $ECHO_N "(cached) $ECHO_C" >&6
10091 else
10092   ac_check_lib_save_LIBS=$LIBS
10093 LIBS="-lm  $LIBS"
10094 if test x$gcc_no_link = xyes; then
10095   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10096 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10097    { (exit 1); exit 1; }; }
10098 fi
10099 cat >conftest.$ac_ext <<_ACEOF
10100 /* confdefs.h.  */
10101 _ACEOF
10102 cat confdefs.h >>conftest.$ac_ext
10103 cat >>conftest.$ac_ext <<_ACEOF
10104 /* end confdefs.h.  */
10105
10106 /* Override any gcc2 internal prototype to avoid an error.  */
10107 #ifdef __cplusplus
10108 extern "C"
10109 #endif
10110 /* We use char because int might match the return type of a gcc2
10111    builtin and then its argument prototype would still apply.  */
10112 char y1f ();
10113 int
10114 main ()
10115 {
10116 y1f ();
10117   ;
10118   return 0;
10119 }
10120 _ACEOF
10121 rm -f conftest.$ac_objext conftest$ac_exeext
10122 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10123   (eval $ac_link) 2>conftest.er1
10124   ac_status=$?
10125   grep -v '^ *+' conftest.er1 >conftest.err
10126   rm -f conftest.er1
10127   cat conftest.err >&5
10128   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10129   (exit $ac_status); } &&
10130          { ac_try='test -z "$ac_c_werror_flag"
10131                          || test ! -s conftest.err'
10132   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10133   (eval $ac_try) 2>&5
10134   ac_status=$?
10135   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10136   (exit $ac_status); }; } &&
10137          { ac_try='test -s conftest$ac_exeext'
10138   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10139   (eval $ac_try) 2>&5
10140   ac_status=$?
10141   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10142   (exit $ac_status); }; }; then
10143   ac_cv_lib_m_y1f=yes
10144 else
10145   echo "$as_me: failed program was:" >&5
10146 sed 's/^/| /' conftest.$ac_ext >&5
10147
10148 ac_cv_lib_m_y1f=no
10149 fi
10150 rm -f conftest.err conftest.$ac_objext \
10151       conftest$ac_exeext conftest.$ac_ext
10152 LIBS=$ac_check_lib_save_LIBS
10153 fi
10154 echo "$as_me:$LINENO: result: $ac_cv_lib_m_y1f" >&5
10155 echo "${ECHO_T}$ac_cv_lib_m_y1f" >&6
10156 if test $ac_cv_lib_m_y1f = yes; then
10157
10158 cat >>confdefs.h <<\_ACEOF
10159 #define HAVE_Y1F 1
10160 _ACEOF
10161
10162 fi
10163
10164 echo "$as_me:$LINENO: checking for yn in -lm" >&5
10165 echo $ECHO_N "checking for yn in -lm... $ECHO_C" >&6
10166 if test "${ac_cv_lib_m_yn+set}" = set; then
10167   echo $ECHO_N "(cached) $ECHO_C" >&6
10168 else
10169   ac_check_lib_save_LIBS=$LIBS
10170 LIBS="-lm  $LIBS"
10171 if test x$gcc_no_link = xyes; then
10172   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10173 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10174    { (exit 1); exit 1; }; }
10175 fi
10176 cat >conftest.$ac_ext <<_ACEOF
10177 /* confdefs.h.  */
10178 _ACEOF
10179 cat confdefs.h >>conftest.$ac_ext
10180 cat >>conftest.$ac_ext <<_ACEOF
10181 /* end confdefs.h.  */
10182
10183 /* Override any gcc2 internal prototype to avoid an error.  */
10184 #ifdef __cplusplus
10185 extern "C"
10186 #endif
10187 /* We use char because int might match the return type of a gcc2
10188    builtin and then its argument prototype would still apply.  */
10189 char yn ();
10190 int
10191 main ()
10192 {
10193 yn ();
10194   ;
10195   return 0;
10196 }
10197 _ACEOF
10198 rm -f conftest.$ac_objext conftest$ac_exeext
10199 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10200   (eval $ac_link) 2>conftest.er1
10201   ac_status=$?
10202   grep -v '^ *+' conftest.er1 >conftest.err
10203   rm -f conftest.er1
10204   cat conftest.err >&5
10205   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10206   (exit $ac_status); } &&
10207          { ac_try='test -z "$ac_c_werror_flag"
10208                          || test ! -s conftest.err'
10209   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10210   (eval $ac_try) 2>&5
10211   ac_status=$?
10212   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10213   (exit $ac_status); }; } &&
10214          { ac_try='test -s conftest$ac_exeext'
10215   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10216   (eval $ac_try) 2>&5
10217   ac_status=$?
10218   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10219   (exit $ac_status); }; }; then
10220   ac_cv_lib_m_yn=yes
10221 else
10222   echo "$as_me: failed program was:" >&5
10223 sed 's/^/| /' conftest.$ac_ext >&5
10224
10225 ac_cv_lib_m_yn=no
10226 fi
10227 rm -f conftest.err conftest.$ac_objext \
10228       conftest$ac_exeext conftest.$ac_ext
10229 LIBS=$ac_check_lib_save_LIBS
10230 fi
10231 echo "$as_me:$LINENO: result: $ac_cv_lib_m_yn" >&5
10232 echo "${ECHO_T}$ac_cv_lib_m_yn" >&6
10233 if test $ac_cv_lib_m_yn = yes; then
10234
10235 cat >>confdefs.h <<\_ACEOF
10236 #define HAVE_YN 1
10237 _ACEOF
10238
10239 fi
10240
10241 echo "$as_me:$LINENO: checking for ynf in -lm" >&5
10242 echo $ECHO_N "checking for ynf in -lm... $ECHO_C" >&6
10243 if test "${ac_cv_lib_m_ynf+set}" = set; then
10244   echo $ECHO_N "(cached) $ECHO_C" >&6
10245 else
10246   ac_check_lib_save_LIBS=$LIBS
10247 LIBS="-lm  $LIBS"
10248 if test x$gcc_no_link = xyes; then
10249   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10250 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10251    { (exit 1); exit 1; }; }
10252 fi
10253 cat >conftest.$ac_ext <<_ACEOF
10254 /* confdefs.h.  */
10255 _ACEOF
10256 cat confdefs.h >>conftest.$ac_ext
10257 cat >>conftest.$ac_ext <<_ACEOF
10258 /* end confdefs.h.  */
10259
10260 /* Override any gcc2 internal prototype to avoid an error.  */
10261 #ifdef __cplusplus
10262 extern "C"
10263 #endif
10264 /* We use char because int might match the return type of a gcc2
10265    builtin and then its argument prototype would still apply.  */
10266 char ynf ();
10267 int
10268 main ()
10269 {
10270 ynf ();
10271   ;
10272   return 0;
10273 }
10274 _ACEOF
10275 rm -f conftest.$ac_objext conftest$ac_exeext
10276 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10277   (eval $ac_link) 2>conftest.er1
10278   ac_status=$?
10279   grep -v '^ *+' conftest.er1 >conftest.err
10280   rm -f conftest.er1
10281   cat conftest.err >&5
10282   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10283   (exit $ac_status); } &&
10284          { ac_try='test -z "$ac_c_werror_flag"
10285                          || test ! -s conftest.err'
10286   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10287   (eval $ac_try) 2>&5
10288   ac_status=$?
10289   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10290   (exit $ac_status); }; } &&
10291          { ac_try='test -s conftest$ac_exeext'
10292   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10293   (eval $ac_try) 2>&5
10294   ac_status=$?
10295   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10296   (exit $ac_status); }; }; then
10297   ac_cv_lib_m_ynf=yes
10298 else
10299   echo "$as_me: failed program was:" >&5
10300 sed 's/^/| /' conftest.$ac_ext >&5
10301
10302 ac_cv_lib_m_ynf=no
10303 fi
10304 rm -f conftest.err conftest.$ac_objext \
10305       conftest$ac_exeext conftest.$ac_ext
10306 LIBS=$ac_check_lib_save_LIBS
10307 fi
10308 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ynf" >&5
10309 echo "${ECHO_T}$ac_cv_lib_m_ynf" >&6
10310 if test $ac_cv_lib_m_ynf = yes; then
10311
10312 cat >>confdefs.h <<\_ACEOF
10313 #define HAVE_YNF 1
10314 _ACEOF
10315
10316 fi
10317
10318
10319 # Fallback in case isfinite is not available.
10320 echo "$as_me:$LINENO: checking for finite in -lm" >&5
10321 echo $ECHO_N "checking for finite in -lm... $ECHO_C" >&6
10322 if test "${ac_cv_lib_m_finite+set}" = set; then
10323   echo $ECHO_N "(cached) $ECHO_C" >&6
10324 else
10325   ac_check_lib_save_LIBS=$LIBS
10326 LIBS="-lm  $LIBS"
10327 if test x$gcc_no_link = xyes; then
10328   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10329 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10330    { (exit 1); exit 1; }; }
10331 fi
10332 cat >conftest.$ac_ext <<_ACEOF
10333 /* confdefs.h.  */
10334 _ACEOF
10335 cat confdefs.h >>conftest.$ac_ext
10336 cat >>conftest.$ac_ext <<_ACEOF
10337 /* end confdefs.h.  */
10338
10339 /* Override any gcc2 internal prototype to avoid an error.  */
10340 #ifdef __cplusplus
10341 extern "C"
10342 #endif
10343 /* We use char because int might match the return type of a gcc2
10344    builtin and then its argument prototype would still apply.  */
10345 char finite ();
10346 int
10347 main ()
10348 {
10349 finite ();
10350   ;
10351   return 0;
10352 }
10353 _ACEOF
10354 rm -f conftest.$ac_objext conftest$ac_exeext
10355 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10356   (eval $ac_link) 2>conftest.er1
10357   ac_status=$?
10358   grep -v '^ *+' conftest.er1 >conftest.err
10359   rm -f conftest.er1
10360   cat conftest.err >&5
10361   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10362   (exit $ac_status); } &&
10363          { ac_try='test -z "$ac_c_werror_flag"
10364                          || test ! -s conftest.err'
10365   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10366   (eval $ac_try) 2>&5
10367   ac_status=$?
10368   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10369   (exit $ac_status); }; } &&
10370          { ac_try='test -s conftest$ac_exeext'
10371   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10372   (eval $ac_try) 2>&5
10373   ac_status=$?
10374   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10375   (exit $ac_status); }; }; then
10376   ac_cv_lib_m_finite=yes
10377 else
10378   echo "$as_me: failed program was:" >&5
10379 sed 's/^/| /' conftest.$ac_ext >&5
10380
10381 ac_cv_lib_m_finite=no
10382 fi
10383 rm -f conftest.err conftest.$ac_objext \
10384       conftest$ac_exeext conftest.$ac_ext
10385 LIBS=$ac_check_lib_save_LIBS
10386 fi
10387 echo "$as_me:$LINENO: result: $ac_cv_lib_m_finite" >&5
10388 echo "${ECHO_T}$ac_cv_lib_m_finite" >&6
10389 if test $ac_cv_lib_m_finite = yes; then
10390
10391 cat >>confdefs.h <<\_ACEOF
10392 #define HAVE_FINITE 1
10393 _ACEOF
10394
10395 fi
10396
10397
10398 # Let the user override this
10399 # Check whether --enable-cmath or --disable-cmath was given.
10400 if test "${enable_cmath+set}" = set; then
10401   enableval="$enable_cmath"
10402   need_math=$enableval
10403 fi;
10404 if test "$need_math" = "yes"; then
10405         { echo "$as_me:$LINENO: Including complex math functions in libgfor" >&5
10406 echo "$as_me: Including complex math functions in libgfor" >&6;};
10407   extra_math_obj='$(gfor_cmath_obj)'
10408 fi
10409
10410 MATH_OBJ="$extra_math_obj"
10411
10412
10413 # The standard autoconf HAVE_STRUCT_TIMEZONE doesn't actually check
10414 # for struct timezone, as you might think.  We also need to check how
10415 # to call gettimeofday if we have it.
10416 echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
10417 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
10418 if test "${ac_cv_header_time+set}" = set; then
10419   echo $ECHO_N "(cached) $ECHO_C" >&6
10420 else
10421   cat >conftest.$ac_ext <<_ACEOF
10422 /* confdefs.h.  */
10423 _ACEOF
10424 cat confdefs.h >>conftest.$ac_ext
10425 cat >>conftest.$ac_ext <<_ACEOF
10426 /* end confdefs.h.  */
10427 #include <sys/types.h>
10428 #include <sys/time.h>
10429 #include <time.h>
10430
10431 int
10432 main ()
10433 {
10434 if ((struct tm *) 0)
10435 return 0;
10436   ;
10437   return 0;
10438 }
10439 _ACEOF
10440 rm -f conftest.$ac_objext
10441 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10442   (eval $ac_compile) 2>conftest.er1
10443   ac_status=$?
10444   grep -v '^ *+' conftest.er1 >conftest.err
10445   rm -f conftest.er1
10446   cat conftest.err >&5
10447   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10448   (exit $ac_status); } &&
10449          { ac_try='test -z "$ac_c_werror_flag"
10450                          || test ! -s conftest.err'
10451   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10452   (eval $ac_try) 2>&5
10453   ac_status=$?
10454   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10455   (exit $ac_status); }; } &&
10456          { ac_try='test -s conftest.$ac_objext'
10457   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10458   (eval $ac_try) 2>&5
10459   ac_status=$?
10460   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10461   (exit $ac_status); }; }; then
10462   ac_cv_header_time=yes
10463 else
10464   echo "$as_me: failed program was:" >&5
10465 sed 's/^/| /' conftest.$ac_ext >&5
10466
10467 ac_cv_header_time=no
10468 fi
10469 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10470 fi
10471 echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
10472 echo "${ECHO_T}$ac_cv_header_time" >&6
10473 if test $ac_cv_header_time = yes; then
10474
10475 cat >>confdefs.h <<\_ACEOF
10476 #define TIME_WITH_SYS_TIME 1
10477 _ACEOF
10478
10479 fi
10480
10481
10482
10483 for ac_func in gettimeofday
10484 do
10485 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10486 echo "$as_me:$LINENO: checking for $ac_func" >&5
10487 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10488 if eval "test \"\${$as_ac_var+set}\" = set"; then
10489   echo $ECHO_N "(cached) $ECHO_C" >&6
10490 else
10491   if test x$gcc_no_link = xyes; then
10492   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10493 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10494    { (exit 1); exit 1; }; }
10495 fi
10496 cat >conftest.$ac_ext <<_ACEOF
10497 /* confdefs.h.  */
10498 _ACEOF
10499 cat confdefs.h >>conftest.$ac_ext
10500 cat >>conftest.$ac_ext <<_ACEOF
10501 /* end confdefs.h.  */
10502 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10503    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
10504 #define $ac_func innocuous_$ac_func
10505
10506 /* System header to define __stub macros and hopefully few prototypes,
10507     which can conflict with char $ac_func (); below.
10508     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10509     <limits.h> exists even on freestanding compilers.  */
10510
10511 #ifdef __STDC__
10512 # include <limits.h>
10513 #else
10514 # include <assert.h>
10515 #endif
10516
10517 #undef $ac_func
10518
10519 /* Override any gcc2 internal prototype to avoid an error.  */
10520 #ifdef __cplusplus
10521 extern "C"
10522 {
10523 #endif
10524 /* We use char because int might match the return type of a gcc2
10525    builtin and then its argument prototype would still apply.  */
10526 char $ac_func ();
10527 /* The GNU C library defines this for functions which it implements
10528     to always fail with ENOSYS.  Some functions are actually named
10529     something starting with __ and the normal name is an alias.  */
10530 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10531 choke me
10532 #else
10533 char (*f) () = $ac_func;
10534 #endif
10535 #ifdef __cplusplus
10536 }
10537 #endif
10538
10539 int
10540 main ()
10541 {
10542 return f != $ac_func;
10543   ;
10544   return 0;
10545 }
10546 _ACEOF
10547 rm -f conftest.$ac_objext conftest$ac_exeext
10548 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10549   (eval $ac_link) 2>conftest.er1
10550   ac_status=$?
10551   grep -v '^ *+' conftest.er1 >conftest.err
10552   rm -f conftest.er1
10553   cat conftest.err >&5
10554   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10555   (exit $ac_status); } &&
10556          { ac_try='test -z "$ac_c_werror_flag"
10557                          || test ! -s conftest.err'
10558   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10559   (eval $ac_try) 2>&5
10560   ac_status=$?
10561   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10562   (exit $ac_status); }; } &&
10563          { ac_try='test -s conftest$ac_exeext'
10564   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10565   (eval $ac_try) 2>&5
10566   ac_status=$?
10567   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10568   (exit $ac_status); }; }; then
10569   eval "$as_ac_var=yes"
10570 else
10571   echo "$as_me: failed program was:" >&5
10572 sed 's/^/| /' conftest.$ac_ext >&5
10573
10574 eval "$as_ac_var=no"
10575 fi
10576 rm -f conftest.err conftest.$ac_objext \
10577       conftest$ac_exeext conftest.$ac_ext
10578 fi
10579 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10580 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10581 if test `eval echo '${'$as_ac_var'}'` = yes; then
10582   cat >>confdefs.h <<_ACEOF
10583 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10584 _ACEOF
10585
10586 fi
10587 done
10588
10589   if test "$ac_cv_func_gettimeofday" = yes; then
10590     echo "$as_me:$LINENO: checking for struct timezone" >&5
10591 echo $ECHO_N "checking for struct timezone... $ECHO_C" >&6
10592 if test "${gfor_cv_struct_timezone+set}" = set; then
10593   echo $ECHO_N "(cached) $ECHO_C" >&6
10594 else
10595   cat >conftest.$ac_ext <<_ACEOF
10596 /* confdefs.h.  */
10597 _ACEOF
10598 cat confdefs.h >>conftest.$ac_ext
10599 cat >>conftest.$ac_ext <<_ACEOF
10600 /* end confdefs.h.  */
10601 #include <sys/time.h>
10602 int
10603 main ()
10604 {
10605 struct timezone tz;
10606   ;
10607   return 0;
10608 }
10609 _ACEOF
10610 rm -f conftest.$ac_objext
10611 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10612   (eval $ac_compile) 2>conftest.er1
10613   ac_status=$?
10614   grep -v '^ *+' conftest.er1 >conftest.err
10615   rm -f conftest.er1
10616   cat conftest.err >&5
10617   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10618   (exit $ac_status); } &&
10619          { ac_try='test -z "$ac_c_werror_flag"
10620                          || test ! -s conftest.err'
10621   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10622   (eval $ac_try) 2>&5
10623   ac_status=$?
10624   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10625   (exit $ac_status); }; } &&
10626          { ac_try='test -s conftest.$ac_objext'
10627   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10628   (eval $ac_try) 2>&5
10629   ac_status=$?
10630   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10631   (exit $ac_status); }; }; then
10632   gfor_cv_struct_timezone=yes
10633 else
10634   echo "$as_me: failed program was:" >&5
10635 sed 's/^/| /' conftest.$ac_ext >&5
10636
10637 gfor_cv_struct_timezone=no
10638 fi
10639 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10640 fi
10641 echo "$as_me:$LINENO: result: $gfor_cv_struct_timezone" >&5
10642 echo "${ECHO_T}$gfor_cv_struct_timezone" >&6
10643     if test $gfor_cv_struct_timezone = yes; then
10644                   if test "$cross_compiling" = yes; then
10645   gfor_have_struct_timezone=yes
10646 else
10647   cat >conftest.$ac_ext <<_ACEOF
10648 /* confdefs.h.  */
10649 _ACEOF
10650 cat confdefs.h >>conftest.$ac_ext
10651 cat >>conftest.$ac_ext <<_ACEOF
10652 /* end confdefs.h.  */
10653
10654 #ifdef TIME_WITH_SYS_TIME
10655 #include <sys/time.h>
10656 #include <time.h>
10657 #else
10658 #ifdef HAVE_SYS_TIME_H
10659 #include <sys/time.h>
10660 #else
10661 #include <time.h>
10662 #endif
10663 #endif
10664 main ()
10665 {
10666   struct timeval time;
10667   struct timezone dummy;
10668   if (gettimeofday (&time, &dummy))
10669     exit (1);
10670   else
10671     exit (0);
10672 }
10673 _ACEOF
10674 rm -f conftest$ac_exeext
10675 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10676   (eval $ac_link) 2>&5
10677   ac_status=$?
10678   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10679   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
10680   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10681   (eval $ac_try) 2>&5
10682   ac_status=$?
10683   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10684   (exit $ac_status); }; }; then
10685   gfor_have_struct_timezone=yes
10686 else
10687   echo "$as_me: program exited with status $ac_status" >&5
10688 echo "$as_me: failed program was:" >&5
10689 sed 's/^/| /' conftest.$ac_ext >&5
10690
10691 ( exit $ac_status )
10692 gfor_have_struct_timezone=no
10693 fi
10694 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
10695 fi
10696       if test $gfor_have_struct_timezone = yes; then
10697
10698 cat >>confdefs.h <<\_ACEOF
10699 #define HAVE_TIMEZONE 1
10700 _ACEOF
10701
10702       fi
10703     fi
10704
10705     echo "$as_me:$LINENO: checking whether gettimeofday can accept two arguments" >&5
10706 echo $ECHO_N "checking whether gettimeofday can accept two arguments... $ECHO_C" >&6
10707 if test "${emacs_cv_gettimeofday_two_arguments+set}" = set; then
10708   echo $ECHO_N "(cached) $ECHO_C" >&6
10709 else
10710   if test x$gcc_no_link = xyes; then
10711   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10712 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10713    { (exit 1); exit 1; }; }
10714 fi
10715 cat >conftest.$ac_ext <<_ACEOF
10716 /* confdefs.h.  */
10717 _ACEOF
10718 cat confdefs.h >>conftest.$ac_ext
10719 cat >>conftest.$ac_ext <<_ACEOF
10720 /* end confdefs.h.  */
10721
10722 #ifdef TIME_WITH_SYS_TIME
10723 #include <sys/time.h>
10724 #include <time.h>
10725 #else
10726 #ifdef HAVE_SYS_TIME_H
10727 #include <sys/time.h>
10728 #else
10729 #include <time.h>
10730 #endif
10731 #endif
10732
10733 int
10734 main ()
10735 {
10736
10737       struct timeval time;
10738 #ifdef HAVE_TIMEZONE
10739       struct timezone dummy;
10740 #define DUMMY &dummy
10741 #else
10742 #define DUMMY NULL
10743 #endif
10744       gettimeofday (&time, DUMMY);
10745   ;
10746   return 0;
10747 }
10748 _ACEOF
10749 rm -f conftest.$ac_objext conftest$ac_exeext
10750 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10751   (eval $ac_link) 2>conftest.er1
10752   ac_status=$?
10753   grep -v '^ *+' conftest.er1 >conftest.err
10754   rm -f conftest.er1
10755   cat conftest.err >&5
10756   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10757   (exit $ac_status); } &&
10758          { ac_try='test -z "$ac_c_werror_flag"
10759                          || test ! -s conftest.err'
10760   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10761   (eval $ac_try) 2>&5
10762   ac_status=$?
10763   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10764   (exit $ac_status); }; } &&
10765          { ac_try='test -s conftest$ac_exeext'
10766   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10767   (eval $ac_try) 2>&5
10768   ac_status=$?
10769   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10770   (exit $ac_status); }; }; then
10771   emacs_cv_gettimeofday_two_arguments=yes
10772 else
10773   echo "$as_me: failed program was:" >&5
10774 sed 's/^/| /' conftest.$ac_ext >&5
10775
10776 emacs_cv_gettimeofday_two_arguments=no
10777 fi
10778 rm -f conftest.err conftest.$ac_objext \
10779       conftest$ac_exeext conftest.$ac_ext
10780 fi
10781 echo "$as_me:$LINENO: result: $emacs_cv_gettimeofday_two_arguments" >&5
10782 echo "${ECHO_T}$emacs_cv_gettimeofday_two_arguments" >&6
10783     if test $emacs_cv_gettimeofday_two_arguments = no; then
10784
10785 cat >>confdefs.h <<\_ACEOF
10786 #define GETTIMEOFDAY_ONE_ARGUMENT 1
10787 _ACEOF
10788
10789     fi
10790   fi
10791
10792 # Attempt to assert that the target is of common type in case we don't
10793 # have C99 integer types at all.
10794
10795   echo "$as_me:$LINENO: checking whether the target is ILP32" >&5
10796 echo $ECHO_N "checking whether the target is ILP32... $ECHO_C" >&6
10797 if test "${target_ilp32+set}" = set; then
10798   echo $ECHO_N "(cached) $ECHO_C" >&6
10799 else
10800
10801   save_CFLAGS="$CFLAGS"
10802   CFLAGS="-O2"
10803   if test x$gcc_no_link = xyes; then
10804   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10805 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10806    { (exit 1); exit 1; }; }
10807 fi
10808 cat >conftest.$ac_ext <<_ACEOF
10809 /* confdefs.h.  */
10810 _ACEOF
10811 cat confdefs.h >>conftest.$ac_ext
10812 cat >>conftest.$ac_ext <<_ACEOF
10813 /* end confdefs.h.  */
10814
10815 int
10816 main ()
10817 {
10818
10819 if (sizeof(int) == 4 && sizeof(long) == 4 && sizeof(void *) == 4)
10820   ;
10821 else
10822   undefined_function ();
10823
10824   ;
10825   return 0;
10826 }
10827 _ACEOF
10828 rm -f conftest.$ac_objext conftest$ac_exeext
10829 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10830   (eval $ac_link) 2>conftest.er1
10831   ac_status=$?
10832   grep -v '^ *+' conftest.er1 >conftest.err
10833   rm -f conftest.er1
10834   cat conftest.err >&5
10835   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10836   (exit $ac_status); } &&
10837          { ac_try='test -z "$ac_c_werror_flag"
10838                          || test ! -s conftest.err'
10839   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10840   (eval $ac_try) 2>&5
10841   ac_status=$?
10842   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10843   (exit $ac_status); }; } &&
10844          { ac_try='test -s conftest$ac_exeext'
10845   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10846   (eval $ac_try) 2>&5
10847   ac_status=$?
10848   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10849   (exit $ac_status); }; }; then
10850   target_ilp32=yes
10851 else
10852   echo "$as_me: failed program was:" >&5
10853 sed 's/^/| /' conftest.$ac_ext >&5
10854
10855 target_ilp32=no
10856 fi
10857 rm -f conftest.err conftest.$ac_objext \
10858       conftest$ac_exeext conftest.$ac_ext
10859   CFLAGS="$save_CFLAGS"
10860 fi
10861 echo "$as_me:$LINENO: result: $target_ilp32" >&5
10862 echo "${ECHO_T}$target_ilp32" >&6
10863   if test $target_ilp32 = yes; then
10864
10865 cat >>confdefs.h <<\_ACEOF
10866 #define TARGET_ILP32 1
10867 _ACEOF
10868
10869   fi
10870
10871
10872 cat >confcache <<\_ACEOF
10873 # This file is a shell script that caches the results of configure
10874 # tests run on this system so they can be shared between configure
10875 # scripts and configure runs, see configure's option --config-cache.
10876 # It is not useful on other systems.  If it contains results you don't
10877 # want to keep, you may remove or edit it.
10878 #
10879 # config.status only pays attention to the cache file if you give it
10880 # the --recheck option to rerun configure.
10881 #
10882 # `ac_cv_env_foo' variables (set or unset) will be overridden when
10883 # loading this file, other *unset* `ac_cv_foo' will be assigned the
10884 # following values.
10885
10886 _ACEOF
10887
10888 # The following way of writing the cache mishandles newlines in values,
10889 # but we know of no workaround that is simple, portable, and efficient.
10890 # So, don't put newlines in cache variables' values.
10891 # Ultrix sh set writes to stderr and can't be redirected directly,
10892 # and sets the high bit in the cache file unless we assign to the vars.
10893 {
10894   (set) 2>&1 |
10895     case `(ac_space=' '; set | grep ac_space) 2>&1` in
10896     *ac_space=\ *)
10897       # `set' does not quote correctly, so add quotes (double-quote
10898       # substitution turns \\\\ into \\, and sed turns \\ into \).
10899       sed -n \
10900         "s/'/'\\\\''/g;
10901           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
10902       ;;
10903     *)
10904       # `set' quotes correctly as required by POSIX, so do not add quotes.
10905       sed -n \
10906         "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
10907       ;;
10908     esac;
10909 } |
10910   sed '
10911      t clear
10912      : clear
10913      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
10914      t end
10915      /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
10916      : end' >>confcache
10917 if diff $cache_file confcache >/dev/null 2>&1; then :; else
10918   if test -w $cache_file; then
10919     test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
10920     cat confcache >$cache_file
10921   else
10922     echo "not updating unwritable cache $cache_file"
10923   fi
10924 fi
10925 rm -f confcache
10926
10927 if test ${multilib} = yes; then
10928   multilib_arg="--enable-multilib"
10929 else
10930   multilib_arg=
10931 fi
10932
10933 # Write our Makefile.
10934           ac_config_files="$ac_config_files Makefile"
10935
10936 cat >confcache <<\_ACEOF
10937 # This file is a shell script that caches the results of configure
10938 # tests run on this system so they can be shared between configure
10939 # scripts and configure runs, see configure's option --config-cache.
10940 # It is not useful on other systems.  If it contains results you don't
10941 # want to keep, you may remove or edit it.
10942 #
10943 # config.status only pays attention to the cache file if you give it
10944 # the --recheck option to rerun configure.
10945 #
10946 # `ac_cv_env_foo' variables (set or unset) will be overridden when
10947 # loading this file, other *unset* `ac_cv_foo' will be assigned the
10948 # following values.
10949
10950 _ACEOF
10951
10952 # The following way of writing the cache mishandles newlines in values,
10953 # but we know of no workaround that is simple, portable, and efficient.
10954 # So, don't put newlines in cache variables' values.
10955 # Ultrix sh set writes to stderr and can't be redirected directly,
10956 # and sets the high bit in the cache file unless we assign to the vars.
10957 {
10958   (set) 2>&1 |
10959     case `(ac_space=' '; set | grep ac_space) 2>&1` in
10960     *ac_space=\ *)
10961       # `set' does not quote correctly, so add quotes (double-quote
10962       # substitution turns \\\\ into \\, and sed turns \\ into \).
10963       sed -n \
10964         "s/'/'\\\\''/g;
10965           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
10966       ;;
10967     *)
10968       # `set' quotes correctly as required by POSIX, so do not add quotes.
10969       sed -n \
10970         "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
10971       ;;
10972     esac;
10973 } |
10974   sed '
10975      t clear
10976      : clear
10977      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
10978      t end
10979      /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
10980      : end' >>confcache
10981 if diff $cache_file confcache >/dev/null 2>&1; then :; else
10982   if test -w $cache_file; then
10983     test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
10984     cat confcache >$cache_file
10985   else
10986     echo "not updating unwritable cache $cache_file"
10987   fi
10988 fi
10989 rm -f confcache
10990
10991 test "x$prefix" = xNONE && prefix=$ac_default_prefix
10992 # Let make expand exec_prefix.
10993 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
10994
10995 # VPATH may cause trouble with some makes, so we remove $(srcdir),
10996 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
10997 # trailing colons and then remove the whole line if VPATH becomes empty
10998 # (actually we leave an empty line to preserve line numbers).
10999 if test "x$srcdir" = x.; then
11000   ac_vpsub='/^[  ]*VPATH[        ]*=/{
11001 s/:*\$(srcdir):*/:/;
11002 s/:*\${srcdir}:*/:/;
11003 s/:*@srcdir@:*/:/;
11004 s/^\([^=]*=[     ]*\):*/\1/;
11005 s/:*$//;
11006 s/^[^=]*=[       ]*$//;
11007 }'
11008 fi
11009
11010 DEFS=-DHAVE_CONFIG_H
11011
11012 ac_libobjs=
11013 ac_ltlibobjs=
11014 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
11015   # 1. Remove the extension, and $U if already installed.
11016   ac_i=`echo "$ac_i" |
11017          sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
11018   # 2. Add them.
11019   ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
11020   ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
11021 done
11022 LIBOBJS=$ac_libobjs
11023
11024 LTLIBOBJS=$ac_ltlibobjs
11025
11026
11027 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
11028   { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
11029 Usually this means the macro was only invoked conditionally." >&5
11030 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
11031 Usually this means the macro was only invoked conditionally." >&2;}
11032    { (exit 1); exit 1; }; }
11033 fi
11034
11035 : ${CONFIG_STATUS=./config.status}
11036 ac_clean_files_save=$ac_clean_files
11037 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
11038 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
11039 echo "$as_me: creating $CONFIG_STATUS" >&6;}
11040 cat >$CONFIG_STATUS <<_ACEOF
11041 #! $SHELL
11042 # Generated by $as_me.
11043 # Run this file to recreate the current configuration.
11044 # Compiler output produced by configure, useful for debugging
11045 # configure, is in config.log if it exists.
11046
11047 debug=false
11048 ac_cs_recheck=false
11049 ac_cs_silent=false
11050 SHELL=\${CONFIG_SHELL-$SHELL}
11051 _ACEOF
11052
11053 cat >>$CONFIG_STATUS <<\_ACEOF
11054 ## --------------------- ##
11055 ## M4sh Initialization.  ##
11056 ## --------------------- ##
11057
11058 # Be Bourne compatible
11059 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
11060   emulate sh
11061   NULLCMD=:
11062   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
11063   # is contrary to our usage.  Disable this feature.
11064   alias -g '${1+"$@"}'='"$@"'
11065 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
11066   set -o posix
11067 fi
11068 DUALCASE=1; export DUALCASE # for MKS sh
11069
11070 # Support unset when possible.
11071 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
11072   as_unset=unset
11073 else
11074   as_unset=false
11075 fi
11076
11077
11078 # Work around bugs in pre-3.0 UWIN ksh.
11079 $as_unset ENV MAIL MAILPATH
11080 PS1='$ '
11081 PS2='> '
11082 PS4='+ '
11083
11084 # NLS nuisances.
11085 for as_var in \
11086   LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
11087   LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
11088   LC_TELEPHONE LC_TIME
11089 do
11090   if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
11091     eval $as_var=C; export $as_var
11092   else
11093     $as_unset $as_var
11094   fi
11095 done
11096
11097 # Required to use basename.
11098 if expr a : '\(a\)' >/dev/null 2>&1; then
11099   as_expr=expr
11100 else
11101   as_expr=false
11102 fi
11103
11104 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
11105   as_basename=basename
11106 else
11107   as_basename=false
11108 fi
11109
11110
11111 # Name of the executable.
11112 as_me=`$as_basename "$0" ||
11113 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
11114          X"$0" : 'X\(//\)$' \| \
11115          X"$0" : 'X\(/\)$' \| \
11116          .     : '\(.\)' 2>/dev/null ||
11117 echo X/"$0" |
11118     sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
11119           /^X\/\(\/\/\)$/{ s//\1/; q; }
11120           /^X\/\(\/\).*/{ s//\1/; q; }
11121           s/.*/./; q'`
11122
11123
11124 # PATH needs CR, and LINENO needs CR and PATH.
11125 # Avoid depending upon Character Ranges.
11126 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
11127 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
11128 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
11129 as_cr_digits='0123456789'
11130 as_cr_alnum=$as_cr_Letters$as_cr_digits
11131
11132 # The user is always right.
11133 if test "${PATH_SEPARATOR+set}" != set; then
11134   echo "#! /bin/sh" >conf$$.sh
11135   echo  "exit 0"   >>conf$$.sh
11136   chmod +x conf$$.sh
11137   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
11138     PATH_SEPARATOR=';'
11139   else
11140     PATH_SEPARATOR=:
11141   fi
11142   rm -f conf$$.sh
11143 fi
11144
11145
11146   as_lineno_1=$LINENO
11147   as_lineno_2=$LINENO
11148   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
11149   test "x$as_lineno_1" != "x$as_lineno_2" &&
11150   test "x$as_lineno_3"  = "x$as_lineno_2"  || {
11151   # Find who we are.  Look in the path if we contain no path at all
11152   # relative or not.
11153   case $0 in
11154     *[\\/]* ) as_myself=$0 ;;
11155     *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11156 for as_dir in $PATH
11157 do
11158   IFS=$as_save_IFS
11159   test -z "$as_dir" && as_dir=.
11160   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
11161 done
11162
11163        ;;
11164   esac
11165   # We did not find ourselves, most probably we were run as `sh COMMAND'
11166   # in which case we are not to be found in the path.
11167   if test "x$as_myself" = x; then
11168     as_myself=$0
11169   fi
11170   if test ! -f "$as_myself"; then
11171     { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
11172 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
11173    { (exit 1); exit 1; }; }
11174   fi
11175   case $CONFIG_SHELL in
11176   '')
11177     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11178 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
11179 do
11180   IFS=$as_save_IFS
11181   test -z "$as_dir" && as_dir=.
11182   for as_base in sh bash ksh sh5; do
11183          case $as_dir in
11184          /*)
11185            if ("$as_dir/$as_base" -c '
11186   as_lineno_1=$LINENO
11187   as_lineno_2=$LINENO
11188   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
11189   test "x$as_lineno_1" != "x$as_lineno_2" &&
11190   test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
11191              $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
11192              $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
11193              CONFIG_SHELL=$as_dir/$as_base
11194              export CONFIG_SHELL
11195              exec "$CONFIG_SHELL" "$0" ${1+"$@"}
11196            fi;;
11197          esac
11198        done
11199 done
11200 ;;
11201   esac
11202
11203   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
11204   # uniformly replaced by the line number.  The first 'sed' inserts a
11205   # line-number line before each line; the second 'sed' does the real
11206   # work.  The second script uses 'N' to pair each line-number line
11207   # with the numbered line, and appends trailing '-' during
11208   # substitution so that $LINENO is not a special case at line end.
11209   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
11210   # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
11211   sed '=' <$as_myself |
11212     sed '
11213       N
11214       s,$,-,
11215       : loop
11216       s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
11217       t loop
11218       s,-$,,
11219       s,^['$as_cr_digits']*\n,,
11220     ' >$as_me.lineno &&
11221   chmod +x $as_me.lineno ||
11222     { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
11223 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
11224    { (exit 1); exit 1; }; }
11225
11226   # Don't try to exec as it changes $[0], causing all sort of problems
11227   # (the dirname of $[0] is not the place where we might find the
11228   # original and so on.  Autoconf is especially sensible to this).
11229   . ./$as_me.lineno
11230   # Exit status is that of the last command.
11231   exit
11232 }
11233
11234
11235 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
11236   *c*,-n*) ECHO_N= ECHO_C='
11237 ' ECHO_T='      ' ;;
11238   *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
11239   *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
11240 esac
11241
11242 if expr a : '\(a\)' >/dev/null 2>&1; then
11243   as_expr=expr
11244 else
11245   as_expr=false
11246 fi
11247
11248 rm -f conf$$ conf$$.exe conf$$.file
11249 echo >conf$$.file
11250 if ln -s conf$$.file conf$$ 2>/dev/null; then
11251   # We could just check for DJGPP; but this test a) works b) is more generic
11252   # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
11253   if test -f conf$$.exe; then
11254     # Don't use ln at all; we don't have any links
11255     as_ln_s='cp -p'
11256   else
11257     as_ln_s='ln -s'
11258   fi
11259 elif ln conf$$.file conf$$ 2>/dev/null; then
11260   as_ln_s=ln
11261 else
11262   as_ln_s='cp -p'
11263 fi
11264 rm -f conf$$ conf$$.exe conf$$.file
11265
11266 if mkdir -p . 2>/dev/null; then
11267   as_mkdir_p=:
11268 else
11269   test -d ./-p && rmdir ./-p
11270   as_mkdir_p=false
11271 fi
11272
11273 as_executable_p="test -f"
11274
11275 # Sed expression to map a string onto a valid CPP name.
11276 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
11277
11278 # Sed expression to map a string onto a valid variable name.
11279 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
11280
11281
11282 # IFS
11283 # We need space, tab and new line, in precisely that order.
11284 as_nl='
11285 '
11286 IFS="   $as_nl"
11287
11288 # CDPATH.
11289 $as_unset CDPATH
11290
11291 exec 6>&1
11292
11293 # Open the log real soon, to keep \$[0] and so on meaningful, and to
11294 # report actual input values of CONFIG_FILES etc. instead of their
11295 # values after options handling.  Logging --version etc. is OK.
11296 exec 5>>config.log
11297 {
11298   echo
11299   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
11300 ## Running $as_me. ##
11301 _ASBOX
11302 } >&5
11303 cat >&5 <<_CSEOF
11304
11305 This file was extended by GNU Fortran Runtime Library $as_me 0.2, which was
11306 generated by GNU Autoconf 2.59.  Invocation command line was
11307
11308   CONFIG_FILES    = $CONFIG_FILES
11309   CONFIG_HEADERS  = $CONFIG_HEADERS
11310   CONFIG_LINKS    = $CONFIG_LINKS
11311   CONFIG_COMMANDS = $CONFIG_COMMANDS
11312   $ $0 $@
11313
11314 _CSEOF
11315 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
11316 echo >&5
11317 _ACEOF
11318
11319 # Files that config.status was made for.
11320 if test -n "$ac_config_files"; then
11321   echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
11322 fi
11323
11324 if test -n "$ac_config_headers"; then
11325   echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
11326 fi
11327
11328 if test -n "$ac_config_links"; then
11329   echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
11330 fi
11331
11332 if test -n "$ac_config_commands"; then
11333   echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
11334 fi
11335
11336 cat >>$CONFIG_STATUS <<\_ACEOF
11337
11338 ac_cs_usage="\
11339 \`$as_me' instantiates files from templates according to the
11340 current configuration.
11341
11342 Usage: $0 [OPTIONS] [FILE]...
11343
11344   -h, --help       print this help, then exit
11345   -V, --version    print version number, then exit
11346   -q, --quiet      do not print progress messages
11347   -d, --debug      don't remove temporary files
11348       --recheck    update $as_me by reconfiguring in the same conditions
11349   --file=FILE[:TEMPLATE]
11350                    instantiate the configuration file FILE
11351   --header=FILE[:TEMPLATE]
11352                    instantiate the configuration header FILE
11353
11354 Configuration files:
11355 $config_files
11356
11357 Configuration headers:
11358 $config_headers
11359
11360 Configuration commands:
11361 $config_commands
11362
11363 Report bugs to <bug-autoconf@gnu.org>."
11364 _ACEOF
11365
11366 cat >>$CONFIG_STATUS <<_ACEOF
11367 ac_cs_version="\\
11368 GNU Fortran Runtime Library config.status 0.2
11369 configured by $0, generated by GNU Autoconf 2.59,
11370   with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
11371
11372 Copyright (C) 2003 Free Software Foundation, Inc.
11373 This config.status script is free software; the Free Software Foundation
11374 gives unlimited permission to copy, distribute and modify it."
11375 srcdir=$srcdir
11376 INSTALL="$INSTALL"
11377 _ACEOF
11378
11379 cat >>$CONFIG_STATUS <<\_ACEOF
11380 # If no file are specified by the user, then we need to provide default
11381 # value.  By we need to know if files were specified by the user.
11382 ac_need_defaults=:
11383 while test $# != 0
11384 do
11385   case $1 in
11386   --*=*)
11387     ac_option=`expr "x$1" : 'x\([^=]*\)='`
11388     ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
11389     ac_shift=:
11390     ;;
11391   -*)
11392     ac_option=$1
11393     ac_optarg=$2
11394     ac_shift=shift
11395     ;;
11396   *) # This is not an option, so the user has probably given explicit
11397      # arguments.
11398      ac_option=$1
11399      ac_need_defaults=false;;
11400   esac
11401
11402   case $ac_option in
11403   # Handling of the options.
11404 _ACEOF
11405 cat >>$CONFIG_STATUS <<\_ACEOF
11406   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
11407     ac_cs_recheck=: ;;
11408   --version | --vers* | -V )
11409     echo "$ac_cs_version"; exit 0 ;;
11410   --he | --h)
11411     # Conflict between --help and --header
11412     { { echo "$as_me:$LINENO: error: ambiguous option: $1
11413 Try \`$0 --help' for more information." >&5
11414 echo "$as_me: error: ambiguous option: $1
11415 Try \`$0 --help' for more information." >&2;}
11416    { (exit 1); exit 1; }; };;
11417   --help | --hel | -h )
11418     echo "$ac_cs_usage"; exit 0 ;;
11419   --debug | --d* | -d )
11420     debug=: ;;
11421   --file | --fil | --fi | --f )
11422     $ac_shift
11423     CONFIG_FILES="$CONFIG_FILES $ac_optarg"
11424     ac_need_defaults=false;;
11425   --header | --heade | --head | --hea )
11426     $ac_shift
11427     CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
11428     ac_need_defaults=false;;
11429   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
11430   | -silent | --silent | --silen | --sile | --sil | --si | --s)
11431     ac_cs_silent=: ;;
11432
11433   # This is an error.
11434   -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
11435 Try \`$0 --help' for more information." >&5
11436 echo "$as_me: error: unrecognized option: $1
11437 Try \`$0 --help' for more information." >&2;}
11438    { (exit 1); exit 1; }; } ;;
11439
11440   *) ac_config_targets="$ac_config_targets $1" ;;
11441
11442   esac
11443   shift
11444 done
11445
11446 ac_configure_extra_args=
11447
11448 if $ac_cs_silent; then
11449   exec 6>/dev/null
11450   ac_configure_extra_args="$ac_configure_extra_args --silent"
11451 fi
11452
11453 _ACEOF
11454 cat >>$CONFIG_STATUS <<_ACEOF
11455 if \$ac_cs_recheck; then
11456   echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
11457   exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
11458 fi
11459
11460 _ACEOF
11461
11462 cat >>$CONFIG_STATUS <<_ACEOF
11463 #
11464 # INIT-COMMANDS section.
11465 #
11466
11467
11468 srcdir="$srcdir"
11469 host="$host"
11470 target="$target"
11471 with_multisubdir="$with_multisubdir"
11472 with_multisrctop="$with_multisrctop"
11473 with_target_subdir="$with_target_subdir"
11474 ac_configure_args="${multilib_arg} ${ac_configure_args}"
11475 multi_basedir="$multi_basedir"
11476 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
11477 CC="$CC"
11478
11479 _ACEOF
11480
11481
11482
11483 cat >>$CONFIG_STATUS <<\_ACEOF
11484 for ac_config_target in $ac_config_targets
11485 do
11486   case "$ac_config_target" in
11487   # Handling of arguments.
11488   "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
11489   "default-1" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
11490   "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
11491   *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
11492 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
11493    { (exit 1); exit 1; }; };;
11494   esac
11495 done
11496
11497 # If the user did not use the arguments to specify the items to instantiate,
11498 # then the envvar interface is used.  Set only those that are not.
11499 # We use the long form for the default assignment because of an extremely
11500 # bizarre bug on SunOS 4.1.3.
11501 if $ac_need_defaults; then
11502   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
11503   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
11504   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
11505 fi
11506
11507 # Have a temporary directory for convenience.  Make it in the build tree
11508 # simply because there is no reason to put it here, and in addition,
11509 # creating and moving files from /tmp can sometimes cause problems.
11510 # Create a temporary directory, and hook for its removal unless debugging.
11511 $debug ||
11512 {
11513   trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
11514   trap '{ (exit 1); exit 1; }' 1 2 13 15
11515 }
11516
11517 # Create a (secure) tmp directory for tmp files.
11518
11519 {
11520   tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
11521   test -n "$tmp" && test -d "$tmp"
11522 }  ||
11523 {
11524   tmp=./confstat$$-$RANDOM
11525   (umask 077 && mkdir $tmp)
11526 } ||
11527 {
11528    echo "$me: cannot create a temporary directory in ." >&2
11529    { (exit 1); exit 1; }
11530 }
11531
11532 _ACEOF
11533
11534 cat >>$CONFIG_STATUS <<_ACEOF
11535
11536 #
11537 # CONFIG_FILES section.
11538 #
11539
11540 # No need to generate the scripts if there are no CONFIG_FILES.
11541 # This happens for instance when ./config.status config.h
11542 if test -n "\$CONFIG_FILES"; then
11543   # Protect against being on the right side of a sed subst in config.status.
11544   sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
11545    s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
11546 s,@SHELL@,$SHELL,;t t
11547 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
11548 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
11549 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
11550 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
11551 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
11552 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
11553 s,@exec_prefix@,$exec_prefix,;t t
11554 s,@prefix@,$prefix,;t t
11555 s,@program_transform_name@,$program_transform_name,;t t
11556 s,@bindir@,$bindir,;t t
11557 s,@sbindir@,$sbindir,;t t
11558 s,@libexecdir@,$libexecdir,;t t
11559 s,@datadir@,$datadir,;t t
11560 s,@sysconfdir@,$sysconfdir,;t t
11561 s,@sharedstatedir@,$sharedstatedir,;t t
11562 s,@localstatedir@,$localstatedir,;t t
11563 s,@libdir@,$libdir,;t t
11564 s,@includedir@,$includedir,;t t
11565 s,@oldincludedir@,$oldincludedir,;t t
11566 s,@infodir@,$infodir,;t t
11567 s,@mandir@,$mandir,;t t
11568 s,@build_alias@,$build_alias,;t t
11569 s,@host_alias@,$host_alias,;t t
11570 s,@target_alias@,$target_alias,;t t
11571 s,@DEFS@,$DEFS,;t t
11572 s,@ECHO_C@,$ECHO_C,;t t
11573 s,@ECHO_N@,$ECHO_N,;t t
11574 s,@ECHO_T@,$ECHO_T,;t t
11575 s,@LIBS@,$LIBS,;t t
11576 s,@build@,$build,;t t
11577 s,@build_cpu@,$build_cpu,;t t
11578 s,@build_vendor@,$build_vendor,;t t
11579 s,@build_os@,$build_os,;t t
11580 s,@host@,$host,;t t
11581 s,@host_cpu@,$host_cpu,;t t
11582 s,@host_vendor@,$host_vendor,;t t
11583 s,@host_os@,$host_os,;t t
11584 s,@target@,$target,;t t
11585 s,@target_cpu@,$target_cpu,;t t
11586 s,@target_vendor@,$target_vendor,;t t
11587 s,@target_os@,$target_os,;t t
11588 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
11589 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
11590 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
11591 s,@CYGPATH_W@,$CYGPATH_W,;t t
11592 s,@PACKAGE@,$PACKAGE,;t t
11593 s,@VERSION@,$VERSION,;t t
11594 s,@ACLOCAL@,$ACLOCAL,;t t
11595 s,@AUTOCONF@,$AUTOCONF,;t t
11596 s,@AUTOMAKE@,$AUTOMAKE,;t t
11597 s,@AUTOHEADER@,$AUTOHEADER,;t t
11598 s,@MAKEINFO@,$MAKEINFO,;t t
11599 s,@install_sh@,$install_sh,;t t
11600 s,@STRIP@,$STRIP,;t t
11601 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
11602 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
11603 s,@mkdir_p@,$mkdir_p,;t t
11604 s,@AWK@,$AWK,;t t
11605 s,@SET_MAKE@,$SET_MAKE,;t t
11606 s,@am__leading_dot@,$am__leading_dot,;t t
11607 s,@AMTAR@,$AMTAR,;t t
11608 s,@am__tar@,$am__tar,;t t
11609 s,@am__untar@,$am__untar,;t t
11610 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
11611 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
11612 s,@MAINT@,$MAINT,;t t
11613 s,@multi_basedir@,$multi_basedir,;t t
11614 s,@gcc_version@,$gcc_version,;t t
11615 s,@toolexecdir@,$toolexecdir,;t t
11616 s,@toolexeclibdir@,$toolexeclibdir,;t t
11617 s,@CC@,$CC,;t t
11618 s,@ac_ct_CC@,$ac_ct_CC,;t t
11619 s,@EXEEXT@,$EXEEXT,;t t
11620 s,@OBJEXT@,$OBJEXT,;t t
11621 s,@CFLAGS@,$CFLAGS,;t t
11622 s,@AS@,$AS,;t t
11623 s,@ac_ct_AS@,$ac_ct_AS,;t t
11624 s,@AR@,$AR,;t t
11625 s,@ac_ct_AR@,$ac_ct_AR,;t t
11626 s,@RANLIB@,$RANLIB,;t t
11627 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
11628 s,@LN_S@,$LN_S,;t t
11629 s,@LIBTOOL@,$LIBTOOL,;t t
11630 s,@enable_shared@,$enable_shared,;t t
11631 s,@enable_static@,$enable_static,;t t
11632 s,@FC@,$FC,;t t
11633 s,@FCFLAGS@,$FCFLAGS,;t t
11634 s,@LDFLAGS@,$LDFLAGS,;t t
11635 s,@ac_ct_FC@,$ac_ct_FC,;t t
11636 s,@CPP@,$CPP,;t t
11637 s,@CPPFLAGS@,$CPPFLAGS,;t t
11638 s,@EGREP@,$EGREP,;t t
11639 s,@MATH_OBJ@,$MATH_OBJ,;t t
11640 s,@LIBOBJS@,$LIBOBJS,;t t
11641 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
11642 CEOF
11643
11644 _ACEOF
11645
11646   cat >>$CONFIG_STATUS <<\_ACEOF
11647   # Split the substitutions into bite-sized pieces for seds with
11648   # small command number limits, like on Digital OSF/1 and HP-UX.
11649   ac_max_sed_lines=48
11650   ac_sed_frag=1 # Number of current file.
11651   ac_beg=1 # First line for current file.
11652   ac_end=$ac_max_sed_lines # Line after last line for current file.
11653   ac_more_lines=:
11654   ac_sed_cmds=
11655   while $ac_more_lines; do
11656     if test $ac_beg -gt 1; then
11657       sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
11658     else
11659       sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
11660     fi
11661     if test ! -s $tmp/subs.frag; then
11662       ac_more_lines=false
11663     else
11664       # The purpose of the label and of the branching condition is to
11665       # speed up the sed processing (if there are no `@' at all, there
11666       # is no need to browse any of the substitutions).
11667       # These are the two extra sed commands mentioned above.
11668       (echo ':t
11669   /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
11670       if test -z "$ac_sed_cmds"; then
11671         ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
11672       else
11673         ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
11674       fi
11675       ac_sed_frag=`expr $ac_sed_frag + 1`
11676       ac_beg=$ac_end
11677       ac_end=`expr $ac_end + $ac_max_sed_lines`
11678     fi
11679   done
11680   if test -z "$ac_sed_cmds"; then
11681     ac_sed_cmds=cat
11682   fi
11683 fi # test -n "$CONFIG_FILES"
11684
11685 _ACEOF
11686 cat >>$CONFIG_STATUS <<\_ACEOF
11687 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
11688   # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
11689   case $ac_file in
11690   - | *:- | *:-:* ) # input from stdin
11691         cat >$tmp/stdin
11692         ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
11693         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
11694   *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
11695         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
11696   * )   ac_file_in=$ac_file.in ;;
11697   esac
11698
11699   # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
11700   ac_dir=`(dirname "$ac_file") 2>/dev/null ||
11701 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11702          X"$ac_file" : 'X\(//\)[^/]' \| \
11703          X"$ac_file" : 'X\(//\)$' \| \
11704          X"$ac_file" : 'X\(/\)' \| \
11705          .     : '\(.\)' 2>/dev/null ||
11706 echo X"$ac_file" |
11707     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
11708           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
11709           /^X\(\/\/\)$/{ s//\1/; q; }
11710           /^X\(\/\).*/{ s//\1/; q; }
11711           s/.*/./; q'`
11712   { if $as_mkdir_p; then
11713     mkdir -p "$ac_dir"
11714   else
11715     as_dir="$ac_dir"
11716     as_dirs=
11717     while test ! -d "$as_dir"; do
11718       as_dirs="$as_dir $as_dirs"
11719       as_dir=`(dirname "$as_dir") 2>/dev/null ||
11720 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11721          X"$as_dir" : 'X\(//\)[^/]' \| \
11722          X"$as_dir" : 'X\(//\)$' \| \
11723          X"$as_dir" : 'X\(/\)' \| \
11724          .     : '\(.\)' 2>/dev/null ||
11725 echo X"$as_dir" |
11726     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
11727           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
11728           /^X\(\/\/\)$/{ s//\1/; q; }
11729           /^X\(\/\).*/{ s//\1/; q; }
11730           s/.*/./; q'`
11731     done
11732     test ! -n "$as_dirs" || mkdir $as_dirs
11733   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
11734 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
11735    { (exit 1); exit 1; }; }; }
11736
11737   ac_builddir=.
11738
11739 if test "$ac_dir" != .; then
11740   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
11741   # A "../" for each directory in $ac_dir_suffix.
11742   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
11743 else
11744   ac_dir_suffix= ac_top_builddir=
11745 fi
11746
11747 case $srcdir in
11748   .)  # No --srcdir option.  We are building in place.
11749     ac_srcdir=.
11750     if test -z "$ac_top_builddir"; then
11751        ac_top_srcdir=.
11752     else
11753        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
11754     fi ;;
11755   [\\/]* | ?:[\\/]* )  # Absolute path.
11756     ac_srcdir=$srcdir$ac_dir_suffix;
11757     ac_top_srcdir=$srcdir ;;
11758   *) # Relative path.
11759     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
11760     ac_top_srcdir=$ac_top_builddir$srcdir ;;
11761 esac
11762
11763 # Do not use `cd foo && pwd` to compute absolute paths, because
11764 # the directories may not exist.
11765 case `pwd` in
11766 .) ac_abs_builddir="$ac_dir";;
11767 *)
11768   case "$ac_dir" in
11769   .) ac_abs_builddir=`pwd`;;
11770   [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
11771   *) ac_abs_builddir=`pwd`/"$ac_dir";;
11772   esac;;
11773 esac
11774 case $ac_abs_builddir in
11775 .) ac_abs_top_builddir=${ac_top_builddir}.;;
11776 *)
11777   case ${ac_top_builddir}. in
11778   .) ac_abs_top_builddir=$ac_abs_builddir;;
11779   [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
11780   *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
11781   esac;;
11782 esac
11783 case $ac_abs_builddir in
11784 .) ac_abs_srcdir=$ac_srcdir;;
11785 *)
11786   case $ac_srcdir in
11787   .) ac_abs_srcdir=$ac_abs_builddir;;
11788   [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
11789   *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
11790   esac;;
11791 esac
11792 case $ac_abs_builddir in
11793 .) ac_abs_top_srcdir=$ac_top_srcdir;;
11794 *)
11795   case $ac_top_srcdir in
11796   .) ac_abs_top_srcdir=$ac_abs_builddir;;
11797   [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
11798   *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
11799   esac;;
11800 esac
11801
11802
11803   case $INSTALL in
11804   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
11805   *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
11806   esac
11807
11808   if test x"$ac_file" != x-; then
11809     { echo "$as_me:$LINENO: creating $ac_file" >&5
11810 echo "$as_me: creating $ac_file" >&6;}
11811     rm -f "$ac_file"
11812   fi
11813   # Let's still pretend it is `configure' which instantiates (i.e., don't
11814   # use $as_me), people would be surprised to read:
11815   #    /* config.h.  Generated by config.status.  */
11816   if test x"$ac_file" = x-; then
11817     configure_input=
11818   else
11819     configure_input="$ac_file.  "
11820   fi
11821   configure_input=$configure_input"Generated from `echo $ac_file_in |
11822                                      sed 's,.*/,,'` by configure."
11823
11824   # First look for the input files in the build tree, otherwise in the
11825   # src tree.
11826   ac_file_inputs=`IFS=:
11827     for f in $ac_file_in; do
11828       case $f in
11829       -) echo $tmp/stdin ;;
11830       [\\/$]*)
11831          # Absolute (can't be DOS-style, as IFS=:)
11832          test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
11833 echo "$as_me: error: cannot find input file: $f" >&2;}
11834    { (exit 1); exit 1; }; }
11835          echo "$f";;
11836       *) # Relative
11837          if test -f "$f"; then
11838            # Build tree
11839            echo "$f"
11840          elif test -f "$srcdir/$f"; then
11841            # Source tree
11842            echo "$srcdir/$f"
11843          else
11844            # /dev/null tree
11845            { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
11846 echo "$as_me: error: cannot find input file: $f" >&2;}
11847    { (exit 1); exit 1; }; }
11848          fi;;
11849       esac
11850     done` || { (exit 1); exit 1; }
11851 _ACEOF
11852 cat >>$CONFIG_STATUS <<_ACEOF
11853   sed "$ac_vpsub
11854 $extrasub
11855 _ACEOF
11856 cat >>$CONFIG_STATUS <<\_ACEOF
11857 :t
11858 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
11859 s,@configure_input@,$configure_input,;t t
11860 s,@srcdir@,$ac_srcdir,;t t
11861 s,@abs_srcdir@,$ac_abs_srcdir,;t t
11862 s,@top_srcdir@,$ac_top_srcdir,;t t
11863 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
11864 s,@builddir@,$ac_builddir,;t t
11865 s,@abs_builddir@,$ac_abs_builddir,;t t
11866 s,@top_builddir@,$ac_top_builddir,;t t
11867 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
11868 s,@INSTALL@,$ac_INSTALL,;t t
11869 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
11870   rm -f $tmp/stdin
11871   if test x"$ac_file" != x-; then
11872     mv $tmp/out $ac_file
11873   else
11874     cat $tmp/out
11875     rm -f $tmp/out
11876   fi
11877
11878 done
11879 _ACEOF
11880 cat >>$CONFIG_STATUS <<\_ACEOF
11881
11882 #
11883 # CONFIG_HEADER section.
11884 #
11885
11886 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
11887 # NAME is the cpp macro being defined and VALUE is the value it is being given.
11888 #
11889 # ac_d sets the value in "#define NAME VALUE" lines.
11890 ac_dA='s,^\([    ]*\)#\([        ]*define[       ][      ]*\)'
11891 ac_dB='[         ].*$,\1#\2'
11892 ac_dC=' '
11893 ac_dD=',;t'
11894 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
11895 ac_uA='s,^\([    ]*\)#\([        ]*\)undef\([    ][      ]*\)'
11896 ac_uB='$,\1#\2define\3'
11897 ac_uC=' '
11898 ac_uD=',;t'
11899
11900 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
11901   # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
11902   case $ac_file in
11903   - | *:- | *:-:* ) # input from stdin
11904         cat >$tmp/stdin
11905         ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
11906         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
11907   *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
11908         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
11909   * )   ac_file_in=$ac_file.in ;;
11910   esac
11911
11912   test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
11913 echo "$as_me: creating $ac_file" >&6;}
11914
11915   # First look for the input files in the build tree, otherwise in the
11916   # src tree.
11917   ac_file_inputs=`IFS=:
11918     for f in $ac_file_in; do
11919       case $f in
11920       -) echo $tmp/stdin ;;
11921       [\\/$]*)
11922          # Absolute (can't be DOS-style, as IFS=:)
11923          test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
11924 echo "$as_me: error: cannot find input file: $f" >&2;}
11925    { (exit 1); exit 1; }; }
11926          # Do quote $f, to prevent DOS paths from being IFS'd.
11927          echo "$f";;
11928       *) # Relative
11929          if test -f "$f"; then
11930            # Build tree
11931            echo "$f"
11932          elif test -f "$srcdir/$f"; then
11933            # Source tree
11934            echo "$srcdir/$f"
11935          else
11936            # /dev/null tree
11937            { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
11938 echo "$as_me: error: cannot find input file: $f" >&2;}
11939    { (exit 1); exit 1; }; }
11940          fi;;
11941       esac
11942     done` || { (exit 1); exit 1; }
11943   # Remove the trailing spaces.
11944   sed 's/[       ]*$//' $ac_file_inputs >$tmp/in
11945
11946 _ACEOF
11947
11948 # Transform confdefs.h into two sed scripts, `conftest.defines' and
11949 # `conftest.undefs', that substitutes the proper values into
11950 # config.h.in to produce config.h.  The first handles `#define'
11951 # templates, and the second `#undef' templates.
11952 # And first: Protect against being on the right side of a sed subst in
11953 # config.status.  Protect against being in an unquoted here document
11954 # in config.status.
11955 rm -f conftest.defines conftest.undefs
11956 # Using a here document instead of a string reduces the quoting nightmare.
11957 # Putting comments in sed scripts is not portable.
11958 #
11959 # `end' is used to avoid that the second main sed command (meant for
11960 # 0-ary CPP macros) applies to n-ary macro definitions.
11961 # See the Autoconf documentation for `clear'.
11962 cat >confdef2sed.sed <<\_ACEOF
11963 s/[\\&,]/\\&/g
11964 s,[\\$`],\\&,g
11965 t clear
11966 : clear
11967 s,^[     ]*#[    ]*define[       ][      ]*\([^  (][^    (]*\)\(([^)]*)\)[       ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
11968 t end
11969 s,^[     ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
11970 : end
11971 _ACEOF
11972 # If some macros were called several times there might be several times
11973 # the same #defines, which is useless.  Nevertheless, we may not want to
11974 # sort them, since we want the *last* AC-DEFINE to be honored.
11975 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
11976 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
11977 rm -f confdef2sed.sed
11978
11979 # This sed command replaces #undef with comments.  This is necessary, for
11980 # example, in the case of _POSIX_SOURCE, which is predefined and required
11981 # on some systems where configure will not decide to define it.
11982 cat >>conftest.undefs <<\_ACEOF
11983 s,^[     ]*#[    ]*undef[        ][      ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
11984 _ACEOF
11985
11986 # Break up conftest.defines because some shells have a limit on the size
11987 # of here documents, and old seds have small limits too (100 cmds).
11988 echo '  # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
11989 echo '  if grep "^[      ]*#[    ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
11990 echo '  # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
11991 echo '  :' >>$CONFIG_STATUS
11992 rm -f conftest.tail
11993 while grep . conftest.defines >/dev/null
11994 do
11995   # Write a limited-size here document to $tmp/defines.sed.
11996   echo '  cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
11997   # Speed up: don't consider the non `#define' lines.
11998   echo '/^[      ]*#[    ]*define/!b' >>$CONFIG_STATUS
11999   # Work around the forget-to-reset-the-flag bug.
12000   echo 't clr' >>$CONFIG_STATUS
12001   echo ': clr' >>$CONFIG_STATUS
12002   sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
12003   echo 'CEOF
12004   sed -f $tmp/defines.sed $tmp/in >$tmp/out
12005   rm -f $tmp/in
12006   mv $tmp/out $tmp/in
12007 ' >>$CONFIG_STATUS
12008   sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
12009   rm -f conftest.defines
12010   mv conftest.tail conftest.defines
12011 done
12012 rm -f conftest.defines
12013 echo '  fi # grep' >>$CONFIG_STATUS
12014 echo >>$CONFIG_STATUS
12015
12016 # Break up conftest.undefs because some shells have a limit on the size
12017 # of here documents, and old seds have small limits too (100 cmds).
12018 echo '  # Handle all the #undef templates' >>$CONFIG_STATUS
12019 rm -f conftest.tail
12020 while grep . conftest.undefs >/dev/null
12021 do
12022   # Write a limited-size here document to $tmp/undefs.sed.
12023   echo '  cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
12024   # Speed up: don't consider the non `#undef'
12025   echo '/^[      ]*#[    ]*undef/!b' >>$CONFIG_STATUS
12026   # Work around the forget-to-reset-the-flag bug.
12027   echo 't clr' >>$CONFIG_STATUS
12028   echo ': clr' >>$CONFIG_STATUS
12029   sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
12030   echo 'CEOF
12031   sed -f $tmp/undefs.sed $tmp/in >$tmp/out
12032   rm -f $tmp/in
12033   mv $tmp/out $tmp/in
12034 ' >>$CONFIG_STATUS
12035   sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
12036   rm -f conftest.undefs
12037   mv conftest.tail conftest.undefs
12038 done
12039 rm -f conftest.undefs
12040
12041 cat >>$CONFIG_STATUS <<\_ACEOF
12042   # Let's still pretend it is `configure' which instantiates (i.e., don't
12043   # use $as_me), people would be surprised to read:
12044   #    /* config.h.  Generated by config.status.  */
12045   if test x"$ac_file" = x-; then
12046     echo "/* Generated by configure.  */" >$tmp/config.h
12047   else
12048     echo "/* $ac_file.  Generated by configure.  */" >$tmp/config.h
12049   fi
12050   cat $tmp/in >>$tmp/config.h
12051   rm -f $tmp/in
12052   if test x"$ac_file" != x-; then
12053     if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
12054       { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
12055 echo "$as_me: $ac_file is unchanged" >&6;}
12056     else
12057       ac_dir=`(dirname "$ac_file") 2>/dev/null ||
12058 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12059          X"$ac_file" : 'X\(//\)[^/]' \| \
12060          X"$ac_file" : 'X\(//\)$' \| \
12061          X"$ac_file" : 'X\(/\)' \| \
12062          .     : '\(.\)' 2>/dev/null ||
12063 echo X"$ac_file" |
12064     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
12065           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
12066           /^X\(\/\/\)$/{ s//\1/; q; }
12067           /^X\(\/\).*/{ s//\1/; q; }
12068           s/.*/./; q'`
12069       { if $as_mkdir_p; then
12070     mkdir -p "$ac_dir"
12071   else
12072     as_dir="$ac_dir"
12073     as_dirs=
12074     while test ! -d "$as_dir"; do
12075       as_dirs="$as_dir $as_dirs"
12076       as_dir=`(dirname "$as_dir") 2>/dev/null ||
12077 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12078          X"$as_dir" : 'X\(//\)[^/]' \| \
12079          X"$as_dir" : 'X\(//\)$' \| \
12080          X"$as_dir" : 'X\(/\)' \| \
12081          .     : '\(.\)' 2>/dev/null ||
12082 echo X"$as_dir" |
12083     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
12084           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
12085           /^X\(\/\/\)$/{ s//\1/; q; }
12086           /^X\(\/\).*/{ s//\1/; q; }
12087           s/.*/./; q'`
12088     done
12089     test ! -n "$as_dirs" || mkdir $as_dirs
12090   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
12091 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
12092    { (exit 1); exit 1; }; }; }
12093
12094       rm -f $ac_file
12095       mv $tmp/config.h $ac_file
12096     fi
12097   else
12098     cat $tmp/config.h
12099     rm -f $tmp/config.h
12100   fi
12101 # Compute $ac_file's index in $config_headers.
12102 _am_stamp_count=1
12103 for _am_header in $config_headers :; do
12104   case $_am_header in
12105     $ac_file | $ac_file:* )
12106       break ;;
12107     * )
12108       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
12109   esac
12110 done
12111 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
12112 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12113          X$ac_file : 'X\(//\)[^/]' \| \
12114          X$ac_file : 'X\(//\)$' \| \
12115          X$ac_file : 'X\(/\)' \| \
12116          .     : '\(.\)' 2>/dev/null ||
12117 echo X$ac_file |
12118     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
12119           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
12120           /^X\(\/\/\)$/{ s//\1/; q; }
12121           /^X\(\/\).*/{ s//\1/; q; }
12122           s/.*/./; q'`/stamp-h$_am_stamp_count
12123 done
12124 _ACEOF
12125 cat >>$CONFIG_STATUS <<\_ACEOF
12126
12127 #
12128 # CONFIG_COMMANDS section.
12129 #
12130 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
12131   ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
12132   ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
12133   ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
12134 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12135          X"$ac_dest" : 'X\(//\)[^/]' \| \
12136          X"$ac_dest" : 'X\(//\)$' \| \
12137          X"$ac_dest" : 'X\(/\)' \| \
12138          .     : '\(.\)' 2>/dev/null ||
12139 echo X"$ac_dest" |
12140     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
12141           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
12142           /^X\(\/\/\)$/{ s//\1/; q; }
12143           /^X\(\/\).*/{ s//\1/; q; }
12144           s/.*/./; q'`
12145   { if $as_mkdir_p; then
12146     mkdir -p "$ac_dir"
12147   else
12148     as_dir="$ac_dir"
12149     as_dirs=
12150     while test ! -d "$as_dir"; do
12151       as_dirs="$as_dir $as_dirs"
12152       as_dir=`(dirname "$as_dir") 2>/dev/null ||
12153 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12154          X"$as_dir" : 'X\(//\)[^/]' \| \
12155          X"$as_dir" : 'X\(//\)$' \| \
12156          X"$as_dir" : 'X\(/\)' \| \
12157          .     : '\(.\)' 2>/dev/null ||
12158 echo X"$as_dir" |
12159     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
12160           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
12161           /^X\(\/\/\)$/{ s//\1/; q; }
12162           /^X\(\/\).*/{ s//\1/; q; }
12163           s/.*/./; q'`
12164     done
12165     test ! -n "$as_dirs" || mkdir $as_dirs
12166   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
12167 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
12168    { (exit 1); exit 1; }; }; }
12169
12170   ac_builddir=.
12171
12172 if test "$ac_dir" != .; then
12173   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
12174   # A "../" for each directory in $ac_dir_suffix.
12175   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
12176 else
12177   ac_dir_suffix= ac_top_builddir=
12178 fi
12179
12180 case $srcdir in
12181   .)  # No --srcdir option.  We are building in place.
12182     ac_srcdir=.
12183     if test -z "$ac_top_builddir"; then
12184        ac_top_srcdir=.
12185     else
12186        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
12187     fi ;;
12188   [\\/]* | ?:[\\/]* )  # Absolute path.
12189     ac_srcdir=$srcdir$ac_dir_suffix;
12190     ac_top_srcdir=$srcdir ;;
12191   *) # Relative path.
12192     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
12193     ac_top_srcdir=$ac_top_builddir$srcdir ;;
12194 esac
12195
12196 # Do not use `cd foo && pwd` to compute absolute paths, because
12197 # the directories may not exist.
12198 case `pwd` in
12199 .) ac_abs_builddir="$ac_dir";;
12200 *)
12201   case "$ac_dir" in
12202   .) ac_abs_builddir=`pwd`;;
12203   [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
12204   *) ac_abs_builddir=`pwd`/"$ac_dir";;
12205   esac;;
12206 esac
12207 case $ac_abs_builddir in
12208 .) ac_abs_top_builddir=${ac_top_builddir}.;;
12209 *)
12210   case ${ac_top_builddir}. in
12211   .) ac_abs_top_builddir=$ac_abs_builddir;;
12212   [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
12213   *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
12214   esac;;
12215 esac
12216 case $ac_abs_builddir in
12217 .) ac_abs_srcdir=$ac_srcdir;;
12218 *)
12219   case $ac_srcdir in
12220   .) ac_abs_srcdir=$ac_abs_builddir;;
12221   [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
12222   *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
12223   esac;;
12224 esac
12225 case $ac_abs_builddir in
12226 .) ac_abs_top_srcdir=$ac_top_srcdir;;
12227 *)
12228   case $ac_top_srcdir in
12229   .) ac_abs_top_srcdir=$ac_abs_builddir;;
12230   [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
12231   *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
12232   esac;;
12233 esac
12234
12235
12236   { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
12237 echo "$as_me: executing $ac_dest commands" >&6;}
12238   case $ac_dest in
12239     default-1 )
12240 # Only add multilib support code if we just rebuilt the top-level
12241 # Makefile.
12242 case " $CONFIG_FILES " in
12243  *" Makefile "*)
12244    ac_file=Makefile . ${multi_basedir}/config-ml.in
12245    ;;
12246 esac ;;
12247   esac
12248 done
12249 _ACEOF
12250
12251 cat >>$CONFIG_STATUS <<\_ACEOF
12252
12253 { (exit 0); exit 0; }
12254 _ACEOF
12255 chmod +x $CONFIG_STATUS
12256 ac_clean_files=$ac_clean_files_save
12257
12258
12259 # configure is writing to config.log, and then calls config.status.
12260 # config.status does its own redirection, appending to config.log.
12261 # Unfortunately, on DOS this fails, as config.log is still kept open
12262 # by configure, so config.status won't be able to write to it; its
12263 # output is simply discarded.  So we exec the FD to /dev/null,
12264 # effectively closing config.log, so it can be properly (re)opened and
12265 # appended to by config.status.  When coming back to configure, we
12266 # need to make the FD available again.
12267 if test "$no_create" != yes; then
12268   ac_cs_success=:
12269   ac_config_status_args=
12270   test "$silent" = yes &&
12271     ac_config_status_args="$ac_config_status_args --quiet"
12272   exec 5>/dev/null
12273   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
12274   exec 5>>config.log
12275   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
12276   # would make configure fail if this is the last instruction.
12277   $ac_cs_success || { (exit 1); exit 1; }
12278 fi
12279