OSDN Git Service

3cf4dbee2be9786b10b117cd2340c092e6285050
[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   case $host_cpu in
3674   alpha* | mips* | hppa* | i*86 | powerpc* | sparc* | ia64* | sh* )
3675     lt_cv_deplibs_check_method=pass_all ;;
3676   *)
3677     # glibc up to 2.1.1 does not perform some relocations on ARM
3678     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;;
3679   esac
3680   lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so`
3681   ;;
3682
3683 netbsd* | knetbsd*-gnu)
3684   if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
3685     lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'
3686   else
3687     lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so$'
3688   fi
3689   ;;
3690
3691 newsos6)
3692   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
3693   lt_cv_file_magic_cmd=/usr/bin/file
3694   lt_cv_file_magic_test_file=/usr/lib/libnls.so
3695   ;;
3696
3697 osf3* | osf4* | osf5*)
3698   # this will be overridden with pass_all, but let us keep it just in case
3699   lt_cv_deplibs_check_method='file_magic COFF format alpha shared library'
3700   lt_cv_file_magic_test_file=/shlib/libc.so
3701   lt_cv_deplibs_check_method=pass_all
3702   ;;
3703
3704 sco3.2v5*)
3705   lt_cv_deplibs_check_method=pass_all
3706   ;;
3707
3708 solaris*)
3709   lt_cv_deplibs_check_method=pass_all
3710   lt_cv_file_magic_test_file=/lib/libc.so
3711   ;;
3712
3713 sysv5uw[78]* | sysv4*uw2*)
3714   lt_cv_deplibs_check_method=pass_all
3715   ;;
3716
3717 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
3718   case $host_vendor in
3719   ncr)
3720     lt_cv_deplibs_check_method=pass_all
3721     ;;
3722   motorola)
3723     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]'
3724     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
3725     ;;
3726   esac
3727   ;;
3728 esac
3729
3730 fi
3731 echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
3732 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
3733 file_magic_cmd=$lt_cv_file_magic_cmd
3734 deplibs_check_method=$lt_cv_deplibs_check_method
3735
3736
3737
3738
3739
3740 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
3741
3742 # Only perform the check for file, if the check method requires it
3743 case $deplibs_check_method in
3744 file_magic*)
3745   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
3746     echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
3747 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
3748 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
3749   echo $ECHO_N "(cached) $ECHO_C" >&6
3750 else
3751   case $MAGIC_CMD in
3752   /*)
3753   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
3754   ;;
3755   ?:/*)
3756   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
3757   ;;
3758   *)
3759   ac_save_MAGIC_CMD="$MAGIC_CMD"
3760   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
3761   ac_dummy="/usr/bin:$PATH"
3762   for ac_dir in $ac_dummy; do
3763     test -z "$ac_dir" && ac_dir=.
3764     if test -f $ac_dir/${ac_tool_prefix}file; then
3765       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
3766       if test -n "$file_magic_test_file"; then
3767         case $deplibs_check_method in
3768         "file_magic "*)
3769           file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
3770           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
3771           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
3772             egrep "$file_magic_regex" > /dev/null; then
3773             :
3774           else
3775             cat <<EOF 1>&2
3776
3777 *** Warning: the command libtool uses to detect shared libraries,
3778 *** $file_magic_cmd, produces output that libtool cannot recognize.
3779 *** The result is that libtool may fail to recognize shared libraries
3780 *** as such.  This will affect the creation of libtool libraries that
3781 *** depend on shared libraries, but programs linked with such libtool
3782 *** libraries will work regardless of this problem.  Nevertheless, you
3783 *** may want to report the problem to your system manager and/or to
3784 *** bug-libtool@gnu.org
3785
3786 EOF
3787           fi ;;
3788         esac
3789       fi
3790       break
3791     fi
3792   done
3793   IFS="$ac_save_ifs"
3794   MAGIC_CMD="$ac_save_MAGIC_CMD"
3795   ;;
3796 esac
3797 fi
3798
3799 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
3800 if test -n "$MAGIC_CMD"; then
3801   echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
3802 echo "${ECHO_T}$MAGIC_CMD" >&6
3803 else
3804   echo "$as_me:$LINENO: result: no" >&5
3805 echo "${ECHO_T}no" >&6
3806 fi
3807
3808 if test -z "$lt_cv_path_MAGIC_CMD"; then
3809   if test -n "$ac_tool_prefix"; then
3810     echo "$as_me:$LINENO: checking for file" >&5
3811 echo $ECHO_N "checking for file... $ECHO_C" >&6
3812 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
3813   echo $ECHO_N "(cached) $ECHO_C" >&6
3814 else
3815   case $MAGIC_CMD in
3816   /*)
3817   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
3818   ;;
3819   ?:/*)
3820   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
3821   ;;
3822   *)
3823   ac_save_MAGIC_CMD="$MAGIC_CMD"
3824   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
3825   ac_dummy="/usr/bin:$PATH"
3826   for ac_dir in $ac_dummy; do
3827     test -z "$ac_dir" && ac_dir=.
3828     if test -f $ac_dir/file; then
3829       lt_cv_path_MAGIC_CMD="$ac_dir/file"
3830       if test -n "$file_magic_test_file"; then
3831         case $deplibs_check_method in
3832         "file_magic "*)
3833           file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
3834           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
3835           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
3836             egrep "$file_magic_regex" > /dev/null; then
3837             :
3838           else
3839             cat <<EOF 1>&2
3840
3841 *** Warning: the command libtool uses to detect shared libraries,
3842 *** $file_magic_cmd, produces output that libtool cannot recognize.
3843 *** The result is that libtool may fail to recognize shared libraries
3844 *** as such.  This will affect the creation of libtool libraries that
3845 *** depend on shared libraries, but programs linked with such libtool
3846 *** libraries will work regardless of this problem.  Nevertheless, you
3847 *** may want to report the problem to your system manager and/or to
3848 *** bug-libtool@gnu.org
3849
3850 EOF
3851           fi ;;
3852         esac
3853       fi
3854       break
3855     fi
3856   done
3857   IFS="$ac_save_ifs"
3858   MAGIC_CMD="$ac_save_MAGIC_CMD"
3859   ;;
3860 esac
3861 fi
3862
3863 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
3864 if test -n "$MAGIC_CMD"; then
3865   echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
3866 echo "${ECHO_T}$MAGIC_CMD" >&6
3867 else
3868   echo "$as_me:$LINENO: result: no" >&5
3869 echo "${ECHO_T}no" >&6
3870 fi
3871
3872   else
3873     MAGIC_CMD=:
3874   fi
3875 fi
3876
3877   fi
3878   ;;
3879 esac
3880
3881 if test -n "$ac_tool_prefix"; then
3882   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3883 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
3884 echo "$as_me:$LINENO: checking for $ac_word" >&5
3885 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3886 if test "${ac_cv_prog_RANLIB+set}" = set; then
3887   echo $ECHO_N "(cached) $ECHO_C" >&6
3888 else
3889   if test -n "$RANLIB"; then
3890   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
3891 else
3892 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3893 for as_dir in $PATH
3894 do
3895   IFS=$as_save_IFS
3896   test -z "$as_dir" && as_dir=.
3897   for ac_exec_ext in '' $ac_executable_extensions; do
3898   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3899     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
3900     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3901     break 2
3902   fi
3903 done
3904 done
3905
3906 fi
3907 fi
3908 RANLIB=$ac_cv_prog_RANLIB
3909 if test -n "$RANLIB"; then
3910   echo "$as_me:$LINENO: result: $RANLIB" >&5
3911 echo "${ECHO_T}$RANLIB" >&6
3912 else
3913   echo "$as_me:$LINENO: result: no" >&5
3914 echo "${ECHO_T}no" >&6
3915 fi
3916
3917 fi
3918 if test -z "$ac_cv_prog_RANLIB"; then
3919   ac_ct_RANLIB=$RANLIB
3920   # Extract the first word of "ranlib", so it can be a program name with args.
3921 set dummy ranlib; ac_word=$2
3922 echo "$as_me:$LINENO: checking for $ac_word" >&5
3923 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3924 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3925   echo $ECHO_N "(cached) $ECHO_C" >&6
3926 else
3927   if test -n "$ac_ct_RANLIB"; then
3928   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
3929 else
3930 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3931 for as_dir in $PATH
3932 do
3933   IFS=$as_save_IFS
3934   test -z "$as_dir" && as_dir=.
3935   for ac_exec_ext in '' $ac_executable_extensions; do
3936   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3937     ac_cv_prog_ac_ct_RANLIB="ranlib"
3938     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3939     break 2
3940   fi
3941 done
3942 done
3943
3944   test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
3945 fi
3946 fi
3947 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
3948 if test -n "$ac_ct_RANLIB"; then
3949   echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3950 echo "${ECHO_T}$ac_ct_RANLIB" >&6
3951 else
3952   echo "$as_me:$LINENO: result: no" >&5
3953 echo "${ECHO_T}no" >&6
3954 fi
3955
3956   RANLIB=$ac_ct_RANLIB
3957 else
3958   RANLIB="$ac_cv_prog_RANLIB"
3959 fi
3960
3961 if test -n "$ac_tool_prefix"; then
3962   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3963 set dummy ${ac_tool_prefix}strip; ac_word=$2
3964 echo "$as_me:$LINENO: checking for $ac_word" >&5
3965 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3966 if test "${ac_cv_prog_STRIP+set}" = set; then
3967   echo $ECHO_N "(cached) $ECHO_C" >&6
3968 else
3969   if test -n "$STRIP"; then
3970   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3971 else
3972 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3973 for as_dir in $PATH
3974 do
3975   IFS=$as_save_IFS
3976   test -z "$as_dir" && as_dir=.
3977   for ac_exec_ext in '' $ac_executable_extensions; do
3978   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3979     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3980     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3981     break 2
3982   fi
3983 done
3984 done
3985
3986 fi
3987 fi
3988 STRIP=$ac_cv_prog_STRIP
3989 if test -n "$STRIP"; then
3990   echo "$as_me:$LINENO: result: $STRIP" >&5
3991 echo "${ECHO_T}$STRIP" >&6
3992 else
3993   echo "$as_me:$LINENO: result: no" >&5
3994 echo "${ECHO_T}no" >&6
3995 fi
3996
3997 fi
3998 if test -z "$ac_cv_prog_STRIP"; then
3999   ac_ct_STRIP=$STRIP
4000   # Extract the first word of "strip", so it can be a program name with args.
4001 set dummy strip; ac_word=$2
4002 echo "$as_me:$LINENO: checking for $ac_word" >&5
4003 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4004 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
4005   echo $ECHO_N "(cached) $ECHO_C" >&6
4006 else
4007   if test -n "$ac_ct_STRIP"; then
4008   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
4009 else
4010 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4011 for as_dir in $PATH
4012 do
4013   IFS=$as_save_IFS
4014   test -z "$as_dir" && as_dir=.
4015   for ac_exec_ext in '' $ac_executable_extensions; do
4016   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4017     ac_cv_prog_ac_ct_STRIP="strip"
4018     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4019     break 2
4020   fi
4021 done
4022 done
4023
4024   test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
4025 fi
4026 fi
4027 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
4028 if test -n "$ac_ct_STRIP"; then
4029   echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
4030 echo "${ECHO_T}$ac_ct_STRIP" >&6
4031 else
4032   echo "$as_me:$LINENO: result: no" >&5
4033 echo "${ECHO_T}no" >&6
4034 fi
4035
4036   STRIP=$ac_ct_STRIP
4037 else
4038   STRIP="$ac_cv_prog_STRIP"
4039 fi
4040
4041
4042 # Check for any special flags to pass to ltconfig.
4043 libtool_flags="--cache-file=$cache_file"
4044 test "$enable_shared" = no && libtool_flags="$libtool_flags --disable-shared"
4045 test "$enable_static" = no && libtool_flags="$libtool_flags --disable-static"
4046 test "$enable_fast_install" = no && libtool_flags="$libtool_flags --disable-fast-install"
4047 test "$GCC" = yes && libtool_flags="$libtool_flags --with-gcc"
4048 test "$lt_cv_prog_gnu_ld" = yes && libtool_flags="$libtool_flags --with-gnu-ld"
4049
4050
4051 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
4052 if test "${enable_libtool_lock+set}" = set; then
4053   enableval="$enable_libtool_lock"
4054
4055 fi;
4056 test "x$enable_libtool_lock" = xno && libtool_flags="$libtool_flags --disable-lock"
4057 test x"$silent" = xyes && libtool_flags="$libtool_flags --silent"
4058
4059
4060 # Check whether --with-pic or --without-pic was given.
4061 if test "${with_pic+set}" = set; then
4062   withval="$with_pic"
4063   pic_mode="$withval"
4064 else
4065   pic_mode=default
4066 fi;
4067 test x"$pic_mode" = xyes && libtool_flags="$libtool_flags --prefer-pic"
4068 test x"$pic_mode" = xno && libtool_flags="$libtool_flags --prefer-non-pic"
4069
4070 # Some flags need to be propagated to the compiler or linker for good
4071 # libtool support.
4072 case $host in
4073 *-*-irix6*)
4074   # Find out which ABI we are using.
4075   echo '#line 4075 "configure"' > conftest.$ac_ext
4076   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4077   (eval $ac_compile) 2>&5
4078   ac_status=$?
4079   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4080   (exit $ac_status); }; then
4081    if test "$lt_cv_prog_gnu_ld" = yes; then
4082     case `/usr/bin/file conftest.$ac_objext` in
4083     *32-bit*)
4084       LD="${LD-ld} -melf32bsmip"
4085       ;;
4086     *N32*)
4087       LD="${LD-ld} -melf32bmipn32"
4088       ;;
4089     *64-bit*)
4090       LD="${LD-ld} -melf64bmip"
4091       ;;
4092     esac
4093    else
4094     case `/usr/bin/file conftest.$ac_objext` in
4095     *32-bit*)
4096       LD="${LD-ld} -32"
4097       ;;
4098     *N32*)
4099       LD="${LD-ld} -n32"
4100       ;;
4101     *64-bit*)
4102       LD="${LD-ld} -64"
4103       ;;
4104     esac
4105    fi
4106   fi
4107   rm -rf conftest*
4108   ;;
4109
4110 ia64-*-hpux*)
4111   # Find out which ABI we are using.
4112   echo 'int i;' > conftest.$ac_ext
4113   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4114   (eval $ac_compile) 2>&5
4115   ac_status=$?
4116   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4117   (exit $ac_status); }; then
4118     case "`/usr/bin/file conftest.o`" in
4119     *ELF-32*)
4120       HPUX_IA64_MODE="32"
4121       ;;
4122     *ELF-64*)
4123       HPUX_IA64_MODE="64"
4124       ;;
4125     esac
4126   fi
4127   rm -rf conftest*
4128   ;;
4129
4130 x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
4131   # Find out which ABI we are using.
4132   echo 'int i;' > conftest.$ac_ext
4133   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4134   (eval $ac_compile) 2>&5
4135   ac_status=$?
4136   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4137   (exit $ac_status); }; then
4138     case "`/usr/bin/file conftest.o`" in
4139     *32-bit*)
4140       case $host in
4141         x86_64-*linux*)
4142           LD="${LD-ld} -m elf_i386"
4143           ;;
4144         ppc64-*linux*|powerpc64-*linux*)
4145           LD="${LD-ld} -m elf32ppclinux"
4146           ;;
4147         s390x-*linux*)
4148           LD="${LD-ld} -m elf_s390"
4149           ;;
4150         sparc64-*linux*)
4151           LD="${LD-ld} -m elf32_sparc"
4152           ;;
4153       esac
4154       ;;
4155     *64-bit*)
4156       case $host in
4157         x86_64-*linux*)
4158           LD="${LD-ld} -m elf_x86_64"
4159           ;;
4160         ppc*-*linux*|powerpc*-*linux*)
4161           LD="${LD-ld} -m elf64ppc"
4162           ;;
4163         s390*-*linux*)
4164           LD="${LD-ld} -m elf64_s390"
4165           ;;
4166         sparc*-*linux*)
4167           LD="${LD-ld} -m elf64_sparc"
4168           ;;
4169       esac
4170       ;;
4171     esac
4172   fi
4173   rm -rf conftest*
4174   ;;
4175
4176 *-*-sco3.2v5*)
4177   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
4178   SAVE_CFLAGS="$CFLAGS"
4179   CFLAGS="$CFLAGS -belf"
4180   echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
4181 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
4182 if test "${lt_cv_cc_needs_belf+set}" = set; then
4183   echo $ECHO_N "(cached) $ECHO_C" >&6
4184 else
4185
4186
4187      ac_ext=c
4188 ac_cpp='$CPP $CPPFLAGS'
4189 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4190 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4191 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4192
4193      if test x$gcc_no_link = xyes; then
4194   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
4195 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
4196    { (exit 1); exit 1; }; }
4197 fi
4198 cat >conftest.$ac_ext <<_ACEOF
4199 /* confdefs.h.  */
4200 _ACEOF
4201 cat confdefs.h >>conftest.$ac_ext
4202 cat >>conftest.$ac_ext <<_ACEOF
4203 /* end confdefs.h.  */
4204
4205 int
4206 main ()
4207 {
4208
4209   ;
4210   return 0;
4211 }
4212 _ACEOF
4213 rm -f conftest.$ac_objext conftest$ac_exeext
4214 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4215   (eval $ac_link) 2>conftest.er1
4216   ac_status=$?
4217   grep -v '^ *+' conftest.er1 >conftest.err
4218   rm -f conftest.er1
4219   cat conftest.err >&5
4220   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4221   (exit $ac_status); } &&
4222          { ac_try='test -z "$ac_c_werror_flag"
4223                          || test ! -s conftest.err'
4224   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4225   (eval $ac_try) 2>&5
4226   ac_status=$?
4227   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4228   (exit $ac_status); }; } &&
4229          { ac_try='test -s conftest$ac_exeext'
4230   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4231   (eval $ac_try) 2>&5
4232   ac_status=$?
4233   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4234   (exit $ac_status); }; }; then
4235   lt_cv_cc_needs_belf=yes
4236 else
4237   echo "$as_me: failed program was:" >&5
4238 sed 's/^/| /' conftest.$ac_ext >&5
4239
4240 lt_cv_cc_needs_belf=no
4241 fi
4242 rm -f conftest.err conftest.$ac_objext \
4243       conftest$ac_exeext conftest.$ac_ext
4244      ac_ext=c
4245 ac_cpp='$CPP $CPPFLAGS'
4246 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4247 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4248 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4249
4250 fi
4251 echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
4252 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
4253   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
4254     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
4255     CFLAGS="$SAVE_CFLAGS"
4256   fi
4257   ;;
4258
4259
4260 esac
4261
4262
4263 # Save cache, so that ltconfig can load it
4264 cat >confcache <<\_ACEOF
4265 # This file is a shell script that caches the results of configure
4266 # tests run on this system so they can be shared between configure
4267 # scripts and configure runs, see configure's option --config-cache.
4268 # It is not useful on other systems.  If it contains results you don't
4269 # want to keep, you may remove or edit it.
4270 #
4271 # config.status only pays attention to the cache file if you give it
4272 # the --recheck option to rerun configure.
4273 #
4274 # `ac_cv_env_foo' variables (set or unset) will be overridden when
4275 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4276 # following values.
4277
4278 _ACEOF
4279
4280 # The following way of writing the cache mishandles newlines in values,
4281 # but we know of no workaround that is simple, portable, and efficient.
4282 # So, don't put newlines in cache variables' values.
4283 # Ultrix sh set writes to stderr and can't be redirected directly,
4284 # and sets the high bit in the cache file unless we assign to the vars.
4285 {
4286   (set) 2>&1 |
4287     case `(ac_space=' '; set | grep ac_space) 2>&1` in
4288     *ac_space=\ *)
4289       # `set' does not quote correctly, so add quotes (double-quote
4290       # substitution turns \\\\ into \\, and sed turns \\ into \).
4291       sed -n \
4292         "s/'/'\\\\''/g;
4293           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4294       ;;
4295     *)
4296       # `set' quotes correctly as required by POSIX, so do not add quotes.
4297       sed -n \
4298         "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
4299       ;;
4300     esac;
4301 } |
4302   sed '
4303      t clear
4304      : clear
4305      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4306      t end
4307      /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4308      : end' >>confcache
4309 if diff $cache_file confcache >/dev/null 2>&1; then :; else
4310   if test -w $cache_file; then
4311     test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
4312     cat confcache >$cache_file
4313   else
4314     echo "not updating unwritable cache $cache_file"
4315   fi
4316 fi
4317 rm -f confcache
4318
4319 # Actually configure libtool.  ac_aux_dir is where install-sh is found.
4320 AR="$AR" LTCC="$CC" CC="$CC" CFLAGS="$CFLAGS" CPPFLAGS="$CPPFLAGS" \
4321 MAGIC_CMD="$MAGIC_CMD" LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
4322 LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \
4323 AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \
4324 objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \
4325 deplibs_check_method="$deplibs_check_method" file_magic_cmd="$file_magic_cmd" \
4326 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig --no-reexec \
4327 $libtool_flags --no-verify --build="$build" $ac_aux_dir/ltmain.sh $host \
4328 || { { echo "$as_me:$LINENO: error: libtool configure failed" >&5
4329 echo "$as_me: error: libtool configure failed" >&2;}
4330    { (exit 1); exit 1; }; }
4331
4332 # Reload cache, that may have been modified by ltconfig
4333 if test -r "$cache_file"; then
4334   # Some versions of bash will fail to source /dev/null (special
4335   # files actually), so we avoid doing that.
4336   if test -f "$cache_file"; then
4337     { echo "$as_me:$LINENO: loading cache $cache_file" >&5
4338 echo "$as_me: loading cache $cache_file" >&6;}
4339     case $cache_file in
4340       [\\/]* | ?:[\\/]* ) . $cache_file;;
4341       *)                      . ./$cache_file;;
4342     esac
4343   fi
4344 else
4345   { echo "$as_me:$LINENO: creating cache $cache_file" >&5
4346 echo "$as_me: creating cache $cache_file" >&6;}
4347   >$cache_file
4348 fi
4349
4350
4351 # This can be used to rebuild libtool when needed
4352 LIBTOOL_DEPS="$ac_aux_dir/ltconfig $ac_aux_dir/ltmain.sh $ac_aux_dir/ltcf-c.sh"
4353
4354 # Always use our own libtool.
4355 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
4356
4357 # Redirect the config.log output again, so that the ltconfig log is not
4358 # clobbered by the next message.
4359 exec 5>>./config.log
4360
4361
4362
4363
4364
4365
4366
4367
4368 #AC_MSG_NOTICE([====== Finished libtool configuration]) ; sleep 10
4369
4370 # We need gfortran to compile parts of the library
4371 # We can't use AC_PROG_FC because it expects a fully working gfortran.
4372 #AC_PROG_FC(gfortran)
4373 FC="$GFORTRAN"
4374 ac_ext=${FC_SRCEXT-f}
4375 ac_compile='$FC -c $FCFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext >&5'
4376 ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext $LIBS >&5'
4377 ac_compiler_gnu=$ac_cv_fc_compiler_gnu
4378 if test -n "$ac_tool_prefix"; then
4379   for ac_prog in gfortran
4380   do
4381     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4382 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4383 echo "$as_me:$LINENO: checking for $ac_word" >&5
4384 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4385 if test "${ac_cv_prog_FC+set}" = set; then
4386   echo $ECHO_N "(cached) $ECHO_C" >&6
4387 else
4388   if test -n "$FC"; then
4389   ac_cv_prog_FC="$FC" # Let the user override the test.
4390 else
4391 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4392 for as_dir in $PATH
4393 do
4394   IFS=$as_save_IFS
4395   test -z "$as_dir" && as_dir=.
4396   for ac_exec_ext in '' $ac_executable_extensions; do
4397   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4398     ac_cv_prog_FC="$ac_tool_prefix$ac_prog"
4399     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4400     break 2
4401   fi
4402 done
4403 done
4404
4405 fi
4406 fi
4407 FC=$ac_cv_prog_FC
4408 if test -n "$FC"; then
4409   echo "$as_me:$LINENO: result: $FC" >&5
4410 echo "${ECHO_T}$FC" >&6
4411 else
4412   echo "$as_me:$LINENO: result: no" >&5
4413 echo "${ECHO_T}no" >&6
4414 fi
4415
4416     test -n "$FC" && break
4417   done
4418 fi
4419 if test -z "$FC"; then
4420   ac_ct_FC=$FC
4421   for ac_prog in gfortran
4422 do
4423   # Extract the first word of "$ac_prog", so it can be a program name with args.
4424 set dummy $ac_prog; ac_word=$2
4425 echo "$as_me:$LINENO: checking for $ac_word" >&5
4426 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4427 if test "${ac_cv_prog_ac_ct_FC+set}" = set; then
4428   echo $ECHO_N "(cached) $ECHO_C" >&6
4429 else
4430   if test -n "$ac_ct_FC"; then
4431   ac_cv_prog_ac_ct_FC="$ac_ct_FC" # Let the user override the test.
4432 else
4433 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4434 for as_dir in $PATH
4435 do
4436   IFS=$as_save_IFS
4437   test -z "$as_dir" && as_dir=.
4438   for ac_exec_ext in '' $ac_executable_extensions; do
4439   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4440     ac_cv_prog_ac_ct_FC="$ac_prog"
4441     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4442     break 2
4443   fi
4444 done
4445 done
4446
4447 fi
4448 fi
4449 ac_ct_FC=$ac_cv_prog_ac_ct_FC
4450 if test -n "$ac_ct_FC"; then
4451   echo "$as_me:$LINENO: result: $ac_ct_FC" >&5
4452 echo "${ECHO_T}$ac_ct_FC" >&6
4453 else
4454   echo "$as_me:$LINENO: result: no" >&5
4455 echo "${ECHO_T}no" >&6
4456 fi
4457
4458   test -n "$ac_ct_FC" && break
4459 done
4460
4461   FC=$ac_ct_FC
4462 fi
4463
4464
4465 # Provide some information about the compiler.
4466 echo "$as_me:4466:" \
4467      "checking for Fortran compiler version" >&5
4468 ac_compiler=`set X $ac_compile; echo $2`
4469 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
4470   (eval $ac_compiler --version </dev/null >&5) 2>&5
4471   ac_status=$?
4472   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4473   (exit $ac_status); }
4474 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
4475   (eval $ac_compiler -v </dev/null >&5) 2>&5
4476   ac_status=$?
4477   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4478   (exit $ac_status); }
4479 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
4480   (eval $ac_compiler -V </dev/null >&5) 2>&5
4481   ac_status=$?
4482   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4483   (exit $ac_status); }
4484 rm -f a.out
4485
4486 # If we don't use `.F' as extension, the preprocessor is not run on the
4487 # input file.  (Note that this only needs to work for GNU compilers.)
4488 ac_save_ext=$ac_ext
4489 ac_ext=F
4490 echo "$as_me:$LINENO: checking whether we are using the GNU Fortran compiler" >&5
4491 echo $ECHO_N "checking whether we are using the GNU Fortran compiler... $ECHO_C" >&6
4492 if test "${ac_cv_fc_compiler_gnu+set}" = set; then
4493   echo $ECHO_N "(cached) $ECHO_C" >&6
4494 else
4495   cat >conftest.$ac_ext <<_ACEOF
4496       program main
4497 #ifndef __GNUC__
4498        choke me
4499 #endif
4500
4501       end
4502 _ACEOF
4503 rm -f conftest.$ac_objext
4504 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4505   (eval $ac_compile) 2>conftest.er1
4506   ac_status=$?
4507   grep -v '^ *+' conftest.er1 >conftest.err
4508   rm -f conftest.er1
4509   cat conftest.err >&5
4510   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4511   (exit $ac_status); } &&
4512          { ac_try='test -z "$ac_fc_werror_flag"
4513                          || test ! -s conftest.err'
4514   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4515   (eval $ac_try) 2>&5
4516   ac_status=$?
4517   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4518   (exit $ac_status); }; } &&
4519          { ac_try='test -s conftest.$ac_objext'
4520   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4521   (eval $ac_try) 2>&5
4522   ac_status=$?
4523   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4524   (exit $ac_status); }; }; then
4525   ac_compiler_gnu=yes
4526 else
4527   echo "$as_me: failed program was:" >&5
4528 sed 's/^/| /' conftest.$ac_ext >&5
4529
4530 ac_compiler_gnu=no
4531 fi
4532 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4533 ac_cv_fc_compiler_gnu=$ac_compiler_gnu
4534
4535 fi
4536 echo "$as_me:$LINENO: result: $ac_cv_fc_compiler_gnu" >&5
4537 echo "${ECHO_T}$ac_cv_fc_compiler_gnu" >&6
4538 ac_ext=$ac_save_ext
4539 ac_test_FFLAGS=${FCFLAGS+set}
4540 ac_save_FFLAGS=$FCFLAGS
4541 FCFLAGS=
4542 echo "$as_me:$LINENO: checking whether $FC accepts -g" >&5
4543 echo $ECHO_N "checking whether $FC accepts -g... $ECHO_C" >&6
4544 if test "${ac_cv_prog_fc_g+set}" = set; then
4545   echo $ECHO_N "(cached) $ECHO_C" >&6
4546 else
4547   FCFLAGS=-g
4548 cat >conftest.$ac_ext <<_ACEOF
4549       program main
4550
4551       end
4552 _ACEOF
4553 rm -f conftest.$ac_objext
4554 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4555   (eval $ac_compile) 2>conftest.er1
4556   ac_status=$?
4557   grep -v '^ *+' conftest.er1 >conftest.err
4558   rm -f conftest.er1
4559   cat conftest.err >&5
4560   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4561   (exit $ac_status); } &&
4562          { ac_try='test -z "$ac_fc_werror_flag"
4563                          || test ! -s conftest.err'
4564   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4565   (eval $ac_try) 2>&5
4566   ac_status=$?
4567   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4568   (exit $ac_status); }; } &&
4569          { ac_try='test -s conftest.$ac_objext'
4570   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4571   (eval $ac_try) 2>&5
4572   ac_status=$?
4573   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4574   (exit $ac_status); }; }; then
4575   ac_cv_prog_fc_g=yes
4576 else
4577   echo "$as_me: failed program was:" >&5
4578 sed 's/^/| /' conftest.$ac_ext >&5
4579
4580 ac_cv_prog_fc_g=no
4581 fi
4582 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4583
4584 fi
4585 echo "$as_me:$LINENO: result: $ac_cv_prog_fc_g" >&5
4586 echo "${ECHO_T}$ac_cv_prog_fc_g" >&6
4587 if test "$ac_test_FFLAGS" = set; then
4588   FCFLAGS=$ac_save_FFLAGS
4589 elif test $ac_cv_prog_fc_g = yes; then
4590   if test "x$ac_cv_fc_compiler_gnu" = xyes; then
4591     FCFLAGS="-g -O2"
4592   else
4593     FCFLAGS="-g"
4594   fi
4595 else
4596   if test "x$ac_cv_fc_compiler_gnu" = xyes; then
4597     FCFLAGS="-O2"
4598   else
4599     FCFLAGS=
4600   fi
4601 fi
4602
4603 ac_ext=c
4604 ac_cpp='$CPP $CPPFLAGS'
4605 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4606 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4607 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4608
4609 FCFLAGS="$FCFLAGS -Wall -fno-repack-arrays -fno-underscoring"
4610
4611 # Check whether --enable-largefile or --disable-largefile was given.
4612 if test "${enable_largefile+set}" = set; then
4613   enableval="$enable_largefile"
4614
4615 fi;
4616 if test "$enable_largefile" != no; then
4617
4618   echo "$as_me:$LINENO: checking for special C compiler options needed for large files" >&5
4619 echo $ECHO_N "checking for special C compiler options needed for large files... $ECHO_C" >&6
4620 if test "${ac_cv_sys_largefile_CC+set}" = set; then
4621   echo $ECHO_N "(cached) $ECHO_C" >&6
4622 else
4623   ac_cv_sys_largefile_CC=no
4624      if test "$GCC" != yes; then
4625        ac_save_CC=$CC
4626        while :; do
4627          # IRIX 6.2 and later do not support large files by default,
4628          # so use the C compiler's -n32 option if that helps.
4629          cat >conftest.$ac_ext <<_ACEOF
4630 /* confdefs.h.  */
4631 _ACEOF
4632 cat confdefs.h >>conftest.$ac_ext
4633 cat >>conftest.$ac_ext <<_ACEOF
4634 /* end confdefs.h.  */
4635 #include <sys/types.h>
4636  /* Check that off_t can represent 2**63 - 1 correctly.
4637     We can't simply define LARGE_OFF_T to be 9223372036854775807,
4638     since some C++ compilers masquerading as C compilers
4639     incorrectly reject 9223372036854775807.  */
4640 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4641   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4642                        && LARGE_OFF_T % 2147483647 == 1)
4643                       ? 1 : -1];
4644 int
4645 main ()
4646 {
4647
4648   ;
4649   return 0;
4650 }
4651 _ACEOF
4652          rm -f conftest.$ac_objext
4653 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4654   (eval $ac_compile) 2>conftest.er1
4655   ac_status=$?
4656   grep -v '^ *+' conftest.er1 >conftest.err
4657   rm -f conftest.er1
4658   cat conftest.err >&5
4659   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4660   (exit $ac_status); } &&
4661          { ac_try='test -z "$ac_c_werror_flag"
4662                          || test ! -s conftest.err'
4663   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4664   (eval $ac_try) 2>&5
4665   ac_status=$?
4666   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4667   (exit $ac_status); }; } &&
4668          { ac_try='test -s conftest.$ac_objext'
4669   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4670   (eval $ac_try) 2>&5
4671   ac_status=$?
4672   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4673   (exit $ac_status); }; }; then
4674   break
4675 else
4676   echo "$as_me: failed program was:" >&5
4677 sed 's/^/| /' conftest.$ac_ext >&5
4678
4679 fi
4680 rm -f conftest.err conftest.$ac_objext
4681          CC="$CC -n32"
4682          rm -f conftest.$ac_objext
4683 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4684   (eval $ac_compile) 2>conftest.er1
4685   ac_status=$?
4686   grep -v '^ *+' conftest.er1 >conftest.err
4687   rm -f conftest.er1
4688   cat conftest.err >&5
4689   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4690   (exit $ac_status); } &&
4691          { ac_try='test -z "$ac_c_werror_flag"
4692                          || test ! -s conftest.err'
4693   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4694   (eval $ac_try) 2>&5
4695   ac_status=$?
4696   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4697   (exit $ac_status); }; } &&
4698          { ac_try='test -s conftest.$ac_objext'
4699   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4700   (eval $ac_try) 2>&5
4701   ac_status=$?
4702   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4703   (exit $ac_status); }; }; then
4704   ac_cv_sys_largefile_CC=' -n32'; break
4705 else
4706   echo "$as_me: failed program was:" >&5
4707 sed 's/^/| /' conftest.$ac_ext >&5
4708
4709 fi
4710 rm -f conftest.err conftest.$ac_objext
4711          break
4712        done
4713        CC=$ac_save_CC
4714        rm -f conftest.$ac_ext
4715     fi
4716 fi
4717 echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_CC" >&5
4718 echo "${ECHO_T}$ac_cv_sys_largefile_CC" >&6
4719   if test "$ac_cv_sys_largefile_CC" != no; then
4720     CC=$CC$ac_cv_sys_largefile_CC
4721   fi
4722
4723   echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
4724 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
4725 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
4726   echo $ECHO_N "(cached) $ECHO_C" >&6
4727 else
4728   while :; do
4729   ac_cv_sys_file_offset_bits=no
4730   cat >conftest.$ac_ext <<_ACEOF
4731 /* confdefs.h.  */
4732 _ACEOF
4733 cat confdefs.h >>conftest.$ac_ext
4734 cat >>conftest.$ac_ext <<_ACEOF
4735 /* end confdefs.h.  */
4736 #include <sys/types.h>
4737  /* Check that off_t can represent 2**63 - 1 correctly.
4738     We can't simply define LARGE_OFF_T to be 9223372036854775807,
4739     since some C++ compilers masquerading as C compilers
4740     incorrectly reject 9223372036854775807.  */
4741 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4742   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4743                        && LARGE_OFF_T % 2147483647 == 1)
4744                       ? 1 : -1];
4745 int
4746 main ()
4747 {
4748
4749   ;
4750   return 0;
4751 }
4752 _ACEOF
4753 rm -f conftest.$ac_objext
4754 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4755   (eval $ac_compile) 2>conftest.er1
4756   ac_status=$?
4757   grep -v '^ *+' conftest.er1 >conftest.err
4758   rm -f conftest.er1
4759   cat conftest.err >&5
4760   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4761   (exit $ac_status); } &&
4762          { ac_try='test -z "$ac_c_werror_flag"
4763                          || test ! -s conftest.err'
4764   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4765   (eval $ac_try) 2>&5
4766   ac_status=$?
4767   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4768   (exit $ac_status); }; } &&
4769          { ac_try='test -s conftest.$ac_objext'
4770   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4771   (eval $ac_try) 2>&5
4772   ac_status=$?
4773   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4774   (exit $ac_status); }; }; then
4775   break
4776 else
4777   echo "$as_me: failed program was:" >&5
4778 sed 's/^/| /' conftest.$ac_ext >&5
4779
4780 fi
4781 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4782   cat >conftest.$ac_ext <<_ACEOF
4783 /* confdefs.h.  */
4784 _ACEOF
4785 cat confdefs.h >>conftest.$ac_ext
4786 cat >>conftest.$ac_ext <<_ACEOF
4787 /* end confdefs.h.  */
4788 #define _FILE_OFFSET_BITS 64
4789 #include <sys/types.h>
4790  /* Check that off_t can represent 2**63 - 1 correctly.
4791     We can't simply define LARGE_OFF_T to be 9223372036854775807,
4792     since some C++ compilers masquerading as C compilers
4793     incorrectly reject 9223372036854775807.  */
4794 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4795   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4796                        && LARGE_OFF_T % 2147483647 == 1)
4797                       ? 1 : -1];
4798 int
4799 main ()
4800 {
4801
4802   ;
4803   return 0;
4804 }
4805 _ACEOF
4806 rm -f conftest.$ac_objext
4807 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4808   (eval $ac_compile) 2>conftest.er1
4809   ac_status=$?
4810   grep -v '^ *+' conftest.er1 >conftest.err
4811   rm -f conftest.er1
4812   cat conftest.err >&5
4813   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4814   (exit $ac_status); } &&
4815          { ac_try='test -z "$ac_c_werror_flag"
4816                          || test ! -s conftest.err'
4817   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4818   (eval $ac_try) 2>&5
4819   ac_status=$?
4820   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4821   (exit $ac_status); }; } &&
4822          { ac_try='test -s conftest.$ac_objext'
4823   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4824   (eval $ac_try) 2>&5
4825   ac_status=$?
4826   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4827   (exit $ac_status); }; }; then
4828   ac_cv_sys_file_offset_bits=64; break
4829 else
4830   echo "$as_me: failed program was:" >&5
4831 sed 's/^/| /' conftest.$ac_ext >&5
4832
4833 fi
4834 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4835   break
4836 done
4837 fi
4838 echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
4839 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
4840 if test "$ac_cv_sys_file_offset_bits" != no; then
4841
4842 cat >>confdefs.h <<_ACEOF
4843 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
4844 _ACEOF
4845
4846 fi
4847 rm -f conftest*
4848   echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
4849 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
4850 if test "${ac_cv_sys_large_files+set}" = set; then
4851   echo $ECHO_N "(cached) $ECHO_C" >&6
4852 else
4853   while :; do
4854   ac_cv_sys_large_files=no
4855   cat >conftest.$ac_ext <<_ACEOF
4856 /* confdefs.h.  */
4857 _ACEOF
4858 cat confdefs.h >>conftest.$ac_ext
4859 cat >>conftest.$ac_ext <<_ACEOF
4860 /* end confdefs.h.  */
4861 #include <sys/types.h>
4862  /* Check that off_t can represent 2**63 - 1 correctly.
4863     We can't simply define LARGE_OFF_T to be 9223372036854775807,
4864     since some C++ compilers masquerading as C compilers
4865     incorrectly reject 9223372036854775807.  */
4866 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4867   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4868                        && LARGE_OFF_T % 2147483647 == 1)
4869                       ? 1 : -1];
4870 int
4871 main ()
4872 {
4873
4874   ;
4875   return 0;
4876 }
4877 _ACEOF
4878 rm -f conftest.$ac_objext
4879 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4880   (eval $ac_compile) 2>conftest.er1
4881   ac_status=$?
4882   grep -v '^ *+' conftest.er1 >conftest.err
4883   rm -f conftest.er1
4884   cat conftest.err >&5
4885   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4886   (exit $ac_status); } &&
4887          { ac_try='test -z "$ac_c_werror_flag"
4888                          || test ! -s conftest.err'
4889   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4890   (eval $ac_try) 2>&5
4891   ac_status=$?
4892   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4893   (exit $ac_status); }; } &&
4894          { ac_try='test -s conftest.$ac_objext'
4895   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4896   (eval $ac_try) 2>&5
4897   ac_status=$?
4898   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4899   (exit $ac_status); }; }; then
4900   break
4901 else
4902   echo "$as_me: failed program was:" >&5
4903 sed 's/^/| /' conftest.$ac_ext >&5
4904
4905 fi
4906 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4907   cat >conftest.$ac_ext <<_ACEOF
4908 /* confdefs.h.  */
4909 _ACEOF
4910 cat confdefs.h >>conftest.$ac_ext
4911 cat >>conftest.$ac_ext <<_ACEOF
4912 /* end confdefs.h.  */
4913 #define _LARGE_FILES 1
4914 #include <sys/types.h>
4915  /* Check that off_t can represent 2**63 - 1 correctly.
4916     We can't simply define LARGE_OFF_T to be 9223372036854775807,
4917     since some C++ compilers masquerading as C compilers
4918     incorrectly reject 9223372036854775807.  */
4919 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4920   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4921                        && LARGE_OFF_T % 2147483647 == 1)
4922                       ? 1 : -1];
4923 int
4924 main ()
4925 {
4926
4927   ;
4928   return 0;
4929 }
4930 _ACEOF
4931 rm -f conftest.$ac_objext
4932 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4933   (eval $ac_compile) 2>conftest.er1
4934   ac_status=$?
4935   grep -v '^ *+' conftest.er1 >conftest.err
4936   rm -f conftest.er1
4937   cat conftest.err >&5
4938   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4939   (exit $ac_status); } &&
4940          { ac_try='test -z "$ac_c_werror_flag"
4941                          || test ! -s conftest.err'
4942   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4943   (eval $ac_try) 2>&5
4944   ac_status=$?
4945   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4946   (exit $ac_status); }; } &&
4947          { ac_try='test -s conftest.$ac_objext'
4948   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4949   (eval $ac_try) 2>&5
4950   ac_status=$?
4951   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4952   (exit $ac_status); }; }; then
4953   ac_cv_sys_large_files=1; break
4954 else
4955   echo "$as_me: failed program was:" >&5
4956 sed 's/^/| /' conftest.$ac_ext >&5
4957
4958 fi
4959 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4960   break
4961 done
4962 fi
4963 echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
4964 echo "${ECHO_T}$ac_cv_sys_large_files" >&6
4965 if test "$ac_cv_sys_large_files" != no; then
4966
4967 cat >>confdefs.h <<_ACEOF
4968 #define _LARGE_FILES $ac_cv_sys_large_files
4969 _ACEOF
4970
4971 fi
4972 rm -f conftest*
4973 fi
4974
4975 if test x$gcc_no_link = xyes; then
4976   if test "x${ac_cv_func_mmap_fixed_mapped+set}" != xset; then
4977     ac_cv_func_mmap_fixed_mapped=no
4978   fi
4979 fi
4980 if test "x${ac_cv_func_mmap_fixed_mapped+set}" != xset; then
4981   ac_ext=c
4982 ac_cpp='$CPP $CPPFLAGS'
4983 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4984 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4985 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4986 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
4987 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
4988 # On Suns, sometimes $CPP names a directory.
4989 if test -n "$CPP" && test -d "$CPP"; then
4990   CPP=
4991 fi
4992 if test -z "$CPP"; then
4993   if test "${ac_cv_prog_CPP+set}" = set; then
4994   echo $ECHO_N "(cached) $ECHO_C" >&6
4995 else
4996       # Double quotes because CPP needs to be expanded
4997     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4998     do
4999       ac_preproc_ok=false
5000 for ac_c_preproc_warn_flag in '' yes
5001 do
5002   # Use a header file that comes with gcc, so configuring glibc
5003   # with a fresh cross-compiler works.
5004   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5005   # <limits.h> exists even on freestanding compilers.
5006   # On the NeXT, cc -E runs the code through the compiler's parser,
5007   # not just through cpp. "Syntax error" is here to catch this case.
5008   cat >conftest.$ac_ext <<_ACEOF
5009 /* confdefs.h.  */
5010 _ACEOF
5011 cat confdefs.h >>conftest.$ac_ext
5012 cat >>conftest.$ac_ext <<_ACEOF
5013 /* end confdefs.h.  */
5014 #ifdef __STDC__
5015 # include <limits.h>
5016 #else
5017 # include <assert.h>
5018 #endif
5019                      Syntax error
5020 _ACEOF
5021 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5022   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5023   ac_status=$?
5024   grep -v '^ *+' conftest.er1 >conftest.err
5025   rm -f conftest.er1
5026   cat conftest.err >&5
5027   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5028   (exit $ac_status); } >/dev/null; then
5029   if test -s conftest.err; then
5030     ac_cpp_err=$ac_c_preproc_warn_flag
5031     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5032   else
5033     ac_cpp_err=
5034   fi
5035 else
5036   ac_cpp_err=yes
5037 fi
5038 if test -z "$ac_cpp_err"; then
5039   :
5040 else
5041   echo "$as_me: failed program was:" >&5
5042 sed 's/^/| /' conftest.$ac_ext >&5
5043
5044   # Broken: fails on valid input.
5045 continue
5046 fi
5047 rm -f conftest.err conftest.$ac_ext
5048
5049   # OK, works on sane cases.  Now check whether non-existent headers
5050   # can be detected and how.
5051   cat >conftest.$ac_ext <<_ACEOF
5052 /* confdefs.h.  */
5053 _ACEOF
5054 cat confdefs.h >>conftest.$ac_ext
5055 cat >>conftest.$ac_ext <<_ACEOF
5056 /* end confdefs.h.  */
5057 #include <ac_nonexistent.h>
5058 _ACEOF
5059 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5060   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5061   ac_status=$?
5062   grep -v '^ *+' conftest.er1 >conftest.err
5063   rm -f conftest.er1
5064   cat conftest.err >&5
5065   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5066   (exit $ac_status); } >/dev/null; then
5067   if test -s conftest.err; then
5068     ac_cpp_err=$ac_c_preproc_warn_flag
5069     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5070   else
5071     ac_cpp_err=
5072   fi
5073 else
5074   ac_cpp_err=yes
5075 fi
5076 if test -z "$ac_cpp_err"; then
5077   # Broken: success on invalid input.
5078 continue
5079 else
5080   echo "$as_me: failed program was:" >&5
5081 sed 's/^/| /' conftest.$ac_ext >&5
5082
5083   # Passes both tests.
5084 ac_preproc_ok=:
5085 break
5086 fi
5087 rm -f conftest.err conftest.$ac_ext
5088
5089 done
5090 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5091 rm -f conftest.err conftest.$ac_ext
5092 if $ac_preproc_ok; then
5093   break
5094 fi
5095
5096     done
5097     ac_cv_prog_CPP=$CPP
5098
5099 fi
5100   CPP=$ac_cv_prog_CPP
5101 else
5102   ac_cv_prog_CPP=$CPP
5103 fi
5104 echo "$as_me:$LINENO: result: $CPP" >&5
5105 echo "${ECHO_T}$CPP" >&6
5106 ac_preproc_ok=false
5107 for ac_c_preproc_warn_flag in '' yes
5108 do
5109   # Use a header file that comes with gcc, so configuring glibc
5110   # with a fresh cross-compiler works.
5111   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5112   # <limits.h> exists even on freestanding compilers.
5113   # On the NeXT, cc -E runs the code through the compiler's parser,
5114   # not just through cpp. "Syntax error" is here to catch this case.
5115   cat >conftest.$ac_ext <<_ACEOF
5116 /* confdefs.h.  */
5117 _ACEOF
5118 cat confdefs.h >>conftest.$ac_ext
5119 cat >>conftest.$ac_ext <<_ACEOF
5120 /* end confdefs.h.  */
5121 #ifdef __STDC__
5122 # include <limits.h>
5123 #else
5124 # include <assert.h>
5125 #endif
5126                      Syntax error
5127 _ACEOF
5128 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5129   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5130   ac_status=$?
5131   grep -v '^ *+' conftest.er1 >conftest.err
5132   rm -f conftest.er1
5133   cat conftest.err >&5
5134   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5135   (exit $ac_status); } >/dev/null; then
5136   if test -s conftest.err; then
5137     ac_cpp_err=$ac_c_preproc_warn_flag
5138     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5139   else
5140     ac_cpp_err=
5141   fi
5142 else
5143   ac_cpp_err=yes
5144 fi
5145 if test -z "$ac_cpp_err"; then
5146   :
5147 else
5148   echo "$as_me: failed program was:" >&5
5149 sed 's/^/| /' conftest.$ac_ext >&5
5150
5151   # Broken: fails on valid input.
5152 continue
5153 fi
5154 rm -f conftest.err conftest.$ac_ext
5155
5156   # OK, works on sane cases.  Now check whether non-existent headers
5157   # can be detected and how.
5158   cat >conftest.$ac_ext <<_ACEOF
5159 /* confdefs.h.  */
5160 _ACEOF
5161 cat confdefs.h >>conftest.$ac_ext
5162 cat >>conftest.$ac_ext <<_ACEOF
5163 /* end confdefs.h.  */
5164 #include <ac_nonexistent.h>
5165 _ACEOF
5166 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5167   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5168   ac_status=$?
5169   grep -v '^ *+' conftest.er1 >conftest.err
5170   rm -f conftest.er1
5171   cat conftest.err >&5
5172   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5173   (exit $ac_status); } >/dev/null; then
5174   if test -s conftest.err; then
5175     ac_cpp_err=$ac_c_preproc_warn_flag
5176     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5177   else
5178     ac_cpp_err=
5179   fi
5180 else
5181   ac_cpp_err=yes
5182 fi
5183 if test -z "$ac_cpp_err"; then
5184   # Broken: success on invalid input.
5185 continue
5186 else
5187   echo "$as_me: failed program was:" >&5
5188 sed 's/^/| /' conftest.$ac_ext >&5
5189
5190   # Passes both tests.
5191 ac_preproc_ok=:
5192 break
5193 fi
5194 rm -f conftest.err conftest.$ac_ext
5195
5196 done
5197 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5198 rm -f conftest.err conftest.$ac_ext
5199 if $ac_preproc_ok; then
5200   :
5201 else
5202   { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
5203 See \`config.log' for more details." >&5
5204 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
5205 See \`config.log' for more details." >&2;}
5206    { (exit 1); exit 1; }; }
5207 fi
5208
5209 ac_ext=c
5210 ac_cpp='$CPP $CPPFLAGS'
5211 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5212 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5213 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5214
5215
5216 echo "$as_me:$LINENO: checking for egrep" >&5
5217 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
5218 if test "${ac_cv_prog_egrep+set}" = set; then
5219   echo $ECHO_N "(cached) $ECHO_C" >&6
5220 else
5221   if echo a | (grep -E '(a|b)') >/dev/null 2>&1
5222     then ac_cv_prog_egrep='grep -E'
5223     else ac_cv_prog_egrep='egrep'
5224     fi
5225 fi
5226 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
5227 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
5228  EGREP=$ac_cv_prog_egrep
5229
5230
5231 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5232 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
5233 if test "${ac_cv_header_stdc+set}" = set; then
5234   echo $ECHO_N "(cached) $ECHO_C" >&6
5235 else
5236   cat >conftest.$ac_ext <<_ACEOF
5237 /* confdefs.h.  */
5238 _ACEOF
5239 cat confdefs.h >>conftest.$ac_ext
5240 cat >>conftest.$ac_ext <<_ACEOF
5241 /* end confdefs.h.  */
5242 #include <stdlib.h>
5243 #include <stdarg.h>
5244 #include <string.h>
5245 #include <float.h>
5246
5247 int
5248 main ()
5249 {
5250
5251   ;
5252   return 0;
5253 }
5254 _ACEOF
5255 rm -f conftest.$ac_objext
5256 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5257   (eval $ac_compile) 2>conftest.er1
5258   ac_status=$?
5259   grep -v '^ *+' conftest.er1 >conftest.err
5260   rm -f conftest.er1
5261   cat conftest.err >&5
5262   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5263   (exit $ac_status); } &&
5264          { ac_try='test -z "$ac_c_werror_flag"
5265                          || test ! -s conftest.err'
5266   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5267   (eval $ac_try) 2>&5
5268   ac_status=$?
5269   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5270   (exit $ac_status); }; } &&
5271          { ac_try='test -s conftest.$ac_objext'
5272   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5273   (eval $ac_try) 2>&5
5274   ac_status=$?
5275   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5276   (exit $ac_status); }; }; then
5277   ac_cv_header_stdc=yes
5278 else
5279   echo "$as_me: failed program was:" >&5
5280 sed 's/^/| /' conftest.$ac_ext >&5
5281
5282 ac_cv_header_stdc=no
5283 fi
5284 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5285
5286 if test $ac_cv_header_stdc = yes; then
5287   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5288   cat >conftest.$ac_ext <<_ACEOF
5289 /* confdefs.h.  */
5290 _ACEOF
5291 cat confdefs.h >>conftest.$ac_ext
5292 cat >>conftest.$ac_ext <<_ACEOF
5293 /* end confdefs.h.  */
5294 #include <string.h>
5295
5296 _ACEOF
5297 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5298   $EGREP "memchr" >/dev/null 2>&1; then
5299   :
5300 else
5301   ac_cv_header_stdc=no
5302 fi
5303 rm -f conftest*
5304
5305 fi
5306
5307 if test $ac_cv_header_stdc = yes; then
5308   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5309   cat >conftest.$ac_ext <<_ACEOF
5310 /* confdefs.h.  */
5311 _ACEOF
5312 cat confdefs.h >>conftest.$ac_ext
5313 cat >>conftest.$ac_ext <<_ACEOF
5314 /* end confdefs.h.  */
5315 #include <stdlib.h>
5316
5317 _ACEOF
5318 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5319   $EGREP "free" >/dev/null 2>&1; then
5320   :
5321 else
5322   ac_cv_header_stdc=no
5323 fi
5324 rm -f conftest*
5325
5326 fi
5327
5328 if test $ac_cv_header_stdc = yes; then
5329   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5330   if test "$cross_compiling" = yes; then
5331   :
5332 else
5333   cat >conftest.$ac_ext <<_ACEOF
5334 /* confdefs.h.  */
5335 _ACEOF
5336 cat confdefs.h >>conftest.$ac_ext
5337 cat >>conftest.$ac_ext <<_ACEOF
5338 /* end confdefs.h.  */
5339 #include <ctype.h>
5340 #if ((' ' & 0x0FF) == 0x020)
5341 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5342 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5343 #else
5344 # define ISLOWER(c) \
5345                    (('a' <= (c) && (c) <= 'i') \
5346                      || ('j' <= (c) && (c) <= 'r') \
5347                      || ('s' <= (c) && (c) <= 'z'))
5348 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5349 #endif
5350
5351 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5352 int
5353 main ()
5354 {
5355   int i;
5356   for (i = 0; i < 256; i++)
5357     if (XOR (islower (i), ISLOWER (i))
5358         || toupper (i) != TOUPPER (i))
5359       exit(2);
5360   exit (0);
5361 }
5362 _ACEOF
5363 rm -f conftest$ac_exeext
5364 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5365   (eval $ac_link) 2>&5
5366   ac_status=$?
5367   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5368   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5369   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5370   (eval $ac_try) 2>&5
5371   ac_status=$?
5372   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5373   (exit $ac_status); }; }; then
5374   :
5375 else
5376   echo "$as_me: program exited with status $ac_status" >&5
5377 echo "$as_me: failed program was:" >&5
5378 sed 's/^/| /' conftest.$ac_ext >&5
5379
5380 ( exit $ac_status )
5381 ac_cv_header_stdc=no
5382 fi
5383 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5384 fi
5385 fi
5386 fi
5387 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5388 echo "${ECHO_T}$ac_cv_header_stdc" >&6
5389 if test $ac_cv_header_stdc = yes; then
5390
5391 cat >>confdefs.h <<\_ACEOF
5392 #define STDC_HEADERS 1
5393 _ACEOF
5394
5395 fi
5396
5397 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5398
5399
5400
5401
5402
5403
5404
5405
5406
5407 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5408                   inttypes.h stdint.h unistd.h
5409 do
5410 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5411 echo "$as_me:$LINENO: checking for $ac_header" >&5
5412 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5413 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5414   echo $ECHO_N "(cached) $ECHO_C" >&6
5415 else
5416   cat >conftest.$ac_ext <<_ACEOF
5417 /* confdefs.h.  */
5418 _ACEOF
5419 cat confdefs.h >>conftest.$ac_ext
5420 cat >>conftest.$ac_ext <<_ACEOF
5421 /* end confdefs.h.  */
5422 $ac_includes_default
5423
5424 #include <$ac_header>
5425 _ACEOF
5426 rm -f conftest.$ac_objext
5427 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5428   (eval $ac_compile) 2>conftest.er1
5429   ac_status=$?
5430   grep -v '^ *+' conftest.er1 >conftest.err
5431   rm -f conftest.er1
5432   cat conftest.err >&5
5433   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5434   (exit $ac_status); } &&
5435          { ac_try='test -z "$ac_c_werror_flag"
5436                          || test ! -s conftest.err'
5437   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5438   (eval $ac_try) 2>&5
5439   ac_status=$?
5440   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5441   (exit $ac_status); }; } &&
5442          { ac_try='test -s conftest.$ac_objext'
5443   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5444   (eval $ac_try) 2>&5
5445   ac_status=$?
5446   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5447   (exit $ac_status); }; }; then
5448   eval "$as_ac_Header=yes"
5449 else
5450   echo "$as_me: failed program was:" >&5
5451 sed 's/^/| /' conftest.$ac_ext >&5
5452
5453 eval "$as_ac_Header=no"
5454 fi
5455 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5456 fi
5457 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5458 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5459 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5460   cat >>confdefs.h <<_ACEOF
5461 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5462 _ACEOF
5463
5464 fi
5465
5466 done
5467
5468
5469
5470
5471 for ac_header in stdlib.h unistd.h
5472 do
5473 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5474 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5475   echo "$as_me:$LINENO: checking for $ac_header" >&5
5476 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5477 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5478   echo $ECHO_N "(cached) $ECHO_C" >&6
5479 fi
5480 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5481 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5482 else
5483   # Is the header compilable?
5484 echo "$as_me:$LINENO: checking $ac_header usability" >&5
5485 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5486 cat >conftest.$ac_ext <<_ACEOF
5487 /* confdefs.h.  */
5488 _ACEOF
5489 cat confdefs.h >>conftest.$ac_ext
5490 cat >>conftest.$ac_ext <<_ACEOF
5491 /* end confdefs.h.  */
5492 $ac_includes_default
5493 #include <$ac_header>
5494 _ACEOF
5495 rm -f conftest.$ac_objext
5496 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5497   (eval $ac_compile) 2>conftest.er1
5498   ac_status=$?
5499   grep -v '^ *+' conftest.er1 >conftest.err
5500   rm -f conftest.er1
5501   cat conftest.err >&5
5502   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5503   (exit $ac_status); } &&
5504          { ac_try='test -z "$ac_c_werror_flag"
5505                          || test ! -s conftest.err'
5506   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5507   (eval $ac_try) 2>&5
5508   ac_status=$?
5509   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5510   (exit $ac_status); }; } &&
5511          { ac_try='test -s conftest.$ac_objext'
5512   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5513   (eval $ac_try) 2>&5
5514   ac_status=$?
5515   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5516   (exit $ac_status); }; }; then
5517   ac_header_compiler=yes
5518 else
5519   echo "$as_me: failed program was:" >&5
5520 sed 's/^/| /' conftest.$ac_ext >&5
5521
5522 ac_header_compiler=no
5523 fi
5524 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5525 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5526 echo "${ECHO_T}$ac_header_compiler" >&6
5527
5528 # Is the header present?
5529 echo "$as_me:$LINENO: checking $ac_header presence" >&5
5530 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5531 cat >conftest.$ac_ext <<_ACEOF
5532 /* confdefs.h.  */
5533 _ACEOF
5534 cat confdefs.h >>conftest.$ac_ext
5535 cat >>conftest.$ac_ext <<_ACEOF
5536 /* end confdefs.h.  */
5537 #include <$ac_header>
5538 _ACEOF
5539 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5540   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5541   ac_status=$?
5542   grep -v '^ *+' conftest.er1 >conftest.err
5543   rm -f conftest.er1
5544   cat conftest.err >&5
5545   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5546   (exit $ac_status); } >/dev/null; then
5547   if test -s conftest.err; then
5548     ac_cpp_err=$ac_c_preproc_warn_flag
5549     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5550   else
5551     ac_cpp_err=
5552   fi
5553 else
5554   ac_cpp_err=yes
5555 fi
5556 if test -z "$ac_cpp_err"; then
5557   ac_header_preproc=yes
5558 else
5559   echo "$as_me: failed program was:" >&5
5560 sed 's/^/| /' conftest.$ac_ext >&5
5561
5562   ac_header_preproc=no
5563 fi
5564 rm -f conftest.err conftest.$ac_ext
5565 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5566 echo "${ECHO_T}$ac_header_preproc" >&6
5567
5568 # So?  What about this header?
5569 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5570   yes:no: )
5571     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5572 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5573     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5574 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5575     ac_header_preproc=yes
5576     ;;
5577   no:yes:* )
5578     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5579 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5580     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
5581 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
5582     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5583 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5584     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
5585 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
5586     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5587 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5588     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5589 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5590     (
5591       cat <<\_ASBOX
5592 ## ------------------------------------------------------ ##
5593 ## Report this to the GNU Fortran Runtime Library lists.  ##
5594 ## ------------------------------------------------------ ##
5595 _ASBOX
5596     ) |
5597       sed "s/^/$as_me: WARNING:     /" >&2
5598     ;;
5599 esac
5600 echo "$as_me:$LINENO: checking for $ac_header" >&5
5601 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5602 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5603   echo $ECHO_N "(cached) $ECHO_C" >&6
5604 else
5605   eval "$as_ac_Header=\$ac_header_preproc"
5606 fi
5607 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5608 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5609
5610 fi
5611 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5612   cat >>confdefs.h <<_ACEOF
5613 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5614 _ACEOF
5615
5616 fi
5617
5618 done
5619
5620
5621 for ac_func in getpagesize
5622 do
5623 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5624 echo "$as_me:$LINENO: checking for $ac_func" >&5
5625 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
5626 if eval "test \"\${$as_ac_var+set}\" = set"; then
5627   echo $ECHO_N "(cached) $ECHO_C" >&6
5628 else
5629   if test x$gcc_no_link = xyes; then
5630   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
5631 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
5632    { (exit 1); exit 1; }; }
5633 fi
5634 cat >conftest.$ac_ext <<_ACEOF
5635 /* confdefs.h.  */
5636 _ACEOF
5637 cat confdefs.h >>conftest.$ac_ext
5638 cat >>conftest.$ac_ext <<_ACEOF
5639 /* end confdefs.h.  */
5640 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
5641    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
5642 #define $ac_func innocuous_$ac_func
5643
5644 /* System header to define __stub macros and hopefully few prototypes,
5645     which can conflict with char $ac_func (); below.
5646     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5647     <limits.h> exists even on freestanding compilers.  */
5648
5649 #ifdef __STDC__
5650 # include <limits.h>
5651 #else
5652 # include <assert.h>
5653 #endif
5654
5655 #undef $ac_func
5656
5657 /* Override any gcc2 internal prototype to avoid an error.  */
5658 #ifdef __cplusplus
5659 extern "C"
5660 {
5661 #endif
5662 /* We use char because int might match the return type of a gcc2
5663    builtin and then its argument prototype would still apply.  */
5664 char $ac_func ();
5665 /* The GNU C library defines this for functions which it implements
5666     to always fail with ENOSYS.  Some functions are actually named
5667     something starting with __ and the normal name is an alias.  */
5668 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5669 choke me
5670 #else
5671 char (*f) () = $ac_func;
5672 #endif
5673 #ifdef __cplusplus
5674 }
5675 #endif
5676
5677 int
5678 main ()
5679 {
5680 return f != $ac_func;
5681   ;
5682   return 0;
5683 }
5684 _ACEOF
5685 rm -f conftest.$ac_objext conftest$ac_exeext
5686 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5687   (eval $ac_link) 2>conftest.er1
5688   ac_status=$?
5689   grep -v '^ *+' conftest.er1 >conftest.err
5690   rm -f conftest.er1
5691   cat conftest.err >&5
5692   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5693   (exit $ac_status); } &&
5694          { ac_try='test -z "$ac_c_werror_flag"
5695                          || test ! -s conftest.err'
5696   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5697   (eval $ac_try) 2>&5
5698   ac_status=$?
5699   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5700   (exit $ac_status); }; } &&
5701          { ac_try='test -s conftest$ac_exeext'
5702   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5703   (eval $ac_try) 2>&5
5704   ac_status=$?
5705   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5706   (exit $ac_status); }; }; then
5707   eval "$as_ac_var=yes"
5708 else
5709   echo "$as_me: failed program was:" >&5
5710 sed 's/^/| /' conftest.$ac_ext >&5
5711
5712 eval "$as_ac_var=no"
5713 fi
5714 rm -f conftest.err conftest.$ac_objext \
5715       conftest$ac_exeext conftest.$ac_ext
5716 fi
5717 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
5718 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
5719 if test `eval echo '${'$as_ac_var'}'` = yes; then
5720   cat >>confdefs.h <<_ACEOF
5721 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5722 _ACEOF
5723
5724 fi
5725 done
5726
5727 echo "$as_me:$LINENO: checking for working mmap" >&5
5728 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
5729 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
5730   echo $ECHO_N "(cached) $ECHO_C" >&6
5731 else
5732   if test "$cross_compiling" = yes; then
5733   ac_cv_func_mmap_fixed_mapped=no
5734 else
5735   cat >conftest.$ac_ext <<_ACEOF
5736 /* confdefs.h.  */
5737 _ACEOF
5738 cat confdefs.h >>conftest.$ac_ext
5739 cat >>conftest.$ac_ext <<_ACEOF
5740 /* end confdefs.h.  */
5741 $ac_includes_default
5742 /* malloc might have been renamed as rpl_malloc. */
5743 #undef malloc
5744
5745 /* Thanks to Mike Haertel and Jim Avera for this test.
5746    Here is a matrix of mmap possibilities:
5747         mmap private not fixed
5748         mmap private fixed at somewhere currently unmapped
5749         mmap private fixed at somewhere already mapped
5750         mmap shared not fixed
5751         mmap shared fixed at somewhere currently unmapped
5752         mmap shared fixed at somewhere already mapped
5753    For private mappings, we should verify that changes cannot be read()
5754    back from the file, nor mmap's back from the file at a different
5755    address.  (There have been systems where private was not correctly
5756    implemented like the infamous i386 svr4.0, and systems where the
5757    VM page cache was not coherent with the file system buffer cache
5758    like early versions of FreeBSD and possibly contemporary NetBSD.)
5759    For shared mappings, we should conversely verify that changes get
5760    propagated back to all the places they're supposed to be.
5761
5762    Grep wants private fixed already mapped.
5763    The main things grep needs to know about mmap are:
5764    * does it exist and is it safe to write into the mmap'd area
5765    * how to use it (BSD variants)  */
5766
5767 #include <fcntl.h>
5768 #include <sys/mman.h>
5769
5770 #if !STDC_HEADERS && !HAVE_STDLIB_H
5771 char *malloc ();
5772 #endif
5773
5774 /* This mess was copied from the GNU getpagesize.h.  */
5775 #if !HAVE_GETPAGESIZE
5776 /* Assume that all systems that can run configure have sys/param.h.  */
5777 # if !HAVE_SYS_PARAM_H
5778 #  define HAVE_SYS_PARAM_H 1
5779 # endif
5780
5781 # ifdef _SC_PAGESIZE
5782 #  define getpagesize() sysconf(_SC_PAGESIZE)
5783 # else /* no _SC_PAGESIZE */
5784 #  if HAVE_SYS_PARAM_H
5785 #   include <sys/param.h>
5786 #   ifdef EXEC_PAGESIZE
5787 #    define getpagesize() EXEC_PAGESIZE
5788 #   else /* no EXEC_PAGESIZE */
5789 #    ifdef NBPG
5790 #     define getpagesize() NBPG * CLSIZE
5791 #     ifndef CLSIZE
5792 #      define CLSIZE 1
5793 #     endif /* no CLSIZE */
5794 #    else /* no NBPG */
5795 #     ifdef NBPC
5796 #      define getpagesize() NBPC
5797 #     else /* no NBPC */
5798 #      ifdef PAGESIZE
5799 #       define getpagesize() PAGESIZE
5800 #      endif /* PAGESIZE */
5801 #     endif /* no NBPC */
5802 #    endif /* no NBPG */
5803 #   endif /* no EXEC_PAGESIZE */
5804 #  else /* no HAVE_SYS_PARAM_H */
5805 #   define getpagesize() 8192   /* punt totally */
5806 #  endif /* no HAVE_SYS_PARAM_H */
5807 # endif /* no _SC_PAGESIZE */
5808
5809 #endif /* no HAVE_GETPAGESIZE */
5810
5811 int
5812 main ()
5813 {
5814   char *data, *data2, *data3;
5815   int i, pagesize;
5816   int fd;
5817
5818   pagesize = getpagesize ();
5819
5820   /* First, make a file with some known garbage in it. */
5821   data = (char *) malloc (pagesize);
5822   if (!data)
5823     exit (1);
5824   for (i = 0; i < pagesize; ++i)
5825     *(data + i) = rand ();
5826   umask (0);
5827   fd = creat ("conftest.mmap", 0600);
5828   if (fd < 0)
5829     exit (1);
5830   if (write (fd, data, pagesize) != pagesize)
5831     exit (1);
5832   close (fd);
5833
5834   /* Next, try to mmap the file at a fixed address which already has
5835      something else allocated at it.  If we can, also make sure that
5836      we see the same garbage.  */
5837   fd = open ("conftest.mmap", O_RDWR);
5838   if (fd < 0)
5839     exit (1);
5840   data2 = (char *) malloc (2 * pagesize);
5841   if (!data2)
5842     exit (1);
5843   data2 += (pagesize - ((long) data2 & (pagesize - 1))) & (pagesize - 1);
5844   if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
5845                      MAP_PRIVATE | MAP_FIXED, fd, 0L))
5846     exit (1);
5847   for (i = 0; i < pagesize; ++i)
5848     if (*(data + i) != *(data2 + i))
5849       exit (1);
5850
5851   /* Finally, make sure that changes to the mapped area do not
5852      percolate back to the file as seen by read().  (This is a bug on
5853      some variants of i386 svr4.0.)  */
5854   for (i = 0; i < pagesize; ++i)
5855     *(data2 + i) = *(data2 + i) + 1;
5856   data3 = (char *) malloc (pagesize);
5857   if (!data3)
5858     exit (1);
5859   if (read (fd, data3, pagesize) != pagesize)
5860     exit (1);
5861   for (i = 0; i < pagesize; ++i)
5862     if (*(data + i) != *(data3 + i))
5863       exit (1);
5864   close (fd);
5865   exit (0);
5866 }
5867 _ACEOF
5868 rm -f conftest$ac_exeext
5869 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5870   (eval $ac_link) 2>&5
5871   ac_status=$?
5872   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5873   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5874   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5875   (eval $ac_try) 2>&5
5876   ac_status=$?
5877   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5878   (exit $ac_status); }; }; then
5879   ac_cv_func_mmap_fixed_mapped=yes
5880 else
5881   echo "$as_me: program exited with status $ac_status" >&5
5882 echo "$as_me: failed program was:" >&5
5883 sed 's/^/| /' conftest.$ac_ext >&5
5884
5885 ( exit $ac_status )
5886 ac_cv_func_mmap_fixed_mapped=no
5887 fi
5888 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5889 fi
5890 fi
5891 echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
5892 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
5893 if test $ac_cv_func_mmap_fixed_mapped = yes; then
5894
5895 cat >>confdefs.h <<\_ACEOF
5896 #define HAVE_MMAP 1
5897 _ACEOF
5898
5899 fi
5900 rm -f conftest.mmap
5901
5902 fi
5903 echo "$as_me:$LINENO: checking for off_t" >&5
5904 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
5905 if test "${ac_cv_type_off_t+set}" = set; then
5906   echo $ECHO_N "(cached) $ECHO_C" >&6
5907 else
5908   cat >conftest.$ac_ext <<_ACEOF
5909 /* confdefs.h.  */
5910 _ACEOF
5911 cat confdefs.h >>conftest.$ac_ext
5912 cat >>conftest.$ac_ext <<_ACEOF
5913 /* end confdefs.h.  */
5914 $ac_includes_default
5915 int
5916 main ()
5917 {
5918 if ((off_t *) 0)
5919   return 0;
5920 if (sizeof (off_t))
5921   return 0;
5922   ;
5923   return 0;
5924 }
5925 _ACEOF
5926 rm -f conftest.$ac_objext
5927 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5928   (eval $ac_compile) 2>conftest.er1
5929   ac_status=$?
5930   grep -v '^ *+' conftest.er1 >conftest.err
5931   rm -f conftest.er1
5932   cat conftest.err >&5
5933   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5934   (exit $ac_status); } &&
5935          { ac_try='test -z "$ac_c_werror_flag"
5936                          || test ! -s conftest.err'
5937   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5938   (eval $ac_try) 2>&5
5939   ac_status=$?
5940   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5941   (exit $ac_status); }; } &&
5942          { ac_try='test -s conftest.$ac_objext'
5943   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5944   (eval $ac_try) 2>&5
5945   ac_status=$?
5946   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5947   (exit $ac_status); }; }; then
5948   ac_cv_type_off_t=yes
5949 else
5950   echo "$as_me: failed program was:" >&5
5951 sed 's/^/| /' conftest.$ac_ext >&5
5952
5953 ac_cv_type_off_t=no
5954 fi
5955 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5956 fi
5957 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
5958 echo "${ECHO_T}$ac_cv_type_off_t" >&6
5959 if test $ac_cv_type_off_t = yes; then
5960   :
5961 else
5962
5963 cat >>confdefs.h <<_ACEOF
5964 #define off_t long
5965 _ACEOF
5966
5967 fi
5968
5969
5970 # check header files
5971 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5972 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
5973 if test "${ac_cv_header_stdc+set}" = set; then
5974   echo $ECHO_N "(cached) $ECHO_C" >&6
5975 else
5976   cat >conftest.$ac_ext <<_ACEOF
5977 /* confdefs.h.  */
5978 _ACEOF
5979 cat confdefs.h >>conftest.$ac_ext
5980 cat >>conftest.$ac_ext <<_ACEOF
5981 /* end confdefs.h.  */
5982 #include <stdlib.h>
5983 #include <stdarg.h>
5984 #include <string.h>
5985 #include <float.h>
5986
5987 int
5988 main ()
5989 {
5990
5991   ;
5992   return 0;
5993 }
5994 _ACEOF
5995 rm -f conftest.$ac_objext
5996 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5997   (eval $ac_compile) 2>conftest.er1
5998   ac_status=$?
5999   grep -v '^ *+' conftest.er1 >conftest.err
6000   rm -f conftest.er1
6001   cat conftest.err >&5
6002   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6003   (exit $ac_status); } &&
6004          { ac_try='test -z "$ac_c_werror_flag"
6005                          || test ! -s conftest.err'
6006   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6007   (eval $ac_try) 2>&5
6008   ac_status=$?
6009   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6010   (exit $ac_status); }; } &&
6011          { ac_try='test -s conftest.$ac_objext'
6012   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6013   (eval $ac_try) 2>&5
6014   ac_status=$?
6015   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6016   (exit $ac_status); }; }; then
6017   ac_cv_header_stdc=yes
6018 else
6019   echo "$as_me: failed program was:" >&5
6020 sed 's/^/| /' conftest.$ac_ext >&5
6021
6022 ac_cv_header_stdc=no
6023 fi
6024 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6025
6026 if test $ac_cv_header_stdc = yes; then
6027   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6028   cat >conftest.$ac_ext <<_ACEOF
6029 /* confdefs.h.  */
6030 _ACEOF
6031 cat confdefs.h >>conftest.$ac_ext
6032 cat >>conftest.$ac_ext <<_ACEOF
6033 /* end confdefs.h.  */
6034 #include <string.h>
6035
6036 _ACEOF
6037 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6038   $EGREP "memchr" >/dev/null 2>&1; then
6039   :
6040 else
6041   ac_cv_header_stdc=no
6042 fi
6043 rm -f conftest*
6044
6045 fi
6046
6047 if test $ac_cv_header_stdc = yes; then
6048   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6049   cat >conftest.$ac_ext <<_ACEOF
6050 /* confdefs.h.  */
6051 _ACEOF
6052 cat confdefs.h >>conftest.$ac_ext
6053 cat >>conftest.$ac_ext <<_ACEOF
6054 /* end confdefs.h.  */
6055 #include <stdlib.h>
6056
6057 _ACEOF
6058 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6059   $EGREP "free" >/dev/null 2>&1; then
6060   :
6061 else
6062   ac_cv_header_stdc=no
6063 fi
6064 rm -f conftest*
6065
6066 fi
6067
6068 if test $ac_cv_header_stdc = yes; then
6069   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6070   if test "$cross_compiling" = yes; then
6071   :
6072 else
6073   cat >conftest.$ac_ext <<_ACEOF
6074 /* confdefs.h.  */
6075 _ACEOF
6076 cat confdefs.h >>conftest.$ac_ext
6077 cat >>conftest.$ac_ext <<_ACEOF
6078 /* end confdefs.h.  */
6079 #include <ctype.h>
6080 #if ((' ' & 0x0FF) == 0x020)
6081 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6082 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6083 #else
6084 # define ISLOWER(c) \
6085                    (('a' <= (c) && (c) <= 'i') \
6086                      || ('j' <= (c) && (c) <= 'r') \
6087                      || ('s' <= (c) && (c) <= 'z'))
6088 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6089 #endif
6090
6091 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6092 int
6093 main ()
6094 {
6095   int i;
6096   for (i = 0; i < 256; i++)
6097     if (XOR (islower (i), ISLOWER (i))
6098         || toupper (i) != TOUPPER (i))
6099       exit(2);
6100   exit (0);
6101 }
6102 _ACEOF
6103 rm -f conftest$ac_exeext
6104 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6105   (eval $ac_link) 2>&5
6106   ac_status=$?
6107   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6108   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6109   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6110   (eval $ac_try) 2>&5
6111   ac_status=$?
6112   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6113   (exit $ac_status); }; }; then
6114   :
6115 else
6116   echo "$as_me: program exited with status $ac_status" >&5
6117 echo "$as_me: failed program was:" >&5
6118 sed 's/^/| /' conftest.$ac_ext >&5
6119
6120 ( exit $ac_status )
6121 ac_cv_header_stdc=no
6122 fi
6123 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6124 fi
6125 fi
6126 fi
6127 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
6128 echo "${ECHO_T}$ac_cv_header_stdc" >&6
6129 if test $ac_cv_header_stdc = yes; then
6130
6131 cat >>confdefs.h <<\_ACEOF
6132 #define STDC_HEADERS 1
6133 _ACEOF
6134
6135 fi
6136
6137
6138
6139
6140
6141
6142
6143 for ac_header in stdlib.h stdio.h string.h stddef.h math.h unistd.h
6144 do
6145 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6146 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6147   echo "$as_me:$LINENO: checking for $ac_header" >&5
6148 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6149 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6150   echo $ECHO_N "(cached) $ECHO_C" >&6
6151 fi
6152 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6153 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6154 else
6155   # Is the header compilable?
6156 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6157 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6158 cat >conftest.$ac_ext <<_ACEOF
6159 /* confdefs.h.  */
6160 _ACEOF
6161 cat confdefs.h >>conftest.$ac_ext
6162 cat >>conftest.$ac_ext <<_ACEOF
6163 /* end confdefs.h.  */
6164 $ac_includes_default
6165 #include <$ac_header>
6166 _ACEOF
6167 rm -f conftest.$ac_objext
6168 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6169   (eval $ac_compile) 2>conftest.er1
6170   ac_status=$?
6171   grep -v '^ *+' conftest.er1 >conftest.err
6172   rm -f conftest.er1
6173   cat conftest.err >&5
6174   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6175   (exit $ac_status); } &&
6176          { ac_try='test -z "$ac_c_werror_flag"
6177                          || test ! -s conftest.err'
6178   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6179   (eval $ac_try) 2>&5
6180   ac_status=$?
6181   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6182   (exit $ac_status); }; } &&
6183          { ac_try='test -s conftest.$ac_objext'
6184   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6185   (eval $ac_try) 2>&5
6186   ac_status=$?
6187   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6188   (exit $ac_status); }; }; then
6189   ac_header_compiler=yes
6190 else
6191   echo "$as_me: failed program was:" >&5
6192 sed 's/^/| /' conftest.$ac_ext >&5
6193
6194 ac_header_compiler=no
6195 fi
6196 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6197 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6198 echo "${ECHO_T}$ac_header_compiler" >&6
6199
6200 # Is the header present?
6201 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6202 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6203 cat >conftest.$ac_ext <<_ACEOF
6204 /* confdefs.h.  */
6205 _ACEOF
6206 cat confdefs.h >>conftest.$ac_ext
6207 cat >>conftest.$ac_ext <<_ACEOF
6208 /* end confdefs.h.  */
6209 #include <$ac_header>
6210 _ACEOF
6211 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6212   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6213   ac_status=$?
6214   grep -v '^ *+' conftest.er1 >conftest.err
6215   rm -f conftest.er1
6216   cat conftest.err >&5
6217   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6218   (exit $ac_status); } >/dev/null; then
6219   if test -s conftest.err; then
6220     ac_cpp_err=$ac_c_preproc_warn_flag
6221     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6222   else
6223     ac_cpp_err=
6224   fi
6225 else
6226   ac_cpp_err=yes
6227 fi
6228 if test -z "$ac_cpp_err"; then
6229   ac_header_preproc=yes
6230 else
6231   echo "$as_me: failed program was:" >&5
6232 sed 's/^/| /' conftest.$ac_ext >&5
6233
6234   ac_header_preproc=no
6235 fi
6236 rm -f conftest.err conftest.$ac_ext
6237 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6238 echo "${ECHO_T}$ac_header_preproc" >&6
6239
6240 # So?  What about this header?
6241 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6242   yes:no: )
6243     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6244 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6245     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6246 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6247     ac_header_preproc=yes
6248     ;;
6249   no:yes:* )
6250     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6251 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6252     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
6253 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
6254     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6255 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6256     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
6257 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
6258     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6259 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6260     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6261 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6262     (
6263       cat <<\_ASBOX
6264 ## ------------------------------------------------------ ##
6265 ## Report this to the GNU Fortran Runtime Library lists.  ##
6266 ## ------------------------------------------------------ ##
6267 _ASBOX
6268     ) |
6269       sed "s/^/$as_me: WARNING:     /" >&2
6270     ;;
6271 esac
6272 echo "$as_me:$LINENO: checking for $ac_header" >&5
6273 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6274 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6275   echo $ECHO_N "(cached) $ECHO_C" >&6
6276 else
6277   eval "$as_ac_Header=\$ac_header_preproc"
6278 fi
6279 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6280 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6281
6282 fi
6283 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6284   cat >>confdefs.h <<_ACEOF
6285 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6286 _ACEOF
6287
6288 fi
6289
6290 done
6291
6292
6293
6294
6295
6296
6297 for ac_header in time.h sys/params.h sys/time.h sys/times.h sys/resource.h
6298 do
6299 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6300 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6301   echo "$as_me:$LINENO: checking for $ac_header" >&5
6302 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6303 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6304   echo $ECHO_N "(cached) $ECHO_C" >&6
6305 fi
6306 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6307 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6308 else
6309   # Is the header compilable?
6310 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6311 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6312 cat >conftest.$ac_ext <<_ACEOF
6313 /* confdefs.h.  */
6314 _ACEOF
6315 cat confdefs.h >>conftest.$ac_ext
6316 cat >>conftest.$ac_ext <<_ACEOF
6317 /* end confdefs.h.  */
6318 $ac_includes_default
6319 #include <$ac_header>
6320 _ACEOF
6321 rm -f conftest.$ac_objext
6322 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6323   (eval $ac_compile) 2>conftest.er1
6324   ac_status=$?
6325   grep -v '^ *+' conftest.er1 >conftest.err
6326   rm -f conftest.er1
6327   cat conftest.err >&5
6328   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6329   (exit $ac_status); } &&
6330          { ac_try='test -z "$ac_c_werror_flag"
6331                          || test ! -s conftest.err'
6332   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6333   (eval $ac_try) 2>&5
6334   ac_status=$?
6335   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6336   (exit $ac_status); }; } &&
6337          { ac_try='test -s conftest.$ac_objext'
6338   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6339   (eval $ac_try) 2>&5
6340   ac_status=$?
6341   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6342   (exit $ac_status); }; }; then
6343   ac_header_compiler=yes
6344 else
6345   echo "$as_me: failed program was:" >&5
6346 sed 's/^/| /' conftest.$ac_ext >&5
6347
6348 ac_header_compiler=no
6349 fi
6350 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6351 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6352 echo "${ECHO_T}$ac_header_compiler" >&6
6353
6354 # Is the header present?
6355 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6356 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6357 cat >conftest.$ac_ext <<_ACEOF
6358 /* confdefs.h.  */
6359 _ACEOF
6360 cat confdefs.h >>conftest.$ac_ext
6361 cat >>conftest.$ac_ext <<_ACEOF
6362 /* end confdefs.h.  */
6363 #include <$ac_header>
6364 _ACEOF
6365 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6366   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6367   ac_status=$?
6368   grep -v '^ *+' conftest.er1 >conftest.err
6369   rm -f conftest.er1
6370   cat conftest.err >&5
6371   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6372   (exit $ac_status); } >/dev/null; then
6373   if test -s conftest.err; then
6374     ac_cpp_err=$ac_c_preproc_warn_flag
6375     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6376   else
6377     ac_cpp_err=
6378   fi
6379 else
6380   ac_cpp_err=yes
6381 fi
6382 if test -z "$ac_cpp_err"; then
6383   ac_header_preproc=yes
6384 else
6385   echo "$as_me: failed program was:" >&5
6386 sed 's/^/| /' conftest.$ac_ext >&5
6387
6388   ac_header_preproc=no
6389 fi
6390 rm -f conftest.err conftest.$ac_ext
6391 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6392 echo "${ECHO_T}$ac_header_preproc" >&6
6393
6394 # So?  What about this header?
6395 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6396   yes:no: )
6397     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6398 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6399     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6400 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6401     ac_header_preproc=yes
6402     ;;
6403   no:yes:* )
6404     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6405 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6406     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
6407 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
6408     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6409 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6410     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
6411 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
6412     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6413 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6414     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6415 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6416     (
6417       cat <<\_ASBOX
6418 ## ------------------------------------------------------ ##
6419 ## Report this to the GNU Fortran Runtime Library lists.  ##
6420 ## ------------------------------------------------------ ##
6421 _ASBOX
6422     ) |
6423       sed "s/^/$as_me: WARNING:     /" >&2
6424     ;;
6425 esac
6426 echo "$as_me:$LINENO: checking for $ac_header" >&5
6427 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6428 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6429   echo $ECHO_N "(cached) $ECHO_C" >&6
6430 else
6431   eval "$as_ac_Header=\$ac_header_preproc"
6432 fi
6433 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6434 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6435
6436 fi
6437 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6438   cat >>confdefs.h <<_ACEOF
6439 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6440 _ACEOF
6441
6442 fi
6443
6444 done
6445
6446
6447 for ac_header in sys/mman.h
6448 do
6449 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6450 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6451   echo "$as_me:$LINENO: checking for $ac_header" >&5
6452 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6453 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6454   echo $ECHO_N "(cached) $ECHO_C" >&6
6455 fi
6456 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6457 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6458 else
6459   # Is the header compilable?
6460 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6461 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6462 cat >conftest.$ac_ext <<_ACEOF
6463 /* confdefs.h.  */
6464 _ACEOF
6465 cat confdefs.h >>conftest.$ac_ext
6466 cat >>conftest.$ac_ext <<_ACEOF
6467 /* end confdefs.h.  */
6468 $ac_includes_default
6469 #include <$ac_header>
6470 _ACEOF
6471 rm -f conftest.$ac_objext
6472 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6473   (eval $ac_compile) 2>conftest.er1
6474   ac_status=$?
6475   grep -v '^ *+' conftest.er1 >conftest.err
6476   rm -f conftest.er1
6477   cat conftest.err >&5
6478   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6479   (exit $ac_status); } &&
6480          { ac_try='test -z "$ac_c_werror_flag"
6481                          || test ! -s conftest.err'
6482   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6483   (eval $ac_try) 2>&5
6484   ac_status=$?
6485   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6486   (exit $ac_status); }; } &&
6487          { ac_try='test -s conftest.$ac_objext'
6488   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6489   (eval $ac_try) 2>&5
6490   ac_status=$?
6491   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6492   (exit $ac_status); }; }; then
6493   ac_header_compiler=yes
6494 else
6495   echo "$as_me: failed program was:" >&5
6496 sed 's/^/| /' conftest.$ac_ext >&5
6497
6498 ac_header_compiler=no
6499 fi
6500 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6501 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6502 echo "${ECHO_T}$ac_header_compiler" >&6
6503
6504 # Is the header present?
6505 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6506 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6507 cat >conftest.$ac_ext <<_ACEOF
6508 /* confdefs.h.  */
6509 _ACEOF
6510 cat confdefs.h >>conftest.$ac_ext
6511 cat >>conftest.$ac_ext <<_ACEOF
6512 /* end confdefs.h.  */
6513 #include <$ac_header>
6514 _ACEOF
6515 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6516   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6517   ac_status=$?
6518   grep -v '^ *+' conftest.er1 >conftest.err
6519   rm -f conftest.er1
6520   cat conftest.err >&5
6521   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6522   (exit $ac_status); } >/dev/null; then
6523   if test -s conftest.err; then
6524     ac_cpp_err=$ac_c_preproc_warn_flag
6525     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6526   else
6527     ac_cpp_err=
6528   fi
6529 else
6530   ac_cpp_err=yes
6531 fi
6532 if test -z "$ac_cpp_err"; then
6533   ac_header_preproc=yes
6534 else
6535   echo "$as_me: failed program was:" >&5
6536 sed 's/^/| /' conftest.$ac_ext >&5
6537
6538   ac_header_preproc=no
6539 fi
6540 rm -f conftest.err conftest.$ac_ext
6541 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6542 echo "${ECHO_T}$ac_header_preproc" >&6
6543
6544 # So?  What about this header?
6545 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6546   yes:no: )
6547     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6548 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6549     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6550 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6551     ac_header_preproc=yes
6552     ;;
6553   no:yes:* )
6554     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6555 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6556     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
6557 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
6558     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6559 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6560     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
6561 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
6562     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6563 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6564     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6565 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6566     (
6567       cat <<\_ASBOX
6568 ## ------------------------------------------------------ ##
6569 ## Report this to the GNU Fortran Runtime Library lists.  ##
6570 ## ------------------------------------------------------ ##
6571 _ASBOX
6572     ) |
6573       sed "s/^/$as_me: WARNING:     /" >&2
6574     ;;
6575 esac
6576 echo "$as_me:$LINENO: checking for $ac_header" >&5
6577 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6578 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6579   echo $ECHO_N "(cached) $ECHO_C" >&6
6580 else
6581   eval "$as_ac_Header=\$ac_header_preproc"
6582 fi
6583 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6584 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6585
6586 fi
6587 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6588   cat >>confdefs.h <<_ACEOF
6589 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6590 _ACEOF
6591
6592 fi
6593
6594 done
6595
6596 if test "${ac_cv_header_complex_h+set}" = set; then
6597   echo "$as_me:$LINENO: checking for complex.h" >&5
6598 echo $ECHO_N "checking for complex.h... $ECHO_C" >&6
6599 if test "${ac_cv_header_complex_h+set}" = set; then
6600   echo $ECHO_N "(cached) $ECHO_C" >&6
6601 fi
6602 echo "$as_me:$LINENO: result: $ac_cv_header_complex_h" >&5
6603 echo "${ECHO_T}$ac_cv_header_complex_h" >&6
6604 else
6605   # Is the header compilable?
6606 echo "$as_me:$LINENO: checking complex.h usability" >&5
6607 echo $ECHO_N "checking complex.h usability... $ECHO_C" >&6
6608 cat >conftest.$ac_ext <<_ACEOF
6609 /* confdefs.h.  */
6610 _ACEOF
6611 cat confdefs.h >>conftest.$ac_ext
6612 cat >>conftest.$ac_ext <<_ACEOF
6613 /* end confdefs.h.  */
6614 $ac_includes_default
6615 #include <complex.h>
6616 _ACEOF
6617 rm -f conftest.$ac_objext
6618 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6619   (eval $ac_compile) 2>conftest.er1
6620   ac_status=$?
6621   grep -v '^ *+' conftest.er1 >conftest.err
6622   rm -f conftest.er1
6623   cat conftest.err >&5
6624   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6625   (exit $ac_status); } &&
6626          { ac_try='test -z "$ac_c_werror_flag"
6627                          || test ! -s conftest.err'
6628   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6629   (eval $ac_try) 2>&5
6630   ac_status=$?
6631   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6632   (exit $ac_status); }; } &&
6633          { ac_try='test -s conftest.$ac_objext'
6634   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6635   (eval $ac_try) 2>&5
6636   ac_status=$?
6637   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6638   (exit $ac_status); }; }; then
6639   ac_header_compiler=yes
6640 else
6641   echo "$as_me: failed program was:" >&5
6642 sed 's/^/| /' conftest.$ac_ext >&5
6643
6644 ac_header_compiler=no
6645 fi
6646 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6647 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6648 echo "${ECHO_T}$ac_header_compiler" >&6
6649
6650 # Is the header present?
6651 echo "$as_me:$LINENO: checking complex.h presence" >&5
6652 echo $ECHO_N "checking complex.h presence... $ECHO_C" >&6
6653 cat >conftest.$ac_ext <<_ACEOF
6654 /* confdefs.h.  */
6655 _ACEOF
6656 cat confdefs.h >>conftest.$ac_ext
6657 cat >>conftest.$ac_ext <<_ACEOF
6658 /* end confdefs.h.  */
6659 #include <complex.h>
6660 _ACEOF
6661 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6662   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6663   ac_status=$?
6664   grep -v '^ *+' conftest.er1 >conftest.err
6665   rm -f conftest.er1
6666   cat conftest.err >&5
6667   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6668   (exit $ac_status); } >/dev/null; then
6669   if test -s conftest.err; then
6670     ac_cpp_err=$ac_c_preproc_warn_flag
6671     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6672   else
6673     ac_cpp_err=
6674   fi
6675 else
6676   ac_cpp_err=yes
6677 fi
6678 if test -z "$ac_cpp_err"; then
6679   ac_header_preproc=yes
6680 else
6681   echo "$as_me: failed program was:" >&5
6682 sed 's/^/| /' conftest.$ac_ext >&5
6683
6684   ac_header_preproc=no
6685 fi
6686 rm -f conftest.err conftest.$ac_ext
6687 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6688 echo "${ECHO_T}$ac_header_preproc" >&6
6689
6690 # So?  What about this header?
6691 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6692   yes:no: )
6693     { echo "$as_me:$LINENO: WARNING: complex.h: accepted by the compiler, rejected by the preprocessor!" >&5
6694 echo "$as_me: WARNING: complex.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
6695     { echo "$as_me:$LINENO: WARNING: complex.h: proceeding with the compiler's result" >&5
6696 echo "$as_me: WARNING: complex.h: proceeding with the compiler's result" >&2;}
6697     ac_header_preproc=yes
6698     ;;
6699   no:yes:* )
6700     { echo "$as_me:$LINENO: WARNING: complex.h: present but cannot be compiled" >&5
6701 echo "$as_me: WARNING: complex.h: present but cannot be compiled" >&2;}
6702     { echo "$as_me:$LINENO: WARNING: complex.h:     check for missing prerequisite headers?" >&5
6703 echo "$as_me: WARNING: complex.h:     check for missing prerequisite headers?" >&2;}
6704     { echo "$as_me:$LINENO: WARNING: complex.h: see the Autoconf documentation" >&5
6705 echo "$as_me: WARNING: complex.h: see the Autoconf documentation" >&2;}
6706     { echo "$as_me:$LINENO: WARNING: complex.h:     section \"Present But Cannot Be Compiled\"" >&5
6707 echo "$as_me: WARNING: complex.h:     section \"Present But Cannot Be Compiled\"" >&2;}
6708     { echo "$as_me:$LINENO: WARNING: complex.h: proceeding with the preprocessor's result" >&5
6709 echo "$as_me: WARNING: complex.h: proceeding with the preprocessor's result" >&2;}
6710     { echo "$as_me:$LINENO: WARNING: complex.h: in the future, the compiler will take precedence" >&5
6711 echo "$as_me: WARNING: complex.h: in the future, the compiler will take precedence" >&2;}
6712     (
6713       cat <<\_ASBOX
6714 ## ------------------------------------------------------ ##
6715 ## Report this to the GNU Fortran Runtime Library lists.  ##
6716 ## ------------------------------------------------------ ##
6717 _ASBOX
6718     ) |
6719       sed "s/^/$as_me: WARNING:     /" >&2
6720     ;;
6721 esac
6722 echo "$as_me:$LINENO: checking for complex.h" >&5
6723 echo $ECHO_N "checking for complex.h... $ECHO_C" >&6
6724 if test "${ac_cv_header_complex_h+set}" = set; then
6725   echo $ECHO_N "(cached) $ECHO_C" >&6
6726 else
6727   ac_cv_header_complex_h=$ac_header_preproc
6728 fi
6729 echo "$as_me:$LINENO: result: $ac_cv_header_complex_h" >&5
6730 echo "${ECHO_T}$ac_cv_header_complex_h" >&6
6731
6732 fi
6733 if test $ac_cv_header_complex_h = yes; then
6734
6735 cat >>confdefs.h <<\_ACEOF
6736 #define HAVE_COMPLEX_H 1
6737 _ACEOF
6738
6739 fi
6740
6741
6742
6743 # Check for complex math functions
6744 echo "$as_me:$LINENO: checking for csin in -lm" >&5
6745 echo $ECHO_N "checking for csin in -lm... $ECHO_C" >&6
6746 if test "${ac_cv_lib_m_csin+set}" = set; then
6747   echo $ECHO_N "(cached) $ECHO_C" >&6
6748 else
6749   ac_check_lib_save_LIBS=$LIBS
6750 LIBS="-lm  $LIBS"
6751 if test x$gcc_no_link = xyes; then
6752   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
6753 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
6754    { (exit 1); exit 1; }; }
6755 fi
6756 cat >conftest.$ac_ext <<_ACEOF
6757 /* confdefs.h.  */
6758 _ACEOF
6759 cat confdefs.h >>conftest.$ac_ext
6760 cat >>conftest.$ac_ext <<_ACEOF
6761 /* end confdefs.h.  */
6762
6763 /* Override any gcc2 internal prototype to avoid an error.  */
6764 #ifdef __cplusplus
6765 extern "C"
6766 #endif
6767 /* We use char because int might match the return type of a gcc2
6768    builtin and then its argument prototype would still apply.  */
6769 char csin ();
6770 int
6771 main ()
6772 {
6773 csin ();
6774   ;
6775   return 0;
6776 }
6777 _ACEOF
6778 rm -f conftest.$ac_objext conftest$ac_exeext
6779 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6780   (eval $ac_link) 2>conftest.er1
6781   ac_status=$?
6782   grep -v '^ *+' conftest.er1 >conftest.err
6783   rm -f conftest.er1
6784   cat conftest.err >&5
6785   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6786   (exit $ac_status); } &&
6787          { ac_try='test -z "$ac_c_werror_flag"
6788                          || test ! -s conftest.err'
6789   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6790   (eval $ac_try) 2>&5
6791   ac_status=$?
6792   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6793   (exit $ac_status); }; } &&
6794          { ac_try='test -s conftest$ac_exeext'
6795   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6796   (eval $ac_try) 2>&5
6797   ac_status=$?
6798   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6799   (exit $ac_status); }; }; then
6800   ac_cv_lib_m_csin=yes
6801 else
6802   echo "$as_me: failed program was:" >&5
6803 sed 's/^/| /' conftest.$ac_ext >&5
6804
6805 ac_cv_lib_m_csin=no
6806 fi
6807 rm -f conftest.err conftest.$ac_objext \
6808       conftest$ac_exeext conftest.$ac_ext
6809 LIBS=$ac_check_lib_save_LIBS
6810 fi
6811 echo "$as_me:$LINENO: result: $ac_cv_lib_m_csin" >&5
6812 echo "${ECHO_T}$ac_cv_lib_m_csin" >&6
6813 if test $ac_cv_lib_m_csin = yes; then
6814   need_math="no"
6815 else
6816   need_math="yes"
6817 fi
6818
6819
6820 # Check for library functions.
6821
6822
6823
6824 for ac_func in getrusage times mkstemp
6825 do
6826 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6827 echo "$as_me:$LINENO: checking for $ac_func" >&5
6828 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
6829 if eval "test \"\${$as_ac_var+set}\" = set"; then
6830   echo $ECHO_N "(cached) $ECHO_C" >&6
6831 else
6832   if test x$gcc_no_link = xyes; then
6833   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
6834 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
6835    { (exit 1); exit 1; }; }
6836 fi
6837 cat >conftest.$ac_ext <<_ACEOF
6838 /* confdefs.h.  */
6839 _ACEOF
6840 cat confdefs.h >>conftest.$ac_ext
6841 cat >>conftest.$ac_ext <<_ACEOF
6842 /* end confdefs.h.  */
6843 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6844    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
6845 #define $ac_func innocuous_$ac_func
6846
6847 /* System header to define __stub macros and hopefully few prototypes,
6848     which can conflict with char $ac_func (); below.
6849     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6850     <limits.h> exists even on freestanding compilers.  */
6851
6852 #ifdef __STDC__
6853 # include <limits.h>
6854 #else
6855 # include <assert.h>
6856 #endif
6857
6858 #undef $ac_func
6859
6860 /* Override any gcc2 internal prototype to avoid an error.  */
6861 #ifdef __cplusplus
6862 extern "C"
6863 {
6864 #endif
6865 /* We use char because int might match the return type of a gcc2
6866    builtin and then its argument prototype would still apply.  */
6867 char $ac_func ();
6868 /* The GNU C library defines this for functions which it implements
6869     to always fail with ENOSYS.  Some functions are actually named
6870     something starting with __ and the normal name is an alias.  */
6871 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6872 choke me
6873 #else
6874 char (*f) () = $ac_func;
6875 #endif
6876 #ifdef __cplusplus
6877 }
6878 #endif
6879
6880 int
6881 main ()
6882 {
6883 return f != $ac_func;
6884   ;
6885   return 0;
6886 }
6887 _ACEOF
6888 rm -f conftest.$ac_objext conftest$ac_exeext
6889 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6890   (eval $ac_link) 2>conftest.er1
6891   ac_status=$?
6892   grep -v '^ *+' conftest.er1 >conftest.err
6893   rm -f conftest.er1
6894   cat conftest.err >&5
6895   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6896   (exit $ac_status); } &&
6897          { ac_try='test -z "$ac_c_werror_flag"
6898                          || test ! -s conftest.err'
6899   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6900   (eval $ac_try) 2>&5
6901   ac_status=$?
6902   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6903   (exit $ac_status); }; } &&
6904          { ac_try='test -s conftest$ac_exeext'
6905   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6906   (eval $ac_try) 2>&5
6907   ac_status=$?
6908   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6909   (exit $ac_status); }; }; then
6910   eval "$as_ac_var=yes"
6911 else
6912   echo "$as_me: failed program was:" >&5
6913 sed 's/^/| /' conftest.$ac_ext >&5
6914
6915 eval "$as_ac_var=no"
6916 fi
6917 rm -f conftest.err conftest.$ac_objext \
6918       conftest$ac_exeext conftest.$ac_ext
6919 fi
6920 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
6921 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
6922 if test `eval echo '${'$as_ac_var'}'` = yes; then
6923   cat >>confdefs.h <<_ACEOF
6924 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6925 _ACEOF
6926
6927 fi
6928 done
6929
6930
6931 # Check libc for getgid, getpid, getuid
6932 echo "$as_me:$LINENO: checking for getgid in -lc" >&5
6933 echo $ECHO_N "checking for getgid in -lc... $ECHO_C" >&6
6934 if test "${ac_cv_lib_c_getgid+set}" = set; then
6935   echo $ECHO_N "(cached) $ECHO_C" >&6
6936 else
6937   ac_check_lib_save_LIBS=$LIBS
6938 LIBS="-lc  $LIBS"
6939 if test x$gcc_no_link = xyes; then
6940   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
6941 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
6942    { (exit 1); exit 1; }; }
6943 fi
6944 cat >conftest.$ac_ext <<_ACEOF
6945 /* confdefs.h.  */
6946 _ACEOF
6947 cat confdefs.h >>conftest.$ac_ext
6948 cat >>conftest.$ac_ext <<_ACEOF
6949 /* end confdefs.h.  */
6950
6951 /* Override any gcc2 internal prototype to avoid an error.  */
6952 #ifdef __cplusplus
6953 extern "C"
6954 #endif
6955 /* We use char because int might match the return type of a gcc2
6956    builtin and then its argument prototype would still apply.  */
6957 char getgid ();
6958 int
6959 main ()
6960 {
6961 getgid ();
6962   ;
6963   return 0;
6964 }
6965 _ACEOF
6966 rm -f conftest.$ac_objext conftest$ac_exeext
6967 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6968   (eval $ac_link) 2>conftest.er1
6969   ac_status=$?
6970   grep -v '^ *+' conftest.er1 >conftest.err
6971   rm -f conftest.er1
6972   cat conftest.err >&5
6973   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6974   (exit $ac_status); } &&
6975          { ac_try='test -z "$ac_c_werror_flag"
6976                          || test ! -s conftest.err'
6977   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6978   (eval $ac_try) 2>&5
6979   ac_status=$?
6980   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6981   (exit $ac_status); }; } &&
6982          { ac_try='test -s conftest$ac_exeext'
6983   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6984   (eval $ac_try) 2>&5
6985   ac_status=$?
6986   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6987   (exit $ac_status); }; }; then
6988   ac_cv_lib_c_getgid=yes
6989 else
6990   echo "$as_me: failed program was:" >&5
6991 sed 's/^/| /' conftest.$ac_ext >&5
6992
6993 ac_cv_lib_c_getgid=no
6994 fi
6995 rm -f conftest.err conftest.$ac_objext \
6996       conftest$ac_exeext conftest.$ac_ext
6997 LIBS=$ac_check_lib_save_LIBS
6998 fi
6999 echo "$as_me:$LINENO: result: $ac_cv_lib_c_getgid" >&5
7000 echo "${ECHO_T}$ac_cv_lib_c_getgid" >&6
7001 if test $ac_cv_lib_c_getgid = yes; then
7002
7003 cat >>confdefs.h <<\_ACEOF
7004 #define HAVE_GETGID 1
7005 _ACEOF
7006
7007 fi
7008
7009 echo "$as_me:$LINENO: checking for getpid in -lc" >&5
7010 echo $ECHO_N "checking for getpid in -lc... $ECHO_C" >&6
7011 if test "${ac_cv_lib_c_getpid+set}" = set; then
7012   echo $ECHO_N "(cached) $ECHO_C" >&6
7013 else
7014   ac_check_lib_save_LIBS=$LIBS
7015 LIBS="-lc  $LIBS"
7016 if test x$gcc_no_link = xyes; then
7017   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
7018 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
7019    { (exit 1); exit 1; }; }
7020 fi
7021 cat >conftest.$ac_ext <<_ACEOF
7022 /* confdefs.h.  */
7023 _ACEOF
7024 cat confdefs.h >>conftest.$ac_ext
7025 cat >>conftest.$ac_ext <<_ACEOF
7026 /* end confdefs.h.  */
7027
7028 /* Override any gcc2 internal prototype to avoid an error.  */
7029 #ifdef __cplusplus
7030 extern "C"
7031 #endif
7032 /* We use char because int might match the return type of a gcc2
7033    builtin and then its argument prototype would still apply.  */
7034 char getpid ();
7035 int
7036 main ()
7037 {
7038 getpid ();
7039   ;
7040   return 0;
7041 }
7042 _ACEOF
7043 rm -f conftest.$ac_objext conftest$ac_exeext
7044 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7045   (eval $ac_link) 2>conftest.er1
7046   ac_status=$?
7047   grep -v '^ *+' conftest.er1 >conftest.err
7048   rm -f conftest.er1
7049   cat conftest.err >&5
7050   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7051   (exit $ac_status); } &&
7052          { ac_try='test -z "$ac_c_werror_flag"
7053                          || test ! -s conftest.err'
7054   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7055   (eval $ac_try) 2>&5
7056   ac_status=$?
7057   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7058   (exit $ac_status); }; } &&
7059          { ac_try='test -s conftest$ac_exeext'
7060   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7061   (eval $ac_try) 2>&5
7062   ac_status=$?
7063   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7064   (exit $ac_status); }; }; then
7065   ac_cv_lib_c_getpid=yes
7066 else
7067   echo "$as_me: failed program was:" >&5
7068 sed 's/^/| /' conftest.$ac_ext >&5
7069
7070 ac_cv_lib_c_getpid=no
7071 fi
7072 rm -f conftest.err conftest.$ac_objext \
7073       conftest$ac_exeext conftest.$ac_ext
7074 LIBS=$ac_check_lib_save_LIBS
7075 fi
7076 echo "$as_me:$LINENO: result: $ac_cv_lib_c_getpid" >&5
7077 echo "${ECHO_T}$ac_cv_lib_c_getpid" >&6
7078 if test $ac_cv_lib_c_getpid = yes; then
7079
7080 cat >>confdefs.h <<\_ACEOF
7081 #define HAVE_GETPID 1
7082 _ACEOF
7083
7084 fi
7085
7086 echo "$as_me:$LINENO: checking for getuid in -lc" >&5
7087 echo $ECHO_N "checking for getuid in -lc... $ECHO_C" >&6
7088 if test "${ac_cv_lib_c_getuid+set}" = set; then
7089   echo $ECHO_N "(cached) $ECHO_C" >&6
7090 else
7091   ac_check_lib_save_LIBS=$LIBS
7092 LIBS="-lc  $LIBS"
7093 if test x$gcc_no_link = xyes; then
7094   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
7095 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
7096    { (exit 1); exit 1; }; }
7097 fi
7098 cat >conftest.$ac_ext <<_ACEOF
7099 /* confdefs.h.  */
7100 _ACEOF
7101 cat confdefs.h >>conftest.$ac_ext
7102 cat >>conftest.$ac_ext <<_ACEOF
7103 /* end confdefs.h.  */
7104
7105 /* Override any gcc2 internal prototype to avoid an error.  */
7106 #ifdef __cplusplus
7107 extern "C"
7108 #endif
7109 /* We use char because int might match the return type of a gcc2
7110    builtin and then its argument prototype would still apply.  */
7111 char getuid ();
7112 int
7113 main ()
7114 {
7115 getuid ();
7116   ;
7117   return 0;
7118 }
7119 _ACEOF
7120 rm -f conftest.$ac_objext conftest$ac_exeext
7121 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7122   (eval $ac_link) 2>conftest.er1
7123   ac_status=$?
7124   grep -v '^ *+' conftest.er1 >conftest.err
7125   rm -f conftest.er1
7126   cat conftest.err >&5
7127   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7128   (exit $ac_status); } &&
7129          { ac_try='test -z "$ac_c_werror_flag"
7130                          || test ! -s conftest.err'
7131   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7132   (eval $ac_try) 2>&5
7133   ac_status=$?
7134   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7135   (exit $ac_status); }; } &&
7136          { ac_try='test -s conftest$ac_exeext'
7137   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7138   (eval $ac_try) 2>&5
7139   ac_status=$?
7140   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7141   (exit $ac_status); }; }; then
7142   ac_cv_lib_c_getuid=yes
7143 else
7144   echo "$as_me: failed program was:" >&5
7145 sed 's/^/| /' conftest.$ac_ext >&5
7146
7147 ac_cv_lib_c_getuid=no
7148 fi
7149 rm -f conftest.err conftest.$ac_objext \
7150       conftest$ac_exeext conftest.$ac_ext
7151 LIBS=$ac_check_lib_save_LIBS
7152 fi
7153 echo "$as_me:$LINENO: result: $ac_cv_lib_c_getuid" >&5
7154 echo "${ECHO_T}$ac_cv_lib_c_getuid" >&6
7155 if test $ac_cv_lib_c_getuid = yes; then
7156
7157 cat >>confdefs.h <<\_ACEOF
7158 #define HAVE_GETUID 1
7159 _ACEOF
7160
7161 fi
7162
7163
7164 # Check for C99 (and other IEEE) math functions
7165 # ??? This list seems awful long. Is there a better way to test for these?
7166 echo "$as_me:$LINENO: checking for acosf in -lm" >&5
7167 echo $ECHO_N "checking for acosf in -lm... $ECHO_C" >&6
7168 if test "${ac_cv_lib_m_acosf+set}" = set; then
7169   echo $ECHO_N "(cached) $ECHO_C" >&6
7170 else
7171   ac_check_lib_save_LIBS=$LIBS
7172 LIBS="-lm  $LIBS"
7173 if test x$gcc_no_link = xyes; then
7174   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
7175 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
7176    { (exit 1); exit 1; }; }
7177 fi
7178 cat >conftest.$ac_ext <<_ACEOF
7179 /* confdefs.h.  */
7180 _ACEOF
7181 cat confdefs.h >>conftest.$ac_ext
7182 cat >>conftest.$ac_ext <<_ACEOF
7183 /* end confdefs.h.  */
7184
7185 /* Override any gcc2 internal prototype to avoid an error.  */
7186 #ifdef __cplusplus
7187 extern "C"
7188 #endif
7189 /* We use char because int might match the return type of a gcc2
7190    builtin and then its argument prototype would still apply.  */
7191 char acosf ();
7192 int
7193 main ()
7194 {
7195 acosf ();
7196   ;
7197   return 0;
7198 }
7199 _ACEOF
7200 rm -f conftest.$ac_objext conftest$ac_exeext
7201 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7202   (eval $ac_link) 2>conftest.er1
7203   ac_status=$?
7204   grep -v '^ *+' conftest.er1 >conftest.err
7205   rm -f conftest.er1
7206   cat conftest.err >&5
7207   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7208   (exit $ac_status); } &&
7209          { ac_try='test -z "$ac_c_werror_flag"
7210                          || test ! -s conftest.err'
7211   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7212   (eval $ac_try) 2>&5
7213   ac_status=$?
7214   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7215   (exit $ac_status); }; } &&
7216          { ac_try='test -s conftest$ac_exeext'
7217   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7218   (eval $ac_try) 2>&5
7219   ac_status=$?
7220   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7221   (exit $ac_status); }; }; then
7222   ac_cv_lib_m_acosf=yes
7223 else
7224   echo "$as_me: failed program was:" >&5
7225 sed 's/^/| /' conftest.$ac_ext >&5
7226
7227 ac_cv_lib_m_acosf=no
7228 fi
7229 rm -f conftest.err conftest.$ac_objext \
7230       conftest$ac_exeext conftest.$ac_ext
7231 LIBS=$ac_check_lib_save_LIBS
7232 fi
7233 echo "$as_me:$LINENO: result: $ac_cv_lib_m_acosf" >&5
7234 echo "${ECHO_T}$ac_cv_lib_m_acosf" >&6
7235 if test $ac_cv_lib_m_acosf = yes; then
7236
7237 cat >>confdefs.h <<\_ACEOF
7238 #define HAVE_ACOSF 1
7239 _ACEOF
7240
7241 fi
7242
7243 echo "$as_me:$LINENO: checking for asinf in -lm" >&5
7244 echo $ECHO_N "checking for asinf in -lm... $ECHO_C" >&6
7245 if test "${ac_cv_lib_m_asinf+set}" = set; then
7246   echo $ECHO_N "(cached) $ECHO_C" >&6
7247 else
7248   ac_check_lib_save_LIBS=$LIBS
7249 LIBS="-lm  $LIBS"
7250 if test x$gcc_no_link = xyes; then
7251   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
7252 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
7253    { (exit 1); exit 1; }; }
7254 fi
7255 cat >conftest.$ac_ext <<_ACEOF
7256 /* confdefs.h.  */
7257 _ACEOF
7258 cat confdefs.h >>conftest.$ac_ext
7259 cat >>conftest.$ac_ext <<_ACEOF
7260 /* end confdefs.h.  */
7261
7262 /* Override any gcc2 internal prototype to avoid an error.  */
7263 #ifdef __cplusplus
7264 extern "C"
7265 #endif
7266 /* We use char because int might match the return type of a gcc2
7267    builtin and then its argument prototype would still apply.  */
7268 char asinf ();
7269 int
7270 main ()
7271 {
7272 asinf ();
7273   ;
7274   return 0;
7275 }
7276 _ACEOF
7277 rm -f conftest.$ac_objext conftest$ac_exeext
7278 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7279   (eval $ac_link) 2>conftest.er1
7280   ac_status=$?
7281   grep -v '^ *+' conftest.er1 >conftest.err
7282   rm -f conftest.er1
7283   cat conftest.err >&5
7284   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7285   (exit $ac_status); } &&
7286          { ac_try='test -z "$ac_c_werror_flag"
7287                          || test ! -s conftest.err'
7288   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7289   (eval $ac_try) 2>&5
7290   ac_status=$?
7291   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7292   (exit $ac_status); }; } &&
7293          { ac_try='test -s conftest$ac_exeext'
7294   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7295   (eval $ac_try) 2>&5
7296   ac_status=$?
7297   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7298   (exit $ac_status); }; }; then
7299   ac_cv_lib_m_asinf=yes
7300 else
7301   echo "$as_me: failed program was:" >&5
7302 sed 's/^/| /' conftest.$ac_ext >&5
7303
7304 ac_cv_lib_m_asinf=no
7305 fi
7306 rm -f conftest.err conftest.$ac_objext \
7307       conftest$ac_exeext conftest.$ac_ext
7308 LIBS=$ac_check_lib_save_LIBS
7309 fi
7310 echo "$as_me:$LINENO: result: $ac_cv_lib_m_asinf" >&5
7311 echo "${ECHO_T}$ac_cv_lib_m_asinf" >&6
7312 if test $ac_cv_lib_m_asinf = yes; then
7313
7314 cat >>confdefs.h <<\_ACEOF
7315 #define HAVE_ASINF 1
7316 _ACEOF
7317
7318 fi
7319
7320 echo "$as_me:$LINENO: checking for atan2f in -lm" >&5
7321 echo $ECHO_N "checking for atan2f in -lm... $ECHO_C" >&6
7322 if test "${ac_cv_lib_m_atan2f+set}" = set; then
7323   echo $ECHO_N "(cached) $ECHO_C" >&6
7324 else
7325   ac_check_lib_save_LIBS=$LIBS
7326 LIBS="-lm  $LIBS"
7327 if test x$gcc_no_link = xyes; then
7328   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
7329 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
7330    { (exit 1); exit 1; }; }
7331 fi
7332 cat >conftest.$ac_ext <<_ACEOF
7333 /* confdefs.h.  */
7334 _ACEOF
7335 cat confdefs.h >>conftest.$ac_ext
7336 cat >>conftest.$ac_ext <<_ACEOF
7337 /* end confdefs.h.  */
7338
7339 /* Override any gcc2 internal prototype to avoid an error.  */
7340 #ifdef __cplusplus
7341 extern "C"
7342 #endif
7343 /* We use char because int might match the return type of a gcc2
7344    builtin and then its argument prototype would still apply.  */
7345 char atan2f ();
7346 int
7347 main ()
7348 {
7349 atan2f ();
7350   ;
7351   return 0;
7352 }
7353 _ACEOF
7354 rm -f conftest.$ac_objext conftest$ac_exeext
7355 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7356   (eval $ac_link) 2>conftest.er1
7357   ac_status=$?
7358   grep -v '^ *+' conftest.er1 >conftest.err
7359   rm -f conftest.er1
7360   cat conftest.err >&5
7361   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7362   (exit $ac_status); } &&
7363          { ac_try='test -z "$ac_c_werror_flag"
7364                          || test ! -s conftest.err'
7365   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7366   (eval $ac_try) 2>&5
7367   ac_status=$?
7368   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7369   (exit $ac_status); }; } &&
7370          { ac_try='test -s conftest$ac_exeext'
7371   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7372   (eval $ac_try) 2>&5
7373   ac_status=$?
7374   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7375   (exit $ac_status); }; }; then
7376   ac_cv_lib_m_atan2f=yes
7377 else
7378   echo "$as_me: failed program was:" >&5
7379 sed 's/^/| /' conftest.$ac_ext >&5
7380
7381 ac_cv_lib_m_atan2f=no
7382 fi
7383 rm -f conftest.err conftest.$ac_objext \
7384       conftest$ac_exeext conftest.$ac_ext
7385 LIBS=$ac_check_lib_save_LIBS
7386 fi
7387 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atan2f" >&5
7388 echo "${ECHO_T}$ac_cv_lib_m_atan2f" >&6
7389 if test $ac_cv_lib_m_atan2f = yes; then
7390
7391 cat >>confdefs.h <<\_ACEOF
7392 #define HAVE_ATAN2F 1
7393 _ACEOF
7394
7395 fi
7396
7397 echo "$as_me:$LINENO: checking for atanf in -lm" >&5
7398 echo $ECHO_N "checking for atanf in -lm... $ECHO_C" >&6
7399 if test "${ac_cv_lib_m_atanf+set}" = set; then
7400   echo $ECHO_N "(cached) $ECHO_C" >&6
7401 else
7402   ac_check_lib_save_LIBS=$LIBS
7403 LIBS="-lm  $LIBS"
7404 if test x$gcc_no_link = xyes; then
7405   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
7406 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
7407    { (exit 1); exit 1; }; }
7408 fi
7409 cat >conftest.$ac_ext <<_ACEOF
7410 /* confdefs.h.  */
7411 _ACEOF
7412 cat confdefs.h >>conftest.$ac_ext
7413 cat >>conftest.$ac_ext <<_ACEOF
7414 /* end confdefs.h.  */
7415
7416 /* Override any gcc2 internal prototype to avoid an error.  */
7417 #ifdef __cplusplus
7418 extern "C"
7419 #endif
7420 /* We use char because int might match the return type of a gcc2
7421    builtin and then its argument prototype would still apply.  */
7422 char atanf ();
7423 int
7424 main ()
7425 {
7426 atanf ();
7427   ;
7428   return 0;
7429 }
7430 _ACEOF
7431 rm -f conftest.$ac_objext conftest$ac_exeext
7432 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7433   (eval $ac_link) 2>conftest.er1
7434   ac_status=$?
7435   grep -v '^ *+' conftest.er1 >conftest.err
7436   rm -f conftest.er1
7437   cat conftest.err >&5
7438   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7439   (exit $ac_status); } &&
7440          { ac_try='test -z "$ac_c_werror_flag"
7441                          || test ! -s conftest.err'
7442   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7443   (eval $ac_try) 2>&5
7444   ac_status=$?
7445   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7446   (exit $ac_status); }; } &&
7447          { ac_try='test -s conftest$ac_exeext'
7448   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7449   (eval $ac_try) 2>&5
7450   ac_status=$?
7451   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7452   (exit $ac_status); }; }; then
7453   ac_cv_lib_m_atanf=yes
7454 else
7455   echo "$as_me: failed program was:" >&5
7456 sed 's/^/| /' conftest.$ac_ext >&5
7457
7458 ac_cv_lib_m_atanf=no
7459 fi
7460 rm -f conftest.err conftest.$ac_objext \
7461       conftest$ac_exeext conftest.$ac_ext
7462 LIBS=$ac_check_lib_save_LIBS
7463 fi
7464 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atanf" >&5
7465 echo "${ECHO_T}$ac_cv_lib_m_atanf" >&6
7466 if test $ac_cv_lib_m_atanf = yes; then
7467
7468 cat >>confdefs.h <<\_ACEOF
7469 #define HAVE_ATANF 1
7470 _ACEOF
7471
7472 fi
7473
7474 echo "$as_me:$LINENO: checking for ceilf in -lm" >&5
7475 echo $ECHO_N "checking for ceilf in -lm... $ECHO_C" >&6
7476 if test "${ac_cv_lib_m_ceilf+set}" = set; then
7477   echo $ECHO_N "(cached) $ECHO_C" >&6
7478 else
7479   ac_check_lib_save_LIBS=$LIBS
7480 LIBS="-lm  $LIBS"
7481 if test x$gcc_no_link = xyes; then
7482   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
7483 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
7484    { (exit 1); exit 1; }; }
7485 fi
7486 cat >conftest.$ac_ext <<_ACEOF
7487 /* confdefs.h.  */
7488 _ACEOF
7489 cat confdefs.h >>conftest.$ac_ext
7490 cat >>conftest.$ac_ext <<_ACEOF
7491 /* end confdefs.h.  */
7492
7493 /* Override any gcc2 internal prototype to avoid an error.  */
7494 #ifdef __cplusplus
7495 extern "C"
7496 #endif
7497 /* We use char because int might match the return type of a gcc2
7498    builtin and then its argument prototype would still apply.  */
7499 char ceilf ();
7500 int
7501 main ()
7502 {
7503 ceilf ();
7504   ;
7505   return 0;
7506 }
7507 _ACEOF
7508 rm -f conftest.$ac_objext conftest$ac_exeext
7509 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7510   (eval $ac_link) 2>conftest.er1
7511   ac_status=$?
7512   grep -v '^ *+' conftest.er1 >conftest.err
7513   rm -f conftest.er1
7514   cat conftest.err >&5
7515   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7516   (exit $ac_status); } &&
7517          { ac_try='test -z "$ac_c_werror_flag"
7518                          || test ! -s conftest.err'
7519   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7520   (eval $ac_try) 2>&5
7521   ac_status=$?
7522   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7523   (exit $ac_status); }; } &&
7524          { ac_try='test -s conftest$ac_exeext'
7525   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7526   (eval $ac_try) 2>&5
7527   ac_status=$?
7528   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7529   (exit $ac_status); }; }; then
7530   ac_cv_lib_m_ceilf=yes
7531 else
7532   echo "$as_me: failed program was:" >&5
7533 sed 's/^/| /' conftest.$ac_ext >&5
7534
7535 ac_cv_lib_m_ceilf=no
7536 fi
7537 rm -f conftest.err conftest.$ac_objext \
7538       conftest$ac_exeext conftest.$ac_ext
7539 LIBS=$ac_check_lib_save_LIBS
7540 fi
7541 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ceilf" >&5
7542 echo "${ECHO_T}$ac_cv_lib_m_ceilf" >&6
7543 if test $ac_cv_lib_m_ceilf = yes; then
7544
7545 cat >>confdefs.h <<\_ACEOF
7546 #define HAVE_CEILF 1
7547 _ACEOF
7548
7549 fi
7550
7551 echo "$as_me:$LINENO: checking for copysignf in -lm" >&5
7552 echo $ECHO_N "checking for copysignf in -lm... $ECHO_C" >&6
7553 if test "${ac_cv_lib_m_copysignf+set}" = set; then
7554   echo $ECHO_N "(cached) $ECHO_C" >&6
7555 else
7556   ac_check_lib_save_LIBS=$LIBS
7557 LIBS="-lm  $LIBS"
7558 if test x$gcc_no_link = xyes; then
7559   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
7560 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
7561    { (exit 1); exit 1; }; }
7562 fi
7563 cat >conftest.$ac_ext <<_ACEOF
7564 /* confdefs.h.  */
7565 _ACEOF
7566 cat confdefs.h >>conftest.$ac_ext
7567 cat >>conftest.$ac_ext <<_ACEOF
7568 /* end confdefs.h.  */
7569
7570 /* Override any gcc2 internal prototype to avoid an error.  */
7571 #ifdef __cplusplus
7572 extern "C"
7573 #endif
7574 /* We use char because int might match the return type of a gcc2
7575    builtin and then its argument prototype would still apply.  */
7576 char copysignf ();
7577 int
7578 main ()
7579 {
7580 copysignf ();
7581   ;
7582   return 0;
7583 }
7584 _ACEOF
7585 rm -f conftest.$ac_objext conftest$ac_exeext
7586 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7587   (eval $ac_link) 2>conftest.er1
7588   ac_status=$?
7589   grep -v '^ *+' conftest.er1 >conftest.err
7590   rm -f conftest.er1
7591   cat conftest.err >&5
7592   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7593   (exit $ac_status); } &&
7594          { ac_try='test -z "$ac_c_werror_flag"
7595                          || test ! -s conftest.err'
7596   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7597   (eval $ac_try) 2>&5
7598   ac_status=$?
7599   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7600   (exit $ac_status); }; } &&
7601          { ac_try='test -s conftest$ac_exeext'
7602   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7603   (eval $ac_try) 2>&5
7604   ac_status=$?
7605   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7606   (exit $ac_status); }; }; then
7607   ac_cv_lib_m_copysignf=yes
7608 else
7609   echo "$as_me: failed program was:" >&5
7610 sed 's/^/| /' conftest.$ac_ext >&5
7611
7612 ac_cv_lib_m_copysignf=no
7613 fi
7614 rm -f conftest.err conftest.$ac_objext \
7615       conftest$ac_exeext conftest.$ac_ext
7616 LIBS=$ac_check_lib_save_LIBS
7617 fi
7618 echo "$as_me:$LINENO: result: $ac_cv_lib_m_copysignf" >&5
7619 echo "${ECHO_T}$ac_cv_lib_m_copysignf" >&6
7620 if test $ac_cv_lib_m_copysignf = yes; then
7621
7622 cat >>confdefs.h <<\_ACEOF
7623 #define HAVE_COPYSIGNF 1
7624 _ACEOF
7625
7626 fi
7627
7628 echo "$as_me:$LINENO: checking for cosf in -lm" >&5
7629 echo $ECHO_N "checking for cosf in -lm... $ECHO_C" >&6
7630 if test "${ac_cv_lib_m_cosf+set}" = set; then
7631   echo $ECHO_N "(cached) $ECHO_C" >&6
7632 else
7633   ac_check_lib_save_LIBS=$LIBS
7634 LIBS="-lm  $LIBS"
7635 if test x$gcc_no_link = xyes; then
7636   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
7637 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
7638    { (exit 1); exit 1; }; }
7639 fi
7640 cat >conftest.$ac_ext <<_ACEOF
7641 /* confdefs.h.  */
7642 _ACEOF
7643 cat confdefs.h >>conftest.$ac_ext
7644 cat >>conftest.$ac_ext <<_ACEOF
7645 /* end confdefs.h.  */
7646
7647 /* Override any gcc2 internal prototype to avoid an error.  */
7648 #ifdef __cplusplus
7649 extern "C"
7650 #endif
7651 /* We use char because int might match the return type of a gcc2
7652    builtin and then its argument prototype would still apply.  */
7653 char cosf ();
7654 int
7655 main ()
7656 {
7657 cosf ();
7658   ;
7659   return 0;
7660 }
7661 _ACEOF
7662 rm -f conftest.$ac_objext conftest$ac_exeext
7663 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7664   (eval $ac_link) 2>conftest.er1
7665   ac_status=$?
7666   grep -v '^ *+' conftest.er1 >conftest.err
7667   rm -f conftest.er1
7668   cat conftest.err >&5
7669   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7670   (exit $ac_status); } &&
7671          { ac_try='test -z "$ac_c_werror_flag"
7672                          || test ! -s conftest.err'
7673   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7674   (eval $ac_try) 2>&5
7675   ac_status=$?
7676   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7677   (exit $ac_status); }; } &&
7678          { ac_try='test -s conftest$ac_exeext'
7679   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7680   (eval $ac_try) 2>&5
7681   ac_status=$?
7682   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7683   (exit $ac_status); }; }; then
7684   ac_cv_lib_m_cosf=yes
7685 else
7686   echo "$as_me: failed program was:" >&5
7687 sed 's/^/| /' conftest.$ac_ext >&5
7688
7689 ac_cv_lib_m_cosf=no
7690 fi
7691 rm -f conftest.err conftest.$ac_objext \
7692       conftest$ac_exeext conftest.$ac_ext
7693 LIBS=$ac_check_lib_save_LIBS
7694 fi
7695 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cosf" >&5
7696 echo "${ECHO_T}$ac_cv_lib_m_cosf" >&6
7697 if test $ac_cv_lib_m_cosf = yes; then
7698
7699 cat >>confdefs.h <<\_ACEOF
7700 #define HAVE_COSF 1
7701 _ACEOF
7702
7703 fi
7704
7705 echo "$as_me:$LINENO: checking for coshf in -lm" >&5
7706 echo $ECHO_N "checking for coshf in -lm... $ECHO_C" >&6
7707 if test "${ac_cv_lib_m_coshf+set}" = set; then
7708   echo $ECHO_N "(cached) $ECHO_C" >&6
7709 else
7710   ac_check_lib_save_LIBS=$LIBS
7711 LIBS="-lm  $LIBS"
7712 if test x$gcc_no_link = xyes; then
7713   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
7714 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
7715    { (exit 1); exit 1; }; }
7716 fi
7717 cat >conftest.$ac_ext <<_ACEOF
7718 /* confdefs.h.  */
7719 _ACEOF
7720 cat confdefs.h >>conftest.$ac_ext
7721 cat >>conftest.$ac_ext <<_ACEOF
7722 /* end confdefs.h.  */
7723
7724 /* Override any gcc2 internal prototype to avoid an error.  */
7725 #ifdef __cplusplus
7726 extern "C"
7727 #endif
7728 /* We use char because int might match the return type of a gcc2
7729    builtin and then its argument prototype would still apply.  */
7730 char coshf ();
7731 int
7732 main ()
7733 {
7734 coshf ();
7735   ;
7736   return 0;
7737 }
7738 _ACEOF
7739 rm -f conftest.$ac_objext conftest$ac_exeext
7740 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7741   (eval $ac_link) 2>conftest.er1
7742   ac_status=$?
7743   grep -v '^ *+' conftest.er1 >conftest.err
7744   rm -f conftest.er1
7745   cat conftest.err >&5
7746   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7747   (exit $ac_status); } &&
7748          { ac_try='test -z "$ac_c_werror_flag"
7749                          || test ! -s conftest.err'
7750   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7751   (eval $ac_try) 2>&5
7752   ac_status=$?
7753   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7754   (exit $ac_status); }; } &&
7755          { ac_try='test -s conftest$ac_exeext'
7756   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7757   (eval $ac_try) 2>&5
7758   ac_status=$?
7759   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7760   (exit $ac_status); }; }; then
7761   ac_cv_lib_m_coshf=yes
7762 else
7763   echo "$as_me: failed program was:" >&5
7764 sed 's/^/| /' conftest.$ac_ext >&5
7765
7766 ac_cv_lib_m_coshf=no
7767 fi
7768 rm -f conftest.err conftest.$ac_objext \
7769       conftest$ac_exeext conftest.$ac_ext
7770 LIBS=$ac_check_lib_save_LIBS
7771 fi
7772 echo "$as_me:$LINENO: result: $ac_cv_lib_m_coshf" >&5
7773 echo "${ECHO_T}$ac_cv_lib_m_coshf" >&6
7774 if test $ac_cv_lib_m_coshf = yes; then
7775
7776 cat >>confdefs.h <<\_ACEOF
7777 #define HAVE_COSHF 1
7778 _ACEOF
7779
7780 fi
7781
7782 echo "$as_me:$LINENO: checking for expf in -lm" >&5
7783 echo $ECHO_N "checking for expf in -lm... $ECHO_C" >&6
7784 if test "${ac_cv_lib_m_expf+set}" = set; then
7785   echo $ECHO_N "(cached) $ECHO_C" >&6
7786 else
7787   ac_check_lib_save_LIBS=$LIBS
7788 LIBS="-lm  $LIBS"
7789 if test x$gcc_no_link = xyes; then
7790   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
7791 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
7792    { (exit 1); exit 1; }; }
7793 fi
7794 cat >conftest.$ac_ext <<_ACEOF
7795 /* confdefs.h.  */
7796 _ACEOF
7797 cat confdefs.h >>conftest.$ac_ext
7798 cat >>conftest.$ac_ext <<_ACEOF
7799 /* end confdefs.h.  */
7800
7801 /* Override any gcc2 internal prototype to avoid an error.  */
7802 #ifdef __cplusplus
7803 extern "C"
7804 #endif
7805 /* We use char because int might match the return type of a gcc2
7806    builtin and then its argument prototype would still apply.  */
7807 char expf ();
7808 int
7809 main ()
7810 {
7811 expf ();
7812   ;
7813   return 0;
7814 }
7815 _ACEOF
7816 rm -f conftest.$ac_objext conftest$ac_exeext
7817 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7818   (eval $ac_link) 2>conftest.er1
7819   ac_status=$?
7820   grep -v '^ *+' conftest.er1 >conftest.err
7821   rm -f conftest.er1
7822   cat conftest.err >&5
7823   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7824   (exit $ac_status); } &&
7825          { ac_try='test -z "$ac_c_werror_flag"
7826                          || test ! -s conftest.err'
7827   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7828   (eval $ac_try) 2>&5
7829   ac_status=$?
7830   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7831   (exit $ac_status); }; } &&
7832          { ac_try='test -s conftest$ac_exeext'
7833   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7834   (eval $ac_try) 2>&5
7835   ac_status=$?
7836   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7837   (exit $ac_status); }; }; then
7838   ac_cv_lib_m_expf=yes
7839 else
7840   echo "$as_me: failed program was:" >&5
7841 sed 's/^/| /' conftest.$ac_ext >&5
7842
7843 ac_cv_lib_m_expf=no
7844 fi
7845 rm -f conftest.err conftest.$ac_objext \
7846       conftest$ac_exeext conftest.$ac_ext
7847 LIBS=$ac_check_lib_save_LIBS
7848 fi
7849 echo "$as_me:$LINENO: result: $ac_cv_lib_m_expf" >&5
7850 echo "${ECHO_T}$ac_cv_lib_m_expf" >&6
7851 if test $ac_cv_lib_m_expf = yes; then
7852
7853 cat >>confdefs.h <<\_ACEOF
7854 #define HAVE_EXPF 1
7855 _ACEOF
7856
7857 fi
7858
7859 echo "$as_me:$LINENO: checking for floorf in -lm" >&5
7860 echo $ECHO_N "checking for floorf in -lm... $ECHO_C" >&6
7861 if test "${ac_cv_lib_m_floorf+set}" = set; then
7862   echo $ECHO_N "(cached) $ECHO_C" >&6
7863 else
7864   ac_check_lib_save_LIBS=$LIBS
7865 LIBS="-lm  $LIBS"
7866 if test x$gcc_no_link = xyes; then
7867   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
7868 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
7869    { (exit 1); exit 1; }; }
7870 fi
7871 cat >conftest.$ac_ext <<_ACEOF
7872 /* confdefs.h.  */
7873 _ACEOF
7874 cat confdefs.h >>conftest.$ac_ext
7875 cat >>conftest.$ac_ext <<_ACEOF
7876 /* end confdefs.h.  */
7877
7878 /* Override any gcc2 internal prototype to avoid an error.  */
7879 #ifdef __cplusplus
7880 extern "C"
7881 #endif
7882 /* We use char because int might match the return type of a gcc2
7883    builtin and then its argument prototype would still apply.  */
7884 char floorf ();
7885 int
7886 main ()
7887 {
7888 floorf ();
7889   ;
7890   return 0;
7891 }
7892 _ACEOF
7893 rm -f conftest.$ac_objext conftest$ac_exeext
7894 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7895   (eval $ac_link) 2>conftest.er1
7896   ac_status=$?
7897   grep -v '^ *+' conftest.er1 >conftest.err
7898   rm -f conftest.er1
7899   cat conftest.err >&5
7900   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7901   (exit $ac_status); } &&
7902          { ac_try='test -z "$ac_c_werror_flag"
7903                          || test ! -s conftest.err'
7904   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7905   (eval $ac_try) 2>&5
7906   ac_status=$?
7907   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7908   (exit $ac_status); }; } &&
7909          { ac_try='test -s conftest$ac_exeext'
7910   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7911   (eval $ac_try) 2>&5
7912   ac_status=$?
7913   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7914   (exit $ac_status); }; }; then
7915   ac_cv_lib_m_floorf=yes
7916 else
7917   echo "$as_me: failed program was:" >&5
7918 sed 's/^/| /' conftest.$ac_ext >&5
7919
7920 ac_cv_lib_m_floorf=no
7921 fi
7922 rm -f conftest.err conftest.$ac_objext \
7923       conftest$ac_exeext conftest.$ac_ext
7924 LIBS=$ac_check_lib_save_LIBS
7925 fi
7926 echo "$as_me:$LINENO: result: $ac_cv_lib_m_floorf" >&5
7927 echo "${ECHO_T}$ac_cv_lib_m_floorf" >&6
7928 if test $ac_cv_lib_m_floorf = yes; then
7929
7930 cat >>confdefs.h <<\_ACEOF
7931 #define HAVE_FLOORF 1
7932 _ACEOF
7933
7934 fi
7935
7936 echo "$as_me:$LINENO: checking for frexpf in -lm" >&5
7937 echo $ECHO_N "checking for frexpf in -lm... $ECHO_C" >&6
7938 if test "${ac_cv_lib_m_frexpf+set}" = set; then
7939   echo $ECHO_N "(cached) $ECHO_C" >&6
7940 else
7941   ac_check_lib_save_LIBS=$LIBS
7942 LIBS="-lm  $LIBS"
7943 if test x$gcc_no_link = xyes; then
7944   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
7945 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
7946    { (exit 1); exit 1; }; }
7947 fi
7948 cat >conftest.$ac_ext <<_ACEOF
7949 /* confdefs.h.  */
7950 _ACEOF
7951 cat confdefs.h >>conftest.$ac_ext
7952 cat >>conftest.$ac_ext <<_ACEOF
7953 /* end confdefs.h.  */
7954
7955 /* Override any gcc2 internal prototype to avoid an error.  */
7956 #ifdef __cplusplus
7957 extern "C"
7958 #endif
7959 /* We use char because int might match the return type of a gcc2
7960    builtin and then its argument prototype would still apply.  */
7961 char frexpf ();
7962 int
7963 main ()
7964 {
7965 frexpf ();
7966   ;
7967   return 0;
7968 }
7969 _ACEOF
7970 rm -f conftest.$ac_objext conftest$ac_exeext
7971 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7972   (eval $ac_link) 2>conftest.er1
7973   ac_status=$?
7974   grep -v '^ *+' conftest.er1 >conftest.err
7975   rm -f conftest.er1
7976   cat conftest.err >&5
7977   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7978   (exit $ac_status); } &&
7979          { ac_try='test -z "$ac_c_werror_flag"
7980                          || test ! -s conftest.err'
7981   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7982   (eval $ac_try) 2>&5
7983   ac_status=$?
7984   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7985   (exit $ac_status); }; } &&
7986          { ac_try='test -s conftest$ac_exeext'
7987   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7988   (eval $ac_try) 2>&5
7989   ac_status=$?
7990   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7991   (exit $ac_status); }; }; then
7992   ac_cv_lib_m_frexpf=yes
7993 else
7994   echo "$as_me: failed program was:" >&5
7995 sed 's/^/| /' conftest.$ac_ext >&5
7996
7997 ac_cv_lib_m_frexpf=no
7998 fi
7999 rm -f conftest.err conftest.$ac_objext \
8000       conftest$ac_exeext conftest.$ac_ext
8001 LIBS=$ac_check_lib_save_LIBS
8002 fi
8003 echo "$as_me:$LINENO: result: $ac_cv_lib_m_frexpf" >&5
8004 echo "${ECHO_T}$ac_cv_lib_m_frexpf" >&6
8005 if test $ac_cv_lib_m_frexpf = yes; then
8006
8007 cat >>confdefs.h <<\_ACEOF
8008 #define HAVE_FREXPF 1
8009 _ACEOF
8010
8011 fi
8012
8013 echo "$as_me:$LINENO: checking for hypotf in -lm" >&5
8014 echo $ECHO_N "checking for hypotf in -lm... $ECHO_C" >&6
8015 if test "${ac_cv_lib_m_hypotf+set}" = set; then
8016   echo $ECHO_N "(cached) $ECHO_C" >&6
8017 else
8018   ac_check_lib_save_LIBS=$LIBS
8019 LIBS="-lm  $LIBS"
8020 if test x$gcc_no_link = xyes; then
8021   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8022 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8023    { (exit 1); exit 1; }; }
8024 fi
8025 cat >conftest.$ac_ext <<_ACEOF
8026 /* confdefs.h.  */
8027 _ACEOF
8028 cat confdefs.h >>conftest.$ac_ext
8029 cat >>conftest.$ac_ext <<_ACEOF
8030 /* end confdefs.h.  */
8031
8032 /* Override any gcc2 internal prototype to avoid an error.  */
8033 #ifdef __cplusplus
8034 extern "C"
8035 #endif
8036 /* We use char because int might match the return type of a gcc2
8037    builtin and then its argument prototype would still apply.  */
8038 char hypotf ();
8039 int
8040 main ()
8041 {
8042 hypotf ();
8043   ;
8044   return 0;
8045 }
8046 _ACEOF
8047 rm -f conftest.$ac_objext conftest$ac_exeext
8048 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8049   (eval $ac_link) 2>conftest.er1
8050   ac_status=$?
8051   grep -v '^ *+' conftest.er1 >conftest.err
8052   rm -f conftest.er1
8053   cat conftest.err >&5
8054   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8055   (exit $ac_status); } &&
8056          { ac_try='test -z "$ac_c_werror_flag"
8057                          || test ! -s conftest.err'
8058   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8059   (eval $ac_try) 2>&5
8060   ac_status=$?
8061   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8062   (exit $ac_status); }; } &&
8063          { ac_try='test -s conftest$ac_exeext'
8064   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8065   (eval $ac_try) 2>&5
8066   ac_status=$?
8067   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8068   (exit $ac_status); }; }; then
8069   ac_cv_lib_m_hypotf=yes
8070 else
8071   echo "$as_me: failed program was:" >&5
8072 sed 's/^/| /' conftest.$ac_ext >&5
8073
8074 ac_cv_lib_m_hypotf=no
8075 fi
8076 rm -f conftest.err conftest.$ac_objext \
8077       conftest$ac_exeext conftest.$ac_ext
8078 LIBS=$ac_check_lib_save_LIBS
8079 fi
8080 echo "$as_me:$LINENO: result: $ac_cv_lib_m_hypotf" >&5
8081 echo "${ECHO_T}$ac_cv_lib_m_hypotf" >&6
8082 if test $ac_cv_lib_m_hypotf = yes; then
8083
8084 cat >>confdefs.h <<\_ACEOF
8085 #define HAVE_HYPOTF 1
8086 _ACEOF
8087
8088 fi
8089
8090 echo "$as_me:$LINENO: checking for logf in -lm" >&5
8091 echo $ECHO_N "checking for logf in -lm... $ECHO_C" >&6
8092 if test "${ac_cv_lib_m_logf+set}" = set; then
8093   echo $ECHO_N "(cached) $ECHO_C" >&6
8094 else
8095   ac_check_lib_save_LIBS=$LIBS
8096 LIBS="-lm  $LIBS"
8097 if test x$gcc_no_link = xyes; then
8098   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8099 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8100    { (exit 1); exit 1; }; }
8101 fi
8102 cat >conftest.$ac_ext <<_ACEOF
8103 /* confdefs.h.  */
8104 _ACEOF
8105 cat confdefs.h >>conftest.$ac_ext
8106 cat >>conftest.$ac_ext <<_ACEOF
8107 /* end confdefs.h.  */
8108
8109 /* Override any gcc2 internal prototype to avoid an error.  */
8110 #ifdef __cplusplus
8111 extern "C"
8112 #endif
8113 /* We use char because int might match the return type of a gcc2
8114    builtin and then its argument prototype would still apply.  */
8115 char logf ();
8116 int
8117 main ()
8118 {
8119 logf ();
8120   ;
8121   return 0;
8122 }
8123 _ACEOF
8124 rm -f conftest.$ac_objext conftest$ac_exeext
8125 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8126   (eval $ac_link) 2>conftest.er1
8127   ac_status=$?
8128   grep -v '^ *+' conftest.er1 >conftest.err
8129   rm -f conftest.er1
8130   cat conftest.err >&5
8131   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8132   (exit $ac_status); } &&
8133          { ac_try='test -z "$ac_c_werror_flag"
8134                          || test ! -s conftest.err'
8135   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8136   (eval $ac_try) 2>&5
8137   ac_status=$?
8138   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8139   (exit $ac_status); }; } &&
8140          { ac_try='test -s conftest$ac_exeext'
8141   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8142   (eval $ac_try) 2>&5
8143   ac_status=$?
8144   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8145   (exit $ac_status); }; }; then
8146   ac_cv_lib_m_logf=yes
8147 else
8148   echo "$as_me: failed program was:" >&5
8149 sed 's/^/| /' conftest.$ac_ext >&5
8150
8151 ac_cv_lib_m_logf=no
8152 fi
8153 rm -f conftest.err conftest.$ac_objext \
8154       conftest$ac_exeext conftest.$ac_ext
8155 LIBS=$ac_check_lib_save_LIBS
8156 fi
8157 echo "$as_me:$LINENO: result: $ac_cv_lib_m_logf" >&5
8158 echo "${ECHO_T}$ac_cv_lib_m_logf" >&6
8159 if test $ac_cv_lib_m_logf = yes; then
8160
8161 cat >>confdefs.h <<\_ACEOF
8162 #define HAVE_LOGF 1
8163 _ACEOF
8164
8165 fi
8166
8167 echo "$as_me:$LINENO: checking for log10f in -lm" >&5
8168 echo $ECHO_N "checking for log10f in -lm... $ECHO_C" >&6
8169 if test "${ac_cv_lib_m_log10f+set}" = set; then
8170   echo $ECHO_N "(cached) $ECHO_C" >&6
8171 else
8172   ac_check_lib_save_LIBS=$LIBS
8173 LIBS="-lm  $LIBS"
8174 if test x$gcc_no_link = xyes; then
8175   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8176 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8177    { (exit 1); exit 1; }; }
8178 fi
8179 cat >conftest.$ac_ext <<_ACEOF
8180 /* confdefs.h.  */
8181 _ACEOF
8182 cat confdefs.h >>conftest.$ac_ext
8183 cat >>conftest.$ac_ext <<_ACEOF
8184 /* end confdefs.h.  */
8185
8186 /* Override any gcc2 internal prototype to avoid an error.  */
8187 #ifdef __cplusplus
8188 extern "C"
8189 #endif
8190 /* We use char because int might match the return type of a gcc2
8191    builtin and then its argument prototype would still apply.  */
8192 char log10f ();
8193 int
8194 main ()
8195 {
8196 log10f ();
8197   ;
8198   return 0;
8199 }
8200 _ACEOF
8201 rm -f conftest.$ac_objext conftest$ac_exeext
8202 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8203   (eval $ac_link) 2>conftest.er1
8204   ac_status=$?
8205   grep -v '^ *+' conftest.er1 >conftest.err
8206   rm -f conftest.er1
8207   cat conftest.err >&5
8208   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8209   (exit $ac_status); } &&
8210          { ac_try='test -z "$ac_c_werror_flag"
8211                          || test ! -s conftest.err'
8212   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8213   (eval $ac_try) 2>&5
8214   ac_status=$?
8215   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8216   (exit $ac_status); }; } &&
8217          { ac_try='test -s conftest$ac_exeext'
8218   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8219   (eval $ac_try) 2>&5
8220   ac_status=$?
8221   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8222   (exit $ac_status); }; }; then
8223   ac_cv_lib_m_log10f=yes
8224 else
8225   echo "$as_me: failed program was:" >&5
8226 sed 's/^/| /' conftest.$ac_ext >&5
8227
8228 ac_cv_lib_m_log10f=no
8229 fi
8230 rm -f conftest.err conftest.$ac_objext \
8231       conftest$ac_exeext conftest.$ac_ext
8232 LIBS=$ac_check_lib_save_LIBS
8233 fi
8234 echo "$as_me:$LINENO: result: $ac_cv_lib_m_log10f" >&5
8235 echo "${ECHO_T}$ac_cv_lib_m_log10f" >&6
8236 if test $ac_cv_lib_m_log10f = yes; then
8237
8238 cat >>confdefs.h <<\_ACEOF
8239 #define HAVE_LOG10F 1
8240 _ACEOF
8241
8242 fi
8243
8244 echo "$as_me:$LINENO: checking for nextafter in -lm" >&5
8245 echo $ECHO_N "checking for nextafter in -lm... $ECHO_C" >&6
8246 if test "${ac_cv_lib_m_nextafter+set}" = set; then
8247   echo $ECHO_N "(cached) $ECHO_C" >&6
8248 else
8249   ac_check_lib_save_LIBS=$LIBS
8250 LIBS="-lm  $LIBS"
8251 if test x$gcc_no_link = xyes; then
8252   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8253 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8254    { (exit 1); exit 1; }; }
8255 fi
8256 cat >conftest.$ac_ext <<_ACEOF
8257 /* confdefs.h.  */
8258 _ACEOF
8259 cat confdefs.h >>conftest.$ac_ext
8260 cat >>conftest.$ac_ext <<_ACEOF
8261 /* end confdefs.h.  */
8262
8263 /* Override any gcc2 internal prototype to avoid an error.  */
8264 #ifdef __cplusplus
8265 extern "C"
8266 #endif
8267 /* We use char because int might match the return type of a gcc2
8268    builtin and then its argument prototype would still apply.  */
8269 char nextafter ();
8270 int
8271 main ()
8272 {
8273 nextafter ();
8274   ;
8275   return 0;
8276 }
8277 _ACEOF
8278 rm -f conftest.$ac_objext conftest$ac_exeext
8279 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8280   (eval $ac_link) 2>conftest.er1
8281   ac_status=$?
8282   grep -v '^ *+' conftest.er1 >conftest.err
8283   rm -f conftest.er1
8284   cat conftest.err >&5
8285   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8286   (exit $ac_status); } &&
8287          { ac_try='test -z "$ac_c_werror_flag"
8288                          || test ! -s conftest.err'
8289   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8290   (eval $ac_try) 2>&5
8291   ac_status=$?
8292   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8293   (exit $ac_status); }; } &&
8294          { ac_try='test -s conftest$ac_exeext'
8295   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8296   (eval $ac_try) 2>&5
8297   ac_status=$?
8298   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8299   (exit $ac_status); }; }; then
8300   ac_cv_lib_m_nextafter=yes
8301 else
8302   echo "$as_me: failed program was:" >&5
8303 sed 's/^/| /' conftest.$ac_ext >&5
8304
8305 ac_cv_lib_m_nextafter=no
8306 fi
8307 rm -f conftest.err conftest.$ac_objext \
8308       conftest$ac_exeext conftest.$ac_ext
8309 LIBS=$ac_check_lib_save_LIBS
8310 fi
8311 echo "$as_me:$LINENO: result: $ac_cv_lib_m_nextafter" >&5
8312 echo "${ECHO_T}$ac_cv_lib_m_nextafter" >&6
8313 if test $ac_cv_lib_m_nextafter = yes; then
8314
8315 cat >>confdefs.h <<\_ACEOF
8316 #define HAVE_NEXTAFTER 1
8317 _ACEOF
8318
8319 fi
8320
8321 echo "$as_me:$LINENO: checking for nextafterf in -lm" >&5
8322 echo $ECHO_N "checking for nextafterf in -lm... $ECHO_C" >&6
8323 if test "${ac_cv_lib_m_nextafterf+set}" = set; then
8324   echo $ECHO_N "(cached) $ECHO_C" >&6
8325 else
8326   ac_check_lib_save_LIBS=$LIBS
8327 LIBS="-lm  $LIBS"
8328 if test x$gcc_no_link = xyes; then
8329   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8330 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8331    { (exit 1); exit 1; }; }
8332 fi
8333 cat >conftest.$ac_ext <<_ACEOF
8334 /* confdefs.h.  */
8335 _ACEOF
8336 cat confdefs.h >>conftest.$ac_ext
8337 cat >>conftest.$ac_ext <<_ACEOF
8338 /* end confdefs.h.  */
8339
8340 /* Override any gcc2 internal prototype to avoid an error.  */
8341 #ifdef __cplusplus
8342 extern "C"
8343 #endif
8344 /* We use char because int might match the return type of a gcc2
8345    builtin and then its argument prototype would still apply.  */
8346 char nextafterf ();
8347 int
8348 main ()
8349 {
8350 nextafterf ();
8351   ;
8352   return 0;
8353 }
8354 _ACEOF
8355 rm -f conftest.$ac_objext conftest$ac_exeext
8356 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8357   (eval $ac_link) 2>conftest.er1
8358   ac_status=$?
8359   grep -v '^ *+' conftest.er1 >conftest.err
8360   rm -f conftest.er1
8361   cat conftest.err >&5
8362   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8363   (exit $ac_status); } &&
8364          { ac_try='test -z "$ac_c_werror_flag"
8365                          || test ! -s conftest.err'
8366   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8367   (eval $ac_try) 2>&5
8368   ac_status=$?
8369   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8370   (exit $ac_status); }; } &&
8371          { ac_try='test -s conftest$ac_exeext'
8372   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8373   (eval $ac_try) 2>&5
8374   ac_status=$?
8375   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8376   (exit $ac_status); }; }; then
8377   ac_cv_lib_m_nextafterf=yes
8378 else
8379   echo "$as_me: failed program was:" >&5
8380 sed 's/^/| /' conftest.$ac_ext >&5
8381
8382 ac_cv_lib_m_nextafterf=no
8383 fi
8384 rm -f conftest.err conftest.$ac_objext \
8385       conftest$ac_exeext conftest.$ac_ext
8386 LIBS=$ac_check_lib_save_LIBS
8387 fi
8388 echo "$as_me:$LINENO: result: $ac_cv_lib_m_nextafterf" >&5
8389 echo "${ECHO_T}$ac_cv_lib_m_nextafterf" >&6
8390 if test $ac_cv_lib_m_nextafterf = yes; then
8391
8392 cat >>confdefs.h <<\_ACEOF
8393 #define HAVE_NEXTAFTERF 1
8394 _ACEOF
8395
8396 fi
8397
8398 echo "$as_me:$LINENO: checking for powf in -lm" >&5
8399 echo $ECHO_N "checking for powf in -lm... $ECHO_C" >&6
8400 if test "${ac_cv_lib_m_powf+set}" = set; then
8401   echo $ECHO_N "(cached) $ECHO_C" >&6
8402 else
8403   ac_check_lib_save_LIBS=$LIBS
8404 LIBS="-lm  $LIBS"
8405 if test x$gcc_no_link = xyes; then
8406   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8407 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8408    { (exit 1); exit 1; }; }
8409 fi
8410 cat >conftest.$ac_ext <<_ACEOF
8411 /* confdefs.h.  */
8412 _ACEOF
8413 cat confdefs.h >>conftest.$ac_ext
8414 cat >>conftest.$ac_ext <<_ACEOF
8415 /* end confdefs.h.  */
8416
8417 /* Override any gcc2 internal prototype to avoid an error.  */
8418 #ifdef __cplusplus
8419 extern "C"
8420 #endif
8421 /* We use char because int might match the return type of a gcc2
8422    builtin and then its argument prototype would still apply.  */
8423 char powf ();
8424 int
8425 main ()
8426 {
8427 powf ();
8428   ;
8429   return 0;
8430 }
8431 _ACEOF
8432 rm -f conftest.$ac_objext conftest$ac_exeext
8433 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8434   (eval $ac_link) 2>conftest.er1
8435   ac_status=$?
8436   grep -v '^ *+' conftest.er1 >conftest.err
8437   rm -f conftest.er1
8438   cat conftest.err >&5
8439   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8440   (exit $ac_status); } &&
8441          { ac_try='test -z "$ac_c_werror_flag"
8442                          || test ! -s conftest.err'
8443   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8444   (eval $ac_try) 2>&5
8445   ac_status=$?
8446   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8447   (exit $ac_status); }; } &&
8448          { ac_try='test -s conftest$ac_exeext'
8449   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8450   (eval $ac_try) 2>&5
8451   ac_status=$?
8452   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8453   (exit $ac_status); }; }; then
8454   ac_cv_lib_m_powf=yes
8455 else
8456   echo "$as_me: failed program was:" >&5
8457 sed 's/^/| /' conftest.$ac_ext >&5
8458
8459 ac_cv_lib_m_powf=no
8460 fi
8461 rm -f conftest.err conftest.$ac_objext \
8462       conftest$ac_exeext conftest.$ac_ext
8463 LIBS=$ac_check_lib_save_LIBS
8464 fi
8465 echo "$as_me:$LINENO: result: $ac_cv_lib_m_powf" >&5
8466 echo "${ECHO_T}$ac_cv_lib_m_powf" >&6
8467 if test $ac_cv_lib_m_powf = yes; then
8468
8469 cat >>confdefs.h <<\_ACEOF
8470 #define HAVE_POWF 1
8471 _ACEOF
8472
8473 fi
8474
8475 echo "$as_me:$LINENO: checking for round in -lm" >&5
8476 echo $ECHO_N "checking for round in -lm... $ECHO_C" >&6
8477 if test "${ac_cv_lib_m_round+set}" = set; then
8478   echo $ECHO_N "(cached) $ECHO_C" >&6
8479 else
8480   ac_check_lib_save_LIBS=$LIBS
8481 LIBS="-lm  $LIBS"
8482 if test x$gcc_no_link = xyes; then
8483   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8484 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8485    { (exit 1); exit 1; }; }
8486 fi
8487 cat >conftest.$ac_ext <<_ACEOF
8488 /* confdefs.h.  */
8489 _ACEOF
8490 cat confdefs.h >>conftest.$ac_ext
8491 cat >>conftest.$ac_ext <<_ACEOF
8492 /* end confdefs.h.  */
8493
8494 /* Override any gcc2 internal prototype to avoid an error.  */
8495 #ifdef __cplusplus
8496 extern "C"
8497 #endif
8498 /* We use char because int might match the return type of a gcc2
8499    builtin and then its argument prototype would still apply.  */
8500 char round ();
8501 int
8502 main ()
8503 {
8504 round ();
8505   ;
8506   return 0;
8507 }
8508 _ACEOF
8509 rm -f conftest.$ac_objext conftest$ac_exeext
8510 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8511   (eval $ac_link) 2>conftest.er1
8512   ac_status=$?
8513   grep -v '^ *+' conftest.er1 >conftest.err
8514   rm -f conftest.er1
8515   cat conftest.err >&5
8516   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8517   (exit $ac_status); } &&
8518          { ac_try='test -z "$ac_c_werror_flag"
8519                          || test ! -s conftest.err'
8520   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8521   (eval $ac_try) 2>&5
8522   ac_status=$?
8523   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8524   (exit $ac_status); }; } &&
8525          { ac_try='test -s conftest$ac_exeext'
8526   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8527   (eval $ac_try) 2>&5
8528   ac_status=$?
8529   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8530   (exit $ac_status); }; }; then
8531   ac_cv_lib_m_round=yes
8532 else
8533   echo "$as_me: failed program was:" >&5
8534 sed 's/^/| /' conftest.$ac_ext >&5
8535
8536 ac_cv_lib_m_round=no
8537 fi
8538 rm -f conftest.err conftest.$ac_objext \
8539       conftest$ac_exeext conftest.$ac_ext
8540 LIBS=$ac_check_lib_save_LIBS
8541 fi
8542 echo "$as_me:$LINENO: result: $ac_cv_lib_m_round" >&5
8543 echo "${ECHO_T}$ac_cv_lib_m_round" >&6
8544 if test $ac_cv_lib_m_round = yes; then
8545
8546 cat >>confdefs.h <<\_ACEOF
8547 #define HAVE_ROUND 1
8548 _ACEOF
8549
8550 fi
8551
8552 echo "$as_me:$LINENO: checking for roundf in -lm" >&5
8553 echo $ECHO_N "checking for roundf in -lm... $ECHO_C" >&6
8554 if test "${ac_cv_lib_m_roundf+set}" = set; then
8555   echo $ECHO_N "(cached) $ECHO_C" >&6
8556 else
8557   ac_check_lib_save_LIBS=$LIBS
8558 LIBS="-lm  $LIBS"
8559 if test x$gcc_no_link = xyes; then
8560   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8561 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8562    { (exit 1); exit 1; }; }
8563 fi
8564 cat >conftest.$ac_ext <<_ACEOF
8565 /* confdefs.h.  */
8566 _ACEOF
8567 cat confdefs.h >>conftest.$ac_ext
8568 cat >>conftest.$ac_ext <<_ACEOF
8569 /* end confdefs.h.  */
8570
8571 /* Override any gcc2 internal prototype to avoid an error.  */
8572 #ifdef __cplusplus
8573 extern "C"
8574 #endif
8575 /* We use char because int might match the return type of a gcc2
8576    builtin and then its argument prototype would still apply.  */
8577 char roundf ();
8578 int
8579 main ()
8580 {
8581 roundf ();
8582   ;
8583   return 0;
8584 }
8585 _ACEOF
8586 rm -f conftest.$ac_objext conftest$ac_exeext
8587 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8588   (eval $ac_link) 2>conftest.er1
8589   ac_status=$?
8590   grep -v '^ *+' conftest.er1 >conftest.err
8591   rm -f conftest.er1
8592   cat conftest.err >&5
8593   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8594   (exit $ac_status); } &&
8595          { ac_try='test -z "$ac_c_werror_flag"
8596                          || test ! -s conftest.err'
8597   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8598   (eval $ac_try) 2>&5
8599   ac_status=$?
8600   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8601   (exit $ac_status); }; } &&
8602          { ac_try='test -s conftest$ac_exeext'
8603   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8604   (eval $ac_try) 2>&5
8605   ac_status=$?
8606   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8607   (exit $ac_status); }; }; then
8608   ac_cv_lib_m_roundf=yes
8609 else
8610   echo "$as_me: failed program was:" >&5
8611 sed 's/^/| /' conftest.$ac_ext >&5
8612
8613 ac_cv_lib_m_roundf=no
8614 fi
8615 rm -f conftest.err conftest.$ac_objext \
8616       conftest$ac_exeext conftest.$ac_ext
8617 LIBS=$ac_check_lib_save_LIBS
8618 fi
8619 echo "$as_me:$LINENO: result: $ac_cv_lib_m_roundf" >&5
8620 echo "${ECHO_T}$ac_cv_lib_m_roundf" >&6
8621 if test $ac_cv_lib_m_roundf = yes; then
8622
8623 cat >>confdefs.h <<\_ACEOF
8624 #define HAVE_ROUNDF 1
8625 _ACEOF
8626
8627 fi
8628
8629 echo "$as_me:$LINENO: checking for scalbnf in -lm" >&5
8630 echo $ECHO_N "checking for scalbnf in -lm... $ECHO_C" >&6
8631 if test "${ac_cv_lib_m_scalbnf+set}" = set; then
8632   echo $ECHO_N "(cached) $ECHO_C" >&6
8633 else
8634   ac_check_lib_save_LIBS=$LIBS
8635 LIBS="-lm  $LIBS"
8636 if test x$gcc_no_link = xyes; then
8637   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8638 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8639    { (exit 1); exit 1; }; }
8640 fi
8641 cat >conftest.$ac_ext <<_ACEOF
8642 /* confdefs.h.  */
8643 _ACEOF
8644 cat confdefs.h >>conftest.$ac_ext
8645 cat >>conftest.$ac_ext <<_ACEOF
8646 /* end confdefs.h.  */
8647
8648 /* Override any gcc2 internal prototype to avoid an error.  */
8649 #ifdef __cplusplus
8650 extern "C"
8651 #endif
8652 /* We use char because int might match the return type of a gcc2
8653    builtin and then its argument prototype would still apply.  */
8654 char scalbnf ();
8655 int
8656 main ()
8657 {
8658 scalbnf ();
8659   ;
8660   return 0;
8661 }
8662 _ACEOF
8663 rm -f conftest.$ac_objext conftest$ac_exeext
8664 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8665   (eval $ac_link) 2>conftest.er1
8666   ac_status=$?
8667   grep -v '^ *+' conftest.er1 >conftest.err
8668   rm -f conftest.er1
8669   cat conftest.err >&5
8670   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8671   (exit $ac_status); } &&
8672          { ac_try='test -z "$ac_c_werror_flag"
8673                          || test ! -s conftest.err'
8674   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8675   (eval $ac_try) 2>&5
8676   ac_status=$?
8677   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8678   (exit $ac_status); }; } &&
8679          { ac_try='test -s conftest$ac_exeext'
8680   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8681   (eval $ac_try) 2>&5
8682   ac_status=$?
8683   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8684   (exit $ac_status); }; }; then
8685   ac_cv_lib_m_scalbnf=yes
8686 else
8687   echo "$as_me: failed program was:" >&5
8688 sed 's/^/| /' conftest.$ac_ext >&5
8689
8690 ac_cv_lib_m_scalbnf=no
8691 fi
8692 rm -f conftest.err conftest.$ac_objext \
8693       conftest$ac_exeext conftest.$ac_ext
8694 LIBS=$ac_check_lib_save_LIBS
8695 fi
8696 echo "$as_me:$LINENO: result: $ac_cv_lib_m_scalbnf" >&5
8697 echo "${ECHO_T}$ac_cv_lib_m_scalbnf" >&6
8698 if test $ac_cv_lib_m_scalbnf = yes; then
8699
8700 cat >>confdefs.h <<\_ACEOF
8701 #define HAVE_SCALBNF 1
8702 _ACEOF
8703
8704 fi
8705
8706 echo "$as_me:$LINENO: checking for sinf in -lm" >&5
8707 echo $ECHO_N "checking for sinf in -lm... $ECHO_C" >&6
8708 if test "${ac_cv_lib_m_sinf+set}" = set; then
8709   echo $ECHO_N "(cached) $ECHO_C" >&6
8710 else
8711   ac_check_lib_save_LIBS=$LIBS
8712 LIBS="-lm  $LIBS"
8713 if test x$gcc_no_link = xyes; then
8714   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8715 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8716    { (exit 1); exit 1; }; }
8717 fi
8718 cat >conftest.$ac_ext <<_ACEOF
8719 /* confdefs.h.  */
8720 _ACEOF
8721 cat confdefs.h >>conftest.$ac_ext
8722 cat >>conftest.$ac_ext <<_ACEOF
8723 /* end confdefs.h.  */
8724
8725 /* Override any gcc2 internal prototype to avoid an error.  */
8726 #ifdef __cplusplus
8727 extern "C"
8728 #endif
8729 /* We use char because int might match the return type of a gcc2
8730    builtin and then its argument prototype would still apply.  */
8731 char sinf ();
8732 int
8733 main ()
8734 {
8735 sinf ();
8736   ;
8737   return 0;
8738 }
8739 _ACEOF
8740 rm -f conftest.$ac_objext conftest$ac_exeext
8741 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8742   (eval $ac_link) 2>conftest.er1
8743   ac_status=$?
8744   grep -v '^ *+' conftest.er1 >conftest.err
8745   rm -f conftest.er1
8746   cat conftest.err >&5
8747   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8748   (exit $ac_status); } &&
8749          { ac_try='test -z "$ac_c_werror_flag"
8750                          || test ! -s conftest.err'
8751   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8752   (eval $ac_try) 2>&5
8753   ac_status=$?
8754   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8755   (exit $ac_status); }; } &&
8756          { ac_try='test -s conftest$ac_exeext'
8757   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8758   (eval $ac_try) 2>&5
8759   ac_status=$?
8760   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8761   (exit $ac_status); }; }; then
8762   ac_cv_lib_m_sinf=yes
8763 else
8764   echo "$as_me: failed program was:" >&5
8765 sed 's/^/| /' conftest.$ac_ext >&5
8766
8767 ac_cv_lib_m_sinf=no
8768 fi
8769 rm -f conftest.err conftest.$ac_objext \
8770       conftest$ac_exeext conftest.$ac_ext
8771 LIBS=$ac_check_lib_save_LIBS
8772 fi
8773 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sinf" >&5
8774 echo "${ECHO_T}$ac_cv_lib_m_sinf" >&6
8775 if test $ac_cv_lib_m_sinf = yes; then
8776
8777 cat >>confdefs.h <<\_ACEOF
8778 #define HAVE_SINF 1
8779 _ACEOF
8780
8781 fi
8782
8783 echo "$as_me:$LINENO: checking for sinhf in -lm" >&5
8784 echo $ECHO_N "checking for sinhf in -lm... $ECHO_C" >&6
8785 if test "${ac_cv_lib_m_sinhf+set}" = set; then
8786   echo $ECHO_N "(cached) $ECHO_C" >&6
8787 else
8788   ac_check_lib_save_LIBS=$LIBS
8789 LIBS="-lm  $LIBS"
8790 if test x$gcc_no_link = xyes; then
8791   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8792 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8793    { (exit 1); exit 1; }; }
8794 fi
8795 cat >conftest.$ac_ext <<_ACEOF
8796 /* confdefs.h.  */
8797 _ACEOF
8798 cat confdefs.h >>conftest.$ac_ext
8799 cat >>conftest.$ac_ext <<_ACEOF
8800 /* end confdefs.h.  */
8801
8802 /* Override any gcc2 internal prototype to avoid an error.  */
8803 #ifdef __cplusplus
8804 extern "C"
8805 #endif
8806 /* We use char because int might match the return type of a gcc2
8807    builtin and then its argument prototype would still apply.  */
8808 char sinhf ();
8809 int
8810 main ()
8811 {
8812 sinhf ();
8813   ;
8814   return 0;
8815 }
8816 _ACEOF
8817 rm -f conftest.$ac_objext conftest$ac_exeext
8818 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8819   (eval $ac_link) 2>conftest.er1
8820   ac_status=$?
8821   grep -v '^ *+' conftest.er1 >conftest.err
8822   rm -f conftest.er1
8823   cat conftest.err >&5
8824   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8825   (exit $ac_status); } &&
8826          { ac_try='test -z "$ac_c_werror_flag"
8827                          || test ! -s conftest.err'
8828   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8829   (eval $ac_try) 2>&5
8830   ac_status=$?
8831   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8832   (exit $ac_status); }; } &&
8833          { ac_try='test -s conftest$ac_exeext'
8834   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8835   (eval $ac_try) 2>&5
8836   ac_status=$?
8837   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8838   (exit $ac_status); }; }; then
8839   ac_cv_lib_m_sinhf=yes
8840 else
8841   echo "$as_me: failed program was:" >&5
8842 sed 's/^/| /' conftest.$ac_ext >&5
8843
8844 ac_cv_lib_m_sinhf=no
8845 fi
8846 rm -f conftest.err conftest.$ac_objext \
8847       conftest$ac_exeext conftest.$ac_ext
8848 LIBS=$ac_check_lib_save_LIBS
8849 fi
8850 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sinhf" >&5
8851 echo "${ECHO_T}$ac_cv_lib_m_sinhf" >&6
8852 if test $ac_cv_lib_m_sinhf = yes; then
8853
8854 cat >>confdefs.h <<\_ACEOF
8855 #define HAVE_SINHF 1
8856 _ACEOF
8857
8858 fi
8859
8860 echo "$as_me:$LINENO: checking for sqrtf in -lm" >&5
8861 echo $ECHO_N "checking for sqrtf in -lm... $ECHO_C" >&6
8862 if test "${ac_cv_lib_m_sqrtf+set}" = set; then
8863   echo $ECHO_N "(cached) $ECHO_C" >&6
8864 else
8865   ac_check_lib_save_LIBS=$LIBS
8866 LIBS="-lm  $LIBS"
8867 if test x$gcc_no_link = xyes; then
8868   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8869 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8870    { (exit 1); exit 1; }; }
8871 fi
8872 cat >conftest.$ac_ext <<_ACEOF
8873 /* confdefs.h.  */
8874 _ACEOF
8875 cat confdefs.h >>conftest.$ac_ext
8876 cat >>conftest.$ac_ext <<_ACEOF
8877 /* end confdefs.h.  */
8878
8879 /* Override any gcc2 internal prototype to avoid an error.  */
8880 #ifdef __cplusplus
8881 extern "C"
8882 #endif
8883 /* We use char because int might match the return type of a gcc2
8884    builtin and then its argument prototype would still apply.  */
8885 char sqrtf ();
8886 int
8887 main ()
8888 {
8889 sqrtf ();
8890   ;
8891   return 0;
8892 }
8893 _ACEOF
8894 rm -f conftest.$ac_objext conftest$ac_exeext
8895 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8896   (eval $ac_link) 2>conftest.er1
8897   ac_status=$?
8898   grep -v '^ *+' conftest.er1 >conftest.err
8899   rm -f conftest.er1
8900   cat conftest.err >&5
8901   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8902   (exit $ac_status); } &&
8903          { ac_try='test -z "$ac_c_werror_flag"
8904                          || test ! -s conftest.err'
8905   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8906   (eval $ac_try) 2>&5
8907   ac_status=$?
8908   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8909   (exit $ac_status); }; } &&
8910          { ac_try='test -s conftest$ac_exeext'
8911   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8912   (eval $ac_try) 2>&5
8913   ac_status=$?
8914   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8915   (exit $ac_status); }; }; then
8916   ac_cv_lib_m_sqrtf=yes
8917 else
8918   echo "$as_me: failed program was:" >&5
8919 sed 's/^/| /' conftest.$ac_ext >&5
8920
8921 ac_cv_lib_m_sqrtf=no
8922 fi
8923 rm -f conftest.err conftest.$ac_objext \
8924       conftest$ac_exeext conftest.$ac_ext
8925 LIBS=$ac_check_lib_save_LIBS
8926 fi
8927 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sqrtf" >&5
8928 echo "${ECHO_T}$ac_cv_lib_m_sqrtf" >&6
8929 if test $ac_cv_lib_m_sqrtf = yes; then
8930
8931 cat >>confdefs.h <<\_ACEOF
8932 #define HAVE_SQRTF 1
8933 _ACEOF
8934
8935 fi
8936
8937 echo "$as_me:$LINENO: checking for tanf in -lm" >&5
8938 echo $ECHO_N "checking for tanf in -lm... $ECHO_C" >&6
8939 if test "${ac_cv_lib_m_tanf+set}" = set; then
8940   echo $ECHO_N "(cached) $ECHO_C" >&6
8941 else
8942   ac_check_lib_save_LIBS=$LIBS
8943 LIBS="-lm  $LIBS"
8944 if test x$gcc_no_link = xyes; then
8945   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8946 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8947    { (exit 1); exit 1; }; }
8948 fi
8949 cat >conftest.$ac_ext <<_ACEOF
8950 /* confdefs.h.  */
8951 _ACEOF
8952 cat confdefs.h >>conftest.$ac_ext
8953 cat >>conftest.$ac_ext <<_ACEOF
8954 /* end confdefs.h.  */
8955
8956 /* Override any gcc2 internal prototype to avoid an error.  */
8957 #ifdef __cplusplus
8958 extern "C"
8959 #endif
8960 /* We use char because int might match the return type of a gcc2
8961    builtin and then its argument prototype would still apply.  */
8962 char tanf ();
8963 int
8964 main ()
8965 {
8966 tanf ();
8967   ;
8968   return 0;
8969 }
8970 _ACEOF
8971 rm -f conftest.$ac_objext conftest$ac_exeext
8972 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8973   (eval $ac_link) 2>conftest.er1
8974   ac_status=$?
8975   grep -v '^ *+' conftest.er1 >conftest.err
8976   rm -f conftest.er1
8977   cat conftest.err >&5
8978   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8979   (exit $ac_status); } &&
8980          { ac_try='test -z "$ac_c_werror_flag"
8981                          || test ! -s conftest.err'
8982   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8983   (eval $ac_try) 2>&5
8984   ac_status=$?
8985   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8986   (exit $ac_status); }; } &&
8987          { ac_try='test -s conftest$ac_exeext'
8988   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8989   (eval $ac_try) 2>&5
8990   ac_status=$?
8991   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8992   (exit $ac_status); }; }; then
8993   ac_cv_lib_m_tanf=yes
8994 else
8995   echo "$as_me: failed program was:" >&5
8996 sed 's/^/| /' conftest.$ac_ext >&5
8997
8998 ac_cv_lib_m_tanf=no
8999 fi
9000 rm -f conftest.err conftest.$ac_objext \
9001       conftest$ac_exeext conftest.$ac_ext
9002 LIBS=$ac_check_lib_save_LIBS
9003 fi
9004 echo "$as_me:$LINENO: result: $ac_cv_lib_m_tanf" >&5
9005 echo "${ECHO_T}$ac_cv_lib_m_tanf" >&6
9006 if test $ac_cv_lib_m_tanf = yes; then
9007
9008 cat >>confdefs.h <<\_ACEOF
9009 #define HAVE_TANF 1
9010 _ACEOF
9011
9012 fi
9013
9014 echo "$as_me:$LINENO: checking for tanhf in -lm" >&5
9015 echo $ECHO_N "checking for tanhf in -lm... $ECHO_C" >&6
9016 if test "${ac_cv_lib_m_tanhf+set}" = set; then
9017   echo $ECHO_N "(cached) $ECHO_C" >&6
9018 else
9019   ac_check_lib_save_LIBS=$LIBS
9020 LIBS="-lm  $LIBS"
9021 if test x$gcc_no_link = xyes; then
9022   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9023 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9024    { (exit 1); exit 1; }; }
9025 fi
9026 cat >conftest.$ac_ext <<_ACEOF
9027 /* confdefs.h.  */
9028 _ACEOF
9029 cat confdefs.h >>conftest.$ac_ext
9030 cat >>conftest.$ac_ext <<_ACEOF
9031 /* end confdefs.h.  */
9032
9033 /* Override any gcc2 internal prototype to avoid an error.  */
9034 #ifdef __cplusplus
9035 extern "C"
9036 #endif
9037 /* We use char because int might match the return type of a gcc2
9038    builtin and then its argument prototype would still apply.  */
9039 char tanhf ();
9040 int
9041 main ()
9042 {
9043 tanhf ();
9044   ;
9045   return 0;
9046 }
9047 _ACEOF
9048 rm -f conftest.$ac_objext conftest$ac_exeext
9049 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9050   (eval $ac_link) 2>conftest.er1
9051   ac_status=$?
9052   grep -v '^ *+' conftest.er1 >conftest.err
9053   rm -f conftest.er1
9054   cat conftest.err >&5
9055   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9056   (exit $ac_status); } &&
9057          { ac_try='test -z "$ac_c_werror_flag"
9058                          || test ! -s conftest.err'
9059   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9060   (eval $ac_try) 2>&5
9061   ac_status=$?
9062   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9063   (exit $ac_status); }; } &&
9064          { ac_try='test -s conftest$ac_exeext'
9065   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9066   (eval $ac_try) 2>&5
9067   ac_status=$?
9068   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9069   (exit $ac_status); }; }; then
9070   ac_cv_lib_m_tanhf=yes
9071 else
9072   echo "$as_me: failed program was:" >&5
9073 sed 's/^/| /' conftest.$ac_ext >&5
9074
9075 ac_cv_lib_m_tanhf=no
9076 fi
9077 rm -f conftest.err conftest.$ac_objext \
9078       conftest$ac_exeext conftest.$ac_ext
9079 LIBS=$ac_check_lib_save_LIBS
9080 fi
9081 echo "$as_me:$LINENO: result: $ac_cv_lib_m_tanhf" >&5
9082 echo "${ECHO_T}$ac_cv_lib_m_tanhf" >&6
9083 if test $ac_cv_lib_m_tanhf = yes; then
9084
9085 cat >>confdefs.h <<\_ACEOF
9086 #define HAVE_TANHF 1
9087 _ACEOF
9088
9089 fi
9090
9091 echo "$as_me:$LINENO: checking for erf in -lm" >&5
9092 echo $ECHO_N "checking for erf in -lm... $ECHO_C" >&6
9093 if test "${ac_cv_lib_m_erf+set}" = set; then
9094   echo $ECHO_N "(cached) $ECHO_C" >&6
9095 else
9096   ac_check_lib_save_LIBS=$LIBS
9097 LIBS="-lm  $LIBS"
9098 if test x$gcc_no_link = xyes; then
9099   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9100 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9101    { (exit 1); exit 1; }; }
9102 fi
9103 cat >conftest.$ac_ext <<_ACEOF
9104 /* confdefs.h.  */
9105 _ACEOF
9106 cat confdefs.h >>conftest.$ac_ext
9107 cat >>conftest.$ac_ext <<_ACEOF
9108 /* end confdefs.h.  */
9109
9110 /* Override any gcc2 internal prototype to avoid an error.  */
9111 #ifdef __cplusplus
9112 extern "C"
9113 #endif
9114 /* We use char because int might match the return type of a gcc2
9115    builtin and then its argument prototype would still apply.  */
9116 char erf ();
9117 int
9118 main ()
9119 {
9120 erf ();
9121   ;
9122   return 0;
9123 }
9124 _ACEOF
9125 rm -f conftest.$ac_objext conftest$ac_exeext
9126 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9127   (eval $ac_link) 2>conftest.er1
9128   ac_status=$?
9129   grep -v '^ *+' conftest.er1 >conftest.err
9130   rm -f conftest.er1
9131   cat conftest.err >&5
9132   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9133   (exit $ac_status); } &&
9134          { ac_try='test -z "$ac_c_werror_flag"
9135                          || test ! -s conftest.err'
9136   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9137   (eval $ac_try) 2>&5
9138   ac_status=$?
9139   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9140   (exit $ac_status); }; } &&
9141          { ac_try='test -s conftest$ac_exeext'
9142   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9143   (eval $ac_try) 2>&5
9144   ac_status=$?
9145   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9146   (exit $ac_status); }; }; then
9147   ac_cv_lib_m_erf=yes
9148 else
9149   echo "$as_me: failed program was:" >&5
9150 sed 's/^/| /' conftest.$ac_ext >&5
9151
9152 ac_cv_lib_m_erf=no
9153 fi
9154 rm -f conftest.err conftest.$ac_objext \
9155       conftest$ac_exeext conftest.$ac_ext
9156 LIBS=$ac_check_lib_save_LIBS
9157 fi
9158 echo "$as_me:$LINENO: result: $ac_cv_lib_m_erf" >&5
9159 echo "${ECHO_T}$ac_cv_lib_m_erf" >&6
9160 if test $ac_cv_lib_m_erf = yes; then
9161
9162 cat >>confdefs.h <<\_ACEOF
9163 #define HAVE_ERF 1
9164 _ACEOF
9165
9166 fi
9167
9168 echo "$as_me:$LINENO: checking for erfc in -lm" >&5
9169 echo $ECHO_N "checking for erfc in -lm... $ECHO_C" >&6
9170 if test "${ac_cv_lib_m_erfc+set}" = set; then
9171   echo $ECHO_N "(cached) $ECHO_C" >&6
9172 else
9173   ac_check_lib_save_LIBS=$LIBS
9174 LIBS="-lm  $LIBS"
9175 if test x$gcc_no_link = xyes; then
9176   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9177 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9178    { (exit 1); exit 1; }; }
9179 fi
9180 cat >conftest.$ac_ext <<_ACEOF
9181 /* confdefs.h.  */
9182 _ACEOF
9183 cat confdefs.h >>conftest.$ac_ext
9184 cat >>conftest.$ac_ext <<_ACEOF
9185 /* end confdefs.h.  */
9186
9187 /* Override any gcc2 internal prototype to avoid an error.  */
9188 #ifdef __cplusplus
9189 extern "C"
9190 #endif
9191 /* We use char because int might match the return type of a gcc2
9192    builtin and then its argument prototype would still apply.  */
9193 char erfc ();
9194 int
9195 main ()
9196 {
9197 erfc ();
9198   ;
9199   return 0;
9200 }
9201 _ACEOF
9202 rm -f conftest.$ac_objext conftest$ac_exeext
9203 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9204   (eval $ac_link) 2>conftest.er1
9205   ac_status=$?
9206   grep -v '^ *+' conftest.er1 >conftest.err
9207   rm -f conftest.er1
9208   cat conftest.err >&5
9209   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9210   (exit $ac_status); } &&
9211          { ac_try='test -z "$ac_c_werror_flag"
9212                          || test ! -s conftest.err'
9213   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9214   (eval $ac_try) 2>&5
9215   ac_status=$?
9216   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9217   (exit $ac_status); }; } &&
9218          { ac_try='test -s conftest$ac_exeext'
9219   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9220   (eval $ac_try) 2>&5
9221   ac_status=$?
9222   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9223   (exit $ac_status); }; }; then
9224   ac_cv_lib_m_erfc=yes
9225 else
9226   echo "$as_me: failed program was:" >&5
9227 sed 's/^/| /' conftest.$ac_ext >&5
9228
9229 ac_cv_lib_m_erfc=no
9230 fi
9231 rm -f conftest.err conftest.$ac_objext \
9232       conftest$ac_exeext conftest.$ac_ext
9233 LIBS=$ac_check_lib_save_LIBS
9234 fi
9235 echo "$as_me:$LINENO: result: $ac_cv_lib_m_erfc" >&5
9236 echo "${ECHO_T}$ac_cv_lib_m_erfc" >&6
9237 if test $ac_cv_lib_m_erfc = yes; then
9238
9239 cat >>confdefs.h <<\_ACEOF
9240 #define HAVE_ERFC 1
9241 _ACEOF
9242
9243 fi
9244
9245 echo "$as_me:$LINENO: checking for erfcf in -lm" >&5
9246 echo $ECHO_N "checking for erfcf in -lm... $ECHO_C" >&6
9247 if test "${ac_cv_lib_m_erfcf+set}" = set; then
9248   echo $ECHO_N "(cached) $ECHO_C" >&6
9249 else
9250   ac_check_lib_save_LIBS=$LIBS
9251 LIBS="-lm  $LIBS"
9252 if test x$gcc_no_link = xyes; then
9253   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9254 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9255    { (exit 1); exit 1; }; }
9256 fi
9257 cat >conftest.$ac_ext <<_ACEOF
9258 /* confdefs.h.  */
9259 _ACEOF
9260 cat confdefs.h >>conftest.$ac_ext
9261 cat >>conftest.$ac_ext <<_ACEOF
9262 /* end confdefs.h.  */
9263
9264 /* Override any gcc2 internal prototype to avoid an error.  */
9265 #ifdef __cplusplus
9266 extern "C"
9267 #endif
9268 /* We use char because int might match the return type of a gcc2
9269    builtin and then its argument prototype would still apply.  */
9270 char erfcf ();
9271 int
9272 main ()
9273 {
9274 erfcf ();
9275   ;
9276   return 0;
9277 }
9278 _ACEOF
9279 rm -f conftest.$ac_objext conftest$ac_exeext
9280 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9281   (eval $ac_link) 2>conftest.er1
9282   ac_status=$?
9283   grep -v '^ *+' conftest.er1 >conftest.err
9284   rm -f conftest.er1
9285   cat conftest.err >&5
9286   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9287   (exit $ac_status); } &&
9288          { ac_try='test -z "$ac_c_werror_flag"
9289                          || test ! -s conftest.err'
9290   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9291   (eval $ac_try) 2>&5
9292   ac_status=$?
9293   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9294   (exit $ac_status); }; } &&
9295          { ac_try='test -s conftest$ac_exeext'
9296   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9297   (eval $ac_try) 2>&5
9298   ac_status=$?
9299   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9300   (exit $ac_status); }; }; then
9301   ac_cv_lib_m_erfcf=yes
9302 else
9303   echo "$as_me: failed program was:" >&5
9304 sed 's/^/| /' conftest.$ac_ext >&5
9305
9306 ac_cv_lib_m_erfcf=no
9307 fi
9308 rm -f conftest.err conftest.$ac_objext \
9309       conftest$ac_exeext conftest.$ac_ext
9310 LIBS=$ac_check_lib_save_LIBS
9311 fi
9312 echo "$as_me:$LINENO: result: $ac_cv_lib_m_erfcf" >&5
9313 echo "${ECHO_T}$ac_cv_lib_m_erfcf" >&6
9314 if test $ac_cv_lib_m_erfcf = yes; then
9315
9316 cat >>confdefs.h <<\_ACEOF
9317 #define HAVE_ERFCF 1
9318 _ACEOF
9319
9320 fi
9321
9322 echo "$as_me:$LINENO: checking for erff in -lm" >&5
9323 echo $ECHO_N "checking for erff in -lm... $ECHO_C" >&6
9324 if test "${ac_cv_lib_m_erff+set}" = set; then
9325   echo $ECHO_N "(cached) $ECHO_C" >&6
9326 else
9327   ac_check_lib_save_LIBS=$LIBS
9328 LIBS="-lm  $LIBS"
9329 if test x$gcc_no_link = xyes; then
9330   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9331 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9332    { (exit 1); exit 1; }; }
9333 fi
9334 cat >conftest.$ac_ext <<_ACEOF
9335 /* confdefs.h.  */
9336 _ACEOF
9337 cat confdefs.h >>conftest.$ac_ext
9338 cat >>conftest.$ac_ext <<_ACEOF
9339 /* end confdefs.h.  */
9340
9341 /* Override any gcc2 internal prototype to avoid an error.  */
9342 #ifdef __cplusplus
9343 extern "C"
9344 #endif
9345 /* We use char because int might match the return type of a gcc2
9346    builtin and then its argument prototype would still apply.  */
9347 char erff ();
9348 int
9349 main ()
9350 {
9351 erff ();
9352   ;
9353   return 0;
9354 }
9355 _ACEOF
9356 rm -f conftest.$ac_objext conftest$ac_exeext
9357 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9358   (eval $ac_link) 2>conftest.er1
9359   ac_status=$?
9360   grep -v '^ *+' conftest.er1 >conftest.err
9361   rm -f conftest.er1
9362   cat conftest.err >&5
9363   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9364   (exit $ac_status); } &&
9365          { ac_try='test -z "$ac_c_werror_flag"
9366                          || test ! -s conftest.err'
9367   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9368   (eval $ac_try) 2>&5
9369   ac_status=$?
9370   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9371   (exit $ac_status); }; } &&
9372          { ac_try='test -s conftest$ac_exeext'
9373   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9374   (eval $ac_try) 2>&5
9375   ac_status=$?
9376   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9377   (exit $ac_status); }; }; then
9378   ac_cv_lib_m_erff=yes
9379 else
9380   echo "$as_me: failed program was:" >&5
9381 sed 's/^/| /' conftest.$ac_ext >&5
9382
9383 ac_cv_lib_m_erff=no
9384 fi
9385 rm -f conftest.err conftest.$ac_objext \
9386       conftest$ac_exeext conftest.$ac_ext
9387 LIBS=$ac_check_lib_save_LIBS
9388 fi
9389 echo "$as_me:$LINENO: result: $ac_cv_lib_m_erff" >&5
9390 echo "${ECHO_T}$ac_cv_lib_m_erff" >&6
9391 if test $ac_cv_lib_m_erff = yes; then
9392
9393 cat >>confdefs.h <<\_ACEOF
9394 #define HAVE_ERFF 1
9395 _ACEOF
9396
9397 fi
9398
9399 echo "$as_me:$LINENO: checking for j0 in -lm" >&5
9400 echo $ECHO_N "checking for j0 in -lm... $ECHO_C" >&6
9401 if test "${ac_cv_lib_m_j0+set}" = set; then
9402   echo $ECHO_N "(cached) $ECHO_C" >&6
9403 else
9404   ac_check_lib_save_LIBS=$LIBS
9405 LIBS="-lm  $LIBS"
9406 if test x$gcc_no_link = xyes; then
9407   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9408 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9409    { (exit 1); exit 1; }; }
9410 fi
9411 cat >conftest.$ac_ext <<_ACEOF
9412 /* confdefs.h.  */
9413 _ACEOF
9414 cat confdefs.h >>conftest.$ac_ext
9415 cat >>conftest.$ac_ext <<_ACEOF
9416 /* end confdefs.h.  */
9417
9418 /* Override any gcc2 internal prototype to avoid an error.  */
9419 #ifdef __cplusplus
9420 extern "C"
9421 #endif
9422 /* We use char because int might match the return type of a gcc2
9423    builtin and then its argument prototype would still apply.  */
9424 char j0 ();
9425 int
9426 main ()
9427 {
9428 j0 ();
9429   ;
9430   return 0;
9431 }
9432 _ACEOF
9433 rm -f conftest.$ac_objext conftest$ac_exeext
9434 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9435   (eval $ac_link) 2>conftest.er1
9436   ac_status=$?
9437   grep -v '^ *+' conftest.er1 >conftest.err
9438   rm -f conftest.er1
9439   cat conftest.err >&5
9440   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9441   (exit $ac_status); } &&
9442          { ac_try='test -z "$ac_c_werror_flag"
9443                          || test ! -s conftest.err'
9444   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9445   (eval $ac_try) 2>&5
9446   ac_status=$?
9447   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9448   (exit $ac_status); }; } &&
9449          { ac_try='test -s conftest$ac_exeext'
9450   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9451   (eval $ac_try) 2>&5
9452   ac_status=$?
9453   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9454   (exit $ac_status); }; }; then
9455   ac_cv_lib_m_j0=yes
9456 else
9457   echo "$as_me: failed program was:" >&5
9458 sed 's/^/| /' conftest.$ac_ext >&5
9459
9460 ac_cv_lib_m_j0=no
9461 fi
9462 rm -f conftest.err conftest.$ac_objext \
9463       conftest$ac_exeext conftest.$ac_ext
9464 LIBS=$ac_check_lib_save_LIBS
9465 fi
9466 echo "$as_me:$LINENO: result: $ac_cv_lib_m_j0" >&5
9467 echo "${ECHO_T}$ac_cv_lib_m_j0" >&6
9468 if test $ac_cv_lib_m_j0 = yes; then
9469
9470 cat >>confdefs.h <<\_ACEOF
9471 #define HAVE_J0 1
9472 _ACEOF
9473
9474 fi
9475
9476 echo "$as_me:$LINENO: checking for j0f in -lm" >&5
9477 echo $ECHO_N "checking for j0f in -lm... $ECHO_C" >&6
9478 if test "${ac_cv_lib_m_j0f+set}" = set; then
9479   echo $ECHO_N "(cached) $ECHO_C" >&6
9480 else
9481   ac_check_lib_save_LIBS=$LIBS
9482 LIBS="-lm  $LIBS"
9483 if test x$gcc_no_link = xyes; then
9484   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9485 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9486    { (exit 1); exit 1; }; }
9487 fi
9488 cat >conftest.$ac_ext <<_ACEOF
9489 /* confdefs.h.  */
9490 _ACEOF
9491 cat confdefs.h >>conftest.$ac_ext
9492 cat >>conftest.$ac_ext <<_ACEOF
9493 /* end confdefs.h.  */
9494
9495 /* Override any gcc2 internal prototype to avoid an error.  */
9496 #ifdef __cplusplus
9497 extern "C"
9498 #endif
9499 /* We use char because int might match the return type of a gcc2
9500    builtin and then its argument prototype would still apply.  */
9501 char j0f ();
9502 int
9503 main ()
9504 {
9505 j0f ();
9506   ;
9507   return 0;
9508 }
9509 _ACEOF
9510 rm -f conftest.$ac_objext conftest$ac_exeext
9511 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9512   (eval $ac_link) 2>conftest.er1
9513   ac_status=$?
9514   grep -v '^ *+' conftest.er1 >conftest.err
9515   rm -f conftest.er1
9516   cat conftest.err >&5
9517   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9518   (exit $ac_status); } &&
9519          { ac_try='test -z "$ac_c_werror_flag"
9520                          || test ! -s conftest.err'
9521   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9522   (eval $ac_try) 2>&5
9523   ac_status=$?
9524   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9525   (exit $ac_status); }; } &&
9526          { ac_try='test -s conftest$ac_exeext'
9527   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9528   (eval $ac_try) 2>&5
9529   ac_status=$?
9530   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9531   (exit $ac_status); }; }; then
9532   ac_cv_lib_m_j0f=yes
9533 else
9534   echo "$as_me: failed program was:" >&5
9535 sed 's/^/| /' conftest.$ac_ext >&5
9536
9537 ac_cv_lib_m_j0f=no
9538 fi
9539 rm -f conftest.err conftest.$ac_objext \
9540       conftest$ac_exeext conftest.$ac_ext
9541 LIBS=$ac_check_lib_save_LIBS
9542 fi
9543 echo "$as_me:$LINENO: result: $ac_cv_lib_m_j0f" >&5
9544 echo "${ECHO_T}$ac_cv_lib_m_j0f" >&6
9545 if test $ac_cv_lib_m_j0f = yes; then
9546
9547 cat >>confdefs.h <<\_ACEOF
9548 #define HAVE_J0F 1
9549 _ACEOF
9550
9551 fi
9552
9553 echo "$as_me:$LINENO: checking for j1 in -lm" >&5
9554 echo $ECHO_N "checking for j1 in -lm... $ECHO_C" >&6
9555 if test "${ac_cv_lib_m_j1+set}" = set; then
9556   echo $ECHO_N "(cached) $ECHO_C" >&6
9557 else
9558   ac_check_lib_save_LIBS=$LIBS
9559 LIBS="-lm  $LIBS"
9560 if test x$gcc_no_link = xyes; then
9561   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9562 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9563    { (exit 1); exit 1; }; }
9564 fi
9565 cat >conftest.$ac_ext <<_ACEOF
9566 /* confdefs.h.  */
9567 _ACEOF
9568 cat confdefs.h >>conftest.$ac_ext
9569 cat >>conftest.$ac_ext <<_ACEOF
9570 /* end confdefs.h.  */
9571
9572 /* Override any gcc2 internal prototype to avoid an error.  */
9573 #ifdef __cplusplus
9574 extern "C"
9575 #endif
9576 /* We use char because int might match the return type of a gcc2
9577    builtin and then its argument prototype would still apply.  */
9578 char j1 ();
9579 int
9580 main ()
9581 {
9582 j1 ();
9583   ;
9584   return 0;
9585 }
9586 _ACEOF
9587 rm -f conftest.$ac_objext conftest$ac_exeext
9588 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9589   (eval $ac_link) 2>conftest.er1
9590   ac_status=$?
9591   grep -v '^ *+' conftest.er1 >conftest.err
9592   rm -f conftest.er1
9593   cat conftest.err >&5
9594   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9595   (exit $ac_status); } &&
9596          { ac_try='test -z "$ac_c_werror_flag"
9597                          || test ! -s conftest.err'
9598   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9599   (eval $ac_try) 2>&5
9600   ac_status=$?
9601   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9602   (exit $ac_status); }; } &&
9603          { ac_try='test -s conftest$ac_exeext'
9604   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9605   (eval $ac_try) 2>&5
9606   ac_status=$?
9607   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9608   (exit $ac_status); }; }; then
9609   ac_cv_lib_m_j1=yes
9610 else
9611   echo "$as_me: failed program was:" >&5
9612 sed 's/^/| /' conftest.$ac_ext >&5
9613
9614 ac_cv_lib_m_j1=no
9615 fi
9616 rm -f conftest.err conftest.$ac_objext \
9617       conftest$ac_exeext conftest.$ac_ext
9618 LIBS=$ac_check_lib_save_LIBS
9619 fi
9620 echo "$as_me:$LINENO: result: $ac_cv_lib_m_j1" >&5
9621 echo "${ECHO_T}$ac_cv_lib_m_j1" >&6
9622 if test $ac_cv_lib_m_j1 = yes; then
9623
9624 cat >>confdefs.h <<\_ACEOF
9625 #define HAVE_J1 1
9626 _ACEOF
9627
9628 fi
9629
9630 echo "$as_me:$LINENO: checking for j1f in -lm" >&5
9631 echo $ECHO_N "checking for j1f in -lm... $ECHO_C" >&6
9632 if test "${ac_cv_lib_m_j1f+set}" = set; then
9633   echo $ECHO_N "(cached) $ECHO_C" >&6
9634 else
9635   ac_check_lib_save_LIBS=$LIBS
9636 LIBS="-lm  $LIBS"
9637 if test x$gcc_no_link = xyes; then
9638   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9639 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9640    { (exit 1); exit 1; }; }
9641 fi
9642 cat >conftest.$ac_ext <<_ACEOF
9643 /* confdefs.h.  */
9644 _ACEOF
9645 cat confdefs.h >>conftest.$ac_ext
9646 cat >>conftest.$ac_ext <<_ACEOF
9647 /* end confdefs.h.  */
9648
9649 /* Override any gcc2 internal prototype to avoid an error.  */
9650 #ifdef __cplusplus
9651 extern "C"
9652 #endif
9653 /* We use char because int might match the return type of a gcc2
9654    builtin and then its argument prototype would still apply.  */
9655 char j1f ();
9656 int
9657 main ()
9658 {
9659 j1f ();
9660   ;
9661   return 0;
9662 }
9663 _ACEOF
9664 rm -f conftest.$ac_objext conftest$ac_exeext
9665 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9666   (eval $ac_link) 2>conftest.er1
9667   ac_status=$?
9668   grep -v '^ *+' conftest.er1 >conftest.err
9669   rm -f conftest.er1
9670   cat conftest.err >&5
9671   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9672   (exit $ac_status); } &&
9673          { ac_try='test -z "$ac_c_werror_flag"
9674                          || test ! -s conftest.err'
9675   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9676   (eval $ac_try) 2>&5
9677   ac_status=$?
9678   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9679   (exit $ac_status); }; } &&
9680          { ac_try='test -s conftest$ac_exeext'
9681   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9682   (eval $ac_try) 2>&5
9683   ac_status=$?
9684   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9685   (exit $ac_status); }; }; then
9686   ac_cv_lib_m_j1f=yes
9687 else
9688   echo "$as_me: failed program was:" >&5
9689 sed 's/^/| /' conftest.$ac_ext >&5
9690
9691 ac_cv_lib_m_j1f=no
9692 fi
9693 rm -f conftest.err conftest.$ac_objext \
9694       conftest$ac_exeext conftest.$ac_ext
9695 LIBS=$ac_check_lib_save_LIBS
9696 fi
9697 echo "$as_me:$LINENO: result: $ac_cv_lib_m_j1f" >&5
9698 echo "${ECHO_T}$ac_cv_lib_m_j1f" >&6
9699 if test $ac_cv_lib_m_j1f = yes; then
9700
9701 cat >>confdefs.h <<\_ACEOF
9702 #define HAVE_J1F 1
9703 _ACEOF
9704
9705 fi
9706
9707 echo "$as_me:$LINENO: checking for jn in -lm" >&5
9708 echo $ECHO_N "checking for jn in -lm... $ECHO_C" >&6
9709 if test "${ac_cv_lib_m_jn+set}" = set; then
9710   echo $ECHO_N "(cached) $ECHO_C" >&6
9711 else
9712   ac_check_lib_save_LIBS=$LIBS
9713 LIBS="-lm  $LIBS"
9714 if test x$gcc_no_link = xyes; then
9715   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9716 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9717    { (exit 1); exit 1; }; }
9718 fi
9719 cat >conftest.$ac_ext <<_ACEOF
9720 /* confdefs.h.  */
9721 _ACEOF
9722 cat confdefs.h >>conftest.$ac_ext
9723 cat >>conftest.$ac_ext <<_ACEOF
9724 /* end confdefs.h.  */
9725
9726 /* Override any gcc2 internal prototype to avoid an error.  */
9727 #ifdef __cplusplus
9728 extern "C"
9729 #endif
9730 /* We use char because int might match the return type of a gcc2
9731    builtin and then its argument prototype would still apply.  */
9732 char jn ();
9733 int
9734 main ()
9735 {
9736 jn ();
9737   ;
9738   return 0;
9739 }
9740 _ACEOF
9741 rm -f conftest.$ac_objext conftest$ac_exeext
9742 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9743   (eval $ac_link) 2>conftest.er1
9744   ac_status=$?
9745   grep -v '^ *+' conftest.er1 >conftest.err
9746   rm -f conftest.er1
9747   cat conftest.err >&5
9748   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9749   (exit $ac_status); } &&
9750          { ac_try='test -z "$ac_c_werror_flag"
9751                          || test ! -s conftest.err'
9752   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9753   (eval $ac_try) 2>&5
9754   ac_status=$?
9755   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9756   (exit $ac_status); }; } &&
9757          { ac_try='test -s conftest$ac_exeext'
9758   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9759   (eval $ac_try) 2>&5
9760   ac_status=$?
9761   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9762   (exit $ac_status); }; }; then
9763   ac_cv_lib_m_jn=yes
9764 else
9765   echo "$as_me: failed program was:" >&5
9766 sed 's/^/| /' conftest.$ac_ext >&5
9767
9768 ac_cv_lib_m_jn=no
9769 fi
9770 rm -f conftest.err conftest.$ac_objext \
9771       conftest$ac_exeext conftest.$ac_ext
9772 LIBS=$ac_check_lib_save_LIBS
9773 fi
9774 echo "$as_me:$LINENO: result: $ac_cv_lib_m_jn" >&5
9775 echo "${ECHO_T}$ac_cv_lib_m_jn" >&6
9776 if test $ac_cv_lib_m_jn = yes; then
9777
9778 cat >>confdefs.h <<\_ACEOF
9779 #define HAVE_JN 1
9780 _ACEOF
9781
9782 fi
9783
9784 echo "$as_me:$LINENO: checking for jnf in -lm" >&5
9785 echo $ECHO_N "checking for jnf in -lm... $ECHO_C" >&6
9786 if test "${ac_cv_lib_m_jnf+set}" = set; then
9787   echo $ECHO_N "(cached) $ECHO_C" >&6
9788 else
9789   ac_check_lib_save_LIBS=$LIBS
9790 LIBS="-lm  $LIBS"
9791 if test x$gcc_no_link = xyes; then
9792   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9793 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9794    { (exit 1); exit 1; }; }
9795 fi
9796 cat >conftest.$ac_ext <<_ACEOF
9797 /* confdefs.h.  */
9798 _ACEOF
9799 cat confdefs.h >>conftest.$ac_ext
9800 cat >>conftest.$ac_ext <<_ACEOF
9801 /* end confdefs.h.  */
9802
9803 /* Override any gcc2 internal prototype to avoid an error.  */
9804 #ifdef __cplusplus
9805 extern "C"
9806 #endif
9807 /* We use char because int might match the return type of a gcc2
9808    builtin and then its argument prototype would still apply.  */
9809 char jnf ();
9810 int
9811 main ()
9812 {
9813 jnf ();
9814   ;
9815   return 0;
9816 }
9817 _ACEOF
9818 rm -f conftest.$ac_objext conftest$ac_exeext
9819 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9820   (eval $ac_link) 2>conftest.er1
9821   ac_status=$?
9822   grep -v '^ *+' conftest.er1 >conftest.err
9823   rm -f conftest.er1
9824   cat conftest.err >&5
9825   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9826   (exit $ac_status); } &&
9827          { ac_try='test -z "$ac_c_werror_flag"
9828                          || test ! -s conftest.err'
9829   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9830   (eval $ac_try) 2>&5
9831   ac_status=$?
9832   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9833   (exit $ac_status); }; } &&
9834          { ac_try='test -s conftest$ac_exeext'
9835   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9836   (eval $ac_try) 2>&5
9837   ac_status=$?
9838   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9839   (exit $ac_status); }; }; then
9840   ac_cv_lib_m_jnf=yes
9841 else
9842   echo "$as_me: failed program was:" >&5
9843 sed 's/^/| /' conftest.$ac_ext >&5
9844
9845 ac_cv_lib_m_jnf=no
9846 fi
9847 rm -f conftest.err conftest.$ac_objext \
9848       conftest$ac_exeext conftest.$ac_ext
9849 LIBS=$ac_check_lib_save_LIBS
9850 fi
9851 echo "$as_me:$LINENO: result: $ac_cv_lib_m_jnf" >&5
9852 echo "${ECHO_T}$ac_cv_lib_m_jnf" >&6
9853 if test $ac_cv_lib_m_jnf = yes; then
9854
9855 cat >>confdefs.h <<\_ACEOF
9856 #define HAVE_JNF 1
9857 _ACEOF
9858
9859 fi
9860
9861 echo "$as_me:$LINENO: checking for y0 in -lm" >&5
9862 echo $ECHO_N "checking for y0 in -lm... $ECHO_C" >&6
9863 if test "${ac_cv_lib_m_y0+set}" = set; then
9864   echo $ECHO_N "(cached) $ECHO_C" >&6
9865 else
9866   ac_check_lib_save_LIBS=$LIBS
9867 LIBS="-lm  $LIBS"
9868 if test x$gcc_no_link = xyes; then
9869   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9870 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9871    { (exit 1); exit 1; }; }
9872 fi
9873 cat >conftest.$ac_ext <<_ACEOF
9874 /* confdefs.h.  */
9875 _ACEOF
9876 cat confdefs.h >>conftest.$ac_ext
9877 cat >>conftest.$ac_ext <<_ACEOF
9878 /* end confdefs.h.  */
9879
9880 /* Override any gcc2 internal prototype to avoid an error.  */
9881 #ifdef __cplusplus
9882 extern "C"
9883 #endif
9884 /* We use char because int might match the return type of a gcc2
9885    builtin and then its argument prototype would still apply.  */
9886 char y0 ();
9887 int
9888 main ()
9889 {
9890 y0 ();
9891   ;
9892   return 0;
9893 }
9894 _ACEOF
9895 rm -f conftest.$ac_objext conftest$ac_exeext
9896 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9897   (eval $ac_link) 2>conftest.er1
9898   ac_status=$?
9899   grep -v '^ *+' conftest.er1 >conftest.err
9900   rm -f conftest.er1
9901   cat conftest.err >&5
9902   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9903   (exit $ac_status); } &&
9904          { ac_try='test -z "$ac_c_werror_flag"
9905                          || test ! -s conftest.err'
9906   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9907   (eval $ac_try) 2>&5
9908   ac_status=$?
9909   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9910   (exit $ac_status); }; } &&
9911          { ac_try='test -s conftest$ac_exeext'
9912   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9913   (eval $ac_try) 2>&5
9914   ac_status=$?
9915   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9916   (exit $ac_status); }; }; then
9917   ac_cv_lib_m_y0=yes
9918 else
9919   echo "$as_me: failed program was:" >&5
9920 sed 's/^/| /' conftest.$ac_ext >&5
9921
9922 ac_cv_lib_m_y0=no
9923 fi
9924 rm -f conftest.err conftest.$ac_objext \
9925       conftest$ac_exeext conftest.$ac_ext
9926 LIBS=$ac_check_lib_save_LIBS
9927 fi
9928 echo "$as_me:$LINENO: result: $ac_cv_lib_m_y0" >&5
9929 echo "${ECHO_T}$ac_cv_lib_m_y0" >&6
9930 if test $ac_cv_lib_m_y0 = yes; then
9931
9932 cat >>confdefs.h <<\_ACEOF
9933 #define HAVE_Y0 1
9934 _ACEOF
9935
9936 fi
9937
9938 echo "$as_me:$LINENO: checking for y0f in -lm" >&5
9939 echo $ECHO_N "checking for y0f in -lm... $ECHO_C" >&6
9940 if test "${ac_cv_lib_m_y0f+set}" = set; then
9941   echo $ECHO_N "(cached) $ECHO_C" >&6
9942 else
9943   ac_check_lib_save_LIBS=$LIBS
9944 LIBS="-lm  $LIBS"
9945 if test x$gcc_no_link = xyes; then
9946   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9947 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9948    { (exit 1); exit 1; }; }
9949 fi
9950 cat >conftest.$ac_ext <<_ACEOF
9951 /* confdefs.h.  */
9952 _ACEOF
9953 cat confdefs.h >>conftest.$ac_ext
9954 cat >>conftest.$ac_ext <<_ACEOF
9955 /* end confdefs.h.  */
9956
9957 /* Override any gcc2 internal prototype to avoid an error.  */
9958 #ifdef __cplusplus
9959 extern "C"
9960 #endif
9961 /* We use char because int might match the return type of a gcc2
9962    builtin and then its argument prototype would still apply.  */
9963 char y0f ();
9964 int
9965 main ()
9966 {
9967 y0f ();
9968   ;
9969   return 0;
9970 }
9971 _ACEOF
9972 rm -f conftest.$ac_objext conftest$ac_exeext
9973 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9974   (eval $ac_link) 2>conftest.er1
9975   ac_status=$?
9976   grep -v '^ *+' conftest.er1 >conftest.err
9977   rm -f conftest.er1
9978   cat conftest.err >&5
9979   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9980   (exit $ac_status); } &&
9981          { ac_try='test -z "$ac_c_werror_flag"
9982                          || test ! -s conftest.err'
9983   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9984   (eval $ac_try) 2>&5
9985   ac_status=$?
9986   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9987   (exit $ac_status); }; } &&
9988          { ac_try='test -s conftest$ac_exeext'
9989   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9990   (eval $ac_try) 2>&5
9991   ac_status=$?
9992   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9993   (exit $ac_status); }; }; then
9994   ac_cv_lib_m_y0f=yes
9995 else
9996   echo "$as_me: failed program was:" >&5
9997 sed 's/^/| /' conftest.$ac_ext >&5
9998
9999 ac_cv_lib_m_y0f=no
10000 fi
10001 rm -f conftest.err conftest.$ac_objext \
10002       conftest$ac_exeext conftest.$ac_ext
10003 LIBS=$ac_check_lib_save_LIBS
10004 fi
10005 echo "$as_me:$LINENO: result: $ac_cv_lib_m_y0f" >&5
10006 echo "${ECHO_T}$ac_cv_lib_m_y0f" >&6
10007 if test $ac_cv_lib_m_y0f = yes; then
10008
10009 cat >>confdefs.h <<\_ACEOF
10010 #define HAVE_Y0F 1
10011 _ACEOF
10012
10013 fi
10014
10015 echo "$as_me:$LINENO: checking for y1 in -lm" >&5
10016 echo $ECHO_N "checking for y1 in -lm... $ECHO_C" >&6
10017 if test "${ac_cv_lib_m_y1+set}" = set; then
10018   echo $ECHO_N "(cached) $ECHO_C" >&6
10019 else
10020   ac_check_lib_save_LIBS=$LIBS
10021 LIBS="-lm  $LIBS"
10022 if test x$gcc_no_link = xyes; then
10023   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10024 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10025    { (exit 1); exit 1; }; }
10026 fi
10027 cat >conftest.$ac_ext <<_ACEOF
10028 /* confdefs.h.  */
10029 _ACEOF
10030 cat confdefs.h >>conftest.$ac_ext
10031 cat >>conftest.$ac_ext <<_ACEOF
10032 /* end confdefs.h.  */
10033
10034 /* Override any gcc2 internal prototype to avoid an error.  */
10035 #ifdef __cplusplus
10036 extern "C"
10037 #endif
10038 /* We use char because int might match the return type of a gcc2
10039    builtin and then its argument prototype would still apply.  */
10040 char y1 ();
10041 int
10042 main ()
10043 {
10044 y1 ();
10045   ;
10046   return 0;
10047 }
10048 _ACEOF
10049 rm -f conftest.$ac_objext conftest$ac_exeext
10050 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10051   (eval $ac_link) 2>conftest.er1
10052   ac_status=$?
10053   grep -v '^ *+' conftest.er1 >conftest.err
10054   rm -f conftest.er1
10055   cat conftest.err >&5
10056   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10057   (exit $ac_status); } &&
10058          { ac_try='test -z "$ac_c_werror_flag"
10059                          || test ! -s conftest.err'
10060   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10061   (eval $ac_try) 2>&5
10062   ac_status=$?
10063   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10064   (exit $ac_status); }; } &&
10065          { ac_try='test -s conftest$ac_exeext'
10066   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10067   (eval $ac_try) 2>&5
10068   ac_status=$?
10069   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10070   (exit $ac_status); }; }; then
10071   ac_cv_lib_m_y1=yes
10072 else
10073   echo "$as_me: failed program was:" >&5
10074 sed 's/^/| /' conftest.$ac_ext >&5
10075
10076 ac_cv_lib_m_y1=no
10077 fi
10078 rm -f conftest.err conftest.$ac_objext \
10079       conftest$ac_exeext conftest.$ac_ext
10080 LIBS=$ac_check_lib_save_LIBS
10081 fi
10082 echo "$as_me:$LINENO: result: $ac_cv_lib_m_y1" >&5
10083 echo "${ECHO_T}$ac_cv_lib_m_y1" >&6
10084 if test $ac_cv_lib_m_y1 = yes; then
10085
10086 cat >>confdefs.h <<\_ACEOF
10087 #define HAVE_Y1 1
10088 _ACEOF
10089
10090 fi
10091
10092 echo "$as_me:$LINENO: checking for y1f in -lm" >&5
10093 echo $ECHO_N "checking for y1f in -lm... $ECHO_C" >&6
10094 if test "${ac_cv_lib_m_y1f+set}" = set; then
10095   echo $ECHO_N "(cached) $ECHO_C" >&6
10096 else
10097   ac_check_lib_save_LIBS=$LIBS
10098 LIBS="-lm  $LIBS"
10099 if test x$gcc_no_link = xyes; then
10100   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10101 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10102    { (exit 1); exit 1; }; }
10103 fi
10104 cat >conftest.$ac_ext <<_ACEOF
10105 /* confdefs.h.  */
10106 _ACEOF
10107 cat confdefs.h >>conftest.$ac_ext
10108 cat >>conftest.$ac_ext <<_ACEOF
10109 /* end confdefs.h.  */
10110
10111 /* Override any gcc2 internal prototype to avoid an error.  */
10112 #ifdef __cplusplus
10113 extern "C"
10114 #endif
10115 /* We use char because int might match the return type of a gcc2
10116    builtin and then its argument prototype would still apply.  */
10117 char y1f ();
10118 int
10119 main ()
10120 {
10121 y1f ();
10122   ;
10123   return 0;
10124 }
10125 _ACEOF
10126 rm -f conftest.$ac_objext conftest$ac_exeext
10127 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10128   (eval $ac_link) 2>conftest.er1
10129   ac_status=$?
10130   grep -v '^ *+' conftest.er1 >conftest.err
10131   rm -f conftest.er1
10132   cat conftest.err >&5
10133   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10134   (exit $ac_status); } &&
10135          { ac_try='test -z "$ac_c_werror_flag"
10136                          || test ! -s conftest.err'
10137   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10138   (eval $ac_try) 2>&5
10139   ac_status=$?
10140   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10141   (exit $ac_status); }; } &&
10142          { ac_try='test -s conftest$ac_exeext'
10143   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10144   (eval $ac_try) 2>&5
10145   ac_status=$?
10146   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10147   (exit $ac_status); }; }; then
10148   ac_cv_lib_m_y1f=yes
10149 else
10150   echo "$as_me: failed program was:" >&5
10151 sed 's/^/| /' conftest.$ac_ext >&5
10152
10153 ac_cv_lib_m_y1f=no
10154 fi
10155 rm -f conftest.err conftest.$ac_objext \
10156       conftest$ac_exeext conftest.$ac_ext
10157 LIBS=$ac_check_lib_save_LIBS
10158 fi
10159 echo "$as_me:$LINENO: result: $ac_cv_lib_m_y1f" >&5
10160 echo "${ECHO_T}$ac_cv_lib_m_y1f" >&6
10161 if test $ac_cv_lib_m_y1f = yes; then
10162
10163 cat >>confdefs.h <<\_ACEOF
10164 #define HAVE_Y1F 1
10165 _ACEOF
10166
10167 fi
10168
10169 echo "$as_me:$LINENO: checking for yn in -lm" >&5
10170 echo $ECHO_N "checking for yn in -lm... $ECHO_C" >&6
10171 if test "${ac_cv_lib_m_yn+set}" = set; then
10172   echo $ECHO_N "(cached) $ECHO_C" >&6
10173 else
10174   ac_check_lib_save_LIBS=$LIBS
10175 LIBS="-lm  $LIBS"
10176 if test x$gcc_no_link = xyes; then
10177   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10178 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10179    { (exit 1); exit 1; }; }
10180 fi
10181 cat >conftest.$ac_ext <<_ACEOF
10182 /* confdefs.h.  */
10183 _ACEOF
10184 cat confdefs.h >>conftest.$ac_ext
10185 cat >>conftest.$ac_ext <<_ACEOF
10186 /* end confdefs.h.  */
10187
10188 /* Override any gcc2 internal prototype to avoid an error.  */
10189 #ifdef __cplusplus
10190 extern "C"
10191 #endif
10192 /* We use char because int might match the return type of a gcc2
10193    builtin and then its argument prototype would still apply.  */
10194 char yn ();
10195 int
10196 main ()
10197 {
10198 yn ();
10199   ;
10200   return 0;
10201 }
10202 _ACEOF
10203 rm -f conftest.$ac_objext conftest$ac_exeext
10204 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10205   (eval $ac_link) 2>conftest.er1
10206   ac_status=$?
10207   grep -v '^ *+' conftest.er1 >conftest.err
10208   rm -f conftest.er1
10209   cat conftest.err >&5
10210   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10211   (exit $ac_status); } &&
10212          { ac_try='test -z "$ac_c_werror_flag"
10213                          || test ! -s conftest.err'
10214   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10215   (eval $ac_try) 2>&5
10216   ac_status=$?
10217   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10218   (exit $ac_status); }; } &&
10219          { ac_try='test -s conftest$ac_exeext'
10220   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10221   (eval $ac_try) 2>&5
10222   ac_status=$?
10223   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10224   (exit $ac_status); }; }; then
10225   ac_cv_lib_m_yn=yes
10226 else
10227   echo "$as_me: failed program was:" >&5
10228 sed 's/^/| /' conftest.$ac_ext >&5
10229
10230 ac_cv_lib_m_yn=no
10231 fi
10232 rm -f conftest.err conftest.$ac_objext \
10233       conftest$ac_exeext conftest.$ac_ext
10234 LIBS=$ac_check_lib_save_LIBS
10235 fi
10236 echo "$as_me:$LINENO: result: $ac_cv_lib_m_yn" >&5
10237 echo "${ECHO_T}$ac_cv_lib_m_yn" >&6
10238 if test $ac_cv_lib_m_yn = yes; then
10239
10240 cat >>confdefs.h <<\_ACEOF
10241 #define HAVE_YN 1
10242 _ACEOF
10243
10244 fi
10245
10246 echo "$as_me:$LINENO: checking for ynf in -lm" >&5
10247 echo $ECHO_N "checking for ynf in -lm... $ECHO_C" >&6
10248 if test "${ac_cv_lib_m_ynf+set}" = set; then
10249   echo $ECHO_N "(cached) $ECHO_C" >&6
10250 else
10251   ac_check_lib_save_LIBS=$LIBS
10252 LIBS="-lm  $LIBS"
10253 if test x$gcc_no_link = xyes; then
10254   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10255 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10256    { (exit 1); exit 1; }; }
10257 fi
10258 cat >conftest.$ac_ext <<_ACEOF
10259 /* confdefs.h.  */
10260 _ACEOF
10261 cat confdefs.h >>conftest.$ac_ext
10262 cat >>conftest.$ac_ext <<_ACEOF
10263 /* end confdefs.h.  */
10264
10265 /* Override any gcc2 internal prototype to avoid an error.  */
10266 #ifdef __cplusplus
10267 extern "C"
10268 #endif
10269 /* We use char because int might match the return type of a gcc2
10270    builtin and then its argument prototype would still apply.  */
10271 char ynf ();
10272 int
10273 main ()
10274 {
10275 ynf ();
10276   ;
10277   return 0;
10278 }
10279 _ACEOF
10280 rm -f conftest.$ac_objext conftest$ac_exeext
10281 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10282   (eval $ac_link) 2>conftest.er1
10283   ac_status=$?
10284   grep -v '^ *+' conftest.er1 >conftest.err
10285   rm -f conftest.er1
10286   cat conftest.err >&5
10287   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10288   (exit $ac_status); } &&
10289          { ac_try='test -z "$ac_c_werror_flag"
10290                          || test ! -s conftest.err'
10291   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10292   (eval $ac_try) 2>&5
10293   ac_status=$?
10294   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10295   (exit $ac_status); }; } &&
10296          { ac_try='test -s conftest$ac_exeext'
10297   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10298   (eval $ac_try) 2>&5
10299   ac_status=$?
10300   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10301   (exit $ac_status); }; }; then
10302   ac_cv_lib_m_ynf=yes
10303 else
10304   echo "$as_me: failed program was:" >&5
10305 sed 's/^/| /' conftest.$ac_ext >&5
10306
10307 ac_cv_lib_m_ynf=no
10308 fi
10309 rm -f conftest.err conftest.$ac_objext \
10310       conftest$ac_exeext conftest.$ac_ext
10311 LIBS=$ac_check_lib_save_LIBS
10312 fi
10313 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ynf" >&5
10314 echo "${ECHO_T}$ac_cv_lib_m_ynf" >&6
10315 if test $ac_cv_lib_m_ynf = yes; then
10316
10317 cat >>confdefs.h <<\_ACEOF
10318 #define HAVE_YNF 1
10319 _ACEOF
10320
10321 fi
10322
10323
10324 # Let the user override this
10325 # Check whether --enable-cmath or --disable-cmath was given.
10326 if test "${enable_cmath+set}" = set; then
10327   enableval="$enable_cmath"
10328   need_math=$enableval
10329 fi;
10330 if test "$need_math" = "yes"; then
10331         { echo "$as_me:$LINENO: Including complex math functions in libgfor" >&5
10332 echo "$as_me: Including complex math functions in libgfor" >&6;};
10333   extra_math_obj='$(gfor_cmath_obj)'
10334 fi
10335
10336 MATH_OBJ="$extra_math_obj"
10337
10338
10339 # The standard autoconf HAVE_STRUCT_TIMEZONE doesn't actually check
10340 # for struct timezone, as you might think.  We also need to check how
10341 # to call gettimeofday if we have it.
10342 echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
10343 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
10344 if test "${ac_cv_header_time+set}" = set; then
10345   echo $ECHO_N "(cached) $ECHO_C" >&6
10346 else
10347   cat >conftest.$ac_ext <<_ACEOF
10348 /* confdefs.h.  */
10349 _ACEOF
10350 cat confdefs.h >>conftest.$ac_ext
10351 cat >>conftest.$ac_ext <<_ACEOF
10352 /* end confdefs.h.  */
10353 #include <sys/types.h>
10354 #include <sys/time.h>
10355 #include <time.h>
10356
10357 int
10358 main ()
10359 {
10360 if ((struct tm *) 0)
10361 return 0;
10362   ;
10363   return 0;
10364 }
10365 _ACEOF
10366 rm -f conftest.$ac_objext
10367 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10368   (eval $ac_compile) 2>conftest.er1
10369   ac_status=$?
10370   grep -v '^ *+' conftest.er1 >conftest.err
10371   rm -f conftest.er1
10372   cat conftest.err >&5
10373   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10374   (exit $ac_status); } &&
10375          { ac_try='test -z "$ac_c_werror_flag"
10376                          || test ! -s conftest.err'
10377   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10378   (eval $ac_try) 2>&5
10379   ac_status=$?
10380   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10381   (exit $ac_status); }; } &&
10382          { ac_try='test -s conftest.$ac_objext'
10383   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10384   (eval $ac_try) 2>&5
10385   ac_status=$?
10386   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10387   (exit $ac_status); }; }; then
10388   ac_cv_header_time=yes
10389 else
10390   echo "$as_me: failed program was:" >&5
10391 sed 's/^/| /' conftest.$ac_ext >&5
10392
10393 ac_cv_header_time=no
10394 fi
10395 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10396 fi
10397 echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
10398 echo "${ECHO_T}$ac_cv_header_time" >&6
10399 if test $ac_cv_header_time = yes; then
10400
10401 cat >>confdefs.h <<\_ACEOF
10402 #define TIME_WITH_SYS_TIME 1
10403 _ACEOF
10404
10405 fi
10406
10407
10408
10409 for ac_func in gettimeofday
10410 do
10411 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10412 echo "$as_me:$LINENO: checking for $ac_func" >&5
10413 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10414 if eval "test \"\${$as_ac_var+set}\" = set"; then
10415   echo $ECHO_N "(cached) $ECHO_C" >&6
10416 else
10417   if test x$gcc_no_link = xyes; then
10418   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10419 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10420    { (exit 1); exit 1; }; }
10421 fi
10422 cat >conftest.$ac_ext <<_ACEOF
10423 /* confdefs.h.  */
10424 _ACEOF
10425 cat confdefs.h >>conftest.$ac_ext
10426 cat >>conftest.$ac_ext <<_ACEOF
10427 /* end confdefs.h.  */
10428 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10429    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
10430 #define $ac_func innocuous_$ac_func
10431
10432 /* System header to define __stub macros and hopefully few prototypes,
10433     which can conflict with char $ac_func (); below.
10434     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10435     <limits.h> exists even on freestanding compilers.  */
10436
10437 #ifdef __STDC__
10438 # include <limits.h>
10439 #else
10440 # include <assert.h>
10441 #endif
10442
10443 #undef $ac_func
10444
10445 /* Override any gcc2 internal prototype to avoid an error.  */
10446 #ifdef __cplusplus
10447 extern "C"
10448 {
10449 #endif
10450 /* We use char because int might match the return type of a gcc2
10451    builtin and then its argument prototype would still apply.  */
10452 char $ac_func ();
10453 /* The GNU C library defines this for functions which it implements
10454     to always fail with ENOSYS.  Some functions are actually named
10455     something starting with __ and the normal name is an alias.  */
10456 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10457 choke me
10458 #else
10459 char (*f) () = $ac_func;
10460 #endif
10461 #ifdef __cplusplus
10462 }
10463 #endif
10464
10465 int
10466 main ()
10467 {
10468 return f != $ac_func;
10469   ;
10470   return 0;
10471 }
10472 _ACEOF
10473 rm -f conftest.$ac_objext conftest$ac_exeext
10474 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10475   (eval $ac_link) 2>conftest.er1
10476   ac_status=$?
10477   grep -v '^ *+' conftest.er1 >conftest.err
10478   rm -f conftest.er1
10479   cat conftest.err >&5
10480   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10481   (exit $ac_status); } &&
10482          { ac_try='test -z "$ac_c_werror_flag"
10483                          || test ! -s conftest.err'
10484   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10485   (eval $ac_try) 2>&5
10486   ac_status=$?
10487   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10488   (exit $ac_status); }; } &&
10489          { ac_try='test -s conftest$ac_exeext'
10490   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10491   (eval $ac_try) 2>&5
10492   ac_status=$?
10493   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10494   (exit $ac_status); }; }; then
10495   eval "$as_ac_var=yes"
10496 else
10497   echo "$as_me: failed program was:" >&5
10498 sed 's/^/| /' conftest.$ac_ext >&5
10499
10500 eval "$as_ac_var=no"
10501 fi
10502 rm -f conftest.err conftest.$ac_objext \
10503       conftest$ac_exeext conftest.$ac_ext
10504 fi
10505 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10506 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10507 if test `eval echo '${'$as_ac_var'}'` = yes; then
10508   cat >>confdefs.h <<_ACEOF
10509 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10510 _ACEOF
10511
10512 fi
10513 done
10514
10515   if test "$ac_cv_func_gettimeofday" = yes; then
10516     echo "$as_me:$LINENO: checking for struct timezone" >&5
10517 echo $ECHO_N "checking for struct timezone... $ECHO_C" >&6
10518 if test "${gfor_cv_struct_timezone+set}" = set; then
10519   echo $ECHO_N "(cached) $ECHO_C" >&6
10520 else
10521   cat >conftest.$ac_ext <<_ACEOF
10522 /* confdefs.h.  */
10523 _ACEOF
10524 cat confdefs.h >>conftest.$ac_ext
10525 cat >>conftest.$ac_ext <<_ACEOF
10526 /* end confdefs.h.  */
10527 #include <sys/time.h>
10528 int
10529 main ()
10530 {
10531 struct timezone tz;
10532   ;
10533   return 0;
10534 }
10535 _ACEOF
10536 rm -f conftest.$ac_objext
10537 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10538   (eval $ac_compile) 2>conftest.er1
10539   ac_status=$?
10540   grep -v '^ *+' conftest.er1 >conftest.err
10541   rm -f conftest.er1
10542   cat conftest.err >&5
10543   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10544   (exit $ac_status); } &&
10545          { ac_try='test -z "$ac_c_werror_flag"
10546                          || test ! -s conftest.err'
10547   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10548   (eval $ac_try) 2>&5
10549   ac_status=$?
10550   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10551   (exit $ac_status); }; } &&
10552          { ac_try='test -s conftest.$ac_objext'
10553   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10554   (eval $ac_try) 2>&5
10555   ac_status=$?
10556   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10557   (exit $ac_status); }; }; then
10558   gfor_cv_struct_timezone=yes
10559 else
10560   echo "$as_me: failed program was:" >&5
10561 sed 's/^/| /' conftest.$ac_ext >&5
10562
10563 gfor_cv_struct_timezone=no
10564 fi
10565 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10566 fi
10567 echo "$as_me:$LINENO: result: $gfor_cv_struct_timezone" >&5
10568 echo "${ECHO_T}$gfor_cv_struct_timezone" >&6
10569     if test $gfor_cv_struct_timezone = yes; then
10570                   if test "$cross_compiling" = yes; then
10571   gfor_have_struct_timezone=yes
10572 else
10573   cat >conftest.$ac_ext <<_ACEOF
10574 /* confdefs.h.  */
10575 _ACEOF
10576 cat confdefs.h >>conftest.$ac_ext
10577 cat >>conftest.$ac_ext <<_ACEOF
10578 /* end confdefs.h.  */
10579
10580 #ifdef TIME_WITH_SYS_TIME
10581 #include <sys/time.h>
10582 #include <time.h>
10583 #else
10584 #ifdef HAVE_SYS_TIME_H
10585 #include <sys/time.h>
10586 #else
10587 #include <time.h>
10588 #endif
10589 #endif
10590 main ()
10591 {
10592   struct timeval time;
10593   struct timezone dummy;
10594   if (gettimeofday (&time, &dummy))
10595     exit (1);
10596   else
10597     exit (0);
10598 }
10599 _ACEOF
10600 rm -f conftest$ac_exeext
10601 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10602   (eval $ac_link) 2>&5
10603   ac_status=$?
10604   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10605   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
10606   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10607   (eval $ac_try) 2>&5
10608   ac_status=$?
10609   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10610   (exit $ac_status); }; }; then
10611   gfor_have_struct_timezone=yes
10612 else
10613   echo "$as_me: program exited with status $ac_status" >&5
10614 echo "$as_me: failed program was:" >&5
10615 sed 's/^/| /' conftest.$ac_ext >&5
10616
10617 ( exit $ac_status )
10618 gfor_have_struct_timezone=no
10619 fi
10620 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
10621 fi
10622       if test $gfor_have_struct_timezone = yes; then
10623
10624 cat >>confdefs.h <<\_ACEOF
10625 #define HAVE_TIMEZONE 1
10626 _ACEOF
10627
10628       fi
10629     fi
10630
10631     echo "$as_me:$LINENO: checking whether gettimeofday can accept two arguments" >&5
10632 echo $ECHO_N "checking whether gettimeofday can accept two arguments... $ECHO_C" >&6
10633 if test "${emacs_cv_gettimeofday_two_arguments+set}" = set; then
10634   echo $ECHO_N "(cached) $ECHO_C" >&6
10635 else
10636   if test x$gcc_no_link = xyes; then
10637   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10638 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10639    { (exit 1); exit 1; }; }
10640 fi
10641 cat >conftest.$ac_ext <<_ACEOF
10642 /* confdefs.h.  */
10643 _ACEOF
10644 cat confdefs.h >>conftest.$ac_ext
10645 cat >>conftest.$ac_ext <<_ACEOF
10646 /* end confdefs.h.  */
10647
10648 #ifdef TIME_WITH_SYS_TIME
10649 #include <sys/time.h>
10650 #include <time.h>
10651 #else
10652 #ifdef HAVE_SYS_TIME_H
10653 #include <sys/time.h>
10654 #else
10655 #include <time.h>
10656 #endif
10657 #endif
10658
10659 int
10660 main ()
10661 {
10662
10663       struct timeval time;
10664 #ifdef HAVE_TIMEZONE
10665       struct timezone dummy;
10666 #define DUMMY &dummy
10667 #else
10668 #define DUMMY NULL
10669 #endif
10670       gettimeofday (&time, DUMMY);
10671   ;
10672   return 0;
10673 }
10674 _ACEOF
10675 rm -f conftest.$ac_objext conftest$ac_exeext
10676 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10677   (eval $ac_link) 2>conftest.er1
10678   ac_status=$?
10679   grep -v '^ *+' conftest.er1 >conftest.err
10680   rm -f conftest.er1
10681   cat conftest.err >&5
10682   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10683   (exit $ac_status); } &&
10684          { ac_try='test -z "$ac_c_werror_flag"
10685                          || test ! -s conftest.err'
10686   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10687   (eval $ac_try) 2>&5
10688   ac_status=$?
10689   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10690   (exit $ac_status); }; } &&
10691          { ac_try='test -s conftest$ac_exeext'
10692   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10693   (eval $ac_try) 2>&5
10694   ac_status=$?
10695   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10696   (exit $ac_status); }; }; then
10697   emacs_cv_gettimeofday_two_arguments=yes
10698 else
10699   echo "$as_me: failed program was:" >&5
10700 sed 's/^/| /' conftest.$ac_ext >&5
10701
10702 emacs_cv_gettimeofday_two_arguments=no
10703 fi
10704 rm -f conftest.err conftest.$ac_objext \
10705       conftest$ac_exeext conftest.$ac_ext
10706 fi
10707 echo "$as_me:$LINENO: result: $emacs_cv_gettimeofday_two_arguments" >&5
10708 echo "${ECHO_T}$emacs_cv_gettimeofday_two_arguments" >&6
10709     if test $emacs_cv_gettimeofday_two_arguments = no; then
10710
10711 cat >>confdefs.h <<\_ACEOF
10712 #define GETTIMEOFDAY_ONE_ARGUMENT 1
10713 _ACEOF
10714
10715     fi
10716   fi
10717
10718 cat >confcache <<\_ACEOF
10719 # This file is a shell script that caches the results of configure
10720 # tests run on this system so they can be shared between configure
10721 # scripts and configure runs, see configure's option --config-cache.
10722 # It is not useful on other systems.  If it contains results you don't
10723 # want to keep, you may remove or edit it.
10724 #
10725 # config.status only pays attention to the cache file if you give it
10726 # the --recheck option to rerun configure.
10727 #
10728 # `ac_cv_env_foo' variables (set or unset) will be overridden when
10729 # loading this file, other *unset* `ac_cv_foo' will be assigned the
10730 # following values.
10731
10732 _ACEOF
10733
10734 # The following way of writing the cache mishandles newlines in values,
10735 # but we know of no workaround that is simple, portable, and efficient.
10736 # So, don't put newlines in cache variables' values.
10737 # Ultrix sh set writes to stderr and can't be redirected directly,
10738 # and sets the high bit in the cache file unless we assign to the vars.
10739 {
10740   (set) 2>&1 |
10741     case `(ac_space=' '; set | grep ac_space) 2>&1` in
10742     *ac_space=\ *)
10743       # `set' does not quote correctly, so add quotes (double-quote
10744       # substitution turns \\\\ into \\, and sed turns \\ into \).
10745       sed -n \
10746         "s/'/'\\\\''/g;
10747           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
10748       ;;
10749     *)
10750       # `set' quotes correctly as required by POSIX, so do not add quotes.
10751       sed -n \
10752         "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
10753       ;;
10754     esac;
10755 } |
10756   sed '
10757      t clear
10758      : clear
10759      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
10760      t end
10761      /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
10762      : end' >>confcache
10763 if diff $cache_file confcache >/dev/null 2>&1; then :; else
10764   if test -w $cache_file; then
10765     test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
10766     cat confcache >$cache_file
10767   else
10768     echo "not updating unwritable cache $cache_file"
10769   fi
10770 fi
10771 rm -f confcache
10772
10773 if test ${multilib} = yes; then
10774   multilib_arg="--enable-multilib"
10775 else
10776   multilib_arg=
10777 fi
10778
10779 # Write our Makefile.
10780           ac_config_files="$ac_config_files Makefile"
10781
10782 cat >confcache <<\_ACEOF
10783 # This file is a shell script that caches the results of configure
10784 # tests run on this system so they can be shared between configure
10785 # scripts and configure runs, see configure's option --config-cache.
10786 # It is not useful on other systems.  If it contains results you don't
10787 # want to keep, you may remove or edit it.
10788 #
10789 # config.status only pays attention to the cache file if you give it
10790 # the --recheck option to rerun configure.
10791 #
10792 # `ac_cv_env_foo' variables (set or unset) will be overridden when
10793 # loading this file, other *unset* `ac_cv_foo' will be assigned the
10794 # following values.
10795
10796 _ACEOF
10797
10798 # The following way of writing the cache mishandles newlines in values,
10799 # but we know of no workaround that is simple, portable, and efficient.
10800 # So, don't put newlines in cache variables' values.
10801 # Ultrix sh set writes to stderr and can't be redirected directly,
10802 # and sets the high bit in the cache file unless we assign to the vars.
10803 {
10804   (set) 2>&1 |
10805     case `(ac_space=' '; set | grep ac_space) 2>&1` in
10806     *ac_space=\ *)
10807       # `set' does not quote correctly, so add quotes (double-quote
10808       # substitution turns \\\\ into \\, and sed turns \\ into \).
10809       sed -n \
10810         "s/'/'\\\\''/g;
10811           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
10812       ;;
10813     *)
10814       # `set' quotes correctly as required by POSIX, so do not add quotes.
10815       sed -n \
10816         "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
10817       ;;
10818     esac;
10819 } |
10820   sed '
10821      t clear
10822      : clear
10823      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
10824      t end
10825      /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
10826      : end' >>confcache
10827 if diff $cache_file confcache >/dev/null 2>&1; then :; else
10828   if test -w $cache_file; then
10829     test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
10830     cat confcache >$cache_file
10831   else
10832     echo "not updating unwritable cache $cache_file"
10833   fi
10834 fi
10835 rm -f confcache
10836
10837 test "x$prefix" = xNONE && prefix=$ac_default_prefix
10838 # Let make expand exec_prefix.
10839 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
10840
10841 # VPATH may cause trouble with some makes, so we remove $(srcdir),
10842 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
10843 # trailing colons and then remove the whole line if VPATH becomes empty
10844 # (actually we leave an empty line to preserve line numbers).
10845 if test "x$srcdir" = x.; then
10846   ac_vpsub='/^[  ]*VPATH[        ]*=/{
10847 s/:*\$(srcdir):*/:/;
10848 s/:*\${srcdir}:*/:/;
10849 s/:*@srcdir@:*/:/;
10850 s/^\([^=]*=[     ]*\):*/\1/;
10851 s/:*$//;
10852 s/^[^=]*=[       ]*$//;
10853 }'
10854 fi
10855
10856 DEFS=-DHAVE_CONFIG_H
10857
10858 ac_libobjs=
10859 ac_ltlibobjs=
10860 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
10861   # 1. Remove the extension, and $U if already installed.
10862   ac_i=`echo "$ac_i" |
10863          sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
10864   # 2. Add them.
10865   ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
10866   ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
10867 done
10868 LIBOBJS=$ac_libobjs
10869
10870 LTLIBOBJS=$ac_ltlibobjs
10871
10872
10873 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
10874   { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
10875 Usually this means the macro was only invoked conditionally." >&5
10876 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
10877 Usually this means the macro was only invoked conditionally." >&2;}
10878    { (exit 1); exit 1; }; }
10879 fi
10880
10881 : ${CONFIG_STATUS=./config.status}
10882 ac_clean_files_save=$ac_clean_files
10883 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
10884 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
10885 echo "$as_me: creating $CONFIG_STATUS" >&6;}
10886 cat >$CONFIG_STATUS <<_ACEOF
10887 #! $SHELL
10888 # Generated by $as_me.
10889 # Run this file to recreate the current configuration.
10890 # Compiler output produced by configure, useful for debugging
10891 # configure, is in config.log if it exists.
10892
10893 debug=false
10894 ac_cs_recheck=false
10895 ac_cs_silent=false
10896 SHELL=\${CONFIG_SHELL-$SHELL}
10897 _ACEOF
10898
10899 cat >>$CONFIG_STATUS <<\_ACEOF
10900 ## --------------------- ##
10901 ## M4sh Initialization.  ##
10902 ## --------------------- ##
10903
10904 # Be Bourne compatible
10905 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
10906   emulate sh
10907   NULLCMD=:
10908   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
10909   # is contrary to our usage.  Disable this feature.
10910   alias -g '${1+"$@"}'='"$@"'
10911 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
10912   set -o posix
10913 fi
10914 DUALCASE=1; export DUALCASE # for MKS sh
10915
10916 # Support unset when possible.
10917 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
10918   as_unset=unset
10919 else
10920   as_unset=false
10921 fi
10922
10923
10924 # Work around bugs in pre-3.0 UWIN ksh.
10925 $as_unset ENV MAIL MAILPATH
10926 PS1='$ '
10927 PS2='> '
10928 PS4='+ '
10929
10930 # NLS nuisances.
10931 for as_var in \
10932   LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
10933   LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
10934   LC_TELEPHONE LC_TIME
10935 do
10936   if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
10937     eval $as_var=C; export $as_var
10938   else
10939     $as_unset $as_var
10940   fi
10941 done
10942
10943 # Required to use basename.
10944 if expr a : '\(a\)' >/dev/null 2>&1; then
10945   as_expr=expr
10946 else
10947   as_expr=false
10948 fi
10949
10950 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
10951   as_basename=basename
10952 else
10953   as_basename=false
10954 fi
10955
10956
10957 # Name of the executable.
10958 as_me=`$as_basename "$0" ||
10959 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
10960          X"$0" : 'X\(//\)$' \| \
10961          X"$0" : 'X\(/\)$' \| \
10962          .     : '\(.\)' 2>/dev/null ||
10963 echo X/"$0" |
10964     sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
10965           /^X\/\(\/\/\)$/{ s//\1/; q; }
10966           /^X\/\(\/\).*/{ s//\1/; q; }
10967           s/.*/./; q'`
10968
10969
10970 # PATH needs CR, and LINENO needs CR and PATH.
10971 # Avoid depending upon Character Ranges.
10972 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
10973 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
10974 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
10975 as_cr_digits='0123456789'
10976 as_cr_alnum=$as_cr_Letters$as_cr_digits
10977
10978 # The user is always right.
10979 if test "${PATH_SEPARATOR+set}" != set; then
10980   echo "#! /bin/sh" >conf$$.sh
10981   echo  "exit 0"   >>conf$$.sh
10982   chmod +x conf$$.sh
10983   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
10984     PATH_SEPARATOR=';'
10985   else
10986     PATH_SEPARATOR=:
10987   fi
10988   rm -f conf$$.sh
10989 fi
10990
10991
10992   as_lineno_1=$LINENO
10993   as_lineno_2=$LINENO
10994   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
10995   test "x$as_lineno_1" != "x$as_lineno_2" &&
10996   test "x$as_lineno_3"  = "x$as_lineno_2"  || {
10997   # Find who we are.  Look in the path if we contain no path at all
10998   # relative or not.
10999   case $0 in
11000     *[\\/]* ) as_myself=$0 ;;
11001     *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11002 for as_dir in $PATH
11003 do
11004   IFS=$as_save_IFS
11005   test -z "$as_dir" && as_dir=.
11006   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
11007 done
11008
11009        ;;
11010   esac
11011   # We did not find ourselves, most probably we were run as `sh COMMAND'
11012   # in which case we are not to be found in the path.
11013   if test "x$as_myself" = x; then
11014     as_myself=$0
11015   fi
11016   if test ! -f "$as_myself"; then
11017     { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
11018 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
11019    { (exit 1); exit 1; }; }
11020   fi
11021   case $CONFIG_SHELL in
11022   '')
11023     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11024 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
11025 do
11026   IFS=$as_save_IFS
11027   test -z "$as_dir" && as_dir=.
11028   for as_base in sh bash ksh sh5; do
11029          case $as_dir in
11030          /*)
11031            if ("$as_dir/$as_base" -c '
11032   as_lineno_1=$LINENO
11033   as_lineno_2=$LINENO
11034   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
11035   test "x$as_lineno_1" != "x$as_lineno_2" &&
11036   test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
11037              $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
11038              $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
11039              CONFIG_SHELL=$as_dir/$as_base
11040              export CONFIG_SHELL
11041              exec "$CONFIG_SHELL" "$0" ${1+"$@"}
11042            fi;;
11043          esac
11044        done
11045 done
11046 ;;
11047   esac
11048
11049   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
11050   # uniformly replaced by the line number.  The first 'sed' inserts a
11051   # line-number line before each line; the second 'sed' does the real
11052   # work.  The second script uses 'N' to pair each line-number line
11053   # with the numbered line, and appends trailing '-' during
11054   # substitution so that $LINENO is not a special case at line end.
11055   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
11056   # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
11057   sed '=' <$as_myself |
11058     sed '
11059       N
11060       s,$,-,
11061       : loop
11062       s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
11063       t loop
11064       s,-$,,
11065       s,^['$as_cr_digits']*\n,,
11066     ' >$as_me.lineno &&
11067   chmod +x $as_me.lineno ||
11068     { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
11069 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
11070    { (exit 1); exit 1; }; }
11071
11072   # Don't try to exec as it changes $[0], causing all sort of problems
11073   # (the dirname of $[0] is not the place where we might find the
11074   # original and so on.  Autoconf is especially sensible to this).
11075   . ./$as_me.lineno
11076   # Exit status is that of the last command.
11077   exit
11078 }
11079
11080
11081 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
11082   *c*,-n*) ECHO_N= ECHO_C='
11083 ' ECHO_T='      ' ;;
11084   *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
11085   *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
11086 esac
11087
11088 if expr a : '\(a\)' >/dev/null 2>&1; then
11089   as_expr=expr
11090 else
11091   as_expr=false
11092 fi
11093
11094 rm -f conf$$ conf$$.exe conf$$.file
11095 echo >conf$$.file
11096 if ln -s conf$$.file conf$$ 2>/dev/null; then
11097   # We could just check for DJGPP; but this test a) works b) is more generic
11098   # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
11099   if test -f conf$$.exe; then
11100     # Don't use ln at all; we don't have any links
11101     as_ln_s='cp -p'
11102   else
11103     as_ln_s='ln -s'
11104   fi
11105 elif ln conf$$.file conf$$ 2>/dev/null; then
11106   as_ln_s=ln
11107 else
11108   as_ln_s='cp -p'
11109 fi
11110 rm -f conf$$ conf$$.exe conf$$.file
11111
11112 if mkdir -p . 2>/dev/null; then
11113   as_mkdir_p=:
11114 else
11115   test -d ./-p && rmdir ./-p
11116   as_mkdir_p=false
11117 fi
11118
11119 as_executable_p="test -f"
11120
11121 # Sed expression to map a string onto a valid CPP name.
11122 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
11123
11124 # Sed expression to map a string onto a valid variable name.
11125 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
11126
11127
11128 # IFS
11129 # We need space, tab and new line, in precisely that order.
11130 as_nl='
11131 '
11132 IFS="   $as_nl"
11133
11134 # CDPATH.
11135 $as_unset CDPATH
11136
11137 exec 6>&1
11138
11139 # Open the log real soon, to keep \$[0] and so on meaningful, and to
11140 # report actual input values of CONFIG_FILES etc. instead of their
11141 # values after options handling.  Logging --version etc. is OK.
11142 exec 5>>config.log
11143 {
11144   echo
11145   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
11146 ## Running $as_me. ##
11147 _ASBOX
11148 } >&5
11149 cat >&5 <<_CSEOF
11150
11151 This file was extended by GNU Fortran Runtime Library $as_me 0.2, which was
11152 generated by GNU Autoconf 2.59.  Invocation command line was
11153
11154   CONFIG_FILES    = $CONFIG_FILES
11155   CONFIG_HEADERS  = $CONFIG_HEADERS
11156   CONFIG_LINKS    = $CONFIG_LINKS
11157   CONFIG_COMMANDS = $CONFIG_COMMANDS
11158   $ $0 $@
11159
11160 _CSEOF
11161 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
11162 echo >&5
11163 _ACEOF
11164
11165 # Files that config.status was made for.
11166 if test -n "$ac_config_files"; then
11167   echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
11168 fi
11169
11170 if test -n "$ac_config_headers"; then
11171   echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
11172 fi
11173
11174 if test -n "$ac_config_links"; then
11175   echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
11176 fi
11177
11178 if test -n "$ac_config_commands"; then
11179   echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
11180 fi
11181
11182 cat >>$CONFIG_STATUS <<\_ACEOF
11183
11184 ac_cs_usage="\
11185 \`$as_me' instantiates files from templates according to the
11186 current configuration.
11187
11188 Usage: $0 [OPTIONS] [FILE]...
11189
11190   -h, --help       print this help, then exit
11191   -V, --version    print version number, then exit
11192   -q, --quiet      do not print progress messages
11193   -d, --debug      don't remove temporary files
11194       --recheck    update $as_me by reconfiguring in the same conditions
11195   --file=FILE[:TEMPLATE]
11196                    instantiate the configuration file FILE
11197   --header=FILE[:TEMPLATE]
11198                    instantiate the configuration header FILE
11199
11200 Configuration files:
11201 $config_files
11202
11203 Configuration headers:
11204 $config_headers
11205
11206 Configuration commands:
11207 $config_commands
11208
11209 Report bugs to <bug-autoconf@gnu.org>."
11210 _ACEOF
11211
11212 cat >>$CONFIG_STATUS <<_ACEOF
11213 ac_cs_version="\\
11214 GNU Fortran Runtime Library config.status 0.2
11215 configured by $0, generated by GNU Autoconf 2.59,
11216   with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
11217
11218 Copyright (C) 2003 Free Software Foundation, Inc.
11219 This config.status script is free software; the Free Software Foundation
11220 gives unlimited permission to copy, distribute and modify it."
11221 srcdir=$srcdir
11222 INSTALL="$INSTALL"
11223 _ACEOF
11224
11225 cat >>$CONFIG_STATUS <<\_ACEOF
11226 # If no file are specified by the user, then we need to provide default
11227 # value.  By we need to know if files were specified by the user.
11228 ac_need_defaults=:
11229 while test $# != 0
11230 do
11231   case $1 in
11232   --*=*)
11233     ac_option=`expr "x$1" : 'x\([^=]*\)='`
11234     ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
11235     ac_shift=:
11236     ;;
11237   -*)
11238     ac_option=$1
11239     ac_optarg=$2
11240     ac_shift=shift
11241     ;;
11242   *) # This is not an option, so the user has probably given explicit
11243      # arguments.
11244      ac_option=$1
11245      ac_need_defaults=false;;
11246   esac
11247
11248   case $ac_option in
11249   # Handling of the options.
11250 _ACEOF
11251 cat >>$CONFIG_STATUS <<\_ACEOF
11252   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
11253     ac_cs_recheck=: ;;
11254   --version | --vers* | -V )
11255     echo "$ac_cs_version"; exit 0 ;;
11256   --he | --h)
11257     # Conflict between --help and --header
11258     { { echo "$as_me:$LINENO: error: ambiguous option: $1
11259 Try \`$0 --help' for more information." >&5
11260 echo "$as_me: error: ambiguous option: $1
11261 Try \`$0 --help' for more information." >&2;}
11262    { (exit 1); exit 1; }; };;
11263   --help | --hel | -h )
11264     echo "$ac_cs_usage"; exit 0 ;;
11265   --debug | --d* | -d )
11266     debug=: ;;
11267   --file | --fil | --fi | --f )
11268     $ac_shift
11269     CONFIG_FILES="$CONFIG_FILES $ac_optarg"
11270     ac_need_defaults=false;;
11271   --header | --heade | --head | --hea )
11272     $ac_shift
11273     CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
11274     ac_need_defaults=false;;
11275   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
11276   | -silent | --silent | --silen | --sile | --sil | --si | --s)
11277     ac_cs_silent=: ;;
11278
11279   # This is an error.
11280   -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
11281 Try \`$0 --help' for more information." >&5
11282 echo "$as_me: error: unrecognized option: $1
11283 Try \`$0 --help' for more information." >&2;}
11284    { (exit 1); exit 1; }; } ;;
11285
11286   *) ac_config_targets="$ac_config_targets $1" ;;
11287
11288   esac
11289   shift
11290 done
11291
11292 ac_configure_extra_args=
11293
11294 if $ac_cs_silent; then
11295   exec 6>/dev/null
11296   ac_configure_extra_args="$ac_configure_extra_args --silent"
11297 fi
11298
11299 _ACEOF
11300 cat >>$CONFIG_STATUS <<_ACEOF
11301 if \$ac_cs_recheck; then
11302   echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
11303   exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
11304 fi
11305
11306 _ACEOF
11307
11308 cat >>$CONFIG_STATUS <<_ACEOF
11309 #
11310 # INIT-COMMANDS section.
11311 #
11312
11313
11314 srcdir="$srcdir"
11315 host="$host"
11316 target="$target"
11317 with_multisubdir="$with_multisubdir"
11318 with_multisrctop="$with_multisrctop"
11319 with_target_subdir="$with_target_subdir"
11320 ac_configure_args="${multilib_arg} ${ac_configure_args}"
11321 multi_basedir="$multi_basedir"
11322 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
11323 CC="$CC"
11324
11325 _ACEOF
11326
11327
11328
11329 cat >>$CONFIG_STATUS <<\_ACEOF
11330 for ac_config_target in $ac_config_targets
11331 do
11332   case "$ac_config_target" in
11333   # Handling of arguments.
11334   "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
11335   "default-1" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
11336   "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
11337   *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
11338 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
11339    { (exit 1); exit 1; }; };;
11340   esac
11341 done
11342
11343 # If the user did not use the arguments to specify the items to instantiate,
11344 # then the envvar interface is used.  Set only those that are not.
11345 # We use the long form for the default assignment because of an extremely
11346 # bizarre bug on SunOS 4.1.3.
11347 if $ac_need_defaults; then
11348   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
11349   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
11350   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
11351 fi
11352
11353 # Have a temporary directory for convenience.  Make it in the build tree
11354 # simply because there is no reason to put it here, and in addition,
11355 # creating and moving files from /tmp can sometimes cause problems.
11356 # Create a temporary directory, and hook for its removal unless debugging.
11357 $debug ||
11358 {
11359   trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
11360   trap '{ (exit 1); exit 1; }' 1 2 13 15
11361 }
11362
11363 # Create a (secure) tmp directory for tmp files.
11364
11365 {
11366   tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
11367   test -n "$tmp" && test -d "$tmp"
11368 }  ||
11369 {
11370   tmp=./confstat$$-$RANDOM
11371   (umask 077 && mkdir $tmp)
11372 } ||
11373 {
11374    echo "$me: cannot create a temporary directory in ." >&2
11375    { (exit 1); exit 1; }
11376 }
11377
11378 _ACEOF
11379
11380 cat >>$CONFIG_STATUS <<_ACEOF
11381
11382 #
11383 # CONFIG_FILES section.
11384 #
11385
11386 # No need to generate the scripts if there are no CONFIG_FILES.
11387 # This happens for instance when ./config.status config.h
11388 if test -n "\$CONFIG_FILES"; then
11389   # Protect against being on the right side of a sed subst in config.status.
11390   sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
11391    s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
11392 s,@SHELL@,$SHELL,;t t
11393 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
11394 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
11395 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
11396 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
11397 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
11398 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
11399 s,@exec_prefix@,$exec_prefix,;t t
11400 s,@prefix@,$prefix,;t t
11401 s,@program_transform_name@,$program_transform_name,;t t
11402 s,@bindir@,$bindir,;t t
11403 s,@sbindir@,$sbindir,;t t
11404 s,@libexecdir@,$libexecdir,;t t
11405 s,@datadir@,$datadir,;t t
11406 s,@sysconfdir@,$sysconfdir,;t t
11407 s,@sharedstatedir@,$sharedstatedir,;t t
11408 s,@localstatedir@,$localstatedir,;t t
11409 s,@libdir@,$libdir,;t t
11410 s,@includedir@,$includedir,;t t
11411 s,@oldincludedir@,$oldincludedir,;t t
11412 s,@infodir@,$infodir,;t t
11413 s,@mandir@,$mandir,;t t
11414 s,@build_alias@,$build_alias,;t t
11415 s,@host_alias@,$host_alias,;t t
11416 s,@target_alias@,$target_alias,;t t
11417 s,@DEFS@,$DEFS,;t t
11418 s,@ECHO_C@,$ECHO_C,;t t
11419 s,@ECHO_N@,$ECHO_N,;t t
11420 s,@ECHO_T@,$ECHO_T,;t t
11421 s,@LIBS@,$LIBS,;t t
11422 s,@build@,$build,;t t
11423 s,@build_cpu@,$build_cpu,;t t
11424 s,@build_vendor@,$build_vendor,;t t
11425 s,@build_os@,$build_os,;t t
11426 s,@host@,$host,;t t
11427 s,@host_cpu@,$host_cpu,;t t
11428 s,@host_vendor@,$host_vendor,;t t
11429 s,@host_os@,$host_os,;t t
11430 s,@target@,$target,;t t
11431 s,@target_cpu@,$target_cpu,;t t
11432 s,@target_vendor@,$target_vendor,;t t
11433 s,@target_os@,$target_os,;t t
11434 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
11435 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
11436 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
11437 s,@CYGPATH_W@,$CYGPATH_W,;t t
11438 s,@PACKAGE@,$PACKAGE,;t t
11439 s,@VERSION@,$VERSION,;t t
11440 s,@ACLOCAL@,$ACLOCAL,;t t
11441 s,@AUTOCONF@,$AUTOCONF,;t t
11442 s,@AUTOMAKE@,$AUTOMAKE,;t t
11443 s,@AUTOHEADER@,$AUTOHEADER,;t t
11444 s,@MAKEINFO@,$MAKEINFO,;t t
11445 s,@install_sh@,$install_sh,;t t
11446 s,@STRIP@,$STRIP,;t t
11447 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
11448 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
11449 s,@mkdir_p@,$mkdir_p,;t t
11450 s,@AWK@,$AWK,;t t
11451 s,@SET_MAKE@,$SET_MAKE,;t t
11452 s,@am__leading_dot@,$am__leading_dot,;t t
11453 s,@AMTAR@,$AMTAR,;t t
11454 s,@am__tar@,$am__tar,;t t
11455 s,@am__untar@,$am__untar,;t t
11456 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
11457 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
11458 s,@MAINT@,$MAINT,;t t
11459 s,@multi_basedir@,$multi_basedir,;t t
11460 s,@gcc_version@,$gcc_version,;t t
11461 s,@toolexecdir@,$toolexecdir,;t t
11462 s,@toolexeclibdir@,$toolexeclibdir,;t t
11463 s,@CC@,$CC,;t t
11464 s,@ac_ct_CC@,$ac_ct_CC,;t t
11465 s,@EXEEXT@,$EXEEXT,;t t
11466 s,@OBJEXT@,$OBJEXT,;t t
11467 s,@CFLAGS@,$CFLAGS,;t t
11468 s,@AS@,$AS,;t t
11469 s,@ac_ct_AS@,$ac_ct_AS,;t t
11470 s,@AR@,$AR,;t t
11471 s,@ac_ct_AR@,$ac_ct_AR,;t t
11472 s,@RANLIB@,$RANLIB,;t t
11473 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
11474 s,@LN_S@,$LN_S,;t t
11475 s,@LIBTOOL@,$LIBTOOL,;t t
11476 s,@enable_shared@,$enable_shared,;t t
11477 s,@enable_static@,$enable_static,;t t
11478 s,@FC@,$FC,;t t
11479 s,@FCFLAGS@,$FCFLAGS,;t t
11480 s,@LDFLAGS@,$LDFLAGS,;t t
11481 s,@ac_ct_FC@,$ac_ct_FC,;t t
11482 s,@CPP@,$CPP,;t t
11483 s,@CPPFLAGS@,$CPPFLAGS,;t t
11484 s,@EGREP@,$EGREP,;t t
11485 s,@MATH_OBJ@,$MATH_OBJ,;t t
11486 s,@LIBOBJS@,$LIBOBJS,;t t
11487 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
11488 CEOF
11489
11490 _ACEOF
11491
11492   cat >>$CONFIG_STATUS <<\_ACEOF
11493   # Split the substitutions into bite-sized pieces for seds with
11494   # small command number limits, like on Digital OSF/1 and HP-UX.
11495   ac_max_sed_lines=48
11496   ac_sed_frag=1 # Number of current file.
11497   ac_beg=1 # First line for current file.
11498   ac_end=$ac_max_sed_lines # Line after last line for current file.
11499   ac_more_lines=:
11500   ac_sed_cmds=
11501   while $ac_more_lines; do
11502     if test $ac_beg -gt 1; then
11503       sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
11504     else
11505       sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
11506     fi
11507     if test ! -s $tmp/subs.frag; then
11508       ac_more_lines=false
11509     else
11510       # The purpose of the label and of the branching condition is to
11511       # speed up the sed processing (if there are no `@' at all, there
11512       # is no need to browse any of the substitutions).
11513       # These are the two extra sed commands mentioned above.
11514       (echo ':t
11515   /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
11516       if test -z "$ac_sed_cmds"; then
11517         ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
11518       else
11519         ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
11520       fi
11521       ac_sed_frag=`expr $ac_sed_frag + 1`
11522       ac_beg=$ac_end
11523       ac_end=`expr $ac_end + $ac_max_sed_lines`
11524     fi
11525   done
11526   if test -z "$ac_sed_cmds"; then
11527     ac_sed_cmds=cat
11528   fi
11529 fi # test -n "$CONFIG_FILES"
11530
11531 _ACEOF
11532 cat >>$CONFIG_STATUS <<\_ACEOF
11533 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
11534   # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
11535   case $ac_file in
11536   - | *:- | *:-:* ) # input from stdin
11537         cat >$tmp/stdin
11538         ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
11539         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
11540   *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
11541         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
11542   * )   ac_file_in=$ac_file.in ;;
11543   esac
11544
11545   # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
11546   ac_dir=`(dirname "$ac_file") 2>/dev/null ||
11547 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11548          X"$ac_file" : 'X\(//\)[^/]' \| \
11549          X"$ac_file" : 'X\(//\)$' \| \
11550          X"$ac_file" : 'X\(/\)' \| \
11551          .     : '\(.\)' 2>/dev/null ||
11552 echo X"$ac_file" |
11553     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
11554           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
11555           /^X\(\/\/\)$/{ s//\1/; q; }
11556           /^X\(\/\).*/{ s//\1/; q; }
11557           s/.*/./; q'`
11558   { if $as_mkdir_p; then
11559     mkdir -p "$ac_dir"
11560   else
11561     as_dir="$ac_dir"
11562     as_dirs=
11563     while test ! -d "$as_dir"; do
11564       as_dirs="$as_dir $as_dirs"
11565       as_dir=`(dirname "$as_dir") 2>/dev/null ||
11566 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11567          X"$as_dir" : 'X\(//\)[^/]' \| \
11568          X"$as_dir" : 'X\(//\)$' \| \
11569          X"$as_dir" : 'X\(/\)' \| \
11570          .     : '\(.\)' 2>/dev/null ||
11571 echo X"$as_dir" |
11572     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
11573           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
11574           /^X\(\/\/\)$/{ s//\1/; q; }
11575           /^X\(\/\).*/{ s//\1/; q; }
11576           s/.*/./; q'`
11577     done
11578     test ! -n "$as_dirs" || mkdir $as_dirs
11579   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
11580 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
11581    { (exit 1); exit 1; }; }; }
11582
11583   ac_builddir=.
11584
11585 if test "$ac_dir" != .; then
11586   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
11587   # A "../" for each directory in $ac_dir_suffix.
11588   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
11589 else
11590   ac_dir_suffix= ac_top_builddir=
11591 fi
11592
11593 case $srcdir in
11594   .)  # No --srcdir option.  We are building in place.
11595     ac_srcdir=.
11596     if test -z "$ac_top_builddir"; then
11597        ac_top_srcdir=.
11598     else
11599        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
11600     fi ;;
11601   [\\/]* | ?:[\\/]* )  # Absolute path.
11602     ac_srcdir=$srcdir$ac_dir_suffix;
11603     ac_top_srcdir=$srcdir ;;
11604   *) # Relative path.
11605     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
11606     ac_top_srcdir=$ac_top_builddir$srcdir ;;
11607 esac
11608
11609 # Do not use `cd foo && pwd` to compute absolute paths, because
11610 # the directories may not exist.
11611 case `pwd` in
11612 .) ac_abs_builddir="$ac_dir";;
11613 *)
11614   case "$ac_dir" in
11615   .) ac_abs_builddir=`pwd`;;
11616   [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
11617   *) ac_abs_builddir=`pwd`/"$ac_dir";;
11618   esac;;
11619 esac
11620 case $ac_abs_builddir in
11621 .) ac_abs_top_builddir=${ac_top_builddir}.;;
11622 *)
11623   case ${ac_top_builddir}. in
11624   .) ac_abs_top_builddir=$ac_abs_builddir;;
11625   [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
11626   *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
11627   esac;;
11628 esac
11629 case $ac_abs_builddir in
11630 .) ac_abs_srcdir=$ac_srcdir;;
11631 *)
11632   case $ac_srcdir in
11633   .) ac_abs_srcdir=$ac_abs_builddir;;
11634   [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
11635   *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
11636   esac;;
11637 esac
11638 case $ac_abs_builddir in
11639 .) ac_abs_top_srcdir=$ac_top_srcdir;;
11640 *)
11641   case $ac_top_srcdir in
11642   .) ac_abs_top_srcdir=$ac_abs_builddir;;
11643   [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
11644   *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
11645   esac;;
11646 esac
11647
11648
11649   case $INSTALL in
11650   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
11651   *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
11652   esac
11653
11654   if test x"$ac_file" != x-; then
11655     { echo "$as_me:$LINENO: creating $ac_file" >&5
11656 echo "$as_me: creating $ac_file" >&6;}
11657     rm -f "$ac_file"
11658   fi
11659   # Let's still pretend it is `configure' which instantiates (i.e., don't
11660   # use $as_me), people would be surprised to read:
11661   #    /* config.h.  Generated by config.status.  */
11662   if test x"$ac_file" = x-; then
11663     configure_input=
11664   else
11665     configure_input="$ac_file.  "
11666   fi
11667   configure_input=$configure_input"Generated from `echo $ac_file_in |
11668                                      sed 's,.*/,,'` by configure."
11669
11670   # First look for the input files in the build tree, otherwise in the
11671   # src tree.
11672   ac_file_inputs=`IFS=:
11673     for f in $ac_file_in; do
11674       case $f in
11675       -) echo $tmp/stdin ;;
11676       [\\/$]*)
11677          # Absolute (can't be DOS-style, as IFS=:)
11678          test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
11679 echo "$as_me: error: cannot find input file: $f" >&2;}
11680    { (exit 1); exit 1; }; }
11681          echo "$f";;
11682       *) # Relative
11683          if test -f "$f"; then
11684            # Build tree
11685            echo "$f"
11686          elif test -f "$srcdir/$f"; then
11687            # Source tree
11688            echo "$srcdir/$f"
11689          else
11690            # /dev/null tree
11691            { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
11692 echo "$as_me: error: cannot find input file: $f" >&2;}
11693    { (exit 1); exit 1; }; }
11694          fi;;
11695       esac
11696     done` || { (exit 1); exit 1; }
11697 _ACEOF
11698 cat >>$CONFIG_STATUS <<_ACEOF
11699   sed "$ac_vpsub
11700 $extrasub
11701 _ACEOF
11702 cat >>$CONFIG_STATUS <<\_ACEOF
11703 :t
11704 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
11705 s,@configure_input@,$configure_input,;t t
11706 s,@srcdir@,$ac_srcdir,;t t
11707 s,@abs_srcdir@,$ac_abs_srcdir,;t t
11708 s,@top_srcdir@,$ac_top_srcdir,;t t
11709 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
11710 s,@builddir@,$ac_builddir,;t t
11711 s,@abs_builddir@,$ac_abs_builddir,;t t
11712 s,@top_builddir@,$ac_top_builddir,;t t
11713 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
11714 s,@INSTALL@,$ac_INSTALL,;t t
11715 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
11716   rm -f $tmp/stdin
11717   if test x"$ac_file" != x-; then
11718     mv $tmp/out $ac_file
11719   else
11720     cat $tmp/out
11721     rm -f $tmp/out
11722   fi
11723
11724 done
11725 _ACEOF
11726 cat >>$CONFIG_STATUS <<\_ACEOF
11727
11728 #
11729 # CONFIG_HEADER section.
11730 #
11731
11732 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
11733 # NAME is the cpp macro being defined and VALUE is the value it is being given.
11734 #
11735 # ac_d sets the value in "#define NAME VALUE" lines.
11736 ac_dA='s,^\([    ]*\)#\([        ]*define[       ][      ]*\)'
11737 ac_dB='[         ].*$,\1#\2'
11738 ac_dC=' '
11739 ac_dD=',;t'
11740 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
11741 ac_uA='s,^\([    ]*\)#\([        ]*\)undef\([    ][      ]*\)'
11742 ac_uB='$,\1#\2define\3'
11743 ac_uC=' '
11744 ac_uD=',;t'
11745
11746 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
11747   # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
11748   case $ac_file in
11749   - | *:- | *:-:* ) # input from stdin
11750         cat >$tmp/stdin
11751         ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
11752         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
11753   *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
11754         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
11755   * )   ac_file_in=$ac_file.in ;;
11756   esac
11757
11758   test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
11759 echo "$as_me: creating $ac_file" >&6;}
11760
11761   # First look for the input files in the build tree, otherwise in the
11762   # src tree.
11763   ac_file_inputs=`IFS=:
11764     for f in $ac_file_in; do
11765       case $f in
11766       -) echo $tmp/stdin ;;
11767       [\\/$]*)
11768          # Absolute (can't be DOS-style, as IFS=:)
11769          test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
11770 echo "$as_me: error: cannot find input file: $f" >&2;}
11771    { (exit 1); exit 1; }; }
11772          # Do quote $f, to prevent DOS paths from being IFS'd.
11773          echo "$f";;
11774       *) # Relative
11775          if test -f "$f"; then
11776            # Build tree
11777            echo "$f"
11778          elif test -f "$srcdir/$f"; then
11779            # Source tree
11780            echo "$srcdir/$f"
11781          else
11782            # /dev/null tree
11783            { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
11784 echo "$as_me: error: cannot find input file: $f" >&2;}
11785    { (exit 1); exit 1; }; }
11786          fi;;
11787       esac
11788     done` || { (exit 1); exit 1; }
11789   # Remove the trailing spaces.
11790   sed 's/[       ]*$//' $ac_file_inputs >$tmp/in
11791
11792 _ACEOF
11793
11794 # Transform confdefs.h into two sed scripts, `conftest.defines' and
11795 # `conftest.undefs', that substitutes the proper values into
11796 # config.h.in to produce config.h.  The first handles `#define'
11797 # templates, and the second `#undef' templates.
11798 # And first: Protect against being on the right side of a sed subst in
11799 # config.status.  Protect against being in an unquoted here document
11800 # in config.status.
11801 rm -f conftest.defines conftest.undefs
11802 # Using a here document instead of a string reduces the quoting nightmare.
11803 # Putting comments in sed scripts is not portable.
11804 #
11805 # `end' is used to avoid that the second main sed command (meant for
11806 # 0-ary CPP macros) applies to n-ary macro definitions.
11807 # See the Autoconf documentation for `clear'.
11808 cat >confdef2sed.sed <<\_ACEOF
11809 s/[\\&,]/\\&/g
11810 s,[\\$`],\\&,g
11811 t clear
11812 : clear
11813 s,^[     ]*#[    ]*define[       ][      ]*\([^  (][^    (]*\)\(([^)]*)\)[       ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
11814 t end
11815 s,^[     ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
11816 : end
11817 _ACEOF
11818 # If some macros were called several times there might be several times
11819 # the same #defines, which is useless.  Nevertheless, we may not want to
11820 # sort them, since we want the *last* AC-DEFINE to be honored.
11821 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
11822 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
11823 rm -f confdef2sed.sed
11824
11825 # This sed command replaces #undef with comments.  This is necessary, for
11826 # example, in the case of _POSIX_SOURCE, which is predefined and required
11827 # on some systems where configure will not decide to define it.
11828 cat >>conftest.undefs <<\_ACEOF
11829 s,^[     ]*#[    ]*undef[        ][      ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
11830 _ACEOF
11831
11832 # Break up conftest.defines because some shells have a limit on the size
11833 # of here documents, and old seds have small limits too (100 cmds).
11834 echo '  # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
11835 echo '  if grep "^[      ]*#[    ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
11836 echo '  # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
11837 echo '  :' >>$CONFIG_STATUS
11838 rm -f conftest.tail
11839 while grep . conftest.defines >/dev/null
11840 do
11841   # Write a limited-size here document to $tmp/defines.sed.
11842   echo '  cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
11843   # Speed up: don't consider the non `#define' lines.
11844   echo '/^[      ]*#[    ]*define/!b' >>$CONFIG_STATUS
11845   # Work around the forget-to-reset-the-flag bug.
11846   echo 't clr' >>$CONFIG_STATUS
11847   echo ': clr' >>$CONFIG_STATUS
11848   sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
11849   echo 'CEOF
11850   sed -f $tmp/defines.sed $tmp/in >$tmp/out
11851   rm -f $tmp/in
11852   mv $tmp/out $tmp/in
11853 ' >>$CONFIG_STATUS
11854   sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
11855   rm -f conftest.defines
11856   mv conftest.tail conftest.defines
11857 done
11858 rm -f conftest.defines
11859 echo '  fi # grep' >>$CONFIG_STATUS
11860 echo >>$CONFIG_STATUS
11861
11862 # Break up conftest.undefs because some shells have a limit on the size
11863 # of here documents, and old seds have small limits too (100 cmds).
11864 echo '  # Handle all the #undef templates' >>$CONFIG_STATUS
11865 rm -f conftest.tail
11866 while grep . conftest.undefs >/dev/null
11867 do
11868   # Write a limited-size here document to $tmp/undefs.sed.
11869   echo '  cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
11870   # Speed up: don't consider the non `#undef'
11871   echo '/^[      ]*#[    ]*undef/!b' >>$CONFIG_STATUS
11872   # Work around the forget-to-reset-the-flag bug.
11873   echo 't clr' >>$CONFIG_STATUS
11874   echo ': clr' >>$CONFIG_STATUS
11875   sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
11876   echo 'CEOF
11877   sed -f $tmp/undefs.sed $tmp/in >$tmp/out
11878   rm -f $tmp/in
11879   mv $tmp/out $tmp/in
11880 ' >>$CONFIG_STATUS
11881   sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
11882   rm -f conftest.undefs
11883   mv conftest.tail conftest.undefs
11884 done
11885 rm -f conftest.undefs
11886
11887 cat >>$CONFIG_STATUS <<\_ACEOF
11888   # Let's still pretend it is `configure' which instantiates (i.e., don't
11889   # use $as_me), people would be surprised to read:
11890   #    /* config.h.  Generated by config.status.  */
11891   if test x"$ac_file" = x-; then
11892     echo "/* Generated by configure.  */" >$tmp/config.h
11893   else
11894     echo "/* $ac_file.  Generated by configure.  */" >$tmp/config.h
11895   fi
11896   cat $tmp/in >>$tmp/config.h
11897   rm -f $tmp/in
11898   if test x"$ac_file" != x-; then
11899     if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
11900       { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
11901 echo "$as_me: $ac_file is unchanged" >&6;}
11902     else
11903       ac_dir=`(dirname "$ac_file") 2>/dev/null ||
11904 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11905          X"$ac_file" : 'X\(//\)[^/]' \| \
11906          X"$ac_file" : 'X\(//\)$' \| \
11907          X"$ac_file" : 'X\(/\)' \| \
11908          .     : '\(.\)' 2>/dev/null ||
11909 echo X"$ac_file" |
11910     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
11911           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
11912           /^X\(\/\/\)$/{ s//\1/; q; }
11913           /^X\(\/\).*/{ s//\1/; q; }
11914           s/.*/./; q'`
11915       { if $as_mkdir_p; then
11916     mkdir -p "$ac_dir"
11917   else
11918     as_dir="$ac_dir"
11919     as_dirs=
11920     while test ! -d "$as_dir"; do
11921       as_dirs="$as_dir $as_dirs"
11922       as_dir=`(dirname "$as_dir") 2>/dev/null ||
11923 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11924          X"$as_dir" : 'X\(//\)[^/]' \| \
11925          X"$as_dir" : 'X\(//\)$' \| \
11926          X"$as_dir" : 'X\(/\)' \| \
11927          .     : '\(.\)' 2>/dev/null ||
11928 echo X"$as_dir" |
11929     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
11930           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
11931           /^X\(\/\/\)$/{ s//\1/; q; }
11932           /^X\(\/\).*/{ s//\1/; q; }
11933           s/.*/./; q'`
11934     done
11935     test ! -n "$as_dirs" || mkdir $as_dirs
11936   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
11937 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
11938    { (exit 1); exit 1; }; }; }
11939
11940       rm -f $ac_file
11941       mv $tmp/config.h $ac_file
11942     fi
11943   else
11944     cat $tmp/config.h
11945     rm -f $tmp/config.h
11946   fi
11947 # Compute $ac_file's index in $config_headers.
11948 _am_stamp_count=1
11949 for _am_header in $config_headers :; do
11950   case $_am_header in
11951     $ac_file | $ac_file:* )
11952       break ;;
11953     * )
11954       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
11955   esac
11956 done
11957 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
11958 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11959          X$ac_file : 'X\(//\)[^/]' \| \
11960          X$ac_file : 'X\(//\)$' \| \
11961          X$ac_file : 'X\(/\)' \| \
11962          .     : '\(.\)' 2>/dev/null ||
11963 echo X$ac_file |
11964     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
11965           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
11966           /^X\(\/\/\)$/{ s//\1/; q; }
11967           /^X\(\/\).*/{ s//\1/; q; }
11968           s/.*/./; q'`/stamp-h$_am_stamp_count
11969 done
11970 _ACEOF
11971 cat >>$CONFIG_STATUS <<\_ACEOF
11972
11973 #
11974 # CONFIG_COMMANDS section.
11975 #
11976 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
11977   ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
11978   ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
11979   ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
11980 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11981          X"$ac_dest" : 'X\(//\)[^/]' \| \
11982          X"$ac_dest" : 'X\(//\)$' \| \
11983          X"$ac_dest" : 'X\(/\)' \| \
11984          .     : '\(.\)' 2>/dev/null ||
11985 echo X"$ac_dest" |
11986     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
11987           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
11988           /^X\(\/\/\)$/{ s//\1/; q; }
11989           /^X\(\/\).*/{ s//\1/; q; }
11990           s/.*/./; q'`
11991   { if $as_mkdir_p; then
11992     mkdir -p "$ac_dir"
11993   else
11994     as_dir="$ac_dir"
11995     as_dirs=
11996     while test ! -d "$as_dir"; do
11997       as_dirs="$as_dir $as_dirs"
11998       as_dir=`(dirname "$as_dir") 2>/dev/null ||
11999 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12000          X"$as_dir" : 'X\(//\)[^/]' \| \
12001          X"$as_dir" : 'X\(//\)$' \| \
12002          X"$as_dir" : 'X\(/\)' \| \
12003          .     : '\(.\)' 2>/dev/null ||
12004 echo X"$as_dir" |
12005     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
12006           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
12007           /^X\(\/\/\)$/{ s//\1/; q; }
12008           /^X\(\/\).*/{ s//\1/; q; }
12009           s/.*/./; q'`
12010     done
12011     test ! -n "$as_dirs" || mkdir $as_dirs
12012   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
12013 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
12014    { (exit 1); exit 1; }; }; }
12015
12016   ac_builddir=.
12017
12018 if test "$ac_dir" != .; then
12019   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
12020   # A "../" for each directory in $ac_dir_suffix.
12021   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
12022 else
12023   ac_dir_suffix= ac_top_builddir=
12024 fi
12025
12026 case $srcdir in
12027   .)  # No --srcdir option.  We are building in place.
12028     ac_srcdir=.
12029     if test -z "$ac_top_builddir"; then
12030        ac_top_srcdir=.
12031     else
12032        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
12033     fi ;;
12034   [\\/]* | ?:[\\/]* )  # Absolute path.
12035     ac_srcdir=$srcdir$ac_dir_suffix;
12036     ac_top_srcdir=$srcdir ;;
12037   *) # Relative path.
12038     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
12039     ac_top_srcdir=$ac_top_builddir$srcdir ;;
12040 esac
12041
12042 # Do not use `cd foo && pwd` to compute absolute paths, because
12043 # the directories may not exist.
12044 case `pwd` in
12045 .) ac_abs_builddir="$ac_dir";;
12046 *)
12047   case "$ac_dir" in
12048   .) ac_abs_builddir=`pwd`;;
12049   [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
12050   *) ac_abs_builddir=`pwd`/"$ac_dir";;
12051   esac;;
12052 esac
12053 case $ac_abs_builddir in
12054 .) ac_abs_top_builddir=${ac_top_builddir}.;;
12055 *)
12056   case ${ac_top_builddir}. in
12057   .) ac_abs_top_builddir=$ac_abs_builddir;;
12058   [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
12059   *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
12060   esac;;
12061 esac
12062 case $ac_abs_builddir in
12063 .) ac_abs_srcdir=$ac_srcdir;;
12064 *)
12065   case $ac_srcdir in
12066   .) ac_abs_srcdir=$ac_abs_builddir;;
12067   [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
12068   *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
12069   esac;;
12070 esac
12071 case $ac_abs_builddir in
12072 .) ac_abs_top_srcdir=$ac_top_srcdir;;
12073 *)
12074   case $ac_top_srcdir in
12075   .) ac_abs_top_srcdir=$ac_abs_builddir;;
12076   [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
12077   *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
12078   esac;;
12079 esac
12080
12081
12082   { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
12083 echo "$as_me: executing $ac_dest commands" >&6;}
12084   case $ac_dest in
12085     default-1 )
12086 # Only add multilib support code if we just rebuilt the top-level
12087 # Makefile.
12088 case " $CONFIG_FILES " in
12089  *" Makefile "*)
12090    ac_file=Makefile . ${multi_basedir}/config-ml.in
12091    ;;
12092 esac ;;
12093   esac
12094 done
12095 _ACEOF
12096
12097 cat >>$CONFIG_STATUS <<\_ACEOF
12098
12099 { (exit 0); exit 0; }
12100 _ACEOF
12101 chmod +x $CONFIG_STATUS
12102 ac_clean_files=$ac_clean_files_save
12103
12104
12105 # configure is writing to config.log, and then calls config.status.
12106 # config.status does its own redirection, appending to config.log.
12107 # Unfortunately, on DOS this fails, as config.log is still kept open
12108 # by configure, so config.status won't be able to write to it; its
12109 # output is simply discarded.  So we exec the FD to /dev/null,
12110 # effectively closing config.log, so it can be properly (re)opened and
12111 # appended to by config.status.  When coming back to configure, we
12112 # need to make the FD available again.
12113 if test "$no_create" != yes; then
12114   ac_cs_success=:
12115   ac_config_status_args=
12116   test "$silent" = yes &&
12117     ac_config_status_args="$ac_config_status_args --quiet"
12118   exec 5>/dev/null
12119   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
12120   exec 5>>config.log
12121   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
12122   # would make configure fail if this is the last instruction.
12123   $ac_cs_success || { (exit 1); exit 1; }
12124 fi
12125