OSDN Git Service

0bd9a22d43fcf8aa7c257c95260081561f3c6e9a
[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.3.
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
245 # Check that we are running under the correct shell.
246 SHELL=${CONFIG_SHELL-/bin/sh}
247
248 case X$lt_ECHO in
249 X*--fallback-echo)
250   # Remove one level of quotation (which was required for Make).
251   ECHO=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
252   ;;
253 esac
254
255 ECHO=${lt_ECHO-echo}
256 if test "X$1" = X--no-reexec; then
257   # Discard the --no-reexec flag, and continue.
258   shift
259 elif test "X$1" = X--fallback-echo; then
260   # Avoid inline document here, it may be left over
261   :
262 elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
263   # Yippee, $ECHO works!
264   :
265 else
266   # Restart under the correct shell.
267   exec $SHELL "$0" --no-reexec ${1+"$@"}
268 fi
269
270 if test "X$1" = X--fallback-echo; then
271   # used as fallback echo
272   shift
273   cat <<_LT_EOF
274 $*
275 _LT_EOF
276   exit 0
277 fi
278
279 # The HP-UX ksh and POSIX shell print the target directory to stdout
280 # if CDPATH is set.
281 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
282
283 if test -z "$lt_ECHO"; then
284   if test "X${echo_test_string+set}" != Xset; then
285     # find a string as large as possible, as long as the shell can cope with it
286     for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
287       # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
288       if { echo_test_string=`eval $cmd`; } 2>/dev/null &&
289          { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null
290       then
291         break
292       fi
293     done
294   fi
295
296   if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
297      echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
298      test "X$echo_testing_string" = "X$echo_test_string"; then
299     :
300   else
301     # The Solaris, AIX, and Digital Unix default echo programs unquote
302     # backslashes.  This makes it impossible to quote backslashes using
303     #   echo "$something" | sed 's/\\/\\\\/g'
304     #
305     # So, first we look for a working echo in the user's PATH.
306
307     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
308     for dir in $PATH /usr/ucb; do
309       IFS="$lt_save_ifs"
310       if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
311          test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
312          echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
313          test "X$echo_testing_string" = "X$echo_test_string"; then
314         ECHO="$dir/echo"
315         break
316       fi
317     done
318     IFS="$lt_save_ifs"
319
320     if test "X$ECHO" = Xecho; then
321       # We didn't find a better echo, so look for alternatives.
322       if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
323          echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
324          test "X$echo_testing_string" = "X$echo_test_string"; then
325         # This shell has a builtin print -r that does the trick.
326         ECHO='print -r'
327       elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } &&
328            test "X$CONFIG_SHELL" != X/bin/ksh; then
329         # If we have ksh, try running configure again with it.
330         ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
331         export ORIGINAL_CONFIG_SHELL
332         CONFIG_SHELL=/bin/ksh
333         export CONFIG_SHELL
334         exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
335       else
336         # Try using printf.
337         ECHO='printf %s\n'
338         if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
339            echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
340            test "X$echo_testing_string" = "X$echo_test_string"; then
341           # Cool, printf works
342           :
343         elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
344              test "X$echo_testing_string" = 'X\t' &&
345              echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
346              test "X$echo_testing_string" = "X$echo_test_string"; then
347           CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
348           export CONFIG_SHELL
349           SHELL="$CONFIG_SHELL"
350           export SHELL
351           ECHO="$CONFIG_SHELL $0 --fallback-echo"
352         elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
353              test "X$echo_testing_string" = 'X\t' &&
354              echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
355              test "X$echo_testing_string" = "X$echo_test_string"; then
356           ECHO="$CONFIG_SHELL $0 --fallback-echo"
357         else
358           # maybe with a smaller string...
359           prev=:
360
361           for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
362             if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null
363             then
364               break
365             fi
366             prev="$cmd"
367           done
368
369           if test "$prev" != 'sed 50q "$0"'; then
370             echo_test_string=`eval $prev`
371             export echo_test_string
372             exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
373           else
374             # Oops.  We lost completely, so just stick with echo.
375             ECHO=echo
376           fi
377         fi
378       fi
379     fi
380   fi
381 fi
382
383 # Copy echo and quote the copy suitably for passing to libtool from
384 # the Makefile, instead of quoting the original, which is used later.
385 lt_ECHO=$ECHO
386 if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
387    lt_ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
388 fi
389
390
391
392
393 # Name of the host.
394 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
395 # so uname gets run too.
396 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
397
398 exec 6>&1
399
400 #
401 # Initializations.
402 #
403 ac_default_prefix=/usr/local
404 ac_config_libobj_dir=.
405 cross_compiling=no
406 subdirs=
407 MFLAGS=
408 MAKEFLAGS=
409 SHELL=${CONFIG_SHELL-/bin/sh}
410
411 # Maximum number of lines to put in a shell here document.
412 # This variable seems obsolete.  It should probably be removed, and
413 # only ac_max_sed_lines should be used.
414 : ${ac_max_here_lines=38}
415
416 # Identity of this package.
417 PACKAGE_NAME='GNU Fortran Runtime Library'
418 PACKAGE_TARNAME='libgfortran'
419 PACKAGE_VERSION='0.3'
420 PACKAGE_STRING='GNU Fortran Runtime Library 0.3'
421 PACKAGE_BUGREPORT=''
422
423 # Factoring default headers for most tests.
424 ac_includes_default="\
425 #include <stdio.h>
426 #if HAVE_SYS_TYPES_H
427 # include <sys/types.h>
428 #endif
429 #if HAVE_SYS_STAT_H
430 # include <sys/stat.h>
431 #endif
432 #if STDC_HEADERS
433 # include <stdlib.h>
434 # include <stddef.h>
435 #else
436 # if HAVE_STDLIB_H
437 #  include <stdlib.h>
438 # endif
439 #endif
440 #if HAVE_STRING_H
441 # if !STDC_HEADERS && HAVE_MEMORY_H
442 #  include <memory.h>
443 # endif
444 # include <string.h>
445 #endif
446 #if HAVE_STRINGS_H
447 # include <strings.h>
448 #endif
449 #if HAVE_INTTYPES_H
450 # include <inttypes.h>
451 #else
452 # if HAVE_STDINT_H
453 #  include <stdint.h>
454 # endif
455 #endif
456 #if HAVE_UNISTD_H
457 # include <unistd.h>
458 #endif"
459
460 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 build_libsubdir build_subdir host_subdir target_subdir onestep_TRUE onestep_FALSE onestep host host_cpu host_vendor host_os target target_cpu target_vendor target_os INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT multi_basedir toolexecdir toolexeclibdir CC ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE AM_FCFLAGS AM_CFLAGS CFLAGS LIBGFOR_USE_SYMVER_TRUE LIBGFOR_USE_SYMVER_FALSE AS ac_ct_AS AR ac_ct_AR RANLIB ac_ct_RANLIB LIBTOOL SED EGREP FGREP GREP LD DUMPBIN ac_ct_DUMPBIN NM LN_S lt_ECHO CPP CPPFLAGS enable_shared enable_static FC FCFLAGS LDFLAGS ac_ct_FC extra_ldflags_libgfortran FPU_HOST_HEADER LIBOBJS LTLIBOBJS'
461 ac_subst_files=''
462 ac_pwd=`pwd`
463
464 # Initialize some variables set by options.
465 ac_init_help=
466 ac_init_version=false
467 # The variables have the same names as the options, with
468 # dashes changed to underlines.
469 cache_file=/dev/null
470 exec_prefix=NONE
471 no_create=
472 no_recursion=
473 prefix=NONE
474 program_prefix=NONE
475 program_suffix=NONE
476 program_transform_name=s,x,x,
477 silent=
478 site=
479 srcdir=
480 verbose=
481 x_includes=NONE
482 x_libraries=NONE
483
484 # Installation directory options.
485 # These are left unexpanded so users can "make install exec_prefix=/foo"
486 # and all the variables that are supposed to be based on exec_prefix
487 # by default will actually change.
488 # Use braces instead of parens because sh, perl, etc. also accept them.
489 bindir='${exec_prefix}/bin'
490 sbindir='${exec_prefix}/sbin'
491 libexecdir='${exec_prefix}/libexec'
492 datadir='${prefix}/share'
493 sysconfdir='${prefix}/etc'
494 sharedstatedir='${prefix}/com'
495 localstatedir='${prefix}/var'
496 libdir='${exec_prefix}/lib'
497 includedir='${prefix}/include'
498 oldincludedir='/usr/include'
499 infodir='${prefix}/info'
500 mandir='${prefix}/man'
501
502 ac_prev=
503 for ac_option
504 do
505   # If the previous option needs an argument, assign it.
506   if test -n "$ac_prev"; then
507     eval "$ac_prev=\$ac_option"
508     ac_prev=
509     continue
510   fi
511
512   ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
513
514   # Accept the important Cygnus configure options, so we can diagnose typos.
515
516   case $ac_option in
517
518   -bindir | --bindir | --bindi | --bind | --bin | --bi)
519     ac_prev=bindir ;;
520   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
521     bindir=$ac_optarg ;;
522
523   -build | --build | --buil | --bui | --bu)
524     ac_prev=build_alias ;;
525   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
526     build_alias=$ac_optarg ;;
527
528   -cache-file | --cache-file | --cache-fil | --cache-fi \
529   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
530     ac_prev=cache_file ;;
531   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
532   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
533     cache_file=$ac_optarg ;;
534
535   --config-cache | -C)
536     cache_file=config.cache ;;
537
538   -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
539     ac_prev=datadir ;;
540   -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
541   | --da=*)
542     datadir=$ac_optarg ;;
543
544   -disable-* | --disable-*)
545     ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
546     # Reject names that are not valid shell variable names.
547     expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
548       { echo "$as_me: error: invalid feature name: $ac_feature" >&2
549    { (exit 1); exit 1; }; }
550     ac_feature=`echo $ac_feature | sed 's/-/_/g'`
551     eval "enable_$ac_feature=no" ;;
552
553   -enable-* | --enable-*)
554     ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
555     # Reject names that are not valid shell variable names.
556     expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
557       { echo "$as_me: error: invalid feature name: $ac_feature" >&2
558    { (exit 1); exit 1; }; }
559     ac_feature=`echo $ac_feature | sed 's/-/_/g'`
560     case $ac_option in
561       *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
562       *) ac_optarg=yes ;;
563     esac
564     eval "enable_$ac_feature='$ac_optarg'" ;;
565
566   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
567   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
568   | --exec | --exe | --ex)
569     ac_prev=exec_prefix ;;
570   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
571   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
572   | --exec=* | --exe=* | --ex=*)
573     exec_prefix=$ac_optarg ;;
574
575   -gas | --gas | --ga | --g)
576     # Obsolete; use --with-gas.
577     with_gas=yes ;;
578
579   -help | --help | --hel | --he | -h)
580     ac_init_help=long ;;
581   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
582     ac_init_help=recursive ;;
583   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
584     ac_init_help=short ;;
585
586   -host | --host | --hos | --ho)
587     ac_prev=host_alias ;;
588   -host=* | --host=* | --hos=* | --ho=*)
589     host_alias=$ac_optarg ;;
590
591   -includedir | --includedir | --includedi | --included | --include \
592   | --includ | --inclu | --incl | --inc)
593     ac_prev=includedir ;;
594   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
595   | --includ=* | --inclu=* | --incl=* | --inc=*)
596     includedir=$ac_optarg ;;
597
598   -infodir | --infodir | --infodi | --infod | --info | --inf)
599     ac_prev=infodir ;;
600   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
601     infodir=$ac_optarg ;;
602
603   -libdir | --libdir | --libdi | --libd)
604     ac_prev=libdir ;;
605   -libdir=* | --libdir=* | --libdi=* | --libd=*)
606     libdir=$ac_optarg ;;
607
608   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
609   | --libexe | --libex | --libe)
610     ac_prev=libexecdir ;;
611   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
612   | --libexe=* | --libex=* | --libe=*)
613     libexecdir=$ac_optarg ;;
614
615   -localstatedir | --localstatedir | --localstatedi | --localstated \
616   | --localstate | --localstat | --localsta | --localst \
617   | --locals | --local | --loca | --loc | --lo)
618     ac_prev=localstatedir ;;
619   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
620   | --localstate=* | --localstat=* | --localsta=* | --localst=* \
621   | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
622     localstatedir=$ac_optarg ;;
623
624   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
625     ac_prev=mandir ;;
626   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
627     mandir=$ac_optarg ;;
628
629   -nfp | --nfp | --nf)
630     # Obsolete; use --without-fp.
631     with_fp=no ;;
632
633   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
634   | --no-cr | --no-c | -n)
635     no_create=yes ;;
636
637   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
638   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
639     no_recursion=yes ;;
640
641   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
642   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
643   | --oldin | --oldi | --old | --ol | --o)
644     ac_prev=oldincludedir ;;
645   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
646   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
647   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
648     oldincludedir=$ac_optarg ;;
649
650   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
651     ac_prev=prefix ;;
652   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
653     prefix=$ac_optarg ;;
654
655   -program-prefix | --program-prefix | --program-prefi | --program-pref \
656   | --program-pre | --program-pr | --program-p)
657     ac_prev=program_prefix ;;
658   -program-prefix=* | --program-prefix=* | --program-prefi=* \
659   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
660     program_prefix=$ac_optarg ;;
661
662   -program-suffix | --program-suffix | --program-suffi | --program-suff \
663   | --program-suf | --program-su | --program-s)
664     ac_prev=program_suffix ;;
665   -program-suffix=* | --program-suffix=* | --program-suffi=* \
666   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
667     program_suffix=$ac_optarg ;;
668
669   -program-transform-name | --program-transform-name \
670   | --program-transform-nam | --program-transform-na \
671   | --program-transform-n | --program-transform- \
672   | --program-transform | --program-transfor \
673   | --program-transfo | --program-transf \
674   | --program-trans | --program-tran \
675   | --progr-tra | --program-tr | --program-t)
676     ac_prev=program_transform_name ;;
677   -program-transform-name=* | --program-transform-name=* \
678   | --program-transform-nam=* | --program-transform-na=* \
679   | --program-transform-n=* | --program-transform-=* \
680   | --program-transform=* | --program-transfor=* \
681   | --program-transfo=* | --program-transf=* \
682   | --program-trans=* | --program-tran=* \
683   | --progr-tra=* | --program-tr=* | --program-t=*)
684     program_transform_name=$ac_optarg ;;
685
686   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
687   | -silent | --silent | --silen | --sile | --sil)
688     silent=yes ;;
689
690   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
691     ac_prev=sbindir ;;
692   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
693   | --sbi=* | --sb=*)
694     sbindir=$ac_optarg ;;
695
696   -sharedstatedir | --sharedstatedir | --sharedstatedi \
697   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
698   | --sharedst | --shareds | --shared | --share | --shar \
699   | --sha | --sh)
700     ac_prev=sharedstatedir ;;
701   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
702   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
703   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
704   | --sha=* | --sh=*)
705     sharedstatedir=$ac_optarg ;;
706
707   -site | --site | --sit)
708     ac_prev=site ;;
709   -site=* | --site=* | --sit=*)
710     site=$ac_optarg ;;
711
712   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
713     ac_prev=srcdir ;;
714   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
715     srcdir=$ac_optarg ;;
716
717   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
718   | --syscon | --sysco | --sysc | --sys | --sy)
719     ac_prev=sysconfdir ;;
720   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
721   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
722     sysconfdir=$ac_optarg ;;
723
724   -target | --target | --targe | --targ | --tar | --ta | --t)
725     ac_prev=target_alias ;;
726   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
727     target_alias=$ac_optarg ;;
728
729   -v | -verbose | --verbose | --verbos | --verbo | --verb)
730     verbose=yes ;;
731
732   -version | --version | --versio | --versi | --vers | -V)
733     ac_init_version=: ;;
734
735   -with-* | --with-*)
736     ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
737     # Reject names that are not valid shell variable names.
738     expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
739       { echo "$as_me: error: invalid package name: $ac_package" >&2
740    { (exit 1); exit 1; }; }
741     ac_package=`echo $ac_package| sed 's/-/_/g'`
742     case $ac_option in
743       *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
744       *) ac_optarg=yes ;;
745     esac
746     eval "with_$ac_package='$ac_optarg'" ;;
747
748   -without-* | --without-*)
749     ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
750     # Reject names that are not valid shell variable names.
751     expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
752       { echo "$as_me: error: invalid package name: $ac_package" >&2
753    { (exit 1); exit 1; }; }
754     ac_package=`echo $ac_package | sed 's/-/_/g'`
755     eval "with_$ac_package=no" ;;
756
757   --x)
758     # Obsolete; use --with-x.
759     with_x=yes ;;
760
761   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
762   | --x-incl | --x-inc | --x-in | --x-i)
763     ac_prev=x_includes ;;
764   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
765   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
766     x_includes=$ac_optarg ;;
767
768   -x-libraries | --x-libraries | --x-librarie | --x-librari \
769   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
770     ac_prev=x_libraries ;;
771   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
772   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
773     x_libraries=$ac_optarg ;;
774
775   -*) { echo "$as_me: error: unrecognized option: $ac_option
776 Try \`$0 --help' for more information." >&2
777    { (exit 1); exit 1; }; }
778     ;;
779
780   *=*)
781     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
782     # Reject names that are not valid shell variable names.
783     expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
784       { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
785    { (exit 1); exit 1; }; }
786     ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
787     eval "$ac_envvar='$ac_optarg'"
788     export $ac_envvar ;;
789
790   *)
791     # FIXME: should be removed in autoconf 3.0.
792     echo "$as_me: WARNING: you should use --build, --host, --target" >&2
793     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
794       echo "$as_me: WARNING: invalid host type: $ac_option" >&2
795     : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
796     ;;
797
798   esac
799 done
800
801 if test -n "$ac_prev"; then
802   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
803   { echo "$as_me: error: missing argument to $ac_option" >&2
804    { (exit 1); exit 1; }; }
805 fi
806
807 # Be sure to have absolute paths.
808 for ac_var in exec_prefix prefix
809 do
810   eval ac_val=$`echo $ac_var`
811   case $ac_val in
812     [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
813     *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
814    { (exit 1); exit 1; }; };;
815   esac
816 done
817
818 # Be sure to have absolute paths.
819 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
820               localstatedir libdir includedir oldincludedir infodir mandir
821 do
822   eval ac_val=$`echo $ac_var`
823   case $ac_val in
824     [\\/$]* | ?:[\\/]* ) ;;
825     *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
826    { (exit 1); exit 1; }; };;
827   esac
828 done
829
830 # There might be people who depend on the old broken behavior: `$host'
831 # used to hold the argument of --host etc.
832 # FIXME: To remove some day.
833 build=$build_alias
834 host=$host_alias
835 target=$target_alias
836
837 # FIXME: To remove some day.
838 if test "x$host_alias" != x; then
839   if test "x$build_alias" = x; then
840     cross_compiling=maybe
841     echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
842     If a cross compiler is detected then cross compile mode will be used." >&2
843   elif test "x$build_alias" != "x$host_alias"; then
844     cross_compiling=yes
845   fi
846 fi
847
848 ac_tool_prefix=
849 test -n "$host_alias" && ac_tool_prefix=$host_alias-
850
851 test "$silent" = yes && exec 6>/dev/null
852
853
854 # Find the source files, if location was not specified.
855 if test -z "$srcdir"; then
856   ac_srcdir_defaulted=yes
857   # Try the directory containing this script, then its parent.
858   ac_confdir=`(dirname "$0") 2>/dev/null ||
859 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
860          X"$0" : 'X\(//\)[^/]' \| \
861          X"$0" : 'X\(//\)$' \| \
862          X"$0" : 'X\(/\)' \| \
863          .     : '\(.\)' 2>/dev/null ||
864 echo X"$0" |
865     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
866           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
867           /^X\(\/\/\)$/{ s//\1/; q; }
868           /^X\(\/\).*/{ s//\1/; q; }
869           s/.*/./; q'`
870   srcdir=$ac_confdir
871   if test ! -r $srcdir/$ac_unique_file; then
872     srcdir=..
873   fi
874 else
875   ac_srcdir_defaulted=no
876 fi
877 if test ! -r $srcdir/$ac_unique_file; then
878   if test "$ac_srcdir_defaulted" = yes; then
879     { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
880    { (exit 1); exit 1; }; }
881   else
882     { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
883    { (exit 1); exit 1; }; }
884   fi
885 fi
886 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
887   { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
888    { (exit 1); exit 1; }; }
889 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
890 ac_env_build_alias_set=${build_alias+set}
891 ac_env_build_alias_value=$build_alias
892 ac_cv_env_build_alias_set=${build_alias+set}
893 ac_cv_env_build_alias_value=$build_alias
894 ac_env_host_alias_set=${host_alias+set}
895 ac_env_host_alias_value=$host_alias
896 ac_cv_env_host_alias_set=${host_alias+set}
897 ac_cv_env_host_alias_value=$host_alias
898 ac_env_target_alias_set=${target_alias+set}
899 ac_env_target_alias_value=$target_alias
900 ac_cv_env_target_alias_set=${target_alias+set}
901 ac_cv_env_target_alias_value=$target_alias
902 ac_env_CPP_set=${CPP+set}
903 ac_env_CPP_value=$CPP
904 ac_cv_env_CPP_set=${CPP+set}
905 ac_cv_env_CPP_value=$CPP
906 ac_env_CPPFLAGS_set=${CPPFLAGS+set}
907 ac_env_CPPFLAGS_value=$CPPFLAGS
908 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
909 ac_cv_env_CPPFLAGS_value=$CPPFLAGS
910 ac_env_FC_set=${FC+set}
911 ac_env_FC_value=$FC
912 ac_cv_env_FC_set=${FC+set}
913 ac_cv_env_FC_value=$FC
914 ac_env_FCFLAGS_set=${FCFLAGS+set}
915 ac_env_FCFLAGS_value=$FCFLAGS
916 ac_cv_env_FCFLAGS_set=${FCFLAGS+set}
917 ac_cv_env_FCFLAGS_value=$FCFLAGS
918 ac_env_LDFLAGS_set=${LDFLAGS+set}
919 ac_env_LDFLAGS_value=$LDFLAGS
920 ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
921 ac_cv_env_LDFLAGS_value=$LDFLAGS
922
923 #
924 # Report the --help message.
925 #
926 if test "$ac_init_help" = "long"; then
927   # Omit some internal or obsolete options to make the list less imposing.
928   # This message is too long to be a string in the A/UX 3.1 sh.
929   cat <<_ACEOF
930 \`configure' configures GNU Fortran Runtime Library 0.3 to adapt to many kinds of systems.
931
932 Usage: $0 [OPTION]... [VAR=VALUE]...
933
934 To assign environment variables (e.g., CC, CFLAGS...), specify them as
935 VAR=VALUE.  See below for descriptions of some of the useful variables.
936
937 Defaults for the options are specified in brackets.
938
939 Configuration:
940   -h, --help              display this help and exit
941       --help=short        display options specific to this package
942       --help=recursive    display the short help of all the included packages
943   -V, --version           display version information and exit
944   -q, --quiet, --silent   do not print \`checking...' messages
945       --cache-file=FILE   cache test results in FILE [disabled]
946   -C, --config-cache      alias for \`--cache-file=config.cache'
947   -n, --no-create         do not create output files
948       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
949
950 _ACEOF
951
952   cat <<_ACEOF
953 Installation directories:
954   --prefix=PREFIX         install architecture-independent files in PREFIX
955                           [$ac_default_prefix]
956   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
957                           [PREFIX]
958
959 By default, \`make install' will install all the files in
960 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
961 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
962 for instance \`--prefix=\$HOME'.
963
964 For better control, use the options below.
965
966 Fine tuning of the installation directories:
967   --bindir=DIR           user executables [EPREFIX/bin]
968   --sbindir=DIR          system admin executables [EPREFIX/sbin]
969   --libexecdir=DIR       program executables [EPREFIX/libexec]
970   --datadir=DIR          read-only architecture-independent data [PREFIX/share]
971   --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
972   --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
973   --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
974   --libdir=DIR           object code libraries [EPREFIX/lib]
975   --includedir=DIR       C header files [PREFIX/include]
976   --oldincludedir=DIR    C header files for non-gcc [/usr/include]
977   --infodir=DIR          info documentation [PREFIX/info]
978   --mandir=DIR           man documentation [PREFIX/man]
979 _ACEOF
980
981   cat <<\_ACEOF
982
983 Program names:
984   --program-prefix=PREFIX            prepend PREFIX to installed program names
985   --program-suffix=SUFFIX            append SUFFIX to installed program names
986   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
987
988 System types:
989   --build=BUILD     configure for building on BUILD [guessed]
990   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
991   --target=TARGET   configure for building compilers for TARGET [HOST]
992 _ACEOF
993 fi
994
995 if test -n "$ac_init_help"; then
996   case $ac_init_help in
997      short | recursive ) echo "Configuration of GNU Fortran Runtime Library 0.3:";;
998    esac
999   cat <<\_ACEOF
1000
1001 Optional Features:
1002   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1003   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1004   --enable-version-specific-runtime-libs    Specify that runtime libraries should be installed in a compiler-specific directory
1005   --enable-intermodule    build the library in one step
1006   --enable-maintainer-mode  enable make rules and dependencies not useful
1007                           (and sometimes confusing) to the casual installer
1008   --enable-multilib       build many library versions (default)
1009   --disable-dependency-tracking  speeds up one-time build
1010   --enable-dependency-tracking   do not reject slow dependency extractors
1011   --enable-shared[=PKGS]
1012                           build shared libraries [default=yes]
1013   --enable-static[=PKGS]
1014                           build static libraries [default=yes]
1015   --enable-fast-install[=PKGS]
1016                           optimize for fast installation [default=yes]
1017   --disable-libtool-lock  avoid locking (might break parallel builds)
1018   --disable-largefile     omit support for large files
1019
1020 Optional Packages:
1021   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1022   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1023   --with-build-libsubdir=DIR  Directory where to find libraries for build system
1024   --with-pic              try to use only PIC/non-PIC objects [default=use
1025                           both]
1026   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1027
1028 Some influential environment variables:
1029   CC          C compiler command
1030   CFLAGS      C compiler flags
1031   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1032               nonstandard directory <lib dir>
1033   CPPFLAGS    C/C++ preprocessor flags, e.g. -I<include dir> if you have
1034               headers in a nonstandard directory <include dir>
1035   CPP         C preprocessor
1036   FC          Fortran compiler command
1037   FCFLAGS     Fortran compiler flags
1038
1039 Use these variables to override the choices made by `configure' or to help
1040 it to find libraries and programs with nonstandard names/locations.
1041
1042 _ACEOF
1043 fi
1044
1045 if test "$ac_init_help" = "recursive"; then
1046   # If there are subdirs, report their specific --help.
1047   ac_popdir=`pwd`
1048   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1049     test -d $ac_dir || continue
1050     ac_builddir=.
1051
1052 if test "$ac_dir" != .; then
1053   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1054   # A "../" for each directory in $ac_dir_suffix.
1055   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1056 else
1057   ac_dir_suffix= ac_top_builddir=
1058 fi
1059
1060 case $srcdir in
1061   .)  # No --srcdir option.  We are building in place.
1062     ac_srcdir=.
1063     if test -z "$ac_top_builddir"; then
1064        ac_top_srcdir=.
1065     else
1066        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
1067     fi ;;
1068   [\\/]* | ?:[\\/]* )  # Absolute path.
1069     ac_srcdir=$srcdir$ac_dir_suffix;
1070     ac_top_srcdir=$srcdir ;;
1071   *) # Relative path.
1072     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1073     ac_top_srcdir=$ac_top_builddir$srcdir ;;
1074 esac
1075
1076 # Do not use `cd foo && pwd` to compute absolute paths, because
1077 # the directories may not exist.
1078 case `pwd` in
1079 .) ac_abs_builddir="$ac_dir";;
1080 *)
1081   case "$ac_dir" in
1082   .) ac_abs_builddir=`pwd`;;
1083   [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
1084   *) ac_abs_builddir=`pwd`/"$ac_dir";;
1085   esac;;
1086 esac
1087 case $ac_abs_builddir in
1088 .) ac_abs_top_builddir=${ac_top_builddir}.;;
1089 *)
1090   case ${ac_top_builddir}. in
1091   .) ac_abs_top_builddir=$ac_abs_builddir;;
1092   [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
1093   *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
1094   esac;;
1095 esac
1096 case $ac_abs_builddir in
1097 .) ac_abs_srcdir=$ac_srcdir;;
1098 *)
1099   case $ac_srcdir in
1100   .) ac_abs_srcdir=$ac_abs_builddir;;
1101   [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
1102   *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
1103   esac;;
1104 esac
1105 case $ac_abs_builddir in
1106 .) ac_abs_top_srcdir=$ac_top_srcdir;;
1107 *)
1108   case $ac_top_srcdir in
1109   .) ac_abs_top_srcdir=$ac_abs_builddir;;
1110   [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
1111   *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
1112   esac;;
1113 esac
1114
1115     cd $ac_dir
1116     # Check for guested configure; otherwise get Cygnus style configure.
1117     if test -f $ac_srcdir/configure.gnu; then
1118       echo
1119       $SHELL $ac_srcdir/configure.gnu  --help=recursive
1120     elif test -f $ac_srcdir/configure; then
1121       echo
1122       $SHELL $ac_srcdir/configure  --help=recursive
1123     elif test -f $ac_srcdir/configure.ac ||
1124            test -f $ac_srcdir/configure.in; then
1125       echo
1126       $ac_configure --help
1127     else
1128       echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1129     fi
1130     cd $ac_popdir
1131   done
1132 fi
1133
1134 test -n "$ac_init_help" && exit 0
1135 if $ac_init_version; then
1136   cat <<\_ACEOF
1137 GNU Fortran Runtime Library configure 0.3
1138 generated by GNU Autoconf 2.59
1139
1140 Copyright (C) 2003 Free Software Foundation, Inc.
1141 This configure script is free software; the Free Software Foundation
1142 gives unlimited permission to copy, distribute and modify it.
1143 _ACEOF
1144   exit 0
1145 fi
1146 exec 5>config.log
1147 cat >&5 <<_ACEOF
1148 This file contains any messages produced by compilers while
1149 running configure, to aid debugging if configure makes a mistake.
1150
1151 It was created by GNU Fortran Runtime Library $as_me 0.3, which was
1152 generated by GNU Autoconf 2.59.  Invocation command line was
1153
1154   $ $0 $@
1155
1156 _ACEOF
1157 {
1158 cat <<_ASUNAME
1159 ## --------- ##
1160 ## Platform. ##
1161 ## --------- ##
1162
1163 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1164 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1165 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1166 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1167 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1168
1169 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1170 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
1171
1172 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1173 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1174 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1175 hostinfo               = `(hostinfo) 2>/dev/null               || echo unknown`
1176 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1177 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1178 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1179
1180 _ASUNAME
1181
1182 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1183 for as_dir in $PATH
1184 do
1185   IFS=$as_save_IFS
1186   test -z "$as_dir" && as_dir=.
1187   echo "PATH: $as_dir"
1188 done
1189
1190 } >&5
1191
1192 cat >&5 <<_ACEOF
1193
1194
1195 ## ----------- ##
1196 ## Core tests. ##
1197 ## ----------- ##
1198
1199 _ACEOF
1200
1201
1202 # Keep a trace of the command line.
1203 # Strip out --no-create and --no-recursion so they do not pile up.
1204 # Strip out --silent because we don't want to record it for future runs.
1205 # Also quote any args containing shell meta-characters.
1206 # Make two passes to allow for proper duplicate-argument suppression.
1207 ac_configure_args=
1208 ac_configure_args0=
1209 ac_configure_args1=
1210 ac_sep=
1211 ac_must_keep_next=false
1212 for ac_pass in 1 2
1213 do
1214   for ac_arg
1215   do
1216     case $ac_arg in
1217     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1218     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1219     | -silent | --silent | --silen | --sile | --sil)
1220       continue ;;
1221     *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1222       ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1223     esac
1224     case $ac_pass in
1225     1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1226     2)
1227       ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1228       if test $ac_must_keep_next = true; then
1229         ac_must_keep_next=false # Got value, back to normal.
1230       else
1231         case $ac_arg in
1232           *=* | --config-cache | -C | -disable-* | --disable-* \
1233           | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1234           | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1235           | -with-* | --with-* | -without-* | --without-* | --x)
1236             case "$ac_configure_args0 " in
1237               "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1238             esac
1239             ;;
1240           -* ) ac_must_keep_next=true ;;
1241         esac
1242       fi
1243       ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1244       # Get rid of the leading space.
1245       ac_sep=" "
1246       ;;
1247     esac
1248   done
1249 done
1250 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1251 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1252
1253 # When interrupted or exit'd, cleanup temporary files, and complete
1254 # config.log.  We remove comments because anyway the quotes in there
1255 # would cause problems or look ugly.
1256 # WARNING: Be sure not to use single quotes in there, as some shells,
1257 # such as our DU 5.0 friend, will then `close' the trap.
1258 trap 'exit_status=$?
1259   # Save into config.log some information that might help in debugging.
1260   {
1261     echo
1262
1263     cat <<\_ASBOX
1264 ## ---------------- ##
1265 ## Cache variables. ##
1266 ## ---------------- ##
1267 _ASBOX
1268     echo
1269     # The following way of writing the cache mishandles newlines in values,
1270 {
1271   (set) 2>&1 |
1272     case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1273     *ac_space=\ *)
1274       sed -n \
1275         "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1276           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1277       ;;
1278     *)
1279       sed -n \
1280         "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1281       ;;
1282     esac;
1283 }
1284     echo
1285
1286     cat <<\_ASBOX
1287 ## ----------------- ##
1288 ## Output variables. ##
1289 ## ----------------- ##
1290 _ASBOX
1291     echo
1292     for ac_var in $ac_subst_vars
1293     do
1294       eval ac_val=$`echo $ac_var`
1295       echo "$ac_var='"'"'$ac_val'"'"'"
1296     done | sort
1297     echo
1298
1299     if test -n "$ac_subst_files"; then
1300       cat <<\_ASBOX
1301 ## ------------- ##
1302 ## Output files. ##
1303 ## ------------- ##
1304 _ASBOX
1305       echo
1306       for ac_var in $ac_subst_files
1307       do
1308         eval ac_val=$`echo $ac_var`
1309         echo "$ac_var='"'"'$ac_val'"'"'"
1310       done | sort
1311       echo
1312     fi
1313
1314     if test -s confdefs.h; then
1315       cat <<\_ASBOX
1316 ## ----------- ##
1317 ## confdefs.h. ##
1318 ## ----------- ##
1319 _ASBOX
1320       echo
1321       sed "/^$/d" confdefs.h | sort
1322       echo
1323     fi
1324     test "$ac_signal" != 0 &&
1325       echo "$as_me: caught signal $ac_signal"
1326     echo "$as_me: exit $exit_status"
1327   } >&5
1328   rm -f core *.core &&
1329   rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1330     exit $exit_status
1331      ' 0
1332 for ac_signal in 1 2 13 15; do
1333   trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1334 done
1335 ac_signal=0
1336
1337 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1338 rm -rf conftest* confdefs.h
1339 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1340 echo >confdefs.h
1341
1342 # Predefined preprocessor variables.
1343
1344 cat >>confdefs.h <<_ACEOF
1345 #define PACKAGE_NAME "$PACKAGE_NAME"
1346 _ACEOF
1347
1348
1349 cat >>confdefs.h <<_ACEOF
1350 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1351 _ACEOF
1352
1353
1354 cat >>confdefs.h <<_ACEOF
1355 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1356 _ACEOF
1357
1358
1359 cat >>confdefs.h <<_ACEOF
1360 #define PACKAGE_STRING "$PACKAGE_STRING"
1361 _ACEOF
1362
1363
1364 cat >>confdefs.h <<_ACEOF
1365 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1366 _ACEOF
1367
1368
1369 # Let the site file select an alternate cache file if it wants to.
1370 # Prefer explicitly selected file to automatically selected ones.
1371 if test -z "$CONFIG_SITE"; then
1372   if test "x$prefix" != xNONE; then
1373     CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1374   else
1375     CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1376   fi
1377 fi
1378 for ac_site_file in $CONFIG_SITE; do
1379   if test -r "$ac_site_file"; then
1380     { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1381 echo "$as_me: loading site script $ac_site_file" >&6;}
1382     sed 's/^/| /' "$ac_site_file" >&5
1383     . "$ac_site_file"
1384   fi
1385 done
1386
1387 if test -r "$cache_file"; then
1388   # Some versions of bash will fail to source /dev/null (special
1389   # files actually), so we avoid doing that.
1390   if test -f "$cache_file"; then
1391     { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1392 echo "$as_me: loading cache $cache_file" >&6;}
1393     case $cache_file in
1394       [\\/]* | ?:[\\/]* ) . $cache_file;;
1395       *)                      . ./$cache_file;;
1396     esac
1397   fi
1398 else
1399   { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1400 echo "$as_me: creating cache $cache_file" >&6;}
1401   >$cache_file
1402 fi
1403
1404 # Check that the precious variables saved in the cache have kept the same
1405 # value.
1406 ac_cache_corrupted=false
1407 for ac_var in `(set) 2>&1 |
1408                sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1409   eval ac_old_set=\$ac_cv_env_${ac_var}_set
1410   eval ac_new_set=\$ac_env_${ac_var}_set
1411   eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1412   eval ac_new_val="\$ac_env_${ac_var}_value"
1413   case $ac_old_set,$ac_new_set in
1414     set,)
1415       { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1416 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1417       ac_cache_corrupted=: ;;
1418     ,set)
1419       { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1420 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1421       ac_cache_corrupted=: ;;
1422     ,);;
1423     *)
1424       if test "x$ac_old_val" != "x$ac_new_val"; then
1425         # differences in whitespace do not lead to failure.
1426         ac_old_val_w=`echo x $ac_old_val`
1427         ac_new_val_w=`echo x $ac_new_val`
1428         if test "$ac_old_val_w" != "$ac_new_val_w"; then
1429           { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1430 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1431           ac_cache_corrupted=:
1432         else
1433           { echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1434 echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1435           eval $ac_var=\$ac_old_val
1436         fi
1437         { echo "$as_me:$LINENO:   former value:  \`$ac_old_val'" >&5
1438 echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
1439         { echo "$as_me:$LINENO:   current value: \`$ac_new_val'" >&5
1440 echo "$as_me:   current value: \`$ac_new_val'" >&2;}
1441       fi;;
1442   esac
1443   # Pass precious variables to config.status.
1444   if test "$ac_new_set" = set; then
1445     case $ac_new_val in
1446     *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1447       ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1448     *) ac_arg=$ac_var=$ac_new_val ;;
1449     esac
1450     case " $ac_configure_args " in
1451       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
1452       *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1453     esac
1454   fi
1455 done
1456 if $ac_cache_corrupted; then
1457   { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
1458 echo "$as_me: error: in \`$ac_pwd':" >&2;}
1459   { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1460 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1461   { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1462 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1463    { (exit 1); exit 1; }; }
1464 fi
1465
1466 ac_ext=c
1467 ac_cpp='$CPP $CPPFLAGS'
1468 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1469 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1470 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501           ac_config_headers="$ac_config_headers config.h"
1502
1503 ac_aux_dir=
1504 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1505   if test -f $ac_dir/install-sh; then
1506     ac_aux_dir=$ac_dir
1507     ac_install_sh="$ac_aux_dir/install-sh -c"
1508     break
1509   elif test -f $ac_dir/install.sh; then
1510     ac_aux_dir=$ac_dir
1511     ac_install_sh="$ac_aux_dir/install.sh -c"
1512     break
1513   elif test -f $ac_dir/shtool; then
1514     ac_aux_dir=$ac_dir
1515     ac_install_sh="$ac_aux_dir/shtool install -c"
1516     break
1517   fi
1518 done
1519 if test -z "$ac_aux_dir"; then
1520   { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1521 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1522    { (exit 1); exit 1; }; }
1523 fi
1524 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1525 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1526 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1527
1528 # Make sure we can run config.sub.
1529 $ac_config_sub sun4 >/dev/null 2>&1 ||
1530   { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1531 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1532    { (exit 1); exit 1; }; }
1533
1534 echo "$as_me:$LINENO: checking build system type" >&5
1535 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1536 if test "${ac_cv_build+set}" = set; then
1537   echo $ECHO_N "(cached) $ECHO_C" >&6
1538 else
1539   ac_cv_build_alias=$build_alias
1540 test -z "$ac_cv_build_alias" &&
1541   ac_cv_build_alias=`$ac_config_guess`
1542 test -z "$ac_cv_build_alias" &&
1543   { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1544 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1545    { (exit 1); exit 1; }; }
1546 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1547   { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1548 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1549    { (exit 1); exit 1; }; }
1550
1551 fi
1552 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1553 echo "${ECHO_T}$ac_cv_build" >&6
1554 build=$ac_cv_build
1555 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1556 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1557 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1558
1559
1560  case ${build_alias} in
1561   "") build_noncanonical=${build} ;;
1562   *) build_noncanonical=${build_alias} ;;
1563 esac
1564
1565  case ${host_alias} in
1566   "") host_noncanonical=${build_noncanonical} ;;
1567   *) host_noncanonical=${host_alias} ;;
1568 esac
1569
1570  case ${target_alias} in
1571   "") target_noncanonical=${host_noncanonical} ;;
1572   *) target_noncanonical=${target_alias} ;;
1573 esac
1574
1575
1576 # post-stage1 host modules use a different CC_FOR_BUILD so, in order to
1577 # have matching libraries, they should use host libraries: Makefile.tpl
1578 # arranges to pass --with-build-libsubdir=$(HOST_SUBDIR).
1579 # However, they still use the build modules, because the corresponding
1580 # host modules (e.g. bison) are only built for the host when bootstrap
1581 # finishes. So:
1582 # - build_subdir is where we find build modules, and never changes.
1583 # - build_libsubdir is where we find build libraries, and can be overridden.
1584
1585 # Prefix 'build-' so this never conflicts with target_subdir.
1586 build_subdir="build-${build_noncanonical}"
1587
1588 # Check whether --with-build-libsubdir or --without-build-libsubdir was given.
1589 if test "${with_build_libsubdir+set}" = set; then
1590   withval="$with_build_libsubdir"
1591   build_libsubdir="$withval"
1592 else
1593   build_libsubdir="$build_subdir"
1594 fi;
1595 # --srcdir=. covers the toplevel, while "test -d" covers the subdirectories
1596 if ( test $srcdir = . && test -d gcc ) \
1597    || test -d $srcdir/../host-${host_noncanonical}; then
1598   host_subdir="host-${host_noncanonical}"
1599 else
1600   host_subdir=.
1601 fi
1602 # No prefix.
1603 target_subdir=${target_noncanonical}
1604
1605
1606 # -------
1607 # Options
1608 # -------
1609
1610 echo "$as_me:$LINENO: checking for --enable-version-specific-runtime-libs" >&5
1611 echo $ECHO_N "checking for --enable-version-specific-runtime-libs... $ECHO_C" >&6
1612 # Check whether --enable-version-specific-runtime-libs or --disable-version-specific-runtime-libs was given.
1613 if test "${enable_version_specific_runtime_libs+set}" = set; then
1614   enableval="$enable_version_specific_runtime_libs"
1615   case "$enableval" in
1616  yes) version_specific_libs=yes ;;
1617  no)  version_specific_libs=no ;;
1618  *)   { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable version-specific libs" >&5
1619 echo "$as_me: error: Unknown argument to enable/disable version-specific libs" >&2;}
1620    { (exit 1); exit 1; }; };;
1621  esac
1622 else
1623   version_specific_libs=no
1624 fi;
1625 echo "$as_me:$LINENO: result: $version_specific_libs" >&5
1626 echo "${ECHO_T}$version_specific_libs" >&6
1627
1628 # Build with intermodule optimisations
1629 echo "$as_me:$LINENO: checking for --enable-intermodule" >&5
1630 echo $ECHO_N "checking for --enable-intermodule... $ECHO_C" >&6
1631 # Check whether --enable-intermodule or --disable-intermodule was given.
1632 if test "${enable_intermodule+set}" = set; then
1633   enableval="$enable_intermodule"
1634   case "$enable_intermodule" in
1635   yes) onestep="-onestep";;
1636     *) onestep="";;
1637 esac
1638 else
1639   onestep=""
1640 fi;
1641 echo "$as_me:$LINENO: result: $enable_intermodule" >&5
1642 echo "${ECHO_T}$enable_intermodule" >&6
1643
1644
1645 if test x$onestep = x-onestep; then
1646   onestep_TRUE=
1647   onestep_FALSE='#'
1648 else
1649   onestep_TRUE='#'
1650   onestep_FALSE=
1651 fi
1652
1653
1654
1655 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
1656 #
1657 # You will slowly go insane if you do not grok the following fact:  when
1658 # building this library, the top-level /target/ becomes the library's /host/.
1659 #
1660 # configure then causes --target to default to --host, exactly like any
1661 # other package using autoconf.  Therefore, 'target' and 'host' will
1662 # always be the same.  This makes sense both for native and cross compilers
1663 # just think about it for a little while.  :-)
1664 #
1665 # Also, if this library is being configured as part of a cross compiler, the
1666 # top-level configure script will pass the "real" host as $with_cross_host.
1667 #
1668 # Do not delete or change the following two lines.  For why, see
1669 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
1670 echo "$as_me:$LINENO: checking host system type" >&5
1671 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1672 if test "${ac_cv_host+set}" = set; then
1673   echo $ECHO_N "(cached) $ECHO_C" >&6
1674 else
1675   ac_cv_host_alias=$host_alias
1676 test -z "$ac_cv_host_alias" &&
1677   ac_cv_host_alias=$ac_cv_build_alias
1678 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1679   { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1680 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1681    { (exit 1); exit 1; }; }
1682
1683 fi
1684 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1685 echo "${ECHO_T}$ac_cv_host" >&6
1686 host=$ac_cv_host
1687 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1688 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1689 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1690
1691
1692 echo "$as_me:$LINENO: checking target system type" >&5
1693 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1694 if test "${ac_cv_target+set}" = set; then
1695   echo $ECHO_N "(cached) $ECHO_C" >&6
1696 else
1697   ac_cv_target_alias=$target_alias
1698 test "x$ac_cv_target_alias" = "x" &&
1699   ac_cv_target_alias=$ac_cv_host_alias
1700 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1701   { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1702 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1703    { (exit 1); exit 1; }; }
1704
1705 fi
1706 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1707 echo "${ECHO_T}$ac_cv_target" >&6
1708 target=$ac_cv_target
1709 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1710 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1711 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1712
1713
1714 # The aliases save the names the user supplied, while $host etc.
1715 # will get canonicalized.
1716 test -n "$target_alias" &&
1717   test "$program_prefix$program_suffix$program_transform_name" = \
1718     NONENONEs,x,x, &&
1719   program_prefix=${target_alias}-
1720 target_alias=${target_alias-$host_alias}
1721
1722 # Sets up automake.  Must come after AC_CANONICAL_SYSTEM.  Each of the
1723 # following is magically included in AUTOMAKE_OPTIONS in each Makefile.am.
1724 #  1.9.6:  minimum required version
1725 #  no-define:  PACKAGE and VERSION will not be #define'd in config.h (a bunch
1726 #              of other PACKAGE_* variables will, however, and there's nothing
1727 #              we can do about that; they come from AC_INIT).
1728 #  foreign:  we don't follow the normal rules for GNU packages (no COPYING
1729 #            file in the top srcdir, etc, etc), so stop complaining.
1730 #  -Wall:  turns on all automake warnings...
1731 #  -Wno-portability:  ...except this one, since GNU make is required.
1732 am__api_version="1.9"
1733 # Find a good install program.  We prefer a C program (faster),
1734 # so one script is as good as another.  But avoid the broken or
1735 # incompatible versions:
1736 # SysV /etc/install, /usr/sbin/install
1737 # SunOS /usr/etc/install
1738 # IRIX /sbin/install
1739 # AIX /bin/install
1740 # AmigaOS /C/install, which installs bootblocks on floppy discs
1741 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1742 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1743 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1744 # OS/2's system install, which has a completely different semantic
1745 # ./install, which can be erroneously created by make from ./install.sh.
1746 # Reject install programs that cannot install multiple files.
1747 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1748 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1749 if test -z "$INSTALL"; then
1750 if test "${ac_cv_path_install+set}" = set; then
1751   echo $ECHO_N "(cached) $ECHO_C" >&6
1752 else
1753   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1754 for as_dir in $PATH
1755 do
1756   IFS=$as_save_IFS
1757   test -z "$as_dir" && as_dir=.
1758   # Account for people who put trailing slashes in PATH elements.
1759 case $as_dir/ in
1760   ./ | .// | /cC/* | \
1761   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1762   ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1763   /usr/ucb/* ) ;;
1764   *)
1765     # OSF1 and SCO ODT 3.0 have their own names for install.
1766     # Don't use installbsd from OSF since it installs stuff as root
1767     # by default.
1768     for ac_prog in ginstall scoinst install; do
1769       for ac_exec_ext in '' $ac_executable_extensions; do
1770         if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1771           if test $ac_prog = install &&
1772             grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1773             # AIX install.  It has an incompatible calling convention.
1774             :
1775           elif test $ac_prog = install &&
1776             grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1777             # program-specific install script used by HP pwplus--don't use.
1778             :
1779           else
1780             rm -rf conftest.one conftest.two conftest.dir
1781             echo one > conftest.one
1782             echo two > conftest.two
1783             mkdir conftest.dir
1784             if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
1785               test -s conftest.one && test -s conftest.two &&
1786               test -s conftest.dir/conftest.one &&
1787               test -s conftest.dir/conftest.two
1788             then
1789               ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1790               break 3
1791             fi
1792           fi
1793         fi
1794       done
1795     done
1796     ;;
1797 esac
1798 done
1799
1800 rm -rf conftest.one conftest.two conftest.dir
1801
1802 fi
1803   if test "${ac_cv_path_install+set}" = set; then
1804     INSTALL=$ac_cv_path_install
1805   else
1806     # As a last resort, use the slow shell script.  Don't cache a
1807     # value for INSTALL within a source directory, because that will
1808     # break other packages using the cache if that directory is
1809     # removed, or if the value is a relative name.
1810     INSTALL=$ac_install_sh
1811   fi
1812 fi
1813 echo "$as_me:$LINENO: result: $INSTALL" >&5
1814 echo "${ECHO_T}$INSTALL" >&6
1815
1816 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1817 # It thinks the first close brace ends the variable substitution.
1818 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1819
1820 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1821
1822 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1823
1824 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1825 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1826 # Just in case
1827 sleep 1
1828 echo timestamp > conftest.file
1829 # Do `set' in a subshell so we don't clobber the current shell's
1830 # arguments.  Must try -L first in case configure is actually a
1831 # symlink; some systems play weird games with the mod time of symlinks
1832 # (eg FreeBSD returns the mod time of the symlink's containing
1833 # directory).
1834 if (
1835    set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1836    if test "$*" = "X"; then
1837       # -L didn't work.
1838       set X `ls -t $srcdir/configure conftest.file`
1839    fi
1840    rm -f conftest.file
1841    if test "$*" != "X $srcdir/configure conftest.file" \
1842       && test "$*" != "X conftest.file $srcdir/configure"; then
1843
1844       # If neither matched, then we have a broken ls.  This can happen
1845       # if, for instance, CONFIG_SHELL is bash and it inherits a
1846       # broken ls alias from the environment.  This has actually
1847       # happened.  Such a system could not be considered "sane".
1848       { { echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
1849 alias in your environment" >&5
1850 echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
1851 alias in your environment" >&2;}
1852    { (exit 1); exit 1; }; }
1853    fi
1854
1855    test "$2" = conftest.file
1856    )
1857 then
1858    # Ok.
1859    :
1860 else
1861    { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1862 Check your system clock" >&5
1863 echo "$as_me: error: newly created file is older than distributed files!
1864 Check your system clock" >&2;}
1865    { (exit 1); exit 1; }; }
1866 fi
1867 echo "$as_me:$LINENO: result: yes" >&5
1868 echo "${ECHO_T}yes" >&6
1869 test "$program_prefix" != NONE &&
1870   program_transform_name="s,^,$program_prefix,;$program_transform_name"
1871 # Use a double $ so make ignores it.
1872 test "$program_suffix" != NONE &&
1873   program_transform_name="s,\$,$program_suffix,;$program_transform_name"
1874 # Double any \ or $.  echo might interpret backslashes.
1875 # By default was `s,x,x', remove it if useless.
1876 cat <<\_ACEOF >conftest.sed
1877 s/[\\$]/&&/g;s/;s,x,x,$//
1878 _ACEOF
1879 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1880 rm conftest.sed
1881
1882 # expand $ac_aux_dir to an absolute path
1883 am_aux_dir=`cd $ac_aux_dir && pwd`
1884
1885 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1886 # Use eval to expand $SHELL
1887 if eval "$MISSING --run true"; then
1888   am_missing_run="$MISSING --run "
1889 else
1890   am_missing_run=
1891   { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1892 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1893 fi
1894
1895 if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
1896   # We used to keeping the `.' as first argument, in order to
1897   # allow $(mkdir_p) to be used without argument.  As in
1898   #   $(mkdir_p) $(somedir)
1899   # where $(somedir) is conditionally defined.  However this is wrong
1900   # for two reasons:
1901   #  1. if the package is installed by a user who cannot write `.'
1902   #     make install will fail,
1903   #  2. the above comment should most certainly read
1904   #     $(mkdir_p) $(DESTDIR)$(somedir)
1905   #     so it does not work when $(somedir) is undefined and
1906   #     $(DESTDIR) is not.
1907   #  To support the latter case, we have to write
1908   #     test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
1909   #  so the `.' trick is pointless.
1910   mkdir_p='mkdir -p --'
1911 else
1912   # On NextStep and OpenStep, the `mkdir' command does not
1913   # recognize any option.  It will interpret all options as
1914   # directories to create, and then abort because `.' already
1915   # exists.
1916   for d in ./-p ./--version;
1917   do
1918     test -d $d && rmdir $d
1919   done
1920   # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1921   if test -f "$ac_aux_dir/mkinstalldirs"; then
1922     mkdir_p='$(mkinstalldirs)'
1923   else
1924     mkdir_p='$(install_sh) -d'
1925   fi
1926 fi
1927
1928 for ac_prog in gawk mawk nawk awk
1929 do
1930   # Extract the first word of "$ac_prog", so it can be a program name with args.
1931 set dummy $ac_prog; ac_word=$2
1932 echo "$as_me:$LINENO: checking for $ac_word" >&5
1933 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1934 if test "${ac_cv_prog_AWK+set}" = set; then
1935   echo $ECHO_N "(cached) $ECHO_C" >&6
1936 else
1937   if test -n "$AWK"; then
1938   ac_cv_prog_AWK="$AWK" # Let the user override the test.
1939 else
1940 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1941 for as_dir in $PATH
1942 do
1943   IFS=$as_save_IFS
1944   test -z "$as_dir" && as_dir=.
1945   for ac_exec_ext in '' $ac_executable_extensions; do
1946   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1947     ac_cv_prog_AWK="$ac_prog"
1948     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1949     break 2
1950   fi
1951 done
1952 done
1953
1954 fi
1955 fi
1956 AWK=$ac_cv_prog_AWK
1957 if test -n "$AWK"; then
1958   echo "$as_me:$LINENO: result: $AWK" >&5
1959 echo "${ECHO_T}$AWK" >&6
1960 else
1961   echo "$as_me:$LINENO: result: no" >&5
1962 echo "${ECHO_T}no" >&6
1963 fi
1964
1965   test -n "$AWK" && break
1966 done
1967
1968 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1969 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1970 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
1971 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1972   echo $ECHO_N "(cached) $ECHO_C" >&6
1973 else
1974   cat >conftest.make <<\_ACEOF
1975 all:
1976         @echo 'ac_maketemp="$(MAKE)"'
1977 _ACEOF
1978 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1979 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1980 if test -n "$ac_maketemp"; then
1981   eval ac_cv_prog_make_${ac_make}_set=yes
1982 else
1983   eval ac_cv_prog_make_${ac_make}_set=no
1984 fi
1985 rm -f conftest.make
1986 fi
1987 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1988   echo "$as_me:$LINENO: result: yes" >&5
1989 echo "${ECHO_T}yes" >&6
1990   SET_MAKE=
1991 else
1992   echo "$as_me:$LINENO: result: no" >&5
1993 echo "${ECHO_T}no" >&6
1994   SET_MAKE="MAKE=${MAKE-make}"
1995 fi
1996
1997 rm -rf .tst 2>/dev/null
1998 mkdir .tst 2>/dev/null
1999 if test -d .tst; then
2000   am__leading_dot=.
2001 else
2002   am__leading_dot=_
2003 fi
2004 rmdir .tst 2>/dev/null
2005
2006 # test to see if srcdir already configured
2007 if test "`cd $srcdir && pwd`" != "`pwd`" &&
2008    test -f $srcdir/config.status; then
2009   { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2010 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2011    { (exit 1); exit 1; }; }
2012 fi
2013
2014 # test whether we have cygpath
2015 if test -z "$CYGPATH_W"; then
2016   if (cygpath --version) >/dev/null 2>/dev/null; then
2017     CYGPATH_W='cygpath -w'
2018   else
2019     CYGPATH_W=echo
2020   fi
2021 fi
2022
2023
2024 # Define the identity of the package.
2025  PACKAGE='libgfortran'
2026  VERSION='0.3'
2027
2028
2029 # Some tools Automake needs.
2030
2031 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2032
2033
2034 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2035
2036
2037 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2038
2039
2040 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2041
2042
2043 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2044
2045 install_sh=${install_sh-"$am_aux_dir/install-sh"}
2046
2047 # Installed binaries are usually stripped using `strip' when the user
2048 # run `make install-strip'.  However `strip' might not be the right
2049 # tool to use in cross-compilation environments, therefore Automake
2050 # will honor the `STRIP' environment variable to overrule this program.
2051 if test "$cross_compiling" != no; then
2052   if test -n "$ac_tool_prefix"; then
2053   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2054 set dummy ${ac_tool_prefix}strip; 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_STRIP+set}" = set; then
2058   echo $ECHO_N "(cached) $ECHO_C" >&6
2059 else
2060   if test -n "$STRIP"; then
2061   ac_cv_prog_STRIP="$STRIP" # 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_STRIP="${ac_tool_prefix}strip"
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 STRIP=$ac_cv_prog_STRIP
2080 if test -n "$STRIP"; then
2081   echo "$as_me:$LINENO: result: $STRIP" >&5
2082 echo "${ECHO_T}$STRIP" >&6
2083 else
2084   echo "$as_me:$LINENO: result: no" >&5
2085 echo "${ECHO_T}no" >&6
2086 fi
2087
2088 fi
2089 if test -z "$ac_cv_prog_STRIP"; then
2090   ac_ct_STRIP=$STRIP
2091   # Extract the first word of "strip", so it can be a program name with args.
2092 set dummy strip; ac_word=$2
2093 echo "$as_me:$LINENO: checking for $ac_word" >&5
2094 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2095 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2096   echo $ECHO_N "(cached) $ECHO_C" >&6
2097 else
2098   if test -n "$ac_ct_STRIP"; then
2099   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2100 else
2101 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2102 for as_dir in $PATH
2103 do
2104   IFS=$as_save_IFS
2105   test -z "$as_dir" && as_dir=.
2106   for ac_exec_ext in '' $ac_executable_extensions; do
2107   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2108     ac_cv_prog_ac_ct_STRIP="strip"
2109     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2110     break 2
2111   fi
2112 done
2113 done
2114
2115   test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
2116 fi
2117 fi
2118 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2119 if test -n "$ac_ct_STRIP"; then
2120   echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2121 echo "${ECHO_T}$ac_ct_STRIP" >&6
2122 else
2123   echo "$as_me:$LINENO: result: no" >&5
2124 echo "${ECHO_T}no" >&6
2125 fi
2126
2127   STRIP=$ac_ct_STRIP
2128 else
2129   STRIP="$ac_cv_prog_STRIP"
2130 fi
2131
2132 fi
2133 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
2134
2135 # We need awk for the "check" target.  The system "awk" is bad on
2136 # some platforms.
2137 # Always define AMTAR for backward compatibility.
2138
2139 AMTAR=${AMTAR-"${am_missing_run}tar"}
2140
2141 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2142
2143
2144
2145
2146
2147
2148 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
2149 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
2150     # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
2151 if test "${enable_maintainer_mode+set}" = set; then
2152   enableval="$enable_maintainer_mode"
2153   USE_MAINTAINER_MODE=$enableval
2154 else
2155   USE_MAINTAINER_MODE=no
2156 fi;
2157   echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
2158 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
2159
2160
2161 if test $USE_MAINTAINER_MODE = yes; then
2162   MAINTAINER_MODE_TRUE=
2163   MAINTAINER_MODE_FALSE='#'
2164 else
2165   MAINTAINER_MODE_TRUE='#'
2166   MAINTAINER_MODE_FALSE=
2167 fi
2168
2169   MAINT=$MAINTAINER_MODE_TRUE
2170
2171
2172 # Default to --enable-multilib
2173 # Check whether --enable-multilib or --disable-multilib was given.
2174 if test "${enable_multilib+set}" = set; then
2175   enableval="$enable_multilib"
2176   case "$enableval" in
2177   yes) multilib=yes ;;
2178   no)  multilib=no ;;
2179   *)   { { echo "$as_me:$LINENO: error: bad value $enableval for multilib option" >&5
2180 echo "$as_me: error: bad value $enableval for multilib option" >&2;}
2181    { (exit 1); exit 1; }; } ;;
2182  esac
2183 else
2184   multilib=yes
2185 fi;
2186
2187 # We may get other options which we leave undocumented:
2188 # --with-target-subdir, --with-multisrctop, --with-multisubdir
2189 # See config-ml.in if you want the gory details.
2190
2191 if test "$srcdir" = "."; then
2192   if test "$with_target_subdir" != "."; then
2193     multi_basedir="$srcdir/$with_multisrctop../.."
2194   else
2195     multi_basedir="$srcdir/$with_multisrctop.."
2196   fi
2197 else
2198   multi_basedir="$srcdir/.."
2199 fi
2200
2201
2202 # Even if the default multilib is not a cross compilation,
2203 # it may be that some of the other multilibs are.
2204 if test $cross_compiling = no && test $multilib = yes \
2205    && test "x${with_multisubdir}" != x ; then
2206    cross_compiling=maybe
2207 fi
2208
2209           ac_config_commands="$ac_config_commands default-1"
2210
2211
2212 # Handy for debugging:
2213 #AC_MSG_NOTICE($build / $host / $target / $host_alias / $target_alias); sleep 5
2214
2215 # Are we being configured with some form of cross compiler?
2216 # NB: We don't actually need to know this just now, but when, say, a test
2217 #     suite is included, we'll have to know.
2218 if test "$build" != "$host"; then
2219   LIBGFOR_IS_NATIVE=false
2220
2221 else
2222   LIBGFOR_IS_NATIVE=true
2223 fi
2224
2225 # Calculate toolexeclibdir
2226 # Also toolexecdir, though it's only used in toolexeclibdir
2227 case ${version_specific_libs} in
2228   yes)
2229     # Need the gcc compiler version to know where to install libraries
2230     # and header files if --enable-version-specific-runtime-libs option
2231     # is selected.
2232     toolexecdir='$(libdir)/gcc/$(target_alias)'
2233     toolexeclibdir='$(toolexecdir)/$(gcc_version)$(MULTISUBDIR)'
2234     ;;
2235   no)
2236     if test -n "$with_cross_host" &&
2237        test x"$with_cross_host" != x"no"; then
2238       # Install a library built with a cross compiler in tooldir, not libdir.
2239       toolexecdir='$(exec_prefix)/$(target_alias)'
2240       toolexeclibdir='$(toolexecdir)/lib'
2241     else
2242       toolexecdir='$(libdir)/gcc-lib/$(target_alias)'
2243       toolexeclibdir='$(libdir)'
2244     fi
2245     multi_os_directory=`$CC -print-multi-os-directory`
2246     case $multi_os_directory in
2247       .) ;; # Avoid trailing /.
2248       *) toolexeclibdir=$toolexeclibdir/$multi_os_directory ;;
2249     esac
2250     ;;
2251 esac
2252
2253
2254
2255 # Check the compiler.
2256 # The same as in boehm-gc and libstdc++. Have to borrow it from there.
2257 # We must force CC to /not/ be precious variables; otherwise
2258 # the wrong, non-multilib-adjusted value will be used in multilibs.
2259 # As a side effect, we have to subst CFLAGS ourselves.
2260
2261
2262
2263 ac_ext=c
2264 ac_cpp='$CPP $CPPFLAGS'
2265 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2266 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2267 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2268 if test -n "$ac_tool_prefix"; then
2269   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2270 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2271 echo "$as_me:$LINENO: checking for $ac_word" >&5
2272 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2273 if test "${ac_cv_prog_CC+set}" = set; then
2274   echo $ECHO_N "(cached) $ECHO_C" >&6
2275 else
2276   if test -n "$CC"; then
2277   ac_cv_prog_CC="$CC" # Let the user override the test.
2278 else
2279 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2280 for as_dir in $PATH
2281 do
2282   IFS=$as_save_IFS
2283   test -z "$as_dir" && as_dir=.
2284   for ac_exec_ext in '' $ac_executable_extensions; do
2285   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2286     ac_cv_prog_CC="${ac_tool_prefix}gcc"
2287     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2288     break 2
2289   fi
2290 done
2291 done
2292
2293 fi
2294 fi
2295 CC=$ac_cv_prog_CC
2296 if test -n "$CC"; then
2297   echo "$as_me:$LINENO: result: $CC" >&5
2298 echo "${ECHO_T}$CC" >&6
2299 else
2300   echo "$as_me:$LINENO: result: no" >&5
2301 echo "${ECHO_T}no" >&6
2302 fi
2303
2304 fi
2305 if test -z "$ac_cv_prog_CC"; then
2306   ac_ct_CC=$CC
2307   # Extract the first word of "gcc", so it can be a program name with args.
2308 set dummy gcc; ac_word=$2
2309 echo "$as_me:$LINENO: checking for $ac_word" >&5
2310 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2311 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2312   echo $ECHO_N "(cached) $ECHO_C" >&6
2313 else
2314   if test -n "$ac_ct_CC"; then
2315   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2316 else
2317 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2318 for as_dir in $PATH
2319 do
2320   IFS=$as_save_IFS
2321   test -z "$as_dir" && as_dir=.
2322   for ac_exec_ext in '' $ac_executable_extensions; do
2323   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2324     ac_cv_prog_ac_ct_CC="gcc"
2325     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2326     break 2
2327   fi
2328 done
2329 done
2330
2331 fi
2332 fi
2333 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2334 if test -n "$ac_ct_CC"; then
2335   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2336 echo "${ECHO_T}$ac_ct_CC" >&6
2337 else
2338   echo "$as_me:$LINENO: result: no" >&5
2339 echo "${ECHO_T}no" >&6
2340 fi
2341
2342   CC=$ac_ct_CC
2343 else
2344   CC="$ac_cv_prog_CC"
2345 fi
2346
2347 if test -z "$CC"; then
2348   if test -n "$ac_tool_prefix"; then
2349   # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2350 set dummy ${ac_tool_prefix}cc; ac_word=$2
2351 echo "$as_me:$LINENO: checking for $ac_word" >&5
2352 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2353 if test "${ac_cv_prog_CC+set}" = set; then
2354   echo $ECHO_N "(cached) $ECHO_C" >&6
2355 else
2356   if test -n "$CC"; then
2357   ac_cv_prog_CC="$CC" # Let the user override the test.
2358 else
2359 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2360 for as_dir in $PATH
2361 do
2362   IFS=$as_save_IFS
2363   test -z "$as_dir" && as_dir=.
2364   for ac_exec_ext in '' $ac_executable_extensions; do
2365   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2366     ac_cv_prog_CC="${ac_tool_prefix}cc"
2367     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2368     break 2
2369   fi
2370 done
2371 done
2372
2373 fi
2374 fi
2375 CC=$ac_cv_prog_CC
2376 if test -n "$CC"; then
2377   echo "$as_me:$LINENO: result: $CC" >&5
2378 echo "${ECHO_T}$CC" >&6
2379 else
2380   echo "$as_me:$LINENO: result: no" >&5
2381 echo "${ECHO_T}no" >&6
2382 fi
2383
2384 fi
2385 if test -z "$ac_cv_prog_CC"; then
2386   ac_ct_CC=$CC
2387   # Extract the first word of "cc", so it can be a program name with args.
2388 set dummy cc; ac_word=$2
2389 echo "$as_me:$LINENO: checking for $ac_word" >&5
2390 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2391 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2392   echo $ECHO_N "(cached) $ECHO_C" >&6
2393 else
2394   if test -n "$ac_ct_CC"; then
2395   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2396 else
2397 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2398 for as_dir in $PATH
2399 do
2400   IFS=$as_save_IFS
2401   test -z "$as_dir" && as_dir=.
2402   for ac_exec_ext in '' $ac_executable_extensions; do
2403   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2404     ac_cv_prog_ac_ct_CC="cc"
2405     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2406     break 2
2407   fi
2408 done
2409 done
2410
2411 fi
2412 fi
2413 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2414 if test -n "$ac_ct_CC"; then
2415   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2416 echo "${ECHO_T}$ac_ct_CC" >&6
2417 else
2418   echo "$as_me:$LINENO: result: no" >&5
2419 echo "${ECHO_T}no" >&6
2420 fi
2421
2422   CC=$ac_ct_CC
2423 else
2424   CC="$ac_cv_prog_CC"
2425 fi
2426
2427 fi
2428 if test -z "$CC"; then
2429   # Extract the first word of "cc", so it can be a program name with args.
2430 set dummy cc; ac_word=$2
2431 echo "$as_me:$LINENO: checking for $ac_word" >&5
2432 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2433 if test "${ac_cv_prog_CC+set}" = set; then
2434   echo $ECHO_N "(cached) $ECHO_C" >&6
2435 else
2436   if test -n "$CC"; then
2437   ac_cv_prog_CC="$CC" # Let the user override the test.
2438 else
2439   ac_prog_rejected=no
2440 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2441 for as_dir in $PATH
2442 do
2443   IFS=$as_save_IFS
2444   test -z "$as_dir" && as_dir=.
2445   for ac_exec_ext in '' $ac_executable_extensions; do
2446   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2447     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2448        ac_prog_rejected=yes
2449        continue
2450      fi
2451     ac_cv_prog_CC="cc"
2452     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2453     break 2
2454   fi
2455 done
2456 done
2457
2458 if test $ac_prog_rejected = yes; then
2459   # We found a bogon in the path, so make sure we never use it.
2460   set dummy $ac_cv_prog_CC
2461   shift
2462   if test $# != 0; then
2463     # We chose a different compiler from the bogus one.
2464     # However, it has the same basename, so the bogon will be chosen
2465     # first if we set CC to just the basename; use the full file name.
2466     shift
2467     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2468   fi
2469 fi
2470 fi
2471 fi
2472 CC=$ac_cv_prog_CC
2473 if test -n "$CC"; then
2474   echo "$as_me:$LINENO: result: $CC" >&5
2475 echo "${ECHO_T}$CC" >&6
2476 else
2477   echo "$as_me:$LINENO: result: no" >&5
2478 echo "${ECHO_T}no" >&6
2479 fi
2480
2481 fi
2482 if test -z "$CC"; then
2483   if test -n "$ac_tool_prefix"; then
2484   for ac_prog in cl
2485   do
2486     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2487 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2488 echo "$as_me:$LINENO: checking for $ac_word" >&5
2489 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2490 if test "${ac_cv_prog_CC+set}" = set; then
2491   echo $ECHO_N "(cached) $ECHO_C" >&6
2492 else
2493   if test -n "$CC"; then
2494   ac_cv_prog_CC="$CC" # Let the user override the test.
2495 else
2496 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2497 for as_dir in $PATH
2498 do
2499   IFS=$as_save_IFS
2500   test -z "$as_dir" && as_dir=.
2501   for ac_exec_ext in '' $ac_executable_extensions; do
2502   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2503     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2504     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2505     break 2
2506   fi
2507 done
2508 done
2509
2510 fi
2511 fi
2512 CC=$ac_cv_prog_CC
2513 if test -n "$CC"; then
2514   echo "$as_me:$LINENO: result: $CC" >&5
2515 echo "${ECHO_T}$CC" >&6
2516 else
2517   echo "$as_me:$LINENO: result: no" >&5
2518 echo "${ECHO_T}no" >&6
2519 fi
2520
2521     test -n "$CC" && break
2522   done
2523 fi
2524 if test -z "$CC"; then
2525   ac_ct_CC=$CC
2526   for ac_prog in cl
2527 do
2528   # Extract the first word of "$ac_prog", so it can be a program name with args.
2529 set dummy $ac_prog; ac_word=$2
2530 echo "$as_me:$LINENO: checking for $ac_word" >&5
2531 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2532 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2533   echo $ECHO_N "(cached) $ECHO_C" >&6
2534 else
2535   if test -n "$ac_ct_CC"; then
2536   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2537 else
2538 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2539 for as_dir in $PATH
2540 do
2541   IFS=$as_save_IFS
2542   test -z "$as_dir" && as_dir=.
2543   for ac_exec_ext in '' $ac_executable_extensions; do
2544   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2545     ac_cv_prog_ac_ct_CC="$ac_prog"
2546     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2547     break 2
2548   fi
2549 done
2550 done
2551
2552 fi
2553 fi
2554 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2555 if test -n "$ac_ct_CC"; then
2556   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2557 echo "${ECHO_T}$ac_ct_CC" >&6
2558 else
2559   echo "$as_me:$LINENO: result: no" >&5
2560 echo "${ECHO_T}no" >&6
2561 fi
2562
2563   test -n "$ac_ct_CC" && break
2564 done
2565
2566   CC=$ac_ct_CC
2567 fi
2568
2569 fi
2570
2571
2572 test -z "$CC" && { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2573 echo "$as_me: error: in \`$ac_pwd':" >&2;}
2574 { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2575 See \`config.log' for more details." >&5
2576 echo "$as_me: error: no acceptable C compiler found in \$PATH
2577 See \`config.log' for more details." >&2;}
2578    { (exit 1); exit 1; }; }; }
2579
2580 # Provide some information about the compiler.
2581 echo "$as_me:$LINENO:" \
2582      "checking for C compiler version" >&5
2583 ac_compiler=`set X $ac_compile; echo $2`
2584 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2585   (eval $ac_compiler --version </dev/null >&5) 2>&5
2586   ac_status=$?
2587   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2588   (exit $ac_status); }
2589 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2590   (eval $ac_compiler -v </dev/null >&5) 2>&5
2591   ac_status=$?
2592   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2593   (exit $ac_status); }
2594 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2595   (eval $ac_compiler -V </dev/null >&5) 2>&5
2596   ac_status=$?
2597   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2598   (exit $ac_status); }
2599
2600 cat >conftest.$ac_ext <<_ACEOF
2601 /* confdefs.h.  */
2602 _ACEOF
2603 cat confdefs.h >>conftest.$ac_ext
2604 cat >>conftest.$ac_ext <<_ACEOF
2605 /* end confdefs.h.  */
2606
2607 int
2608 main ()
2609 {
2610
2611   ;
2612   return 0;
2613 }
2614 _ACEOF
2615 # FIXME: Cleanup?
2616 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2617   (eval $ac_link) 2>&5
2618   ac_status=$?
2619   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2620   (exit $ac_status); }; then
2621   gcc_no_link=no
2622 else
2623   gcc_no_link=yes
2624 fi
2625
2626 if test x$gcc_no_link = xyes; then
2627   # Setting cross_compile will disable run tests; it will
2628   # also disable AC_CHECK_FILE but that's generally
2629   # correct if we can't link.
2630   cross_compiling=yes
2631   EXEEXT=
2632 else
2633   cat >conftest.$ac_ext <<_ACEOF
2634 /* confdefs.h.  */
2635 _ACEOF
2636 cat confdefs.h >>conftest.$ac_ext
2637 cat >>conftest.$ac_ext <<_ACEOF
2638 /* end confdefs.h.  */
2639
2640 int
2641 main ()
2642 {
2643
2644   ;
2645   return 0;
2646 }
2647 _ACEOF
2648 ac_clean_files_save=$ac_clean_files
2649 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2650 # Try to create an executable without -o first, disregard a.out.
2651 # It will help us diagnose broken compilers, and finding out an intuition
2652 # of exeext.
2653 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2654 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2655 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2656 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2657   (eval $ac_link_default) 2>&5
2658   ac_status=$?
2659   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2660   (exit $ac_status); }; then
2661   # Find the output, starting from the most likely.  This scheme is
2662 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2663 # resort.
2664
2665 # Be careful to initialize this variable, since it used to be cached.
2666 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2667 ac_cv_exeext=
2668 # b.out is created by i960 compilers.
2669 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
2670 do
2671   test -f "$ac_file" || continue
2672   case $ac_file in
2673     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2674         ;;
2675     conftest.$ac_ext )
2676         # This is the source file.
2677         ;;
2678     [ab].out )
2679         # We found the default executable, but exeext='' is most
2680         # certainly right.
2681         break;;
2682     *.* )
2683         ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2684         # FIXME: I believe we export ac_cv_exeext for Libtool,
2685         # but it would be cool to find out if it's true.  Does anybody
2686         # maintain Libtool? --akim.
2687         export ac_cv_exeext
2688         break;;
2689     * )
2690         break;;
2691   esac
2692 done
2693 else
2694   echo "$as_me: failed program was:" >&5
2695 sed 's/^/| /' conftest.$ac_ext >&5
2696
2697 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2698 echo "$as_me: error: in \`$ac_pwd':" >&2;}
2699 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2700 See \`config.log' for more details." >&5
2701 echo "$as_me: error: C compiler cannot create executables
2702 See \`config.log' for more details." >&2;}
2703    { (exit 77); exit 77; }; }; }
2704 fi
2705
2706 ac_exeext=$ac_cv_exeext
2707 echo "$as_me:$LINENO: result: $ac_file" >&5
2708 echo "${ECHO_T}$ac_file" >&6
2709
2710 # Check the compiler produces executables we can run.  If not, either
2711 # the compiler is broken, or we cross compile.
2712 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2713 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2714 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2715 # If not cross compiling, check that we can run a simple program.
2716 if test "$cross_compiling" != yes; then
2717   if { ac_try='./$ac_file'
2718   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2719   (eval $ac_try) 2>&5
2720   ac_status=$?
2721   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2722   (exit $ac_status); }; }; then
2723     cross_compiling=no
2724   else
2725     if test "$cross_compiling" = maybe; then
2726         cross_compiling=yes
2727     else
2728         { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2729 echo "$as_me: error: in \`$ac_pwd':" >&2;}
2730 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2731 If you meant to cross compile, use \`--host'.
2732 See \`config.log' for more details." >&5
2733 echo "$as_me: error: cannot run C compiled programs.
2734 If you meant to cross compile, use \`--host'.
2735 See \`config.log' for more details." >&2;}
2736    { (exit 1); exit 1; }; }; }
2737     fi
2738   fi
2739 fi
2740 echo "$as_me:$LINENO: result: yes" >&5
2741 echo "${ECHO_T}yes" >&6
2742
2743 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2744 ac_clean_files=$ac_clean_files_save
2745 # Check the compiler produces executables we can run.  If not, either
2746 # the compiler is broken, or we cross compile.
2747 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2748 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2749 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2750 echo "${ECHO_T}$cross_compiling" >&6
2751
2752 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2753 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2754 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2755   (eval $ac_link) 2>&5
2756   ac_status=$?
2757   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2758   (exit $ac_status); }; then
2759   # If both `conftest.exe' and `conftest' are `present' (well, observable)
2760 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
2761 # work properly (i.e., refer to `conftest.exe'), while it won't with
2762 # `rm'.
2763 for ac_file in conftest.exe conftest conftest.*; do
2764   test -f "$ac_file" || continue
2765   case $ac_file in
2766     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
2767     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2768           export ac_cv_exeext
2769           break;;
2770     * ) break;;
2771   esac
2772 done
2773 else
2774   { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2775 echo "$as_me: error: in \`$ac_pwd':" >&2;}
2776 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2777 See \`config.log' for more details." >&5
2778 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2779 See \`config.log' for more details." >&2;}
2780    { (exit 1); exit 1; }; }; }
2781 fi
2782
2783 rm -f conftest$ac_cv_exeext
2784 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2785 echo "${ECHO_T}$ac_cv_exeext" >&6
2786
2787 rm -f conftest.$ac_ext
2788 EXEEXT=$ac_cv_exeext
2789 ac_exeext=$EXEEXT
2790 fi
2791 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2792 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2793 if test "${ac_cv_objext+set}" = set; then
2794   echo $ECHO_N "(cached) $ECHO_C" >&6
2795 else
2796   cat >conftest.$ac_ext <<_ACEOF
2797 /* confdefs.h.  */
2798 _ACEOF
2799 cat confdefs.h >>conftest.$ac_ext
2800 cat >>conftest.$ac_ext <<_ACEOF
2801 /* end confdefs.h.  */
2802
2803 int
2804 main ()
2805 {
2806
2807   ;
2808   return 0;
2809 }
2810 _ACEOF
2811 rm -f conftest.o conftest.obj
2812 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2813   (eval $ac_compile) 2>&5
2814   ac_status=$?
2815   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2816   (exit $ac_status); }; then
2817   for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2818   case $ac_file in
2819     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
2820     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2821        break;;
2822   esac
2823 done
2824 else
2825   echo "$as_me: failed program was:" >&5
2826 sed 's/^/| /' conftest.$ac_ext >&5
2827
2828 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2829 echo "$as_me: error: in \`$ac_pwd':" >&2;}
2830 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2831 See \`config.log' for more details." >&5
2832 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2833 See \`config.log' for more details." >&2;}
2834    { (exit 1); exit 1; }; }; }
2835 fi
2836
2837 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2838 fi
2839 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2840 echo "${ECHO_T}$ac_cv_objext" >&6
2841 OBJEXT=$ac_cv_objext
2842 ac_objext=$OBJEXT
2843 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2844 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2845 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2846   echo $ECHO_N "(cached) $ECHO_C" >&6
2847 else
2848   cat >conftest.$ac_ext <<_ACEOF
2849 /* confdefs.h.  */
2850 _ACEOF
2851 cat confdefs.h >>conftest.$ac_ext
2852 cat >>conftest.$ac_ext <<_ACEOF
2853 /* end confdefs.h.  */
2854
2855 int
2856 main ()
2857 {
2858 #ifndef __GNUC__
2859        choke me
2860 #endif
2861
2862   ;
2863   return 0;
2864 }
2865 _ACEOF
2866 rm -f conftest.$ac_objext
2867 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2868   (eval $ac_compile) 2>conftest.er1
2869   ac_status=$?
2870   grep -v '^ *+' conftest.er1 >conftest.err
2871   rm -f conftest.er1
2872   cat conftest.err >&5
2873   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2874   (exit $ac_status); } &&
2875          { ac_try='test -z "$ac_c_werror_flag"
2876                          || test ! -s conftest.err'
2877   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2878   (eval $ac_try) 2>&5
2879   ac_status=$?
2880   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2881   (exit $ac_status); }; } &&
2882          { ac_try='test -s conftest.$ac_objext'
2883   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2884   (eval $ac_try) 2>&5
2885   ac_status=$?
2886   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2887   (exit $ac_status); }; }; then
2888   ac_compiler_gnu=yes
2889 else
2890   echo "$as_me: failed program was:" >&5
2891 sed 's/^/| /' conftest.$ac_ext >&5
2892
2893 ac_compiler_gnu=no
2894 fi
2895 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2896 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2897
2898 fi
2899 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2900 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2901 GCC=`test $ac_compiler_gnu = yes && echo yes`
2902 ac_test_CFLAGS=${CFLAGS+set}
2903 ac_save_CFLAGS=$CFLAGS
2904 CFLAGS="-g"
2905 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2906 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2907 if test "${ac_cv_prog_cc_g+set}" = set; then
2908   echo $ECHO_N "(cached) $ECHO_C" >&6
2909 else
2910   cat >conftest.$ac_ext <<_ACEOF
2911 /* confdefs.h.  */
2912 _ACEOF
2913 cat confdefs.h >>conftest.$ac_ext
2914 cat >>conftest.$ac_ext <<_ACEOF
2915 /* end confdefs.h.  */
2916
2917 int
2918 main ()
2919 {
2920
2921   ;
2922   return 0;
2923 }
2924 _ACEOF
2925 rm -f conftest.$ac_objext
2926 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2927   (eval $ac_compile) 2>conftest.er1
2928   ac_status=$?
2929   grep -v '^ *+' conftest.er1 >conftest.err
2930   rm -f conftest.er1
2931   cat conftest.err >&5
2932   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2933   (exit $ac_status); } &&
2934          { ac_try='test -z "$ac_c_werror_flag"
2935                          || test ! -s conftest.err'
2936   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2937   (eval $ac_try) 2>&5
2938   ac_status=$?
2939   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2940   (exit $ac_status); }; } &&
2941          { ac_try='test -s conftest.$ac_objext'
2942   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2943   (eval $ac_try) 2>&5
2944   ac_status=$?
2945   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2946   (exit $ac_status); }; }; then
2947   ac_cv_prog_cc_g=yes
2948 else
2949   echo "$as_me: failed program was:" >&5
2950 sed 's/^/| /' conftest.$ac_ext >&5
2951
2952 ac_cv_prog_cc_g=no
2953 fi
2954 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2955 fi
2956 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2957 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2958 if test "$ac_test_CFLAGS" = set; then
2959   CFLAGS=$ac_save_CFLAGS
2960 elif test $ac_cv_prog_cc_g = yes; then
2961   if test "$GCC" = yes; then
2962     CFLAGS="-g -O2"
2963   else
2964     CFLAGS="-g"
2965   fi
2966 else
2967   if test "$GCC" = yes; then
2968     CFLAGS="-O2"
2969   else
2970     CFLAGS=
2971   fi
2972 fi
2973 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2974 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2975 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2976   echo $ECHO_N "(cached) $ECHO_C" >&6
2977 else
2978   ac_cv_prog_cc_stdc=no
2979 ac_save_CC=$CC
2980 cat >conftest.$ac_ext <<_ACEOF
2981 /* confdefs.h.  */
2982 _ACEOF
2983 cat confdefs.h >>conftest.$ac_ext
2984 cat >>conftest.$ac_ext <<_ACEOF
2985 /* end confdefs.h.  */
2986 #include <stdarg.h>
2987 #include <stdio.h>
2988 #include <sys/types.h>
2989 #include <sys/stat.h>
2990 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
2991 struct buf { int x; };
2992 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2993 static char *e (p, i)
2994      char **p;
2995      int i;
2996 {
2997   return p[i];
2998 }
2999 static char *f (char * (*g) (char **, int), char **p, ...)
3000 {
3001   char *s;
3002   va_list v;
3003   va_start (v,p);
3004   s = g (p, va_arg (v,int));
3005   va_end (v);
3006   return s;
3007 }
3008
3009 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
3010    function prototypes and stuff, but not '\xHH' hex character constants.
3011    These don't provoke an error unfortunately, instead are silently treated
3012    as 'x'.  The following induces an error, until -std1 is added to get
3013    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
3014    array size at least.  It's necessary to write '\x00'==0 to get something
3015    that's true only with -std1.  */
3016 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3017
3018 int test (int i, double x);
3019 struct s1 {int (*f) (int a);};
3020 struct s2 {int (*f) (double a);};
3021 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3022 int argc;
3023 char **argv;
3024 int
3025 main ()
3026 {
3027 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
3028   ;
3029   return 0;
3030 }
3031 _ACEOF
3032 # Don't try gcc -ansi; that turns off useful extensions and
3033 # breaks some systems' header files.
3034 # AIX                   -qlanglvl=ansi
3035 # Ultrix and OSF/1      -std1
3036 # HP-UX 10.20 and later -Ae
3037 # HP-UX older versions  -Aa -D_HPUX_SOURCE
3038 # SVR4                  -Xc -D__EXTENSIONS__
3039 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3040 do
3041   CC="$ac_save_CC $ac_arg"
3042   rm -f conftest.$ac_objext
3043 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3044   (eval $ac_compile) 2>conftest.er1
3045   ac_status=$?
3046   grep -v '^ *+' conftest.er1 >conftest.err
3047   rm -f conftest.er1
3048   cat conftest.err >&5
3049   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3050   (exit $ac_status); } &&
3051          { ac_try='test -z "$ac_c_werror_flag"
3052                          || test ! -s conftest.err'
3053   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3054   (eval $ac_try) 2>&5
3055   ac_status=$?
3056   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3057   (exit $ac_status); }; } &&
3058          { ac_try='test -s conftest.$ac_objext'
3059   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3060   (eval $ac_try) 2>&5
3061   ac_status=$?
3062   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3063   (exit $ac_status); }; }; then
3064   ac_cv_prog_cc_stdc=$ac_arg
3065 break
3066 else
3067   echo "$as_me: failed program was:" >&5
3068 sed 's/^/| /' conftest.$ac_ext >&5
3069
3070 fi
3071 rm -f conftest.err conftest.$ac_objext
3072 done
3073 rm -f conftest.$ac_ext conftest.$ac_objext
3074 CC=$ac_save_CC
3075
3076 fi
3077
3078 case "x$ac_cv_prog_cc_stdc" in
3079   x|xno)
3080     echo "$as_me:$LINENO: result: none needed" >&5
3081 echo "${ECHO_T}none needed" >&6 ;;
3082   *)
3083     echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
3084 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
3085     CC="$CC $ac_cv_prog_cc_stdc" ;;
3086 esac
3087
3088 # Some people use a C++ compiler to compile C.  Since we use `exit',
3089 # in C++ we need to declare it.  In case someone uses the same compiler
3090 # for both compiling C and C++ we need to have the C++ compiler decide
3091 # the declaration of exit, since it's the most demanding environment.
3092 cat >conftest.$ac_ext <<_ACEOF
3093 #ifndef __cplusplus
3094   choke me
3095 #endif
3096 _ACEOF
3097 rm -f conftest.$ac_objext
3098 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3099   (eval $ac_compile) 2>conftest.er1
3100   ac_status=$?
3101   grep -v '^ *+' conftest.er1 >conftest.err
3102   rm -f conftest.er1
3103   cat conftest.err >&5
3104   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3105   (exit $ac_status); } &&
3106          { ac_try='test -z "$ac_c_werror_flag"
3107                          || test ! -s conftest.err'
3108   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3109   (eval $ac_try) 2>&5
3110   ac_status=$?
3111   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3112   (exit $ac_status); }; } &&
3113          { ac_try='test -s conftest.$ac_objext'
3114   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3115   (eval $ac_try) 2>&5
3116   ac_status=$?
3117   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3118   (exit $ac_status); }; }; then
3119   for ac_declaration in \
3120    '' \
3121    'extern "C" void std::exit (int) throw (); using std::exit;' \
3122    'extern "C" void std::exit (int); using std::exit;' \
3123    'extern "C" void exit (int) throw ();' \
3124    'extern "C" void exit (int);' \
3125    'void exit (int);'
3126 do
3127   cat >conftest.$ac_ext <<_ACEOF
3128 /* confdefs.h.  */
3129 _ACEOF
3130 cat confdefs.h >>conftest.$ac_ext
3131 cat >>conftest.$ac_ext <<_ACEOF
3132 /* end confdefs.h.  */
3133 $ac_declaration
3134 #include <stdlib.h>
3135 int
3136 main ()
3137 {
3138 exit (42);
3139   ;
3140   return 0;
3141 }
3142 _ACEOF
3143 rm -f conftest.$ac_objext
3144 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3145   (eval $ac_compile) 2>conftest.er1
3146   ac_status=$?
3147   grep -v '^ *+' conftest.er1 >conftest.err
3148   rm -f conftest.er1
3149   cat conftest.err >&5
3150   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3151   (exit $ac_status); } &&
3152          { ac_try='test -z "$ac_c_werror_flag"
3153                          || test ! -s conftest.err'
3154   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3155   (eval $ac_try) 2>&5
3156   ac_status=$?
3157   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3158   (exit $ac_status); }; } &&
3159          { ac_try='test -s conftest.$ac_objext'
3160   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3161   (eval $ac_try) 2>&5
3162   ac_status=$?
3163   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3164   (exit $ac_status); }; }; then
3165   :
3166 else
3167   echo "$as_me: failed program was:" >&5
3168 sed 's/^/| /' conftest.$ac_ext >&5
3169
3170 continue
3171 fi
3172 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3173   cat >conftest.$ac_ext <<_ACEOF
3174 /* confdefs.h.  */
3175 _ACEOF
3176 cat confdefs.h >>conftest.$ac_ext
3177 cat >>conftest.$ac_ext <<_ACEOF
3178 /* end confdefs.h.  */
3179 $ac_declaration
3180 int
3181 main ()
3182 {
3183 exit (42);
3184   ;
3185   return 0;
3186 }
3187 _ACEOF
3188 rm -f conftest.$ac_objext
3189 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3190   (eval $ac_compile) 2>conftest.er1
3191   ac_status=$?
3192   grep -v '^ *+' conftest.er1 >conftest.err
3193   rm -f conftest.er1
3194   cat conftest.err >&5
3195   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3196   (exit $ac_status); } &&
3197          { ac_try='test -z "$ac_c_werror_flag"
3198                          || test ! -s conftest.err'
3199   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3200   (eval $ac_try) 2>&5
3201   ac_status=$?
3202   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3203   (exit $ac_status); }; } &&
3204          { ac_try='test -s conftest.$ac_objext'
3205   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3206   (eval $ac_try) 2>&5
3207   ac_status=$?
3208   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3209   (exit $ac_status); }; }; then
3210   break
3211 else
3212   echo "$as_me: failed program was:" >&5
3213 sed 's/^/| /' conftest.$ac_ext >&5
3214
3215 fi
3216 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3217 done
3218 rm -f conftest*
3219 if test -n "$ac_declaration"; then
3220   echo '#ifdef __cplusplus' >>confdefs.h
3221   echo $ac_declaration      >>confdefs.h
3222   echo '#endif'             >>confdefs.h
3223 fi
3224
3225 else
3226   echo "$as_me: failed program was:" >&5
3227 sed 's/^/| /' conftest.$ac_ext >&5
3228
3229 fi
3230 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3231 ac_ext=c
3232 ac_cpp='$CPP $CPPFLAGS'
3233 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3234 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3235 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3236 DEPDIR="${am__leading_dot}deps"
3237
3238           ac_config_commands="$ac_config_commands depfiles"
3239
3240
3241 am_make=${MAKE-make}
3242 cat > confinc << 'END'
3243 am__doit:
3244         @echo done
3245 .PHONY: am__doit
3246 END
3247 # If we don't find an include directive, just comment out the code.
3248 echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
3249 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
3250 am__include="#"
3251 am__quote=
3252 _am_result=none
3253 # First try GNU make style include.
3254 echo "include confinc" > confmf
3255 # We grep out `Entering directory' and `Leaving directory'
3256 # messages which can occur if `w' ends up in MAKEFLAGS.
3257 # In particular we don't look at `^make:' because GNU make might
3258 # be invoked under some other name (usually "gmake"), in which
3259 # case it prints its new name instead of `make'.
3260 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
3261    am__include=include
3262    am__quote=
3263    _am_result=GNU
3264 fi
3265 # Now try BSD make style include.
3266 if test "$am__include" = "#"; then
3267    echo '.include "confinc"' > confmf
3268    if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
3269       am__include=.include
3270       am__quote="\""
3271       _am_result=BSD
3272    fi
3273 fi
3274
3275
3276 echo "$as_me:$LINENO: result: $_am_result" >&5
3277 echo "${ECHO_T}$_am_result" >&6
3278 rm -f confinc confmf
3279
3280 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
3281 if test "${enable_dependency_tracking+set}" = set; then
3282   enableval="$enable_dependency_tracking"
3283
3284 fi;
3285 if test "x$enable_dependency_tracking" != xno; then
3286   am_depcomp="$ac_aux_dir/depcomp"
3287   AMDEPBACKSLASH='\'
3288 fi
3289
3290
3291 if test "x$enable_dependency_tracking" != xno; then
3292   AMDEP_TRUE=
3293   AMDEP_FALSE='#'
3294 else
3295   AMDEP_TRUE='#'
3296   AMDEP_FALSE=
3297 fi
3298
3299
3300
3301
3302 depcc="$CC"   am_compiler_list=
3303
3304 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3305 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
3306 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3307   echo $ECHO_N "(cached) $ECHO_C" >&6
3308 else
3309   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3310   # We make a subdir and do the tests there.  Otherwise we can end up
3311   # making bogus files that we don't know about and never remove.  For
3312   # instance it was reported that on HP-UX the gcc test will end up
3313   # making a dummy file named `D' -- because `-MD' means `put the output
3314   # in D'.
3315   mkdir conftest.dir
3316   # Copy depcomp to subdir because otherwise we won't find it if we're
3317   # using a relative directory.
3318   cp "$am_depcomp" conftest.dir
3319   cd conftest.dir
3320   # We will build objects and dependencies in a subdirectory because
3321   # it helps to detect inapplicable dependency modes.  For instance
3322   # both Tru64's cc and ICC support -MD to output dependencies as a
3323   # side effect of compilation, but ICC will put the dependencies in
3324   # the current directory while Tru64 will put them in the object
3325   # directory.
3326   mkdir sub
3327
3328   am_cv_CC_dependencies_compiler_type=none
3329   if test "$am_compiler_list" = ""; then
3330      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3331   fi
3332   for depmode in $am_compiler_list; do
3333     # Setup a source with many dependencies, because some compilers
3334     # like to wrap large dependency lists on column 80 (with \), and
3335     # we should not choose a depcomp mode which is confused by this.
3336     #
3337     # We need to recreate these files for each test, as the compiler may
3338     # overwrite some of them when testing with obscure command lines.
3339     # This happens at least with the AIX C compiler.
3340     : > sub/conftest.c
3341     for i in 1 2 3 4 5 6; do
3342       echo '#include "conftst'$i'.h"' >> sub/conftest.c
3343       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3344       # Solaris 8's {/usr,}/bin/sh.
3345       touch sub/conftst$i.h
3346     done
3347     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3348
3349     case $depmode in
3350     nosideeffect)
3351       # after this tag, mechanisms are not by side-effect, so they'll
3352       # only be used when explicitly requested
3353       if test "x$enable_dependency_tracking" = xyes; then
3354         continue
3355       else
3356         break
3357       fi
3358       ;;
3359     none) break ;;
3360     esac
3361     # We check with `-c' and `-o' for the sake of the "dashmstdout"
3362     # mode.  It turns out that the SunPro C++ compiler does not properly
3363     # handle `-M -o', and we need to detect this.
3364     if depmode=$depmode \
3365        source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
3366        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3367        $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3368          >/dev/null 2>conftest.err &&
3369        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3370        grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3371        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3372       # icc doesn't choke on unknown options, it will just issue warnings
3373       # or remarks (even with -Werror).  So we grep stderr for any message
3374       # that says an option was ignored or not supported.
3375       # When given -MP, icc 7.0 and 7.1 complain thusly:
3376       #   icc: Command line warning: ignoring option '-M'; no argument required
3377       # The diagnosis changed in icc 8.0:
3378       #   icc: Command line remark: option '-MP' not supported
3379       if (grep 'ignoring option' conftest.err ||
3380           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3381         am_cv_CC_dependencies_compiler_type=$depmode
3382         break
3383       fi
3384     fi
3385   done
3386
3387   cd ..
3388   rm -rf conftest.dir
3389 else
3390   am_cv_CC_dependencies_compiler_type=none
3391 fi
3392
3393 fi
3394 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3395 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
3396 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3397
3398
3399
3400 if
3401   test "x$enable_dependency_tracking" != xno \
3402   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3403   am__fastdepCC_TRUE=
3404   am__fastdepCC_FALSE='#'
3405 else
3406   am__fastdepCC_TRUE='#'
3407   am__fastdepCC_FALSE=
3408 fi
3409
3410
3411
3412
3413 # Add -Wall -fno-repack-arrays -fno-underscoring if we are using GCC.
3414 if test "x$GCC" = "xyes"; then
3415   AM_FCFLAGS="-I . -Wall -Werror -fimplicit-none -fno-repack-arrays -fno-underscoring"
3416   ## We like to use C99 routines when available.  This makes sure that
3417   ## __STDC_VERSION__ is set such that libc includes make them available.
3418   AM_CFLAGS="-std=gnu99 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wextra -Wwrite-strings"
3419   ## Compile the following tests with the same system header contents
3420   ## that we'll encounter when compiling our own source files.
3421   CFLAGS="-std=gnu99 $CFLAGS"
3422 fi
3423
3424
3425
3426
3427 # Check for symbol versioning (copied from libssp).
3428 echo "$as_me:$LINENO: checking whether symbol versioning is supported" >&5
3429 echo $ECHO_N "checking whether symbol versioning is supported... $ECHO_C" >&6
3430 cat > conftest.map <<EOF
3431 FOO_1.0 {
3432   global: *foo*; bar; local: *;
3433 };
3434 EOF
3435 save_LDFLAGS="$LDFLAGS"
3436 LDFLAGS="$LDFLAGS -fPIC -shared -Wl,--version-script,./conftest.map"
3437
3438 if test x$gcc_no_link = xyes; then
3439   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
3440 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
3441    { (exit 1); exit 1; }; }
3442 fi
3443 cat >conftest.$ac_ext <<_ACEOF
3444 /* confdefs.h.  */
3445 _ACEOF
3446 cat confdefs.h >>conftest.$ac_ext
3447 cat >>conftest.$ac_ext <<_ACEOF
3448 /* end confdefs.h.  */
3449 int foo;
3450 int
3451 main ()
3452 {
3453
3454   ;
3455   return 0;
3456 }
3457 _ACEOF
3458 rm -f conftest.$ac_objext conftest$ac_exeext
3459 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3460   (eval $ac_link) 2>conftest.er1
3461   ac_status=$?
3462   grep -v '^ *+' conftest.er1 >conftest.err
3463   rm -f conftest.er1
3464   cat conftest.err >&5
3465   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3466   (exit $ac_status); } &&
3467          { ac_try='test -z "$ac_c_werror_flag"
3468                          || test ! -s conftest.err'
3469   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3470   (eval $ac_try) 2>&5
3471   ac_status=$?
3472   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3473   (exit $ac_status); }; } &&
3474          { ac_try='test -s conftest$ac_exeext'
3475   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3476   (eval $ac_try) 2>&5
3477   ac_status=$?
3478   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3479   (exit $ac_status); }; }; then
3480   gfortran_use_symver=yes
3481 else
3482   echo "$as_me: failed program was:" >&5
3483 sed 's/^/| /' conftest.$ac_ext >&5
3484
3485 gfortran_use_symver=no
3486 fi
3487 rm -f conftest.err conftest.$ac_objext \
3488       conftest$ac_exeext conftest.$ac_ext
3489 LDFLAGS="$save_LDFLAGS"
3490 echo "$as_me:$LINENO: result: $gfortran_use_symver" >&5
3491 echo "${ECHO_T}$gfortran_use_symver" >&6
3492
3493
3494 if test "x$gfortran_use_symver" = xyes; then
3495   LIBGFOR_USE_SYMVER_TRUE=
3496   LIBGFOR_USE_SYMVER_FALSE='#'
3497 else
3498   LIBGFOR_USE_SYMVER_TRUE='#'
3499   LIBGFOR_USE_SYMVER_FALSE=
3500 fi
3501
3502
3503 # Find other programs we need.
3504 if test -n "$ac_tool_prefix"; then
3505   # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
3506 set dummy ${ac_tool_prefix}as; ac_word=$2
3507 echo "$as_me:$LINENO: checking for $ac_word" >&5
3508 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3509 if test "${ac_cv_prog_AS+set}" = set; then
3510   echo $ECHO_N "(cached) $ECHO_C" >&6
3511 else
3512   if test -n "$AS"; then
3513   ac_cv_prog_AS="$AS" # Let the user override the test.
3514 else
3515 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3516 for as_dir in $PATH
3517 do
3518   IFS=$as_save_IFS
3519   test -z "$as_dir" && as_dir=.
3520   for ac_exec_ext in '' $ac_executable_extensions; do
3521   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3522     ac_cv_prog_AS="${ac_tool_prefix}as"
3523     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3524     break 2
3525   fi
3526 done
3527 done
3528
3529 fi
3530 fi
3531 AS=$ac_cv_prog_AS
3532 if test -n "$AS"; then
3533   echo "$as_me:$LINENO: result: $AS" >&5
3534 echo "${ECHO_T}$AS" >&6
3535 else
3536   echo "$as_me:$LINENO: result: no" >&5
3537 echo "${ECHO_T}no" >&6
3538 fi
3539
3540 fi
3541 if test -z "$ac_cv_prog_AS"; then
3542   ac_ct_AS=$AS
3543   # Extract the first word of "as", so it can be a program name with args.
3544 set dummy as; ac_word=$2
3545 echo "$as_me:$LINENO: checking for $ac_word" >&5
3546 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3547 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
3548   echo $ECHO_N "(cached) $ECHO_C" >&6
3549 else
3550   if test -n "$ac_ct_AS"; then
3551   ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
3552 else
3553 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3554 for as_dir in $PATH
3555 do
3556   IFS=$as_save_IFS
3557   test -z "$as_dir" && as_dir=.
3558   for ac_exec_ext in '' $ac_executable_extensions; do
3559   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3560     ac_cv_prog_ac_ct_AS="as"
3561     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3562     break 2
3563   fi
3564 done
3565 done
3566
3567 fi
3568 fi
3569 ac_ct_AS=$ac_cv_prog_ac_ct_AS
3570 if test -n "$ac_ct_AS"; then
3571   echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
3572 echo "${ECHO_T}$ac_ct_AS" >&6
3573 else
3574   echo "$as_me:$LINENO: result: no" >&5
3575 echo "${ECHO_T}no" >&6
3576 fi
3577
3578   AS=$ac_ct_AS
3579 else
3580   AS="$ac_cv_prog_AS"
3581 fi
3582
3583 if test -n "$ac_tool_prefix"; then
3584   # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
3585 set dummy ${ac_tool_prefix}ar; ac_word=$2
3586 echo "$as_me:$LINENO: checking for $ac_word" >&5
3587 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3588 if test "${ac_cv_prog_AR+set}" = set; then
3589   echo $ECHO_N "(cached) $ECHO_C" >&6
3590 else
3591   if test -n "$AR"; then
3592   ac_cv_prog_AR="$AR" # Let the user override the test.
3593 else
3594 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3595 for as_dir in $PATH
3596 do
3597   IFS=$as_save_IFS
3598   test -z "$as_dir" && as_dir=.
3599   for ac_exec_ext in '' $ac_executable_extensions; do
3600   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3601     ac_cv_prog_AR="${ac_tool_prefix}ar"
3602     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3603     break 2
3604   fi
3605 done
3606 done
3607
3608 fi
3609 fi
3610 AR=$ac_cv_prog_AR
3611 if test -n "$AR"; then
3612   echo "$as_me:$LINENO: result: $AR" >&5
3613 echo "${ECHO_T}$AR" >&6
3614 else
3615   echo "$as_me:$LINENO: result: no" >&5
3616 echo "${ECHO_T}no" >&6
3617 fi
3618
3619 fi
3620 if test -z "$ac_cv_prog_AR"; then
3621   ac_ct_AR=$AR
3622   # Extract the first word of "ar", so it can be a program name with args.
3623 set dummy ar; ac_word=$2
3624 echo "$as_me:$LINENO: checking for $ac_word" >&5
3625 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3626 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
3627   echo $ECHO_N "(cached) $ECHO_C" >&6
3628 else
3629   if test -n "$ac_ct_AR"; then
3630   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
3631 else
3632 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3633 for as_dir in $PATH
3634 do
3635   IFS=$as_save_IFS
3636   test -z "$as_dir" && as_dir=.
3637   for ac_exec_ext in '' $ac_executable_extensions; do
3638   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3639     ac_cv_prog_ac_ct_AR="ar"
3640     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3641     break 2
3642   fi
3643 done
3644 done
3645
3646 fi
3647 fi
3648 ac_ct_AR=$ac_cv_prog_ac_ct_AR
3649 if test -n "$ac_ct_AR"; then
3650   echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
3651 echo "${ECHO_T}$ac_ct_AR" >&6
3652 else
3653   echo "$as_me:$LINENO: result: no" >&5
3654 echo "${ECHO_T}no" >&6
3655 fi
3656
3657   AR=$ac_ct_AR
3658 else
3659   AR="$ac_cv_prog_AR"
3660 fi
3661
3662 if test -n "$ac_tool_prefix"; then
3663   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3664 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
3665 echo "$as_me:$LINENO: checking for $ac_word" >&5
3666 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3667 if test "${ac_cv_prog_RANLIB+set}" = set; then
3668   echo $ECHO_N "(cached) $ECHO_C" >&6
3669 else
3670   if test -n "$RANLIB"; then
3671   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
3672 else
3673 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3674 for as_dir in $PATH
3675 do
3676   IFS=$as_save_IFS
3677   test -z "$as_dir" && as_dir=.
3678   for ac_exec_ext in '' $ac_executable_extensions; do
3679   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3680     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
3681     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3682     break 2
3683   fi
3684 done
3685 done
3686
3687 fi
3688 fi
3689 RANLIB=$ac_cv_prog_RANLIB
3690 if test -n "$RANLIB"; then
3691   echo "$as_me:$LINENO: result: $RANLIB" >&5
3692 echo "${ECHO_T}$RANLIB" >&6
3693 else
3694   echo "$as_me:$LINENO: result: no" >&5
3695 echo "${ECHO_T}no" >&6
3696 fi
3697
3698 fi
3699 if test -z "$ac_cv_prog_RANLIB"; then
3700   ac_ct_RANLIB=$RANLIB
3701   # Extract the first word of "ranlib", so it can be a program name with args.
3702 set dummy ranlib; ac_word=$2
3703 echo "$as_me:$LINENO: checking for $ac_word" >&5
3704 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3705 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3706   echo $ECHO_N "(cached) $ECHO_C" >&6
3707 else
3708   if test -n "$ac_ct_RANLIB"; then
3709   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
3710 else
3711 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3712 for as_dir in $PATH
3713 do
3714   IFS=$as_save_IFS
3715   test -z "$as_dir" && as_dir=.
3716   for ac_exec_ext in '' $ac_executable_extensions; do
3717   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3718     ac_cv_prog_ac_ct_RANLIB="ranlib"
3719     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3720     break 2
3721   fi
3722 done
3723 done
3724
3725   test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB="ranlib-not-found-in-path-error"
3726 fi
3727 fi
3728 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
3729 if test -n "$ac_ct_RANLIB"; then
3730   echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3731 echo "${ECHO_T}$ac_ct_RANLIB" >&6
3732 else
3733   echo "$as_me:$LINENO: result: no" >&5
3734 echo "${ECHO_T}no" >&6
3735 fi
3736
3737   RANLIB=$ac_ct_RANLIB
3738 else
3739   RANLIB="$ac_cv_prog_RANLIB"
3740 fi
3741
3742 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3743 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
3744 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
3745 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
3746   echo $ECHO_N "(cached) $ECHO_C" >&6
3747 else
3748   cat >conftest.make <<\_ACEOF
3749 all:
3750         @echo 'ac_maketemp="$(MAKE)"'
3751 _ACEOF
3752 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3753 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
3754 if test -n "$ac_maketemp"; then
3755   eval ac_cv_prog_make_${ac_make}_set=yes
3756 else
3757   eval ac_cv_prog_make_${ac_make}_set=no
3758 fi
3759 rm -f conftest.make
3760 fi
3761 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
3762   echo "$as_me:$LINENO: result: yes" >&5
3763 echo "${ECHO_T}yes" >&6
3764   SET_MAKE=
3765 else
3766   echo "$as_me:$LINENO: result: no" >&5
3767 echo "${ECHO_T}no" >&6
3768   SET_MAKE="MAKE=${MAKE-make}"
3769 fi
3770
3771 # Find a good install program.  We prefer a C program (faster),
3772 # so one script is as good as another.  But avoid the broken or
3773 # incompatible versions:
3774 # SysV /etc/install, /usr/sbin/install
3775 # SunOS /usr/etc/install
3776 # IRIX /sbin/install
3777 # AIX /bin/install
3778 # AmigaOS /C/install, which installs bootblocks on floppy discs
3779 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3780 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3781 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3782 # OS/2's system install, which has a completely different semantic
3783 # ./install, which can be erroneously created by make from ./install.sh.
3784 # Reject install programs that cannot install multiple files.
3785 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
3786 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
3787 if test -z "$INSTALL"; then
3788 if test "${ac_cv_path_install+set}" = set; then
3789   echo $ECHO_N "(cached) $ECHO_C" >&6
3790 else
3791   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3792 for as_dir in $PATH
3793 do
3794   IFS=$as_save_IFS
3795   test -z "$as_dir" && as_dir=.
3796   # Account for people who put trailing slashes in PATH elements.
3797 case $as_dir/ in
3798   ./ | .// | /cC/* | \
3799   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3800   ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
3801   /usr/ucb/* ) ;;
3802   *)
3803     # OSF1 and SCO ODT 3.0 have their own names for install.
3804     # Don't use installbsd from OSF since it installs stuff as root
3805     # by default.
3806     for ac_prog in ginstall scoinst install; do
3807       for ac_exec_ext in '' $ac_executable_extensions; do
3808         if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
3809           if test $ac_prog = install &&
3810             grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3811             # AIX install.  It has an incompatible calling convention.
3812             :
3813           elif test $ac_prog = install &&
3814             grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3815             # program-specific install script used by HP pwplus--don't use.
3816             :
3817           else
3818             rm -rf conftest.one conftest.two conftest.dir
3819             echo one > conftest.one
3820             echo two > conftest.two
3821             mkdir conftest.dir
3822             if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
3823               test -s conftest.one && test -s conftest.two &&
3824               test -s conftest.dir/conftest.one &&
3825               test -s conftest.dir/conftest.two
3826             then
3827               ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3828               break 3
3829             fi
3830           fi
3831         fi
3832       done
3833     done
3834     ;;
3835 esac
3836 done
3837
3838 rm -rf conftest.one conftest.two conftest.dir
3839
3840 fi
3841   if test "${ac_cv_path_install+set}" = set; then
3842     INSTALL=$ac_cv_path_install
3843   else
3844     # As a last resort, use the slow shell script.  Don't cache a
3845     # value for INSTALL within a source directory, because that will
3846     # break other packages using the cache if that directory is
3847     # removed, or if the value is a relative name.
3848     INSTALL=$ac_install_sh
3849   fi
3850 fi
3851 echo "$as_me:$LINENO: result: $INSTALL" >&5
3852 echo "${ECHO_T}$INSTALL" >&6
3853
3854 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3855 # It thinks the first close brace ends the variable substitution.
3856 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3857
3858 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3859
3860 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3861
3862
3863 # Configure libtool
3864 #AC_MSG_NOTICE([====== Starting libtool configuration])
3865 enable_dlopen=yes
3866
3867
3868
3869
3870
3871 macro_version='2.1a'
3872 macro_revision='1.2435'
3873
3874
3875
3876
3877
3878
3879
3880
3881
3882
3883
3884
3885 ltmain="$ac_aux_dir/ltmain.sh"
3886
3887 # Set options
3888
3889
3890 enable_win32_dll=no
3891
3892
3893 # Check whether --enable-shared or --disable-shared was given.
3894 if test "${enable_shared+set}" = set; then
3895   enableval="$enable_shared"
3896   p=${PACKAGE-default}
3897     case $enableval in
3898     yes) enable_shared=yes ;;
3899     no) enable_shared=no ;;
3900     *)
3901       enable_shared=no
3902       # Look at the argument we got.  We use all the common list separators.
3903       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
3904       for pkg in $enableval; do
3905         IFS="$lt_save_ifs"
3906         if test "X$pkg" = "X$p"; then
3907           enable_shared=yes
3908         fi
3909       done
3910       IFS="$lt_save_ifs"
3911       ;;
3912     esac
3913 else
3914   enable_shared=yes
3915 fi;
3916
3917
3918
3919
3920
3921
3922
3923
3924 # Check whether --enable-static or --disable-static was given.
3925 if test "${enable_static+set}" = set; then
3926   enableval="$enable_static"
3927   p=${PACKAGE-default}
3928     case $enableval in
3929     yes) enable_static=yes ;;
3930     no) enable_static=no ;;
3931     *)
3932      enable_static=no
3933       # Look at the argument we got.  We use all the common list separators.
3934       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
3935       for pkg in $enableval; do
3936         IFS="$lt_save_ifs"
3937         if test "X$pkg" = "X$p"; then
3938           enable_static=yes
3939         fi
3940       done
3941       IFS="$lt_save_ifs"
3942       ;;
3943     esac
3944 else
3945   enable_static=yes
3946 fi;
3947
3948
3949
3950
3951
3952
3953
3954
3955
3956 # Check whether --with-pic or --without-pic was given.
3957 if test "${with_pic+set}" = set; then
3958   withval="$with_pic"
3959   pic_mode="$withval"
3960 else
3961   pic_mode=default
3962 fi;
3963
3964 test -z "$pic_mode" && pic_mode=default
3965
3966
3967
3968
3969
3970
3971
3972 # Check whether --enable-fast-install or --disable-fast-install was given.
3973 if test "${enable_fast_install+set}" = set; then
3974   enableval="$enable_fast_install"
3975   p=${PACKAGE-default}
3976     case $enableval in
3977     yes) enable_fast_install=yes ;;
3978     no) enable_fast_install=no ;;
3979     *)
3980       enable_fast_install=no
3981       # Look at the argument we got.  We use all the common list separators.
3982       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
3983       for pkg in $enableval; do
3984         IFS="$lt_save_ifs"
3985         if test "X$pkg" = "X$p"; then
3986           enable_fast_install=yes
3987         fi
3988       done
3989       IFS="$lt_save_ifs"
3990       ;;
3991     esac
3992 else
3993   enable_fast_install=yes
3994 fi;
3995
3996
3997
3998
3999
4000
4001
4002
4003 echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
4004 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6
4005 if test "${lt_cv_path_SED+set}" = set; then
4006   echo $ECHO_N "(cached) $ECHO_C" >&6
4007 else
4008   # Loop through the user's path and test for sed and gsed.
4009 # Then use that list of sed's as ones to test for truncation.
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 lt_ac_prog in sed gsed; do
4016     for ac_exec_ext in '' $ac_executable_extensions; do
4017       if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
4018         lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
4019       fi
4020     done
4021   done
4022 done
4023 IFS=$as_save_IFS
4024 lt_ac_max=0
4025 lt_ac_count=0
4026 # Add /usr/xpg4/bin/sed as it is typically found on Solaris
4027 # along with /bin/sed that truncates output.
4028 for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
4029   test ! -f $lt_ac_sed && continue
4030   cat /dev/null > conftest.in
4031   lt_ac_count=0
4032   echo $ECHO_N "0123456789$ECHO_C" >conftest.in
4033   # Check for GNU sed and select it if it is found.
4034   if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
4035     lt_cv_path_SED=$lt_ac_sed
4036     break
4037   fi
4038   while true; do
4039     cat conftest.in conftest.in >conftest.tmp
4040     mv conftest.tmp conftest.in
4041     cp conftest.in conftest.nl
4042     echo >>conftest.nl
4043     $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
4044     cmp -s conftest.out conftest.nl || break
4045     # 10000 chars as input seems more than enough
4046     test $lt_ac_count -gt 10 && break
4047     lt_ac_count=`expr $lt_ac_count + 1`
4048     if test $lt_ac_count -gt $lt_ac_max; then
4049       lt_ac_max=$lt_ac_count
4050       lt_cv_path_SED=$lt_ac_sed
4051     fi
4052   done
4053 done
4054
4055 fi
4056
4057 SED=$lt_cv_path_SED
4058
4059 echo "$as_me:$LINENO: result: $SED" >&5
4060 echo "${ECHO_T}$SED" >&6
4061
4062 test -z "$SED" && SED=sed
4063 Xsed="$SED -e 1s/^X//"
4064
4065
4066
4067
4068
4069
4070
4071
4072
4073
4074
4075 echo "$as_me:$LINENO: checking for egrep" >&5
4076 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
4077 if test "${ac_cv_prog_egrep+set}" = set; then
4078   echo $ECHO_N "(cached) $ECHO_C" >&6
4079 else
4080   if echo a | (grep -E '(a|b)') >/dev/null 2>&1
4081     then ac_cv_prog_egrep='grep -E'
4082     else ac_cv_prog_egrep='egrep'
4083     fi
4084 fi
4085 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
4086 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
4087  EGREP=$ac_cv_prog_egrep
4088
4089
4090 echo "$as_me:$LINENO: checking for fgrep" >&5
4091 echo $ECHO_N "checking for fgrep... $ECHO_C" >&6
4092 if test "${ac_cv_prog_fgrep+set}" = set; then
4093   echo $ECHO_N "(cached) $ECHO_C" >&6
4094 else
4095   if echo 'ab*c' | (grep -F 'ab*c') >/dev/null 2>&1
4096     then ac_cv_prog_fgrep='grep -F'
4097     else ac_cv_prog_fgrep='fgrep'
4098     fi
4099 fi
4100 echo "$as_me:$LINENO: result: $ac_cv_prog_fgrep" >&5
4101 echo "${ECHO_T}$ac_cv_prog_fgrep" >&6
4102  FGREP=$ac_cv_prog_fgrep
4103
4104
4105 test -z "$GREP" && GREP=grep
4106
4107
4108
4109
4110
4111
4112
4113
4114
4115
4116
4117
4118
4119
4120
4121
4122
4123
4124
4125 # Check whether --with-gnu-ld or --without-gnu-ld was given.
4126 if test "${with_gnu_ld+set}" = set; then
4127   withval="$with_gnu_ld"
4128   test "$withval" = no || with_gnu_ld=yes
4129 else
4130   with_gnu_ld=no
4131 fi;
4132 ac_prog=ld
4133 if test "$GCC" = yes; then
4134   # Check if gcc -print-prog-name=ld gives a path.
4135   echo "$as_me:$LINENO: checking for ld used by $CC" >&5
4136 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
4137   case $host in
4138   *-*-mingw*)
4139     # gcc leaves a trailing carriage return which upsets mingw
4140     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4141   *)
4142     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4143   esac
4144   case $ac_prog in
4145     # Accept absolute paths.
4146     [\\/]* | ?:[\\/]*)
4147       re_direlt='/[^/][^/]*/\.\./'
4148       # Canonicalize the pathname of ld
4149       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4150       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4151         ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4152       done
4153       test -z "$LD" && LD="$ac_prog"
4154       ;;
4155   "")
4156     # If it fails, then pretend we aren't using GCC.
4157     ac_prog=ld
4158     ;;
4159   *)
4160     # If it is relative, then search for the first ld in PATH.
4161     with_gnu_ld=unknown
4162     ;;
4163   esac
4164 elif test "$with_gnu_ld" = yes; then
4165   echo "$as_me:$LINENO: checking for GNU ld" >&5
4166 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
4167 else
4168   echo "$as_me:$LINENO: checking for non-GNU ld" >&5
4169 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
4170 fi
4171 if test "${lt_cv_path_LD+set}" = set; then
4172   echo $ECHO_N "(cached) $ECHO_C" >&6
4173 else
4174   if test -z "$LD"; then
4175   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4176   for ac_dir in $PATH; do
4177     IFS="$lt_save_ifs"
4178     test -z "$ac_dir" && ac_dir=.
4179     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4180       lt_cv_path_LD="$ac_dir/$ac_prog"
4181       # Check to see if the program is GNU ld.  I'd rather use --version,
4182       # but apparently some variants of GNU ld only accept -v.
4183       # Break only if it was the GNU/non-GNU ld that we prefer.
4184       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4185       *GNU* | *'with BFD'*)
4186         test "$with_gnu_ld" != no && break
4187         ;;
4188       *)
4189         test "$with_gnu_ld" != yes && break
4190         ;;
4191       esac
4192     fi
4193   done
4194   IFS="$lt_save_ifs"
4195 else
4196   lt_cv_path_LD="$LD" # Let the user override the test with a path.
4197 fi
4198 fi
4199
4200 LD="$lt_cv_path_LD"
4201 if test -n "$LD"; then
4202   echo "$as_me:$LINENO: result: $LD" >&5
4203 echo "${ECHO_T}$LD" >&6
4204 else
4205   echo "$as_me:$LINENO: result: no" >&5
4206 echo "${ECHO_T}no" >&6
4207 fi
4208 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
4209 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
4210    { (exit 1); exit 1; }; }
4211 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
4212 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
4213 if test "${lt_cv_prog_gnu_ld+set}" = set; then
4214   echo $ECHO_N "(cached) $ECHO_C" >&6
4215 else
4216   # I'd rather use --version here, but apparently some GNU lds only accept -v.
4217 case `$LD -v 2>&1 </dev/null` in
4218 *GNU* | *'with BFD'*)
4219   lt_cv_prog_gnu_ld=yes
4220   ;;
4221 *)
4222   lt_cv_prog_gnu_ld=no
4223   ;;
4224 esac
4225 fi
4226 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
4227 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
4228 with_gnu_ld=$lt_cv_prog_gnu_ld
4229
4230
4231
4232
4233
4234
4235
4236
4237
4238
4239 echo "$as_me:$LINENO: checking for BSD- or MS-compatible name lister (nm)" >&5
4240 echo $ECHO_N "checking for BSD- or MS-compatible name lister (nm)... $ECHO_C" >&6
4241 if test "${lt_cv_path_NM+set}" = set; then
4242   echo $ECHO_N "(cached) $ECHO_C" >&6
4243 else
4244   if test -n "$NM"; then
4245   # Let the user override the test.
4246   lt_cv_path_NM="$NM"
4247 else
4248   lt_nm_to_check="${ac_tool_prefix}nm"
4249   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4250     lt_nm_to_check="$lt_nm_to_check nm"
4251   fi
4252   for lt_tmp_nm in $lt_nm_to_check; do
4253     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4254     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4255       IFS="$lt_save_ifs"
4256       test -z "$ac_dir" && ac_dir=.
4257       tmp_nm="$ac_dir/$lt_tmp_nm"
4258       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4259         # Check to see if the nm accepts a BSD-compat flag.
4260         # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4261         #   nm: unknown option "B" ignored
4262         # Tru64's nm complains that /dev/null is an invalid object file
4263         case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4264         */dev/null* | *'Invalid file or object type'*)
4265           lt_cv_path_NM="$tmp_nm -B"
4266           break
4267           ;;
4268         *)
4269           case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4270           */dev/null*)
4271             lt_cv_path_NM="$tmp_nm -p"
4272             break
4273             ;;
4274           *)
4275             lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4276             continue # so that we can try to find one that supports BSD flags
4277             ;;
4278           esac
4279           ;;
4280         esac
4281       fi
4282     done
4283     IFS="$lt_save_ifs"
4284   done
4285   : ${lt_cv_path_NM=no}
4286 fi
4287 fi
4288 echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
4289 echo "${ECHO_T}$lt_cv_path_NM" >&6
4290 if test "$lt_cv_path_NM" != "no"; then
4291   NM="$lt_cv_path_NM"
4292 else
4293   # Didn't find any BSD compatible name lister, look for dumpbin.
4294   if test -n "$ac_tool_prefix"; then
4295   for ac_prog in "dumpbin -symbols" "link -dump -symbols"
4296   do
4297     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4298 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4299 echo "$as_me:$LINENO: checking for $ac_word" >&5
4300 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4301 if test "${ac_cv_prog_DUMPBIN+set}" = set; then
4302   echo $ECHO_N "(cached) $ECHO_C" >&6
4303 else
4304   if test -n "$DUMPBIN"; then
4305   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
4306 else
4307 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4308 for as_dir in $PATH
4309 do
4310   IFS=$as_save_IFS
4311   test -z "$as_dir" && as_dir=.
4312   for ac_exec_ext in '' $ac_executable_extensions; do
4313   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4314     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
4315     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4316     break 2
4317   fi
4318 done
4319 done
4320
4321 fi
4322 fi
4323 DUMPBIN=$ac_cv_prog_DUMPBIN
4324 if test -n "$DUMPBIN"; then
4325   echo "$as_me:$LINENO: result: $DUMPBIN" >&5
4326 echo "${ECHO_T}$DUMPBIN" >&6
4327 else
4328   echo "$as_me:$LINENO: result: no" >&5
4329 echo "${ECHO_T}no" >&6
4330 fi
4331
4332     test -n "$DUMPBIN" && break
4333   done
4334 fi
4335 if test -z "$DUMPBIN"; then
4336   ac_ct_DUMPBIN=$DUMPBIN
4337   for ac_prog in "dumpbin -symbols" "link -dump -symbols"
4338 do
4339   # Extract the first word of "$ac_prog", so it can be a program name with args.
4340 set dummy $ac_prog; ac_word=$2
4341 echo "$as_me:$LINENO: checking for $ac_word" >&5
4342 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4343 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then
4344   echo $ECHO_N "(cached) $ECHO_C" >&6
4345 else
4346   if test -n "$ac_ct_DUMPBIN"; then
4347   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
4348 else
4349 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4350 for as_dir in $PATH
4351 do
4352   IFS=$as_save_IFS
4353   test -z "$as_dir" && as_dir=.
4354   for ac_exec_ext in '' $ac_executable_extensions; do
4355   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4356     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
4357     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4358     break 2
4359   fi
4360 done
4361 done
4362
4363 fi
4364 fi
4365 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
4366 if test -n "$ac_ct_DUMPBIN"; then
4367   echo "$as_me:$LINENO: result: $ac_ct_DUMPBIN" >&5
4368 echo "${ECHO_T}$ac_ct_DUMPBIN" >&6
4369 else
4370   echo "$as_me:$LINENO: result: no" >&5
4371 echo "${ECHO_T}no" >&6
4372 fi
4373
4374   test -n "$ac_ct_DUMPBIN" && break
4375 done
4376 test -n "$ac_ct_DUMPBIN" || ac_ct_DUMPBIN=":"
4377
4378   DUMPBIN=$ac_ct_DUMPBIN
4379 fi
4380
4381
4382   if test "$DUMPBIN" != ":"; then
4383     NM="$DUMPBIN"
4384   fi
4385 fi
4386 test -z "$NM" && NM=nm
4387
4388
4389
4390
4391
4392
4393 echo "$as_me:$LINENO: checking the name lister ($NM) interface" >&5
4394 echo $ECHO_N "checking the name lister ($NM) interface... $ECHO_C" >&6
4395 if test "${lt_cv_nm_interface+set}" = set; then
4396   echo $ECHO_N "(cached) $ECHO_C" >&6
4397 else
4398   lt_cv_nm_interface="BSD nm"
4399   echo "int some_variable = 0;" > conftest.$ac_ext
4400   (eval echo "\"\$as_me:4400: $ac_compile\"" >&5)
4401   (eval "$ac_compile" 2>conftest.err)
4402   cat conftest.err >&5
4403   (eval echo "\"\$as_me:4403: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4404   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
4405   cat conftest.err >&5
4406   (eval echo "\"\$as_me:4406: output\"" >&5)
4407   cat conftest.out >&5
4408   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
4409     lt_cv_nm_interface="MS dumpbin"
4410   fi
4411   rm -f conftest*
4412 fi
4413 echo "$as_me:$LINENO: result: $lt_cv_nm_interface" >&5
4414 echo "${ECHO_T}$lt_cv_nm_interface" >&6
4415
4416 echo "$as_me:$LINENO: checking whether ln -s works" >&5
4417 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
4418 LN_S=$as_ln_s
4419 if test "$LN_S" = "ln -s"; then
4420   echo "$as_me:$LINENO: result: yes" >&5
4421 echo "${ECHO_T}yes" >&6
4422 else
4423   echo "$as_me:$LINENO: result: no, using $LN_S" >&5
4424 echo "${ECHO_T}no, using $LN_S" >&6
4425 fi
4426
4427 # find the maximum length of command line arguments
4428 echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
4429 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
4430 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
4431   echo $ECHO_N "(cached) $ECHO_C" >&6
4432 else
4433     i=0
4434   teststring="ABCD"
4435
4436   case $build_os in
4437   msdosdjgpp*)
4438     # On DJGPP, this test can blow up pretty badly due to problems in libc
4439     # (any single argument exceeding 2000 bytes causes a buffer overrun
4440     # during glob expansion).  Even if it were fixed, the result of this
4441     # check would be larger than it should be.
4442     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
4443     ;;
4444
4445   gnu*)
4446     # Under GNU Hurd, this test is not required because there is
4447     # no limit to the length of command line arguments.
4448     # Libtool will interpret -1 as no limit whatsoever
4449     lt_cv_sys_max_cmd_len=-1;
4450     ;;
4451
4452   cygwin* | mingw*)
4453     # On Win9x/ME, this test blows up -- it succeeds, but takes
4454     # about 5 minutes as the teststring grows exponentially.
4455     # Worse, since 9x/ME are not pre-emptively multitasking,
4456     # you end up with a "frozen" computer, even though with patience
4457     # the test eventually succeeds (with a max line length of 256k).
4458     # Instead, let's just punt: use the minimum linelength reported by
4459     # all of the supported platforms: 8192 (on NT/2K/XP).
4460     lt_cv_sys_max_cmd_len=8192;
4461     ;;
4462
4463   amigaos*)
4464     # On AmigaOS with pdksh, this test takes hours, literally.
4465     # So we just punt and use a minimum line length of 8192.
4466     lt_cv_sys_max_cmd_len=8192;
4467     ;;
4468
4469   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
4470     # This has been around since 386BSD, at least.  Likely further.
4471     if test -x /sbin/sysctl; then
4472       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
4473     elif test -x /usr/sbin/sysctl; then
4474       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
4475     else
4476       lt_cv_sys_max_cmd_len=65536       # usable default for all BSDs
4477     fi
4478     # And add a safety zone
4479     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4480     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4481     ;;
4482
4483   interix*)
4484     # We know the value 262144 and hardcode it with a safety zone (like BSD)
4485     lt_cv_sys_max_cmd_len=196608
4486     ;;
4487
4488   osf*)
4489     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
4490     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
4491     # nice to cause kernel panics so lets avoid the loop below.
4492     # First set a reasonable default.
4493     lt_cv_sys_max_cmd_len=16384
4494     #
4495     if test -x /sbin/sysconfig; then
4496       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
4497         *1*) lt_cv_sys_max_cmd_len=-1 ;;
4498       esac
4499     fi
4500     ;;
4501   sco3.2v5*)
4502     lt_cv_sys_max_cmd_len=102400
4503     ;;
4504   sysv5* | sco5v6* | sysv4.2uw2*)
4505     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
4506     if test -n "$kargmax"; then
4507       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[  ]//'`
4508     else
4509       lt_cv_sys_max_cmd_len=32768
4510     fi
4511     ;;
4512   *)
4513     lt_cv_sys_max_cmd_len=`getconf ARG_MAX 2> /dev/null`
4514     if test -n $lt_cv_sys_max_cmd_len; then
4515       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4516       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4517     else
4518       # Make teststring a little bigger before we do anything with it.
4519       # a 1K string should be a reasonable start.
4520       for i in 1 2 3 4 5 6 7 8 ; do
4521         teststring=$teststring$teststring
4522       done
4523       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
4524       # If test is not a shell built-in, we'll probably end up computing a
4525       # maximum length that is only half of the actual maximum length, but
4526       # we can't tell.
4527       while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
4528                  = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
4529               test $i != 17 # 1/2 MB should be enough
4530       do
4531         i=`expr $i + 1`
4532         teststring=$teststring$teststring
4533       done
4534       # Only check the string length outside the loop.
4535       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
4536       teststring=
4537       # Add a significant safety factor because C++ compilers can tack on
4538       # massive amounts of additional arguments before passing them to the
4539       # linker.  It appears as though 1/2 is a usable value.
4540       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
4541     fi
4542     ;;
4543   esac
4544
4545 fi
4546
4547 if test -n $lt_cv_sys_max_cmd_len ; then
4548   echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
4549 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
4550 else
4551   echo "$as_me:$LINENO: result: none" >&5
4552 echo "${ECHO_T}none" >&6
4553 fi
4554 max_cmd_len=$lt_cv_sys_max_cmd_len
4555
4556
4557
4558
4559
4560
4561
4562 : ${CP="cp -f"}
4563 : ${MV="mv -f"}
4564 : ${RM="rm -f"}
4565
4566 echo "$as_me:$LINENO: checking whether the shell understands some XSI constructs" >&5
4567 echo $ECHO_N "checking whether the shell understands some XSI constructs... $ECHO_C" >&6
4568 # Try some XSI features
4569 xsi_shell=no
4570 ( _lt_dummy="a/b/c"
4571   test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
4572       = c,a/b,, ) >/dev/null 2>&1 \
4573   && xsi_shell=yes
4574 echo "$as_me:$LINENO: result: $xsi_shell" >&5
4575 echo "${ECHO_T}$xsi_shell" >&6
4576
4577
4578 echo "$as_me:$LINENO: checking whether the shell understands \"+=\"" >&5
4579 echo $ECHO_N "checking whether the shell understands \"+=\"... $ECHO_C" >&6
4580 lt_shell_append=no
4581 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
4582     >/dev/null 2>&1 \
4583   && lt_shell_append=yes
4584 echo "$as_me:$LINENO: result: $lt_shell_append" >&5
4585 echo "${ECHO_T}$lt_shell_append" >&6
4586
4587
4588 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
4589   lt_unset=unset
4590 else
4591   lt_unset=false
4592 fi
4593
4594
4595
4596
4597
4598 # test EBCDIC or ASCII
4599 case `echo X|tr X '\101'` in
4600  A) # ASCII based system
4601     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
4602   lt_SP2NL='tr \040 \012'
4603   lt_NL2SP='tr \015\012 \040\040'
4604   ;;
4605  *) # EBCDIC based system
4606   lt_SP2NL='tr \100 \n'
4607   lt_NL2SP='tr \r\n \100\100'
4608   ;;
4609 esac
4610
4611
4612
4613
4614
4615
4616
4617
4618
4619 echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
4620 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
4621 if test "${lt_cv_ld_reload_flag+set}" = set; then
4622   echo $ECHO_N "(cached) $ECHO_C" >&6
4623 else
4624   lt_cv_ld_reload_flag='-r'
4625 fi
4626 echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
4627 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
4628 reload_flag=$lt_cv_ld_reload_flag
4629 case $reload_flag in
4630 "" | " "*) ;;
4631 *) reload_flag=" $reload_flag" ;;
4632 esac
4633 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4634 case $host_os in
4635   darwin*)
4636     if test "$GCC" = yes; then
4637       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
4638     else
4639       reload_cmds='$LD$reload_flag -o $output$reload_objs'
4640     fi
4641     ;;
4642 esac
4643
4644
4645
4646
4647
4648
4649
4650
4651
4652
4653 echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5
4654 echo $ECHO_N "checking how to recognize dependent libraries... $ECHO_C" >&6
4655 if test "${lt_cv_deplibs_check_method+set}" = set; then
4656   echo $ECHO_N "(cached) $ECHO_C" >&6
4657 else
4658   lt_cv_file_magic_cmd='$MAGIC_CMD'
4659 lt_cv_file_magic_test_file=
4660 lt_cv_deplibs_check_method='unknown'
4661 # Need to set the preceding variable on all platforms that support
4662 # interlibrary dependencies.
4663 # 'none' -- dependencies not supported.
4664 # `unknown' -- same as none, but documents that we really don't know.
4665 # 'pass_all' -- all dependencies passed with no checks.
4666 # 'test_compile' -- check by making test program.
4667 # 'file_magic [[regex]]' -- check by looking for files in library path
4668 # which responds to the $file_magic_cmd with a given extended regex.
4669 # If you have `file' or equivalent on your system and you're not sure
4670 # whether `pass_all' will *always* work, you probably want this one.
4671
4672 case $host_os in
4673 aix[4-9]*)
4674   lt_cv_deplibs_check_method=pass_all
4675   ;;
4676
4677 beos*)
4678   lt_cv_deplibs_check_method=pass_all
4679   ;;
4680
4681 bsdi[45]*)
4682   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
4683   lt_cv_file_magic_cmd='/usr/bin/file -L'
4684   lt_cv_file_magic_test_file=/shlib/libc.so
4685   ;;
4686
4687 cygwin*)
4688   # func_win32_libid is a shell function defined in ltmain.sh
4689   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
4690   lt_cv_file_magic_cmd='func_win32_libid'
4691   ;;
4692
4693 mingw* | pw32*)
4694   # Base MSYS/MinGW do not provide the 'file' command needed by
4695   # func_win32_libid shell function, so use a weaker test based on 'objdump',
4696   # unless we find 'file', for example because we are cross-compiling.
4697   if ( file / ) >/dev/null 2>&1; then
4698     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
4699     lt_cv_file_magic_cmd='func_win32_libid'
4700   else
4701     lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
4702     lt_cv_file_magic_cmd='$OBJDUMP -f'
4703   fi
4704   ;;
4705
4706 darwin* | rhapsody*)
4707   lt_cv_deplibs_check_method=pass_all
4708   ;;
4709
4710 freebsd* | dragonfly*)
4711   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
4712     case $host_cpu in
4713     i*86 )
4714       # Not sure whether the presence of OpenBSD here was a mistake.
4715       # Let's accept both of them until this is cleared up.
4716       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
4717       lt_cv_file_magic_cmd=/usr/bin/file
4718       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
4719       ;;
4720     esac
4721   else
4722     lt_cv_deplibs_check_method=pass_all
4723   fi
4724   ;;
4725
4726 gnu*)
4727   lt_cv_deplibs_check_method=pass_all
4728   ;;
4729
4730 hpux10.20* | hpux11*)
4731   lt_cv_file_magic_cmd=/usr/bin/file
4732   case $host_cpu in
4733   ia64*)
4734     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
4735     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
4736     ;;
4737   hppa*64*)
4738     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - PA-RISC [0-9].[0-9]'
4739     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
4740     ;;
4741   *)
4742     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
4743     lt_cv_file_magic_test_file=/usr/lib/libc.sl
4744     ;;
4745   esac
4746   ;;
4747
4748 interix[3-9]*)
4749   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
4750   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
4751   ;;
4752
4753 irix5* | irix6* | nonstopux*)
4754   case $LD in
4755   *-32|*"-32 ") libmagic=32-bit;;
4756   *-n32|*"-n32 ") libmagic=N32;;
4757   *-64|*"-64 ") libmagic=64-bit;;
4758   *) libmagic=never-match;;
4759   esac
4760   lt_cv_deplibs_check_method=pass_all
4761   ;;
4762
4763 # This must be Linux ELF.
4764 linux* | k*bsd*-gnu)
4765   lt_cv_deplibs_check_method=pass_all
4766   ;;
4767
4768 netbsd*)
4769   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
4770     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4771   else
4772     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
4773   fi
4774   ;;
4775
4776 newos6*)
4777   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
4778   lt_cv_file_magic_cmd=/usr/bin/file
4779   lt_cv_file_magic_test_file=/usr/lib/libnls.so
4780   ;;
4781
4782 *nto* | *qnx*)
4783   lt_cv_deplibs_check_method=pass_all
4784   ;;
4785
4786 openbsd*)
4787   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
4788     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
4789   else
4790     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4791   fi
4792   ;;
4793
4794 osf3* | osf4* | osf5*)
4795   lt_cv_deplibs_check_method=pass_all
4796   ;;
4797
4798 rdos*)
4799   lt_cv_deplibs_check_method=pass_all
4800   ;;
4801
4802 solaris*)
4803   lt_cv_deplibs_check_method=pass_all
4804   ;;
4805
4806 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
4807   lt_cv_deplibs_check_method=pass_all
4808   ;;
4809
4810 sysv4 | sysv4.3*)
4811   case $host_vendor in
4812   motorola)
4813     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]'
4814     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
4815     ;;
4816   ncr)
4817     lt_cv_deplibs_check_method=pass_all
4818     ;;
4819   sequent)
4820     lt_cv_file_magic_cmd='/bin/file'
4821     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
4822     ;;
4823   sni)
4824     lt_cv_file_magic_cmd='/bin/file'
4825     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
4826     lt_cv_file_magic_test_file=/lib/libc.so
4827     ;;
4828   siemens)
4829     lt_cv_deplibs_check_method=pass_all
4830     ;;
4831   pc)
4832     lt_cv_deplibs_check_method=pass_all
4833     ;;
4834   esac
4835   ;;
4836
4837 tpf*)
4838   lt_cv_deplibs_check_method=pass_all
4839   ;;
4840 esac
4841
4842 fi
4843 echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
4844 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
4845 file_magic_cmd=$lt_cv_file_magic_cmd
4846 deplibs_check_method=$lt_cv_deplibs_check_method
4847 test -z "$deplibs_check_method" && deplibs_check_method=unknown
4848
4849
4850
4851
4852
4853
4854
4855
4856
4857
4858
4859
4860 if test -n "$ac_tool_prefix"; then
4861   # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
4862 set dummy ${ac_tool_prefix}ar; ac_word=$2
4863 echo "$as_me:$LINENO: checking for $ac_word" >&5
4864 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4865 if test "${ac_cv_prog_AR+set}" = set; then
4866   echo $ECHO_N "(cached) $ECHO_C" >&6
4867 else
4868   if test -n "$AR"; then
4869   ac_cv_prog_AR="$AR" # Let the user override the test.
4870 else
4871 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4872 for as_dir in $PATH
4873 do
4874   IFS=$as_save_IFS
4875   test -z "$as_dir" && as_dir=.
4876   for ac_exec_ext in '' $ac_executable_extensions; do
4877   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4878     ac_cv_prog_AR="${ac_tool_prefix}ar"
4879     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4880     break 2
4881   fi
4882 done
4883 done
4884
4885 fi
4886 fi
4887 AR=$ac_cv_prog_AR
4888 if test -n "$AR"; then
4889   echo "$as_me:$LINENO: result: $AR" >&5
4890 echo "${ECHO_T}$AR" >&6
4891 else
4892   echo "$as_me:$LINENO: result: no" >&5
4893 echo "${ECHO_T}no" >&6
4894 fi
4895
4896 fi
4897 if test -z "$ac_cv_prog_AR"; then
4898   ac_ct_AR=$AR
4899   # Extract the first word of "ar", so it can be a program name with args.
4900 set dummy ar; ac_word=$2
4901 echo "$as_me:$LINENO: checking for $ac_word" >&5
4902 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4903 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
4904   echo $ECHO_N "(cached) $ECHO_C" >&6
4905 else
4906   if test -n "$ac_ct_AR"; then
4907   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
4908 else
4909 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4910 for as_dir in $PATH
4911 do
4912   IFS=$as_save_IFS
4913   test -z "$as_dir" && as_dir=.
4914   for ac_exec_ext in '' $ac_executable_extensions; do
4915   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4916     ac_cv_prog_ac_ct_AR="ar"
4917     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4918     break 2
4919   fi
4920 done
4921 done
4922
4923   test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="false"
4924 fi
4925 fi
4926 ac_ct_AR=$ac_cv_prog_ac_ct_AR
4927 if test -n "$ac_ct_AR"; then
4928   echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
4929 echo "${ECHO_T}$ac_ct_AR" >&6
4930 else
4931   echo "$as_me:$LINENO: result: no" >&5
4932 echo "${ECHO_T}no" >&6
4933 fi
4934
4935   AR=$ac_ct_AR
4936 else
4937   AR="$ac_cv_prog_AR"
4938 fi
4939
4940 test -z "$AR" && AR=ar
4941 test -z "$AR_FLAGS" && AR_FLAGS=cru
4942
4943
4944
4945
4946
4947
4948
4949
4950
4951
4952
4953 if test -n "$ac_tool_prefix"; then
4954   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
4955 set dummy ${ac_tool_prefix}strip; ac_word=$2
4956 echo "$as_me:$LINENO: checking for $ac_word" >&5
4957 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4958 if test "${ac_cv_prog_STRIP+set}" = set; then
4959   echo $ECHO_N "(cached) $ECHO_C" >&6
4960 else
4961   if test -n "$STRIP"; then
4962   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
4963 else
4964 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4965 for as_dir in $PATH
4966 do
4967   IFS=$as_save_IFS
4968   test -z "$as_dir" && as_dir=.
4969   for ac_exec_ext in '' $ac_executable_extensions; do
4970   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4971     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
4972     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4973     break 2
4974   fi
4975 done
4976 done
4977
4978 fi
4979 fi
4980 STRIP=$ac_cv_prog_STRIP
4981 if test -n "$STRIP"; then
4982   echo "$as_me:$LINENO: result: $STRIP" >&5
4983 echo "${ECHO_T}$STRIP" >&6
4984 else
4985   echo "$as_me:$LINENO: result: no" >&5
4986 echo "${ECHO_T}no" >&6
4987 fi
4988
4989 fi
4990 if test -z "$ac_cv_prog_STRIP"; then
4991   ac_ct_STRIP=$STRIP
4992   # Extract the first word of "strip", so it can be a program name with args.
4993 set dummy strip; ac_word=$2
4994 echo "$as_me:$LINENO: checking for $ac_word" >&5
4995 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4996 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
4997   echo $ECHO_N "(cached) $ECHO_C" >&6
4998 else
4999   if test -n "$ac_ct_STRIP"; then
5000   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5001 else
5002 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5003 for as_dir in $PATH
5004 do
5005   IFS=$as_save_IFS
5006   test -z "$as_dir" && as_dir=.
5007   for ac_exec_ext in '' $ac_executable_extensions; do
5008   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5009     ac_cv_prog_ac_ct_STRIP="strip"
5010     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5011     break 2
5012   fi
5013 done
5014 done
5015
5016   test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
5017 fi
5018 fi
5019 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5020 if test -n "$ac_ct_STRIP"; then
5021   echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
5022 echo "${ECHO_T}$ac_ct_STRIP" >&6
5023 else
5024   echo "$as_me:$LINENO: result: no" >&5
5025 echo "${ECHO_T}no" >&6
5026 fi
5027
5028   STRIP=$ac_ct_STRIP
5029 else
5030   STRIP="$ac_cv_prog_STRIP"
5031 fi
5032
5033 test -z "$STRIP" && STRIP=:
5034
5035
5036
5037
5038
5039
5040 if test -n "$ac_tool_prefix"; then
5041   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5042 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5043 echo "$as_me:$LINENO: checking for $ac_word" >&5
5044 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5045 if test "${ac_cv_prog_RANLIB+set}" = set; then
5046   echo $ECHO_N "(cached) $ECHO_C" >&6
5047 else
5048   if test -n "$RANLIB"; then
5049   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5050 else
5051 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5052 for as_dir in $PATH
5053 do
5054   IFS=$as_save_IFS
5055   test -z "$as_dir" && as_dir=.
5056   for ac_exec_ext in '' $ac_executable_extensions; do
5057   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5058     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5059     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5060     break 2
5061   fi
5062 done
5063 done
5064
5065 fi
5066 fi
5067 RANLIB=$ac_cv_prog_RANLIB
5068 if test -n "$RANLIB"; then
5069   echo "$as_me:$LINENO: result: $RANLIB" >&5
5070 echo "${ECHO_T}$RANLIB" >&6
5071 else
5072   echo "$as_me:$LINENO: result: no" >&5
5073 echo "${ECHO_T}no" >&6
5074 fi
5075
5076 fi
5077 if test -z "$ac_cv_prog_RANLIB"; then
5078   ac_ct_RANLIB=$RANLIB
5079   # Extract the first word of "ranlib", so it can be a program name with args.
5080 set dummy ranlib; ac_word=$2
5081 echo "$as_me:$LINENO: checking for $ac_word" >&5
5082 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5083 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5084   echo $ECHO_N "(cached) $ECHO_C" >&6
5085 else
5086   if test -n "$ac_ct_RANLIB"; then
5087   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5088 else
5089 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5090 for as_dir in $PATH
5091 do
5092   IFS=$as_save_IFS
5093   test -z "$as_dir" && as_dir=.
5094   for ac_exec_ext in '' $ac_executable_extensions; do
5095   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5096     ac_cv_prog_ac_ct_RANLIB="ranlib"
5097     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5098     break 2
5099   fi
5100 done
5101 done
5102
5103   test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
5104 fi
5105 fi
5106 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5107 if test -n "$ac_ct_RANLIB"; then
5108   echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
5109 echo "${ECHO_T}$ac_ct_RANLIB" >&6
5110 else
5111   echo "$as_me:$LINENO: result: no" >&5
5112 echo "${ECHO_T}no" >&6
5113 fi
5114
5115   RANLIB=$ac_ct_RANLIB
5116 else
5117   RANLIB="$ac_cv_prog_RANLIB"
5118 fi
5119
5120 test -z "$RANLIB" && RANLIB=:
5121
5122
5123
5124
5125
5126
5127 # Determine commands to create old-style static archives.
5128 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
5129 old_postinstall_cmds='chmod 644 $oldlib'
5130 old_postuninstall_cmds=
5131
5132 if test -n "$RANLIB"; then
5133   case $host_os in
5134   openbsd*)
5135     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
5136     ;;
5137   *)
5138     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
5139     ;;
5140   esac
5141   old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
5142 fi
5143
5144
5145
5146
5147
5148
5149
5150
5151
5152
5153
5154
5155
5156
5157
5158
5159
5160
5161
5162
5163
5164
5165
5166
5167
5168
5169
5170
5171
5172
5173
5174
5175
5176
5177 # If no C compiler was specified, use CC.
5178 LTCC=${LTCC-"$CC"}
5179
5180 # If no C compiler flags were specified, use CFLAGS.
5181 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
5182
5183 # Allow CC to be a program name with arguments.
5184 compiler=$CC
5185
5186
5187 # Check for command to grab the raw symbol name followed by C symbol from nm.
5188 echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
5189 echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6
5190 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
5191   echo $ECHO_N "(cached) $ECHO_C" >&6
5192 else
5193
5194 # These are sane defaults that work on at least a few old systems.
5195 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
5196
5197 # Character class describing NM global symbol codes.
5198 symcode='[BCDEGRST]'
5199
5200 # Regexp to match symbols that can be accessed directly from C.
5201 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
5202
5203 # Define system-specific variables.
5204 case $host_os in
5205 aix*)
5206   symcode='[BCDT]'
5207   ;;
5208 cygwin* | mingw* | pw32*)
5209   symcode='[ABCDGISTW]'
5210   ;;
5211 hpux*)
5212   if test "$host_cpu" = ia64; then
5213     symcode='[ABCDEGRST]'
5214   fi
5215   ;;
5216 irix* | nonstopux*)
5217   symcode='[BCDEGRST]'
5218   ;;
5219 osf*)
5220   symcode='[BCDEGQRST]'
5221   ;;
5222 solaris*)
5223   symcode='[BDRT]'
5224   ;;
5225 sco3.2v5*)
5226   symcode='[DT]'
5227   ;;
5228 sysv4.2uw2*)
5229   symcode='[DT]'
5230   ;;
5231 sysv5* | sco5v6* | unixware* | OpenUNIX*)
5232   symcode='[ABDT]'
5233   ;;
5234 sysv4)
5235   symcode='[DFNSTU]'
5236   ;;
5237 esac
5238
5239 # If we're using GNU nm, then use its standard symbol codes.
5240 case `$NM -V 2>&1` in
5241 *GNU* | *'with BFD'*)
5242   symcode='[ABCDGIRSTW]' ;;
5243 esac
5244
5245 # Transform an extracted symbol line into a proper C declaration.
5246 # Some systems (esp. on ia64) link data and code symbols differently,
5247 # so use this general approach.
5248 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
5249
5250 # Transform an extracted symbol line into symbol name and symbol address
5251 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
5252
5253 # Handle CRLF in mingw tool chain
5254 opt_cr=
5255 case $build_os in
5256 mingw*)
5257   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
5258   ;;
5259 esac
5260
5261 # Try without a prefix underscore, then with it.
5262 for ac_symprfx in "" "_"; do
5263
5264   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
5265   symxfrm="\\1 $ac_symprfx\\2 \\2"
5266
5267   # Write the raw and C identifiers.
5268   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
5269     # Fake it for dumpbin and say T for any non-static function
5270     # and D for any global variable.
5271     # Also find C++ and __fastcall symbols from MSVC++,
5272     # which start with @ or ?.
5273     lt_cv_sys_global_symbol_pipe="$AWK '"\
5274 "     {last_section=section; section=\$ 3};"\
5275 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
5276 "     \$ 0!~/External *\|/{next};"\
5277 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
5278 "     {if(hide[section]) next};"\
5279 "     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
5280 "     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
5281 "     s[1]~/^[@?]/{print s[1], s[1]; next};"\
5282 "     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
5283 "     ' prfx=^$ac_symprfx"
5284   else
5285     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[      ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
5286   fi
5287
5288   # Check to see that the pipe works correctly.
5289   pipe_works=no
5290
5291   rm -f conftest*
5292   cat > conftest.$ac_ext <<_LT_EOF
5293 #ifdef __cplusplus
5294 extern "C" {
5295 #endif
5296 char nm_test_var;
5297 void nm_test_func(void);
5298 void nm_test_func(void){}
5299 #ifdef __cplusplus
5300 }
5301 #endif
5302 int main(){nm_test_var='a';nm_test_func();return(0);}
5303 _LT_EOF
5304
5305   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5306   (eval $ac_compile) 2>&5
5307   ac_status=$?
5308   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5309   (exit $ac_status); }; then
5310     # Now try to grab the symbols.
5311     nlist=conftest.nm
5312     if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
5313   (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
5314   ac_status=$?
5315   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5316   (exit $ac_status); } && test -s "$nlist"; then
5317       # Try sorting and uniquifying the output.
5318       if sort "$nlist" | uniq > "$nlist"T; then
5319         mv -f "$nlist"T "$nlist"
5320       else
5321         rm -f "$nlist"T
5322       fi
5323
5324       # Make sure that we snagged all the symbols we need.
5325       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
5326         if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
5327           cat <<_LT_EOF > conftest.$ac_ext
5328 #ifdef __cplusplus
5329 extern "C" {
5330 #endif
5331
5332 _LT_EOF
5333           # Now generate the symbol file.
5334           eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
5335
5336           cat <<_LT_EOF >> conftest.$ac_ext
5337
5338 /* The mapping between symbol names and symbols.  */
5339 const struct {
5340   const char *name;
5341   void       *address;
5342 }
5343 lt__PROGRAM__LTX_preloaded_symbols[] =
5344 {
5345   { "@PROGRAM@", (void *) 0 },
5346 _LT_EOF
5347           $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
5348           cat <<\_LT_EOF >> conftest.$ac_ext
5349   {0, (void *) 0}
5350 };
5351
5352 /* This works around a problem in FreeBSD linker */
5353 #ifdef FREEBSD_WORKAROUND
5354 static const void *lt_preloaded_setup() {
5355   return lt__PROGRAM__LTX_preloaded_symbols;
5356 }
5357 #endif
5358
5359 #ifdef __cplusplus
5360 }
5361 #endif
5362 _LT_EOF
5363           # Now try linking the two files.
5364           mv conftest.$ac_objext conftstm.$ac_objext
5365           lt_save_LIBS="$LIBS"
5366           lt_save_CFLAGS="$CFLAGS"
5367           LIBS="conftstm.$ac_objext"
5368           CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
5369           if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5370   (eval $ac_link) 2>&5
5371   ac_status=$?
5372   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5373   (exit $ac_status); } && test -s conftest${ac_exeext}; then
5374             pipe_works=yes
5375           fi
5376           LIBS="$lt_save_LIBS"
5377           CFLAGS="$lt_save_CFLAGS"
5378         else
5379           echo "cannot find nm_test_func in $nlist" >&5
5380         fi
5381       else
5382         echo "cannot find nm_test_var in $nlist" >&5
5383       fi
5384     else
5385       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
5386     fi
5387   else
5388     echo "$progname: failed program was:" >&5
5389     cat conftest.$ac_ext >&5
5390   fi
5391   rm -f conftest* conftst*
5392
5393   # Do not use the global_symbol_pipe unless it works.
5394   if test "$pipe_works" = yes; then
5395     break
5396   else
5397     lt_cv_sys_global_symbol_pipe=
5398   fi
5399 done
5400
5401 fi
5402
5403 if test -z "$lt_cv_sys_global_symbol_pipe"; then
5404   lt_cv_sys_global_symbol_to_cdecl=
5405 fi
5406 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
5407   echo "$as_me:$LINENO: result: failed" >&5
5408 echo "${ECHO_T}failed" >&6
5409 else
5410   echo "$as_me:$LINENO: result: ok" >&5
5411 echo "${ECHO_T}ok" >&6
5412 fi
5413
5414
5415
5416
5417
5418
5419
5420
5421
5422
5423
5424
5425
5426
5427
5428
5429
5430 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
5431 if test "${enable_libtool_lock+set}" = set; then
5432   enableval="$enable_libtool_lock"
5433
5434 fi;
5435 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
5436
5437 # Some flags need to be propagated to the compiler or linker for good
5438 # libtool support.
5439 case $host in
5440 ia64-*-hpux*)
5441   # Find out which ABI we are using.
5442   echo 'int i;' > conftest.$ac_ext
5443   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5444   (eval $ac_compile) 2>&5
5445   ac_status=$?
5446   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5447   (exit $ac_status); }; then
5448     case `/usr/bin/file conftest.$ac_objext` in
5449       *ELF-32*)
5450         HPUX_IA64_MODE="32"
5451         ;;
5452       *ELF-64*)
5453         HPUX_IA64_MODE="64"
5454         ;;
5455     esac
5456   fi
5457   rm -rf conftest*
5458   ;;
5459 *-*-irix6*)
5460   # Find out which ABI we are using.
5461   echo '#line 5461 "configure"' > conftest.$ac_ext
5462   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5463   (eval $ac_compile) 2>&5
5464   ac_status=$?
5465   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5466   (exit $ac_status); }; then
5467     if test "$lt_cv_prog_gnu_ld" = yes; then
5468       case `/usr/bin/file conftest.$ac_objext` in
5469         *32-bit*)
5470           LD="${LD-ld} -melf32bsmip"
5471           ;;
5472         *N32*)
5473           LD="${LD-ld} -melf32bmipn32"
5474           ;;
5475         *64-bit*)
5476           LD="${LD-ld} -melf64bmip"
5477         ;;
5478       esac
5479     else
5480       case `/usr/bin/file conftest.$ac_objext` in
5481         *32-bit*)
5482           LD="${LD-ld} -32"
5483           ;;
5484         *N32*)
5485           LD="${LD-ld} -n32"
5486           ;;
5487         *64-bit*)
5488           LD="${LD-ld} -64"
5489           ;;
5490       esac
5491     fi
5492   fi
5493   rm -rf conftest*
5494   ;;
5495
5496 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
5497 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
5498   # Find out which ABI we are using.
5499   echo 'int i;' > conftest.$ac_ext
5500   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5501   (eval $ac_compile) 2>&5
5502   ac_status=$?
5503   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5504   (exit $ac_status); }; then
5505     case `/usr/bin/file conftest.o` in
5506       *32-bit*)
5507         case $host in
5508           x86_64-*kfreebsd*-gnu)
5509             LD="${LD-ld} -m elf_i386_fbsd"
5510             ;;
5511           x86_64-*linux*)
5512             LD="${LD-ld} -m elf_i386"
5513             ;;
5514           ppc64-*linux*|powerpc64-*linux*)
5515             LD="${LD-ld} -m elf32ppclinux"
5516             ;;
5517           s390x-*linux*)
5518             LD="${LD-ld} -m elf_s390"
5519             ;;
5520           sparc64-*linux*)
5521             LD="${LD-ld} -m elf32_sparc"
5522             ;;
5523         esac
5524         ;;
5525       *64-bit*)
5526         case $host in
5527           x86_64-*kfreebsd*-gnu)
5528             LD="${LD-ld} -m elf_x86_64_fbsd"
5529             ;;
5530           x86_64-*linux*)
5531             LD="${LD-ld} -m elf_x86_64"
5532             ;;
5533           ppc*-*linux*|powerpc*-*linux*)
5534             LD="${LD-ld} -m elf64ppc"
5535             ;;
5536           s390*-*linux*|s390*-*tpf*)
5537             LD="${LD-ld} -m elf64_s390"
5538             ;;
5539           sparc*-*linux*)
5540             LD="${LD-ld} -m elf64_sparc"
5541             ;;
5542         esac
5543         ;;
5544     esac
5545   fi
5546   rm -rf conftest*
5547   ;;
5548
5549 *-*-sco3.2v5*)
5550   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
5551   SAVE_CFLAGS="$CFLAGS"
5552   CFLAGS="$CFLAGS -belf"
5553   echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
5554 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
5555 if test "${lt_cv_cc_needs_belf+set}" = set; then
5556   echo $ECHO_N "(cached) $ECHO_C" >&6
5557 else
5558   ac_ext=c
5559 ac_cpp='$CPP $CPPFLAGS'
5560 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5561 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5562 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5563
5564      if test x$gcc_no_link = xyes; then
5565   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
5566 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
5567    { (exit 1); exit 1; }; }
5568 fi
5569 cat >conftest.$ac_ext <<_ACEOF
5570 /* confdefs.h.  */
5571 _ACEOF
5572 cat confdefs.h >>conftest.$ac_ext
5573 cat >>conftest.$ac_ext <<_ACEOF
5574 /* end confdefs.h.  */
5575
5576 int
5577 main ()
5578 {
5579
5580   ;
5581   return 0;
5582 }
5583 _ACEOF
5584 rm -f conftest.$ac_objext conftest$ac_exeext
5585 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5586   (eval $ac_link) 2>conftest.er1
5587   ac_status=$?
5588   grep -v '^ *+' conftest.er1 >conftest.err
5589   rm -f conftest.er1
5590   cat conftest.err >&5
5591   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5592   (exit $ac_status); } &&
5593          { ac_try='test -z "$ac_c_werror_flag"
5594                          || test ! -s conftest.err'
5595   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5596   (eval $ac_try) 2>&5
5597   ac_status=$?
5598   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5599   (exit $ac_status); }; } &&
5600          { ac_try='test -s conftest$ac_exeext'
5601   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5602   (eval $ac_try) 2>&5
5603   ac_status=$?
5604   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5605   (exit $ac_status); }; }; then
5606   lt_cv_cc_needs_belf=yes
5607 else
5608   echo "$as_me: failed program was:" >&5
5609 sed 's/^/| /' conftest.$ac_ext >&5
5610
5611 lt_cv_cc_needs_belf=no
5612 fi
5613 rm -f conftest.err conftest.$ac_objext \
5614       conftest$ac_exeext conftest.$ac_ext
5615      ac_ext=c
5616 ac_cpp='$CPP $CPPFLAGS'
5617 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5618 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5619 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5620
5621 fi
5622 echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
5623 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
5624   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
5625     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
5626     CFLAGS="$SAVE_CFLAGS"
5627   fi
5628   ;;
5629 sparc*-*solaris*)
5630   # Find out which ABI we are using.
5631   echo 'int i;' > conftest.$ac_ext
5632   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5633   (eval $ac_compile) 2>&5
5634   ac_status=$?
5635   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5636   (exit $ac_status); }; then
5637     case `/usr/bin/file conftest.o` in
5638     *64-bit*)
5639       case $lt_cv_prog_gnu_ld in
5640       yes*) LD="${LD-ld} -m elf64_sparc" ;;
5641       *)    LD="${LD-ld} -64" ;;
5642       esac
5643       ;;
5644     esac
5645   fi
5646   rm -rf conftest*
5647   ;;
5648 esac
5649
5650 need_locks="$enable_libtool_lock"
5651
5652 ac_ext=c
5653 ac_cpp='$CPP $CPPFLAGS'
5654 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5655 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5656 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5657 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
5658 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
5659 # On Suns, sometimes $CPP names a directory.
5660 if test -n "$CPP" && test -d "$CPP"; then
5661   CPP=
5662 fi
5663 if test -z "$CPP"; then
5664   if test "${ac_cv_prog_CPP+set}" = set; then
5665   echo $ECHO_N "(cached) $ECHO_C" >&6
5666 else
5667       # Double quotes because CPP needs to be expanded
5668     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5669     do
5670       ac_preproc_ok=false
5671 for ac_c_preproc_warn_flag in '' yes
5672 do
5673   # Use a header file that comes with gcc, so configuring glibc
5674   # with a fresh cross-compiler works.
5675   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5676   # <limits.h> exists even on freestanding compilers.
5677   # On the NeXT, cc -E runs the code through the compiler's parser,
5678   # not just through cpp. "Syntax error" is here to catch this case.
5679   cat >conftest.$ac_ext <<_ACEOF
5680 /* confdefs.h.  */
5681 _ACEOF
5682 cat confdefs.h >>conftest.$ac_ext
5683 cat >>conftest.$ac_ext <<_ACEOF
5684 /* end confdefs.h.  */
5685 #ifdef __STDC__
5686 # include <limits.h>
5687 #else
5688 # include <assert.h>
5689 #endif
5690                      Syntax error
5691 _ACEOF
5692 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5693   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5694   ac_status=$?
5695   grep -v '^ *+' conftest.er1 >conftest.err
5696   rm -f conftest.er1
5697   cat conftest.err >&5
5698   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5699   (exit $ac_status); } >/dev/null; then
5700   if test -s conftest.err; then
5701     ac_cpp_err=$ac_c_preproc_warn_flag
5702     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5703   else
5704     ac_cpp_err=
5705   fi
5706 else
5707   ac_cpp_err=yes
5708 fi
5709 if test -z "$ac_cpp_err"; then
5710   :
5711 else
5712   echo "$as_me: failed program was:" >&5
5713 sed 's/^/| /' conftest.$ac_ext >&5
5714
5715   # Broken: fails on valid input.
5716 continue
5717 fi
5718 rm -f conftest.err conftest.$ac_ext
5719
5720   # OK, works on sane cases.  Now check whether non-existent headers
5721   # can be detected and how.
5722   cat >conftest.$ac_ext <<_ACEOF
5723 /* confdefs.h.  */
5724 _ACEOF
5725 cat confdefs.h >>conftest.$ac_ext
5726 cat >>conftest.$ac_ext <<_ACEOF
5727 /* end confdefs.h.  */
5728 #include <ac_nonexistent.h>
5729 _ACEOF
5730 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5731   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5732   ac_status=$?
5733   grep -v '^ *+' conftest.er1 >conftest.err
5734   rm -f conftest.er1
5735   cat conftest.err >&5
5736   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5737   (exit $ac_status); } >/dev/null; then
5738   if test -s conftest.err; then
5739     ac_cpp_err=$ac_c_preproc_warn_flag
5740     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5741   else
5742     ac_cpp_err=
5743   fi
5744 else
5745   ac_cpp_err=yes
5746 fi
5747 if test -z "$ac_cpp_err"; then
5748   # Broken: success on invalid input.
5749 continue
5750 else
5751   echo "$as_me: failed program was:" >&5
5752 sed 's/^/| /' conftest.$ac_ext >&5
5753
5754   # Passes both tests.
5755 ac_preproc_ok=:
5756 break
5757 fi
5758 rm -f conftest.err conftest.$ac_ext
5759
5760 done
5761 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5762 rm -f conftest.err conftest.$ac_ext
5763 if $ac_preproc_ok; then
5764   break
5765 fi
5766
5767     done
5768     ac_cv_prog_CPP=$CPP
5769
5770 fi
5771   CPP=$ac_cv_prog_CPP
5772 else
5773   ac_cv_prog_CPP=$CPP
5774 fi
5775 echo "$as_me:$LINENO: result: $CPP" >&5
5776 echo "${ECHO_T}$CPP" >&6
5777 ac_preproc_ok=false
5778 for ac_c_preproc_warn_flag in '' yes
5779 do
5780   # Use a header file that comes with gcc, so configuring glibc
5781   # with a fresh cross-compiler works.
5782   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5783   # <limits.h> exists even on freestanding compilers.
5784   # On the NeXT, cc -E runs the code through the compiler's parser,
5785   # not just through cpp. "Syntax error" is here to catch this case.
5786   cat >conftest.$ac_ext <<_ACEOF
5787 /* confdefs.h.  */
5788 _ACEOF
5789 cat confdefs.h >>conftest.$ac_ext
5790 cat >>conftest.$ac_ext <<_ACEOF
5791 /* end confdefs.h.  */
5792 #ifdef __STDC__
5793 # include <limits.h>
5794 #else
5795 # include <assert.h>
5796 #endif
5797                      Syntax error
5798 _ACEOF
5799 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5800   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5801   ac_status=$?
5802   grep -v '^ *+' conftest.er1 >conftest.err
5803   rm -f conftest.er1
5804   cat conftest.err >&5
5805   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5806   (exit $ac_status); } >/dev/null; then
5807   if test -s conftest.err; then
5808     ac_cpp_err=$ac_c_preproc_warn_flag
5809     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5810   else
5811     ac_cpp_err=
5812   fi
5813 else
5814   ac_cpp_err=yes
5815 fi
5816 if test -z "$ac_cpp_err"; then
5817   :
5818 else
5819   echo "$as_me: failed program was:" >&5
5820 sed 's/^/| /' conftest.$ac_ext >&5
5821
5822   # Broken: fails on valid input.
5823 continue
5824 fi
5825 rm -f conftest.err conftest.$ac_ext
5826
5827   # OK, works on sane cases.  Now check whether non-existent headers
5828   # can be detected and how.
5829   cat >conftest.$ac_ext <<_ACEOF
5830 /* confdefs.h.  */
5831 _ACEOF
5832 cat confdefs.h >>conftest.$ac_ext
5833 cat >>conftest.$ac_ext <<_ACEOF
5834 /* end confdefs.h.  */
5835 #include <ac_nonexistent.h>
5836 _ACEOF
5837 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5838   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5839   ac_status=$?
5840   grep -v '^ *+' conftest.er1 >conftest.err
5841   rm -f conftest.er1
5842   cat conftest.err >&5
5843   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5844   (exit $ac_status); } >/dev/null; then
5845   if test -s conftest.err; then
5846     ac_cpp_err=$ac_c_preproc_warn_flag
5847     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5848   else
5849     ac_cpp_err=
5850   fi
5851 else
5852   ac_cpp_err=yes
5853 fi
5854 if test -z "$ac_cpp_err"; then
5855   # Broken: success on invalid input.
5856 continue
5857 else
5858   echo "$as_me: failed program was:" >&5
5859 sed 's/^/| /' conftest.$ac_ext >&5
5860
5861   # Passes both tests.
5862 ac_preproc_ok=:
5863 break
5864 fi
5865 rm -f conftest.err conftest.$ac_ext
5866
5867 done
5868 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5869 rm -f conftest.err conftest.$ac_ext
5870 if $ac_preproc_ok; then
5871   :
5872 else
5873   { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
5874 echo "$as_me: error: in \`$ac_pwd':" >&2;}
5875 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
5876 See \`config.log' for more details." >&5
5877 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
5878 See \`config.log' for more details." >&2;}
5879    { (exit 1); exit 1; }; }; }
5880 fi
5881
5882 ac_ext=c
5883 ac_cpp='$CPP $CPPFLAGS'
5884 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5885 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5886 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5887
5888
5889 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5890 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
5891 if test "${ac_cv_header_stdc+set}" = set; then
5892   echo $ECHO_N "(cached) $ECHO_C" >&6
5893 else
5894   cat >conftest.$ac_ext <<_ACEOF
5895 /* confdefs.h.  */
5896 _ACEOF
5897 cat confdefs.h >>conftest.$ac_ext
5898 cat >>conftest.$ac_ext <<_ACEOF
5899 /* end confdefs.h.  */
5900 #include <stdlib.h>
5901 #include <stdarg.h>
5902 #include <string.h>
5903 #include <float.h>
5904
5905 int
5906 main ()
5907 {
5908
5909   ;
5910   return 0;
5911 }
5912 _ACEOF
5913 rm -f conftest.$ac_objext
5914 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5915   (eval $ac_compile) 2>conftest.er1
5916   ac_status=$?
5917   grep -v '^ *+' conftest.er1 >conftest.err
5918   rm -f conftest.er1
5919   cat conftest.err >&5
5920   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5921   (exit $ac_status); } &&
5922          { ac_try='test -z "$ac_c_werror_flag"
5923                          || test ! -s conftest.err'
5924   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5925   (eval $ac_try) 2>&5
5926   ac_status=$?
5927   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5928   (exit $ac_status); }; } &&
5929          { ac_try='test -s conftest.$ac_objext'
5930   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5931   (eval $ac_try) 2>&5
5932   ac_status=$?
5933   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5934   (exit $ac_status); }; }; then
5935   ac_cv_header_stdc=yes
5936 else
5937   echo "$as_me: failed program was:" >&5
5938 sed 's/^/| /' conftest.$ac_ext >&5
5939
5940 ac_cv_header_stdc=no
5941 fi
5942 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5943
5944 if test $ac_cv_header_stdc = yes; then
5945   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5946   cat >conftest.$ac_ext <<_ACEOF
5947 /* confdefs.h.  */
5948 _ACEOF
5949 cat confdefs.h >>conftest.$ac_ext
5950 cat >>conftest.$ac_ext <<_ACEOF
5951 /* end confdefs.h.  */
5952 #include <string.h>
5953
5954 _ACEOF
5955 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5956   $EGREP "memchr" >/dev/null 2>&1; then
5957   :
5958 else
5959   ac_cv_header_stdc=no
5960 fi
5961 rm -f conftest*
5962
5963 fi
5964
5965 if test $ac_cv_header_stdc = yes; then
5966   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5967   cat >conftest.$ac_ext <<_ACEOF
5968 /* confdefs.h.  */
5969 _ACEOF
5970 cat confdefs.h >>conftest.$ac_ext
5971 cat >>conftest.$ac_ext <<_ACEOF
5972 /* end confdefs.h.  */
5973 #include <stdlib.h>
5974
5975 _ACEOF
5976 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5977   $EGREP "free" >/dev/null 2>&1; then
5978   :
5979 else
5980   ac_cv_header_stdc=no
5981 fi
5982 rm -f conftest*
5983
5984 fi
5985
5986 if test $ac_cv_header_stdc = yes; then
5987   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5988   if test "$cross_compiling" = yes; then
5989   :
5990 else
5991   cat >conftest.$ac_ext <<_ACEOF
5992 /* confdefs.h.  */
5993 _ACEOF
5994 cat confdefs.h >>conftest.$ac_ext
5995 cat >>conftest.$ac_ext <<_ACEOF
5996 /* end confdefs.h.  */
5997 #include <ctype.h>
5998 #if ((' ' & 0x0FF) == 0x020)
5999 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6000 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6001 #else
6002 # define ISLOWER(c) \
6003                    (('a' <= (c) && (c) <= 'i') \
6004                      || ('j' <= (c) && (c) <= 'r') \
6005                      || ('s' <= (c) && (c) <= 'z'))
6006 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6007 #endif
6008
6009 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6010 int
6011 main ()
6012 {
6013   int i;
6014   for (i = 0; i < 256; i++)
6015     if (XOR (islower (i), ISLOWER (i))
6016         || toupper (i) != TOUPPER (i))
6017       exit(2);
6018   exit (0);
6019 }
6020 _ACEOF
6021 rm -f conftest$ac_exeext
6022 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6023   (eval $ac_link) 2>&5
6024   ac_status=$?
6025   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6026   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6027   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6028   (eval $ac_try) 2>&5
6029   ac_status=$?
6030   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6031   (exit $ac_status); }; }; then
6032   :
6033 else
6034   echo "$as_me: program exited with status $ac_status" >&5
6035 echo "$as_me: failed program was:" >&5
6036 sed 's/^/| /' conftest.$ac_ext >&5
6037
6038 ( exit $ac_status )
6039 ac_cv_header_stdc=no
6040 fi
6041 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6042 fi
6043 fi
6044 fi
6045 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
6046 echo "${ECHO_T}$ac_cv_header_stdc" >&6
6047 if test $ac_cv_header_stdc = yes; then
6048
6049 cat >>confdefs.h <<\_ACEOF
6050 #define STDC_HEADERS 1
6051 _ACEOF
6052
6053 fi
6054
6055 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6056
6057
6058
6059
6060
6061
6062
6063
6064
6065 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6066                   inttypes.h stdint.h unistd.h
6067 do
6068 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6069 echo "$as_me:$LINENO: checking for $ac_header" >&5
6070 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6071 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6072   echo $ECHO_N "(cached) $ECHO_C" >&6
6073 else
6074   cat >conftest.$ac_ext <<_ACEOF
6075 /* confdefs.h.  */
6076 _ACEOF
6077 cat confdefs.h >>conftest.$ac_ext
6078 cat >>conftest.$ac_ext <<_ACEOF
6079 /* end confdefs.h.  */
6080 $ac_includes_default
6081
6082 #include <$ac_header>
6083 _ACEOF
6084 rm -f conftest.$ac_objext
6085 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6086   (eval $ac_compile) 2>conftest.er1
6087   ac_status=$?
6088   grep -v '^ *+' conftest.er1 >conftest.err
6089   rm -f conftest.er1
6090   cat conftest.err >&5
6091   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6092   (exit $ac_status); } &&
6093          { ac_try='test -z "$ac_c_werror_flag"
6094                          || test ! -s conftest.err'
6095   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6096   (eval $ac_try) 2>&5
6097   ac_status=$?
6098   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6099   (exit $ac_status); }; } &&
6100          { ac_try='test -s conftest.$ac_objext'
6101   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6102   (eval $ac_try) 2>&5
6103   ac_status=$?
6104   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6105   (exit $ac_status); }; }; then
6106   eval "$as_ac_Header=yes"
6107 else
6108   echo "$as_me: failed program was:" >&5
6109 sed 's/^/| /' conftest.$ac_ext >&5
6110
6111 eval "$as_ac_Header=no"
6112 fi
6113 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6114 fi
6115 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6116 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6117 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6118   cat >>confdefs.h <<_ACEOF
6119 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6120 _ACEOF
6121
6122 fi
6123
6124 done
6125
6126
6127
6128 for ac_header in dlfcn.h
6129 do
6130 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6131 echo "$as_me:$LINENO: checking for $ac_header" >&5
6132 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6133 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6134   echo $ECHO_N "(cached) $ECHO_C" >&6
6135 else
6136   cat >conftest.$ac_ext <<_ACEOF
6137 /* confdefs.h.  */
6138 _ACEOF
6139 cat confdefs.h >>conftest.$ac_ext
6140 cat >>conftest.$ac_ext <<_ACEOF
6141 /* end confdefs.h.  */
6142 $ac_includes_default
6143
6144 #include <$ac_header>
6145 _ACEOF
6146 rm -f conftest.$ac_objext
6147 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6148   (eval $ac_compile) 2>conftest.er1
6149   ac_status=$?
6150   grep -v '^ *+' conftest.er1 >conftest.err
6151   rm -f conftest.er1
6152   cat conftest.err >&5
6153   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6154   (exit $ac_status); } &&
6155          { ac_try='test -z "$ac_c_werror_flag"
6156                          || test ! -s conftest.err'
6157   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6158   (eval $ac_try) 2>&5
6159   ac_status=$?
6160   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6161   (exit $ac_status); }; } &&
6162          { ac_try='test -s conftest.$ac_objext'
6163   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6164   (eval $ac_try) 2>&5
6165   ac_status=$?
6166   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6167   (exit $ac_status); }; }; then
6168   eval "$as_ac_Header=yes"
6169 else
6170   echo "$as_me: failed program was:" >&5
6171 sed 's/^/| /' conftest.$ac_ext >&5
6172
6173 eval "$as_ac_Header=no"
6174 fi
6175 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6176 fi
6177 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6178 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6179 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6180   cat >>confdefs.h <<_ACEOF
6181 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6182 _ACEOF
6183
6184 fi
6185
6186 done
6187
6188
6189
6190 # This can be used to rebuild libtool when needed
6191 LIBTOOL_DEPS="$ltmain"
6192
6193 # Always use our own libtool.
6194 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
6195
6196
6197
6198
6199
6200
6201
6202
6203
6204
6205
6206
6207
6208
6209
6210
6211
6212
6213
6214
6215
6216
6217
6218
6219
6220 test -z "$LN_S" && LN_S="ln -s"
6221
6222
6223
6224
6225
6226
6227
6228
6229
6230
6231
6232
6233
6234
6235 if test -n "${ZSH_VERSION+set}" ; then
6236    setopt NO_GLOB_SUBST
6237 fi
6238
6239 echo "$as_me:$LINENO: checking for objdir" >&5
6240 echo $ECHO_N "checking for objdir... $ECHO_C" >&6
6241 if test "${lt_cv_objdir+set}" = set; then
6242   echo $ECHO_N "(cached) $ECHO_C" >&6
6243 else
6244   rm -f .libs 2>/dev/null
6245 mkdir .libs 2>/dev/null
6246 if test -d .libs; then
6247   lt_cv_objdir=.libs
6248 else
6249   # MS-DOS does not allow filenames that begin with a dot.
6250   lt_cv_objdir=_libs
6251 fi
6252 rmdir .libs 2>/dev/null
6253 fi
6254 echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
6255 echo "${ECHO_T}$lt_cv_objdir" >&6
6256 objdir=$lt_cv_objdir
6257
6258
6259
6260
6261
6262 cat >>confdefs.h <<_ACEOF
6263 #define LT_OBJDIR "$lt_cv_objdir/"
6264 _ACEOF
6265
6266
6267
6268
6269
6270
6271
6272
6273
6274
6275
6276
6277
6278
6279
6280
6281
6282 case $host_os in
6283 aix3*)
6284   # AIX sometimes has problems with the GCC collect2 program.  For some
6285   # reason, if we set the COLLECT_NAMES environment variable, the problems
6286   # vanish in a puff of smoke.
6287   if test "X${COLLECT_NAMES+set}" != Xset; then
6288     COLLECT_NAMES=
6289     export COLLECT_NAMES
6290   fi
6291   ;;
6292 esac
6293
6294 # Sed substitution that helps us do robust quoting.  It backslashifies
6295 # metacharacters that are still active within double-quoted strings.
6296 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
6297
6298 # Same as above, but do not quote variable references.
6299 double_quote_subst='s/\(["`\\]\)/\\\1/g'
6300
6301 # Sed substitution to delay expansion of an escaped shell variable in a
6302 # double_quote_subst'ed string.
6303 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
6304
6305 # Sed substitution to delay expansion of an escaped single quote.
6306 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
6307
6308 # Sed substitution to avoid accidental globbing in evaled expressions
6309 no_glob_subst='s/\*/\\\*/g'
6310
6311 # Global variables:
6312 ofile=libtool
6313 can_build_shared=yes
6314
6315 # All known linkers require a `.a' archive for static linking (except MSVC,
6316 # which needs '.lib').
6317 libext=a
6318
6319 with_gnu_ld="$lt_cv_prog_gnu_ld"
6320
6321 old_CC="$CC"
6322 old_CFLAGS="$CFLAGS"
6323
6324 # Set sane defaults for various variables
6325 test -z "$CC" && CC=cc
6326 test -z "$LTCC" && LTCC=$CC
6327 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
6328 test -z "$LD" && LD=ld
6329 test -z "$ac_objext" && ac_objext=o
6330
6331 for cc_temp in $compiler""; do
6332   case $cc_temp in
6333     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
6334     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
6335     \-*) ;;
6336     *) break;;
6337   esac
6338 done
6339 cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
6340
6341
6342 # Only perform the check for file, if the check method requires it
6343 test -z "$MAGIC_CMD" && MAGIC_CMD=file
6344 case $deplibs_check_method in
6345 file_magic*)
6346   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
6347     echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
6348 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
6349 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
6350   echo $ECHO_N "(cached) $ECHO_C" >&6
6351 else
6352   case $MAGIC_CMD in
6353 [\\/*] |  ?:[\\/]*)
6354   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
6355   ;;
6356 *)
6357   lt_save_MAGIC_CMD="$MAGIC_CMD"
6358   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6359   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
6360   for ac_dir in $ac_dummy; do
6361     IFS="$lt_save_ifs"
6362     test -z "$ac_dir" && ac_dir=.
6363     if test -f $ac_dir/${ac_tool_prefix}file; then
6364       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
6365       if test -n "$file_magic_test_file"; then
6366         case $deplibs_check_method in
6367         "file_magic "*)
6368           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
6369           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6370           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
6371             $EGREP "$file_magic_regex" > /dev/null; then
6372             :
6373           else
6374             cat <<_LT_EOF 1>&2
6375
6376 *** Warning: the command libtool uses to detect shared libraries,
6377 *** $file_magic_cmd, produces output that libtool cannot recognize.
6378 *** The result is that libtool may fail to recognize shared libraries
6379 *** as such.  This will affect the creation of libtool libraries that
6380 *** depend on shared libraries, but programs linked with such libtool
6381 *** libraries will work regardless of this problem.  Nevertheless, you
6382 *** may want to report the problem to your system manager and/or to
6383 *** bug-libtool@gnu.org
6384
6385 _LT_EOF
6386           fi ;;
6387         esac
6388       fi
6389       break
6390     fi
6391   done
6392   IFS="$lt_save_ifs"
6393   MAGIC_CMD="$lt_save_MAGIC_CMD"
6394   ;;
6395 esac
6396 fi
6397
6398 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6399 if test -n "$MAGIC_CMD"; then
6400   echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
6401 echo "${ECHO_T}$MAGIC_CMD" >&6
6402 else
6403   echo "$as_me:$LINENO: result: no" >&5
6404 echo "${ECHO_T}no" >&6
6405 fi
6406
6407
6408
6409
6410
6411 if test -z "$lt_cv_path_MAGIC_CMD"; then
6412   if test -n "$ac_tool_prefix"; then
6413     echo "$as_me:$LINENO: checking for file" >&5
6414 echo $ECHO_N "checking for file... $ECHO_C" >&6
6415 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
6416   echo $ECHO_N "(cached) $ECHO_C" >&6
6417 else
6418   case $MAGIC_CMD in
6419 [\\/*] |  ?:[\\/]*)
6420   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
6421   ;;
6422 *)
6423   lt_save_MAGIC_CMD="$MAGIC_CMD"
6424   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6425   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
6426   for ac_dir in $ac_dummy; do
6427     IFS="$lt_save_ifs"
6428     test -z "$ac_dir" && ac_dir=.
6429     if test -f $ac_dir/file; then
6430       lt_cv_path_MAGIC_CMD="$ac_dir/file"
6431       if test -n "$file_magic_test_file"; then
6432         case $deplibs_check_method in
6433         "file_magic "*)
6434           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
6435           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6436           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
6437             $EGREP "$file_magic_regex" > /dev/null; then
6438             :
6439           else
6440             cat <<_LT_EOF 1>&2
6441
6442 *** Warning: the command libtool uses to detect shared libraries,
6443 *** $file_magic_cmd, produces output that libtool cannot recognize.
6444 *** The result is that libtool may fail to recognize shared libraries
6445 *** as such.  This will affect the creation of libtool libraries that
6446 *** depend on shared libraries, but programs linked with such libtool
6447 *** libraries will work regardless of this problem.  Nevertheless, you
6448 *** may want to report the problem to your system manager and/or to
6449 *** bug-libtool@gnu.org
6450
6451 _LT_EOF
6452           fi ;;
6453         esac
6454       fi
6455       break
6456     fi
6457   done
6458   IFS="$lt_save_ifs"
6459   MAGIC_CMD="$lt_save_MAGIC_CMD"
6460   ;;
6461 esac
6462 fi
6463
6464 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6465 if test -n "$MAGIC_CMD"; then
6466   echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
6467 echo "${ECHO_T}$MAGIC_CMD" >&6
6468 else
6469   echo "$as_me:$LINENO: result: no" >&5
6470 echo "${ECHO_T}no" >&6
6471 fi
6472
6473
6474   else
6475     MAGIC_CMD=:
6476   fi
6477 fi
6478
6479   fi
6480   ;;
6481 esac
6482
6483 # Use C for the default configuration in the libtool script
6484
6485 lt_save_CC="$CC"
6486 ac_ext=c
6487 ac_cpp='$CPP $CPPFLAGS'
6488 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6489 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6490 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6491
6492
6493 # Source file extension for C test sources.
6494 ac_ext=c
6495
6496 # Object file extension for compiled C test sources.
6497 objext=o
6498 objext=$objext
6499
6500 # Code to be used in simple compile tests
6501 lt_simple_compile_test_code="int some_variable = 0;"
6502
6503 # Code to be used in simple link tests
6504 lt_simple_link_test_code='int main(){return(0);}'
6505
6506
6507
6508
6509
6510
6511
6512 # If no C compiler was specified, use CC.
6513 LTCC=${LTCC-"$CC"}
6514
6515 # If no C compiler flags were specified, use CFLAGS.
6516 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6517
6518 # Allow CC to be a program name with arguments.
6519 compiler=$CC
6520
6521 # Save the default compiler, since it gets overwritten when the other
6522 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
6523 compiler_DEFAULT=$CC
6524
6525 # save warnings/boilerplate of simple test code
6526 ac_outfile=conftest.$ac_objext
6527 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
6528 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
6529 _lt_compiler_boilerplate=`cat conftest.err`
6530 $RM conftest*
6531
6532 ac_outfile=conftest.$ac_objext
6533 echo "$lt_simple_link_test_code" >conftest.$ac_ext
6534 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
6535 _lt_linker_boilerplate=`cat conftest.err`
6536 $RM conftest*
6537
6538
6539 ## CAVEAT EMPTOR:
6540 ## There is no encapsulation within the following macros, do not change
6541 ## the running order or otherwise move them around unless you know exactly
6542 ## what you are doing...
6543 if test -n "$compiler"; then
6544
6545 lt_prog_compiler_no_builtin_flag=
6546
6547 if test "$GCC" = yes; then
6548   lt_prog_compiler_no_builtin_flag=' -fno-builtin'
6549
6550   echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
6551 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
6552 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
6553   echo $ECHO_N "(cached) $ECHO_C" >&6
6554 else
6555   lt_cv_prog_compiler_rtti_exceptions=no
6556    ac_outfile=conftest.$ac_objext
6557    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
6558    lt_compiler_flag="-fno-rtti -fno-exceptions"
6559    # Insert the option either (1) after the last *FLAGS variable, or
6560    # (2) before a word containing "conftest.", or (3) at the end.
6561    # Note that $ac_compile itself does not contain backslashes and begins
6562    # with a dollar sign (not a hyphen), so the echo should work correctly.
6563    # The option is referenced via a variable to avoid confusing sed.
6564    lt_compile=`echo "$ac_compile" | $SED \
6565    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
6566    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6567    -e 's:$: $lt_compiler_flag:'`
6568    (eval echo "\"\$as_me:6568: $lt_compile\"" >&5)
6569    (eval "$lt_compile" 2>conftest.err)
6570    ac_status=$?
6571    cat conftest.err >&5
6572    echo "$as_me:6572: \$? = $ac_status" >&5
6573    if (exit $ac_status) && test -s "$ac_outfile"; then
6574      # The compiler can only warn and ignore the option if not recognized
6575      # So say no if there are warnings other than the usual output.
6576      $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
6577      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
6578      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
6579        lt_cv_prog_compiler_rtti_exceptions=yes
6580      fi
6581    fi
6582    $RM conftest*
6583
6584 fi
6585 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
6586 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
6587
6588 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
6589     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
6590 else
6591     :
6592 fi
6593
6594 fi
6595
6596
6597
6598
6599
6600
6601   lt_prog_compiler_wl=
6602 lt_prog_compiler_pic=
6603 lt_prog_compiler_static=
6604
6605 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
6606 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
6607
6608   if test "$GCC" = yes; then
6609     lt_prog_compiler_wl='-Wl,'
6610     lt_prog_compiler_static='-static'
6611
6612     case $host_os in
6613       aix*)
6614       # All AIX code is PIC.
6615       if test "$host_cpu" = ia64; then
6616         # AIX 5 now supports IA64 processor
6617         lt_prog_compiler_static='-Bstatic'
6618       fi
6619       ;;
6620
6621     amigaos*)
6622       if test "$host_cpu" = m68k; then
6623         # FIXME: we need at least 68020 code to build shared libraries, but
6624         # adding the `-m68020' flag to GCC prevents building anything better,
6625         # like `-m68040'.
6626         lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
6627       fi
6628       ;;
6629
6630     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
6631       # PIC is the default for these OSes.
6632       ;;
6633
6634     mingw* | cygwin* | pw32* | os2*)
6635       # This hack is so that the source file can tell whether it is being
6636       # built for inclusion in a dll (and should export symbols for example).
6637       # Although the cygwin gcc ignores -fPIC, still need this for old-style
6638       # (--disable-auto-import) libraries
6639       lt_prog_compiler_pic='-DDLL_EXPORT'
6640       ;;
6641
6642     darwin* | rhapsody*)
6643       # PIC is the default on this platform
6644       # Common symbols not allowed in MH_DYLIB files
6645       lt_prog_compiler_pic='-fno-common'
6646       ;;
6647
6648     hpux*)
6649       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
6650       # not for PA HP-UX.
6651       case $host_cpu in
6652       hppa*64*|ia64*)
6653         # +Z the default
6654         ;;
6655       *)
6656         lt_prog_compiler_pic='-fPIC'
6657         ;;
6658       esac
6659       ;;
6660
6661     interix[3-9]*)
6662       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
6663       # Instead, we relocate shared libraries at runtime.
6664       ;;
6665
6666     msdosdjgpp*)
6667       # Just because we use GCC doesn't mean we suddenly get shared libraries
6668       # on systems that don't support them.
6669       lt_prog_compiler_can_build_shared=no
6670       enable_shared=no
6671       ;;
6672
6673     *nto* | *qnx*)
6674       # QNX uses GNU C++, but need to define -shared option too, otherwise
6675       # it will coredump.
6676       lt_prog_compiler_pic='-fPIC -shared'
6677       ;;
6678
6679     sysv4*MP*)
6680       if test -d /usr/nec; then
6681         lt_prog_compiler_pic=-Kconform_pic
6682       fi
6683       ;;
6684
6685     *)
6686       lt_prog_compiler_pic='-fPIC'
6687       ;;
6688     esac
6689   else
6690     # PORTME Check for flag to pass linker flags through the system compiler.
6691     case $host_os in
6692     aix*)
6693       lt_prog_compiler_wl='-Wl,'
6694       if test "$host_cpu" = ia64; then
6695         # AIX 5 now supports IA64 processor
6696         lt_prog_compiler_static='-Bstatic'
6697       else
6698         lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
6699       fi
6700       ;;
6701     darwin*)
6702       # PIC is the default on this platform
6703       # Common symbols not allowed in MH_DYLIB files
6704       case $cc_basename in
6705       xlc*)
6706         lt_prog_compiler_pic='-qnocommon'
6707         lt_prog_compiler_wl='-Wl,'
6708         ;;
6709       esac
6710       ;;
6711
6712     mingw* | cygwin* | pw32* | os2*)
6713       # This hack is so that the source file can tell whether it is being
6714       # built for inclusion in a dll (and should export symbols for example).
6715       lt_prog_compiler_pic='-DDLL_EXPORT'
6716       ;;
6717
6718     hpux9* | hpux10* | hpux11*)
6719       lt_prog_compiler_wl='-Wl,'
6720       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
6721       # not for PA HP-UX.
6722       case $host_cpu in
6723       hppa*64*|ia64*)
6724         # +Z the default
6725         ;;
6726       *)
6727         lt_prog_compiler_pic='+Z'
6728         ;;
6729       esac
6730       # Is there a better lt_prog_compiler_static that works with the bundled CC?
6731       lt_prog_compiler_static='${wl}-a ${wl}archive'
6732       ;;
6733
6734     irix5* | irix6* | nonstopux*)
6735       lt_prog_compiler_wl='-Wl,'
6736       # PIC (with -KPIC) is the default.
6737       lt_prog_compiler_static='-non_shared'
6738       ;;
6739
6740     linux* | k*bsd*-gnu)
6741       case $cc_basename in
6742       icc* | ecc*)
6743         lt_prog_compiler_wl='-Wl,'
6744         lt_prog_compiler_pic='-KPIC'
6745         lt_prog_compiler_static='-static'
6746         ;;
6747       pgcc* | pgf77* | pgf90* | pgf95*)
6748         # Portland Group compilers (*not* the Pentium gcc compiler,
6749         # which looks to be a dead project)
6750         lt_prog_compiler_wl='-Wl,'
6751         lt_prog_compiler_pic='-fpic'
6752         lt_prog_compiler_static='-Bstatic'
6753         ;;
6754       ccc*)
6755         lt_prog_compiler_wl='-Wl,'
6756         # All Alpha code is PIC.
6757         lt_prog_compiler_static='-non_shared'
6758         ;;
6759       *)
6760         case `$CC -V 2>&1 | sed 5q` in
6761         *Sun\ C*)
6762           # Sun C 5.9
6763           lt_prog_compiler_pic='-KPIC'
6764           lt_prog_compiler_static='-Bstatic'
6765           lt_prog_compiler_wl='-Wl,'
6766           ;;
6767         *Sun\ F*)
6768           # Sun Fortran 8.3 passes all unrecognized flags to the linker
6769           lt_prog_compiler_pic='-KPIC'
6770           lt_prog_compiler_static='-Bstatic'
6771           lt_prog_compiler_wl=''
6772           ;;
6773         esac
6774         ;;
6775       esac
6776       ;;
6777
6778     newsos6)
6779       lt_prog_compiler_pic='-KPIC'
6780       lt_prog_compiler_static='-Bstatic'
6781       ;;
6782
6783     *nto* | *qnx*)
6784       # QNX uses GNU C++, but need to define -shared option too, otherwise
6785       # it will coredump.
6786       lt_prog_compiler_pic='-fPIC -shared'
6787       ;;
6788
6789     osf3* | osf4* | osf5*)
6790       lt_prog_compiler_wl='-Wl,'
6791       # All OSF/1 code is PIC.
6792       lt_prog_compiler_static='-non_shared'
6793       ;;
6794
6795     rdos*)
6796       lt_prog_compiler_static='-non_shared'
6797       ;;
6798
6799     solaris*)
6800       lt_prog_compiler_pic='-KPIC'
6801       lt_prog_compiler_static='-Bstatic'
6802       case $cc_basename in
6803       f77* | f90* | f95*)
6804         lt_prog_compiler_wl='-Qoption ld ';;
6805       *)
6806         lt_prog_compiler_wl='-Wl,';;
6807       esac
6808       ;;
6809
6810     sunos4*)
6811       lt_prog_compiler_wl='-Qoption ld '
6812       lt_prog_compiler_pic='-PIC'
6813       lt_prog_compiler_static='-Bstatic'
6814       ;;
6815
6816     sysv4 | sysv4.2uw2* | sysv4.3*)
6817       lt_prog_compiler_wl='-Wl,'
6818       lt_prog_compiler_pic='-KPIC'
6819       lt_prog_compiler_static='-Bstatic'
6820       ;;
6821
6822     sysv4*MP*)
6823       if test -d /usr/nec ;then
6824         lt_prog_compiler_pic='-Kconform_pic'
6825         lt_prog_compiler_static='-Bstatic'
6826       fi
6827       ;;
6828
6829     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
6830       lt_prog_compiler_wl='-Wl,'
6831       lt_prog_compiler_pic='-KPIC'
6832       lt_prog_compiler_static='-Bstatic'
6833       ;;
6834
6835     unicos*)
6836       lt_prog_compiler_wl='-Wl,'
6837       lt_prog_compiler_can_build_shared=no
6838       ;;
6839
6840     uts4*)
6841       lt_prog_compiler_pic='-pic'
6842       lt_prog_compiler_static='-Bstatic'
6843       ;;
6844
6845     *)
6846       lt_prog_compiler_can_build_shared=no
6847       ;;
6848     esac
6849   fi
6850
6851 case $host_os in
6852   # For platforms which do not support PIC, -DPIC is meaningless:
6853   *djgpp*)
6854     lt_prog_compiler_pic=
6855     ;;
6856   *)
6857     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
6858     ;;
6859 esac
6860 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
6861 echo "${ECHO_T}$lt_prog_compiler_pic" >&6
6862
6863
6864
6865
6866
6867
6868 #
6869 # Check to make sure the PIC flag actually works.
6870 #
6871 if test -n "$lt_prog_compiler_pic"; then
6872   echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
6873 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6
6874 if test "${lt_prog_compiler_pic_works+set}" = set; then
6875   echo $ECHO_N "(cached) $ECHO_C" >&6
6876 else
6877   lt_prog_compiler_pic_works=no
6878    ac_outfile=conftest.$ac_objext
6879    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
6880    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
6881    # Insert the option either (1) after the last *FLAGS variable, or
6882    # (2) before a word containing "conftest.", or (3) at the end.
6883    # Note that $ac_compile itself does not contain backslashes and begins
6884    # with a dollar sign (not a hyphen), so the echo should work correctly.
6885    # The option is referenced via a variable to avoid confusing sed.
6886    lt_compile=`echo "$ac_compile" | $SED \
6887    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
6888    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6889    -e 's:$: $lt_compiler_flag:'`
6890    (eval echo "\"\$as_me:6890: $lt_compile\"" >&5)
6891    (eval "$lt_compile" 2>conftest.err)
6892    ac_status=$?
6893    cat conftest.err >&5
6894    echo "$as_me:6894: \$? = $ac_status" >&5
6895    if (exit $ac_status) && test -s "$ac_outfile"; then
6896      # The compiler can only warn and ignore the option if not recognized
6897      # So say no if there are warnings other than the usual output.
6898      $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
6899      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
6900      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
6901        lt_prog_compiler_pic_works=yes
6902      fi
6903    fi
6904    $RM conftest*
6905
6906 fi
6907 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
6908 echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6
6909
6910 if test x"$lt_prog_compiler_pic_works" = xyes; then
6911     case $lt_prog_compiler_pic in
6912      "" | " "*) ;;
6913      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
6914      esac
6915 else
6916     lt_prog_compiler_pic=
6917      lt_prog_compiler_can_build_shared=no
6918 fi
6919
6920 fi
6921
6922
6923
6924
6925
6926
6927 #
6928 # Check to make sure the static flag actually works.
6929 #
6930 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
6931 echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
6932 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
6933 if test "${lt_prog_compiler_static_works+set}" = set; then
6934   echo $ECHO_N "(cached) $ECHO_C" >&6
6935 else
6936   lt_prog_compiler_static_works=no
6937    save_LDFLAGS="$LDFLAGS"
6938    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
6939    echo "$lt_simple_link_test_code" > conftest.$ac_ext
6940    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
6941      # The linker can only warn and ignore the option if not recognized
6942      # So say no if there are warnings
6943      if test -s conftest.err; then
6944        # Append any errors to the config.log.
6945        cat conftest.err 1>&5
6946        $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
6947        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
6948        if diff conftest.exp conftest.er2 >/dev/null; then
6949          lt_prog_compiler_static_works=yes
6950        fi
6951      else
6952        lt_prog_compiler_static_works=yes
6953      fi
6954    fi
6955    $RM conftest*
6956    LDFLAGS="$save_LDFLAGS"
6957
6958 fi
6959 echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
6960 echo "${ECHO_T}$lt_prog_compiler_static_works" >&6
6961
6962 if test x"$lt_prog_compiler_static_works" = xyes; then
6963     :
6964 else
6965     lt_prog_compiler_static=
6966 fi
6967
6968
6969
6970
6971
6972
6973
6974   echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
6975 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
6976 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
6977   echo $ECHO_N "(cached) $ECHO_C" >&6
6978 else
6979   lt_cv_prog_compiler_c_o=no
6980    $RM -r conftest 2>/dev/null
6981    mkdir conftest
6982    cd conftest
6983    mkdir out
6984    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
6985
6986    lt_compiler_flag="-o out/conftest2.$ac_objext"
6987    # Insert the option either (1) after the last *FLAGS variable, or
6988    # (2) before a word containing "conftest.", or (3) at the end.
6989    # Note that $ac_compile itself does not contain backslashes and begins
6990    # with a dollar sign (not a hyphen), so the echo should work correctly.
6991    lt_compile=`echo "$ac_compile" | $SED \
6992    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
6993    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6994    -e 's:$: $lt_compiler_flag:'`
6995    (eval echo "\"\$as_me:6995: $lt_compile\"" >&5)
6996    (eval "$lt_compile" 2>out/conftest.err)
6997    ac_status=$?
6998    cat out/conftest.err >&5
6999    echo "$as_me:6999: \$? = $ac_status" >&5
7000    if (exit $ac_status) && test -s out/conftest2.$ac_objext
7001    then
7002      # The compiler can only warn and ignore the option if not recognized
7003      # So say no if there are warnings
7004      $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
7005      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
7006      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
7007        lt_cv_prog_compiler_c_o=yes
7008      fi
7009    fi
7010    chmod u+w . 2>&5
7011    $RM conftest*
7012    # SGI C++ compiler will create directory out/ii_files/ for
7013    # template instantiation
7014    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
7015    $RM out/* && rmdir out
7016    cd ..
7017    $RM -r conftest
7018    $RM conftest*
7019
7020 fi
7021 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
7022 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
7023
7024
7025
7026
7027
7028
7029   echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
7030 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
7031 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
7032   echo $ECHO_N "(cached) $ECHO_C" >&6
7033 else
7034   lt_cv_prog_compiler_c_o=no
7035    $RM -r conftest 2>/dev/null
7036    mkdir conftest
7037    cd conftest
7038    mkdir out
7039    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7040
7041    lt_compiler_flag="-o out/conftest2.$ac_objext"
7042    # Insert the option either (1) after the last *FLAGS variable, or
7043    # (2) before a word containing "conftest.", or (3) at the end.
7044    # Note that $ac_compile itself does not contain backslashes and begins
7045    # with a dollar sign (not a hyphen), so the echo should work correctly.
7046    lt_compile=`echo "$ac_compile" | $SED \
7047    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7048    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7049    -e 's:$: $lt_compiler_flag:'`
7050    (eval echo "\"\$as_me:7050: $lt_compile\"" >&5)
7051    (eval "$lt_compile" 2>out/conftest.err)
7052    ac_status=$?
7053    cat out/conftest.err >&5
7054    echo "$as_me:7054: \$? = $ac_status" >&5
7055    if (exit $ac_status) && test -s out/conftest2.$ac_objext
7056    then
7057      # The compiler can only warn and ignore the option if not recognized
7058      # So say no if there are warnings
7059      $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
7060      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
7061      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
7062        lt_cv_prog_compiler_c_o=yes
7063      fi
7064    fi
7065    chmod u+w . 2>&5
7066    $RM conftest*
7067    # SGI C++ compiler will create directory out/ii_files/ for
7068    # template instantiation
7069    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
7070    $RM out/* && rmdir out
7071    cd ..
7072    $RM -r conftest
7073    $RM conftest*
7074
7075 fi
7076 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
7077 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
7078
7079
7080
7081
7082 hard_links="nottested"
7083 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
7084   # do not overwrite the value of need_locks provided by the user
7085   echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
7086 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
7087   hard_links=yes
7088   $RM conftest*
7089   ln conftest.a conftest.b 2>/dev/null && hard_links=no
7090   touch conftest.a
7091   ln conftest.a conftest.b 2>&5 || hard_links=no
7092   ln conftest.a conftest.b 2>/dev/null && hard_links=no
7093   echo "$as_me:$LINENO: result: $hard_links" >&5
7094 echo "${ECHO_T}$hard_links" >&6
7095   if test "$hard_links" = no; then
7096     { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
7097 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
7098     need_locks=warn
7099   fi
7100 else
7101   need_locks=no
7102 fi
7103
7104
7105
7106
7107
7108
7109   echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
7110 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
7111
7112   runpath_var=
7113   allow_undefined_flag=
7114   always_export_symbols=no
7115   archive_cmds=
7116   archive_expsym_cmds=
7117   compiler_needs_object=no
7118   enable_shared_with_static_runtimes=no
7119   export_dynamic_flag_spec=
7120   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
7121   hardcode_automatic=no
7122   hardcode_direct=no
7123   hardcode_direct_absolute=no
7124   hardcode_libdir_flag_spec=
7125   hardcode_libdir_flag_spec_ld=
7126   hardcode_libdir_separator=
7127   hardcode_minus_L=no
7128   hardcode_shlibpath_var=unsupported
7129   inherit_rpath=no
7130   link_all_deplibs=unknown
7131   module_cmds=
7132   module_expsym_cmds=
7133   old_archive_from_new_cmds=
7134   old_archive_from_expsyms_cmds=
7135   thread_safe_flag_spec=
7136   whole_archive_flag_spec=
7137   # include_expsyms should be a list of space-separated symbols to be *always*
7138   # included in the symbol list
7139   include_expsyms=
7140   # exclude_expsyms can be an extended regexp of symbols to exclude
7141   # it will be wrapped by ` (' and `)$', so one must not match beginning or
7142   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
7143   # as well as any symbol that contains `d'.
7144   exclude_expsyms="_GLOBAL_OFFSET_TABLE_"
7145   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
7146   # platforms (ab)use it in PIC code, but their linkers get confused if
7147   # the symbol is explicitly referenced.  Since portable code cannot
7148   # rely on this symbol name, it's probably fine to never include it in
7149   # preloaded symbol tables.
7150   extract_expsyms_cmds=
7151
7152   case $host_os in
7153   cygwin* | mingw* | pw32*)
7154     # FIXME: the MSVC++ port hasn't been tested in a loooong time
7155     # When not using gcc, we currently assume that we are using
7156     # Microsoft Visual C++.
7157     if test "$GCC" != yes; then
7158       with_gnu_ld=no
7159     fi
7160     ;;
7161   interix*)
7162     # we just hope/assume this is gcc and not c89 (= MSVC++)
7163     with_gnu_ld=yes
7164     ;;
7165   openbsd*)
7166     with_gnu_ld=no
7167     ;;
7168   esac
7169
7170   ld_shlibs=yes
7171   if test "$with_gnu_ld" = yes; then
7172     # If archive_cmds runs LD, not CC, wlarc should be empty
7173     wlarc='${wl}'
7174
7175     # Set some defaults for GNU ld with shared library support. These
7176     # are reset later if shared libraries are not supported. Putting them
7177     # here allows them to be overridden if necessary.
7178     runpath_var=LD_RUN_PATH
7179     hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
7180     export_dynamic_flag_spec='${wl}--export-dynamic'
7181     # ancient GNU ld didn't support --whole-archive et. al.
7182     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
7183       whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
7184     else
7185       whole_archive_flag_spec=
7186     fi
7187     supports_anon_versioning=no
7188     case `$LD -v 2>&1` in
7189       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
7190       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
7191       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
7192       *\ 2.11.*) ;; # other 2.11 versions
7193       *) supports_anon_versioning=yes ;;
7194     esac
7195
7196     # See if GNU ld supports shared libraries.
7197     case $host_os in
7198     aix[3-9]*)
7199       # On AIX/PPC, the GNU linker is very broken
7200       if test "$host_cpu" != ia64; then
7201         ld_shlibs=no
7202         cat <<_LT_EOF 1>&2
7203
7204 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
7205 *** to be unable to reliably create shared libraries on AIX.
7206 *** Therefore, libtool is disabling shared libraries support.  If you
7207 *** really care for shared libraries, you may want to modify your PATH
7208 *** so that a non-GNU linker is found, and then restart.
7209
7210 _LT_EOF
7211       fi
7212       ;;
7213
7214     amigaos*)
7215       if test "$host_cpu" = m68k; then
7216         archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
7217         hardcode_libdir_flag_spec='-L$libdir'
7218         hardcode_minus_L=yes
7219       fi
7220
7221       # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
7222       # that the semantics of dynamic libraries on AmigaOS, at least up
7223       # to version 4, is to share data among multiple programs linked
7224       # with the same dynamic library.  Since this doesn't match the
7225       # behavior of shared libraries on other platforms, we can't use
7226       # them.
7227       ld_shlibs=no
7228       ;;
7229
7230     beos*)
7231       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
7232         allow_undefined_flag=unsupported
7233         # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
7234         # support --undefined.  This deserves some investigation.  FIXME
7235         archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7236       else
7237         ld_shlibs=no
7238       fi
7239       ;;
7240
7241     cygwin* | mingw* | pw32*)
7242       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
7243       # as there is no search path for DLLs.
7244       hardcode_libdir_flag_spec='-L$libdir'
7245       allow_undefined_flag=unsupported
7246       always_export_symbols=no
7247       enable_shared_with_static_runtimes=yes
7248       export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
7249
7250       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
7251         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
7252         # If the export-symbols file already is a .def file (1st line
7253         # is EXPORTS), use it as is; otherwise, prepend...
7254         archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
7255           cp $export_symbols $output_objdir/$soname.def;
7256         else
7257           echo EXPORTS > $output_objdir/$soname.def;
7258           cat $export_symbols >> $output_objdir/$soname.def;
7259         fi~
7260         $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
7261       else
7262         ld_shlibs=no
7263       fi
7264       ;;
7265
7266     interix[3-9]*)
7267       hardcode_direct=no
7268       hardcode_shlibpath_var=no
7269       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
7270       export_dynamic_flag_spec='${wl}-E'
7271       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
7272       # Instead, shared libraries are loaded at an image base (0x10000000 by
7273       # default) and relocated if they conflict, which is a slow very memory
7274       # consuming and fragmenting process.  To avoid this, we pick a random,
7275       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
7276       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
7277       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
7278       archive_expsym_cmds='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
7279       ;;
7280
7281     gnu* | linux* | tpf* | k*bsd*-gnu)
7282       tmp_diet=no
7283       if test "$host_os" = linux-dietlibc; then
7284         case $cc_basename in
7285           diet\ *) tmp_diet=yes;;       # linux-dietlibc with static linking (!diet-dyn)
7286         esac
7287       fi
7288       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
7289          && test "$tmp_diet" = no
7290       then
7291         tmp_addflag=
7292         case $cc_basename,$host_cpu in
7293         pgcc*)                          # Portland Group C compiler
7294           whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
7295           tmp_addflag=' $pic_flag'
7296           ;;
7297         pgf77* | pgf90* | pgf95*)       # Portland Group f77 and f90 compilers
7298           whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
7299           tmp_addflag=' $pic_flag -Mnomain' ;;
7300         ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
7301           tmp_addflag=' -i_dynamic' ;;
7302         efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
7303           tmp_addflag=' -i_dynamic -nofor_main' ;;
7304         ifc* | ifort*)                  # Intel Fortran compiler
7305           tmp_addflag=' -nofor_main' ;;
7306         esac
7307         case `$CC -V 2>&1 | sed 5q` in
7308         *Sun\ C*)                       # Sun C 5.9
7309           whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
7310           compiler_needs_object=yes
7311           tmp_sharedflag='-G' ;;
7312         *Sun\ F*)                       # Sun Fortran 8.3
7313           tmp_sharedflag='-G' ;;
7314         *)
7315           tmp_sharedflag='-shared' ;;
7316         esac
7317         archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7318
7319         if test "x$supports_anon_versioning" = xyes; then
7320           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
7321             cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
7322             echo "local: *; };" >> $output_objdir/$libname.ver~
7323             $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
7324         fi
7325       else
7326         ld_shlibs=no
7327       fi
7328       ;;
7329
7330     netbsd*)
7331       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
7332         archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
7333         wlarc=
7334       else
7335         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7336         archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7337       fi
7338       ;;
7339
7340     solaris*)
7341       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
7342         ld_shlibs=no
7343         cat <<_LT_EOF 1>&2
7344
7345 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
7346 *** create shared libraries on Solaris systems.  Therefore, libtool
7347 *** is disabling shared libraries support.  We urge you to upgrade GNU
7348 *** binutils to release 2.9.1 or newer.  Another option is to modify
7349 *** your PATH or compiler configuration so that the native linker is
7350 *** used, and then restart.
7351
7352 _LT_EOF
7353       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
7354         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7355         archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7356       else
7357         ld_shlibs=no
7358       fi
7359       ;;
7360
7361     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
7362       case `$LD -v 2>&1` in
7363         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
7364         ld_shlibs=no
7365         cat <<_LT_EOF 1>&2
7366
7367 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
7368 *** reliably create shared libraries on SCO systems.  Therefore, libtool
7369 *** is disabling shared libraries support.  We urge you to upgrade GNU
7370 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
7371 *** your PATH or compiler configuration so that the native linker is
7372 *** used, and then restart.
7373
7374 _LT_EOF
7375         ;;
7376         *)
7377           # For security reasons, it is highly recommended that you always
7378           # use absolute paths for naming shared libraries, and exclude the
7379           # DT_RUNPATH tag from executables and libraries.  But doing so
7380           # requires that you compile everything twice, which is a pain.
7381           if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
7382             hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
7383             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7384             archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7385           else
7386             ld_shlibs=no
7387           fi
7388         ;;
7389       esac
7390       ;;
7391
7392     sunos4*)
7393       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
7394       wlarc=
7395       hardcode_direct=yes
7396       hardcode_shlibpath_var=no
7397       ;;
7398
7399     *)
7400       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
7401         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7402         archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7403       else
7404         ld_shlibs=no
7405       fi
7406       ;;
7407     esac
7408
7409     if test "$ld_shlibs" = no; then
7410       runpath_var=
7411       hardcode_libdir_flag_spec=
7412       export_dynamic_flag_spec=
7413       whole_archive_flag_spec=
7414     fi
7415   else
7416     # PORTME fill in a description of your system's linker (not GNU ld)
7417     case $host_os in
7418     aix3*)
7419       allow_undefined_flag=unsupported
7420       always_export_symbols=yes
7421       archive_expsym_cmds='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
7422       # Note: this linker hardcodes the directories in LIBPATH if there
7423       # are no directories specified by -L.
7424       hardcode_minus_L=yes
7425       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
7426         # Neither direct hardcoding nor static linking is supported with a
7427         # broken collect2.
7428         hardcode_direct=unsupported
7429       fi
7430       ;;
7431
7432     aix[4-9]*)
7433       if test "$host_cpu" = ia64; then
7434         # On IA64, the linker does run time linking by default, so we don't
7435         # have to do anything special.
7436         aix_use_runtimelinking=no
7437         exp_sym_flag='-Bexport'
7438         no_entry_flag=""
7439       else
7440         # If we're using GNU nm, then we don't want the "-C" option.
7441         # -C means demangle to AIX nm, but means don't demangle with GNU nm
7442         if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
7443           export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
7444         else
7445           export_symbols_cmds='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
7446         fi
7447         aix_use_runtimelinking=no
7448
7449         # Test if we are trying to use run time linking or normal
7450         # AIX style linking. If -brtl is somewhere in LDFLAGS, we
7451         # need to do runtime linking.
7452         case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
7453           for ld_flag in $LDFLAGS; do
7454           if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
7455             aix_use_runtimelinking=yes
7456             break
7457           fi
7458           done
7459           ;;
7460         esac
7461
7462         exp_sym_flag='-bexport'
7463         no_entry_flag='-bnoentry'
7464       fi
7465
7466       # When large executables or shared objects are built, AIX ld can
7467       # have problems creating the table of contents.  If linking a library
7468       # or program results in "error TOC overflow" add -mminimal-toc to
7469       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
7470       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
7471
7472       archive_cmds=''
7473       hardcode_direct=yes
7474       hardcode_direct_absolute=yes
7475       hardcode_libdir_separator=':'
7476       link_all_deplibs=yes
7477       file_list_spec='${wl}-f,'
7478
7479       if test "$GCC" = yes; then
7480         case $host_os in aix4.[012]|aix4.[012].*)
7481         # We only want to do this on AIX 4.2 and lower, the check
7482         # below for broken collect2 doesn't work under 4.3+
7483           collect2name=`${CC} -print-prog-name=collect2`
7484           if test -f "$collect2name" &&
7485            strings "$collect2name" | $GREP resolve_lib_name >/dev/null
7486           then
7487           # We have reworked collect2
7488           :
7489           else
7490           # We have old collect2
7491           hardcode_direct=unsupported
7492           # It fails to find uninstalled libraries when the uninstalled
7493           # path is not listed in the libpath.  Setting hardcode_minus_L
7494           # to unsupported forces relinking
7495           hardcode_minus_L=yes
7496           hardcode_libdir_flag_spec='-L$libdir'
7497           hardcode_libdir_separator=
7498           fi
7499           ;;
7500         esac
7501         shared_flag='-shared'
7502         if test "$aix_use_runtimelinking" = yes; then
7503           shared_flag="$shared_flag "'${wl}-G'
7504         fi
7505       else
7506         # not using gcc
7507         if test "$host_cpu" = ia64; then
7508         # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
7509         # chokes on -Wl,-G. The following line is correct:
7510           shared_flag='-G'
7511         else
7512           if test "$aix_use_runtimelinking" = yes; then
7513             shared_flag='${wl}-G'
7514           else
7515             shared_flag='${wl}-bM:SRE'
7516           fi
7517         fi
7518       fi
7519
7520       # It seems that -bexpall does not export symbols beginning with
7521       # underscore (_), so it is better to generate a list of symbols to export.
7522       always_export_symbols=yes
7523       if test "$aix_use_runtimelinking" = yes; then
7524         # Warning - without using the other runtime loading flags (-brtl),
7525         # -berok will link without error, but may produce a broken library.
7526         allow_undefined_flag='-berok'
7527         # Determine the default libpath from the value encoded in an
7528         # empty executable.
7529         if test x$gcc_no_link = xyes; then
7530   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
7531 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
7532    { (exit 1); exit 1; }; }
7533 fi
7534 cat >conftest.$ac_ext <<_ACEOF
7535 /* confdefs.h.  */
7536 _ACEOF
7537 cat confdefs.h >>conftest.$ac_ext
7538 cat >>conftest.$ac_ext <<_ACEOF
7539 /* end confdefs.h.  */
7540
7541 int
7542 main ()
7543 {
7544
7545   ;
7546   return 0;
7547 }
7548 _ACEOF
7549 rm -f conftest.$ac_objext conftest$ac_exeext
7550 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7551   (eval $ac_link) 2>conftest.er1
7552   ac_status=$?
7553   grep -v '^ *+' conftest.er1 >conftest.err
7554   rm -f conftest.er1
7555   cat conftest.err >&5
7556   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7557   (exit $ac_status); } &&
7558          { ac_try='test -z "$ac_c_werror_flag"
7559                          || test ! -s conftest.err'
7560   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7561   (eval $ac_try) 2>&5
7562   ac_status=$?
7563   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7564   (exit $ac_status); }; } &&
7565          { ac_try='test -s conftest$ac_exeext'
7566   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7567   (eval $ac_try) 2>&5
7568   ac_status=$?
7569   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7570   (exit $ac_status); }; }; then
7571
7572 lt_aix_libpath_sed='
7573     /Import File Strings/,/^$/ {
7574         /^0/ {
7575             s/^0  *\(.*\)$/\1/
7576             p
7577         }
7578     }'
7579 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
7580 # Check for a 64-bit object if we didn't find anything.
7581 if test -z "$aix_libpath"; then
7582   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
7583 fi
7584 else
7585   echo "$as_me: failed program was:" >&5
7586 sed 's/^/| /' conftest.$ac_ext >&5
7587
7588 fi
7589 rm -f conftest.err conftest.$ac_objext \
7590       conftest$ac_exeext conftest.$ac_ext
7591 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
7592
7593         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
7594         archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then $ECHO "X${wl}${allow_undefined_flag}" | $Xsed; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
7595       else
7596         if test "$host_cpu" = ia64; then
7597           hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
7598           allow_undefined_flag="-z nodefs"
7599           archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
7600         else
7601          # Determine the default libpath from the value encoded in an
7602          # empty executable.
7603          if test x$gcc_no_link = xyes; then
7604   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
7605 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
7606    { (exit 1); exit 1; }; }
7607 fi
7608 cat >conftest.$ac_ext <<_ACEOF
7609 /* confdefs.h.  */
7610 _ACEOF
7611 cat confdefs.h >>conftest.$ac_ext
7612 cat >>conftest.$ac_ext <<_ACEOF
7613 /* end confdefs.h.  */
7614
7615 int
7616 main ()
7617 {
7618
7619   ;
7620   return 0;
7621 }
7622 _ACEOF
7623 rm -f conftest.$ac_objext conftest$ac_exeext
7624 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7625   (eval $ac_link) 2>conftest.er1
7626   ac_status=$?
7627   grep -v '^ *+' conftest.er1 >conftest.err
7628   rm -f conftest.er1
7629   cat conftest.err >&5
7630   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7631   (exit $ac_status); } &&
7632          { ac_try='test -z "$ac_c_werror_flag"
7633                          || test ! -s conftest.err'
7634   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7635   (eval $ac_try) 2>&5
7636   ac_status=$?
7637   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7638   (exit $ac_status); }; } &&
7639          { ac_try='test -s conftest$ac_exeext'
7640   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7641   (eval $ac_try) 2>&5
7642   ac_status=$?
7643   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7644   (exit $ac_status); }; }; then
7645
7646 lt_aix_libpath_sed='
7647     /Import File Strings/,/^$/ {
7648         /^0/ {
7649             s/^0  *\(.*\)$/\1/
7650             p
7651         }
7652     }'
7653 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
7654 # Check for a 64-bit object if we didn't find anything.
7655 if test -z "$aix_libpath"; then
7656   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
7657 fi
7658 else
7659   echo "$as_me: failed program was:" >&5
7660 sed 's/^/| /' conftest.$ac_ext >&5
7661
7662 fi
7663 rm -f conftest.err conftest.$ac_objext \
7664       conftest$ac_exeext conftest.$ac_ext
7665 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
7666
7667          hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
7668           # Warning - without using the other run time loading flags,
7669           # -berok will link without error, but may produce a broken library.
7670           no_undefined_flag=' ${wl}-bernotok'
7671           allow_undefined_flag=' ${wl}-berok'
7672           # Exported symbols can be pulled into shared objects from archives
7673           whole_archive_flag_spec='$convenience'
7674           archive_cmds_need_lc=yes
7675           # This is similar to how AIX traditionally builds its shared libraries.
7676           archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
7677         fi
7678       fi
7679       ;;
7680
7681     amigaos*)
7682       if test "$host_cpu" = m68k; then
7683         archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
7684         hardcode_libdir_flag_spec='-L$libdir'
7685         hardcode_minus_L=yes
7686       fi
7687       # see comment about different semantics on the GNU ld section
7688       ld_shlibs=no
7689       ;;
7690
7691     bsdi[45]*)
7692       export_dynamic_flag_spec=-rdynamic
7693       ;;
7694
7695     cygwin* | mingw* | pw32*)
7696       # When not using gcc, we currently assume that we are using
7697       # Microsoft Visual C++.
7698       # hardcode_libdir_flag_spec is actually meaningless, as there is
7699       # no search path for DLLs.
7700       hardcode_libdir_flag_spec=' '
7701       allow_undefined_flag=unsupported
7702       # Tell ltmain to make .lib files, not .a files.
7703       libext=lib
7704       # Tell ltmain to make .dll files, not .so files.
7705       shrext_cmds=".dll"
7706       # FIXME: Setting linknames here is a bad hack.
7707       archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
7708       # The linker will automatically build a .lib file if we build a DLL.
7709       old_archive_from_new_cmds='true'
7710       # FIXME: Should let the user specify the lib program.
7711       old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
7712       fix_srcfile_path='`cygpath -w "$srcfile"`'
7713       enable_shared_with_static_runtimes=yes
7714       ;;
7715
7716     darwin* | rhapsody*)
7717       case $host_os in
7718       rhapsody* | darwin1.[012])
7719         allow_undefined_flag='${wl}-undefined ${wl}suppress'
7720         ;;
7721       *) # Darwin 1.3 on
7722         case ${MACOSX_DEPLOYMENT_TARGET-10.0} in
7723         10.[012])
7724           allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
7725           ;;
7726         10.*)
7727           allow_undefined_flag='${wl}-undefined ${wl}dynamic_lookup'
7728           ;;
7729         esac
7730         ;;
7731       esac
7732       archive_cmds_need_lc=no
7733       hardcode_direct=no
7734       hardcode_automatic=yes
7735       hardcode_shlibpath_var=unsupported
7736       whole_archive_flag_spec=''
7737       link_all_deplibs=yes
7738       if test "$GCC" = yes ; then
7739         if test "${lt_cv_apple_cc_single_mod+set}" = set; then
7740   echo $ECHO_N "(cached) $ECHO_C" >&6
7741 else
7742   lt_cv_apple_cc_single_mod=no
7743         if test -z "${LT_MULTI_MODULE}"; then
7744           # By default we will add the -single_module flag. You can override
7745           # by either setting the environment variable LT_MULTI_MODULE
7746           # non-empty at configure time, or by adding -multi-module to the
7747           # link flags.
7748           echo "int foo(void){return 1;}" > conftest.c
7749           $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7750               -dynamiclib ${wl}-single_module conftest.c
7751           if test -f libconftest.dylib; then
7752               lt_cv_apple_cc_single_mod=yes
7753               rm libconftest.dylib
7754           fi
7755           rm conftest.$ac_ext
7756         fi
7757 fi
7758
7759         output_verbose_link_cmd=echo
7760         if test "X$lt_cv_apple_cc_single_mod" = Xyes ; then
7761           archive_cmds='$CC -dynamiclib $single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
7762           archive_expsym_cmds='sed "s,^,_," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $single_module -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
7763         else
7764           archive_cmds='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
7765           archive_expsym_cmds='sed "s,^,_," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
7766         fi
7767         module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
7768         module_expsym_cmds='sed -e "s,^,_," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag  -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
7769       else
7770         case $cc_basename in
7771         xlc*)
7772           output_verbose_link_cmd=echo
7773           archive_cmds='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`$ECHO $rpath/$soname` $verstring'
7774           module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
7775           # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
7776           archive_expsym_cmds='sed "s,^,_," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
7777           module_expsym_cmds='sed "s,^,_," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag  -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
7778           ;;
7779         *)
7780           ld_shlibs=no
7781           ;;
7782         esac
7783       fi
7784       ;;
7785
7786     dgux*)
7787       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7788       hardcode_libdir_flag_spec='-L$libdir'
7789       hardcode_shlibpath_var=no
7790       ;;
7791
7792     freebsd1*)
7793       ld_shlibs=no
7794       ;;
7795
7796     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
7797     # support.  Future versions do this automatically, but an explicit c++rt0.o
7798     # does not break anything, and helps significantly (at the cost of a little
7799     # extra space).
7800     freebsd2.2*)
7801       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
7802       hardcode_libdir_flag_spec='-R$libdir'
7803       hardcode_direct=yes
7804       hardcode_shlibpath_var=no
7805       ;;
7806
7807     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
7808     freebsd2*)
7809       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
7810       hardcode_direct=yes
7811       hardcode_minus_L=yes
7812       hardcode_shlibpath_var=no
7813       ;;
7814
7815     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
7816     freebsd* | dragonfly*)
7817       archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
7818       hardcode_libdir_flag_spec='-R$libdir'
7819       hardcode_direct=yes
7820       hardcode_shlibpath_var=no
7821       ;;
7822
7823     hpux9*)
7824       if test "$GCC" = yes; then
7825         archive_cmds='$RM $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
7826       else
7827         archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
7828       fi
7829       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
7830       hardcode_libdir_separator=:
7831       hardcode_direct=yes
7832
7833       # hardcode_minus_L: Not really in the search PATH,
7834       # but as the default location of the library.
7835       hardcode_minus_L=yes
7836       export_dynamic_flag_spec='${wl}-E'
7837       ;;
7838
7839     hpux10*)
7840       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
7841         archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
7842       else
7843         archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
7844       fi
7845       if test "$with_gnu_ld" = no; then
7846         hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
7847         hardcode_libdir_flag_spec_ld='+b $libdir'
7848         hardcode_libdir_separator=:
7849         hardcode_direct=yes
7850         hardcode_direct_absolute=yes
7851         export_dynamic_flag_spec='${wl}-E'
7852         # hardcode_minus_L: Not really in the search PATH,
7853         # but as the default location of the library.
7854         hardcode_minus_L=yes
7855       fi
7856       ;;
7857
7858     hpux11*)
7859       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
7860         case $host_cpu in
7861         hppa*64*)
7862           archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
7863           ;;
7864         ia64*)
7865           archive_cmds='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
7866           ;;
7867         *)
7868           archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
7869           ;;
7870         esac
7871       else
7872         case $host_cpu in
7873         hppa*64*)
7874           archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
7875           ;;
7876         ia64*)
7877           archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
7878           ;;
7879         *)
7880           archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
7881           ;;
7882         esac
7883       fi
7884       if test "$with_gnu_ld" = no; then
7885         hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
7886         hardcode_libdir_separator=:
7887
7888         case $host_cpu in
7889         hppa*64*|ia64*)
7890           hardcode_direct=no
7891           hardcode_shlibpath_var=no
7892           ;;
7893         *)
7894           hardcode_direct=yes
7895           hardcode_direct_absolute=yes
7896           export_dynamic_flag_spec='${wl}-E'
7897
7898           # hardcode_minus_L: Not really in the search PATH,
7899           # but as the default location of the library.
7900           hardcode_minus_L=yes
7901           ;;
7902         esac
7903       fi
7904       ;;
7905
7906     irix5* | irix6* | nonstopux*)
7907       if test "$GCC" = yes; then
7908         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
7909         # Try to use the -exported_symbol ld option, if it does not
7910         # work, assume that -exports_file does not work either and
7911         # implicitly export all symbols.
7912         save_LDFLAGS="$LDFLAGS"
7913         LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
7914         if test x$gcc_no_link = xyes; then
7915   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
7916 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
7917    { (exit 1); exit 1; }; }
7918 fi
7919 cat >conftest.$ac_ext <<_ACEOF
7920 int foo(void) {}
7921 _ACEOF
7922 rm -f conftest.$ac_objext conftest$ac_exeext
7923 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7924   (eval $ac_link) 2>conftest.er1
7925   ac_status=$?
7926   grep -v '^ *+' conftest.er1 >conftest.err
7927   rm -f conftest.er1
7928   cat conftest.err >&5
7929   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7930   (exit $ac_status); } &&
7931          { ac_try='test -z "$ac_c_werror_flag"
7932                          || test ! -s conftest.err'
7933   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7934   (eval $ac_try) 2>&5
7935   ac_status=$?
7936   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7937   (exit $ac_status); }; } &&
7938          { ac_try='test -s conftest$ac_exeext'
7939   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7940   (eval $ac_try) 2>&5
7941   ac_status=$?
7942   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7943   (exit $ac_status); }; }; then
7944   archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
7945
7946 else
7947   echo "$as_me: failed program was:" >&5
7948 sed 's/^/| /' conftest.$ac_ext >&5
7949
7950 fi
7951 rm -f conftest.err conftest.$ac_objext \
7952       conftest$ac_exeext conftest.$ac_ext
7953         LDFLAGS="$save_LDFLAGS"
7954       else
7955         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
7956         archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
7957       fi
7958       archive_cmds_need_lc='no'
7959       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
7960       hardcode_libdir_separator=:
7961       inherit_rpath=yes
7962       link_all_deplibs=yes
7963       ;;
7964
7965     netbsd*)
7966       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
7967         archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
7968       else
7969         archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
7970       fi
7971       hardcode_libdir_flag_spec='-R$libdir'
7972       hardcode_direct=yes
7973       hardcode_shlibpath_var=no
7974       ;;
7975
7976     newsos6)
7977       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7978       hardcode_direct=yes
7979       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
7980       hardcode_libdir_separator=:
7981       hardcode_shlibpath_var=no
7982       ;;
7983
7984     *nto* | *qnx*)
7985       ;;
7986
7987     openbsd*)
7988       hardcode_direct=yes
7989       hardcode_shlibpath_var=no
7990       hardcode_direct_absolute=yes
7991       if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
7992         archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
7993         archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
7994         hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
7995         export_dynamic_flag_spec='${wl}-E'
7996       else
7997         case $host_os in
7998         openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
7999           archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8000           hardcode_libdir_flag_spec='-R$libdir'
8001           ;;
8002         *)
8003           archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8004           hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8005           ;;
8006         esac
8007       fi
8008       ;;
8009
8010     os2*)
8011       hardcode_libdir_flag_spec='-L$libdir'
8012       hardcode_minus_L=yes
8013       allow_undefined_flag=unsupported
8014       archive_cmds='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$ECHO DATA >> $output_objdir/$libname.def~$ECHO " SINGLE NONSHARED" >> $output_objdir/$libname.def~$ECHO EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
8015       old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
8016       ;;
8017
8018     osf3*)
8019       if test "$GCC" = yes; then
8020         allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
8021         archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
8022       else
8023         allow_undefined_flag=' -expect_unresolved \*'
8024         archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
8025       fi
8026       archive_cmds_need_lc='no'
8027       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8028       hardcode_libdir_separator=:
8029       ;;
8030
8031     osf4* | osf5*)      # as osf3* with the addition of -msym flag
8032       if test "$GCC" = yes; then
8033         allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
8034         archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
8035         hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8036       else
8037         allow_undefined_flag=' -expect_unresolved \*'
8038         archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
8039         archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; printf "%s\\n" "-hidden">> $lib.exp~
8040         $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
8041
8042         # Both c and cxx compiler support -rpath directly
8043         hardcode_libdir_flag_spec='-rpath $libdir'
8044       fi
8045       archive_cmds_need_lc='no'
8046       hardcode_libdir_separator=:
8047       ;;
8048
8049     solaris*)
8050       no_undefined_flag=' -z defs'
8051       if test "$GCC" = yes; then
8052         wlarc='${wl}'
8053         archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8054         archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8055           $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
8056       else
8057         case `$CC -V 2>&1` in
8058         *"Compilers 5.0"*)
8059           wlarc=''
8060           archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
8061           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8062           $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
8063           ;;
8064         *)
8065           wlarc='${wl}'
8066           archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
8067           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8068           $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
8069           ;;
8070         esac
8071       fi
8072       hardcode_libdir_flag_spec='-R$libdir'
8073       hardcode_shlibpath_var=no
8074       case $host_os in
8075       solaris2.[0-5] | solaris2.[0-5].*) ;;
8076       *)
8077         # The compiler driver will combine and reorder linker options,
8078         # but understands `-z linker_flag'.  GCC discards it without `$wl',
8079         # but is careful enough not to reorder.
8080         # Supported since Solaris 2.6 (maybe 2.5.1?)
8081         if test "$GCC" = yes; then
8082           whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
8083         else
8084           whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
8085         fi
8086         ;;
8087       esac
8088       link_all_deplibs=yes
8089       ;;
8090
8091     sunos4*)
8092       if test "x$host_vendor" = xsequent; then
8093         # Use $CC to link under sequent, because it throws in some extra .o
8094         # files that make .init and .fini sections work.
8095         archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
8096       else
8097         archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
8098       fi
8099       hardcode_libdir_flag_spec='-L$libdir'
8100       hardcode_direct=yes
8101       hardcode_minus_L=yes
8102       hardcode_shlibpath_var=no
8103       ;;
8104
8105     sysv4)
8106       case $host_vendor in
8107         sni)
8108           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8109           hardcode_direct=yes # is this really true???
8110         ;;
8111         siemens)
8112           ## LD is ld it makes a PLAMLIB
8113           ## CC just makes a GrossModule.
8114           archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
8115           reload_cmds='$CC -r -o $output$reload_objs'
8116           hardcode_direct=no
8117         ;;
8118         motorola)
8119           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8120           hardcode_direct=no #Motorola manual says yes, but my tests say they lie
8121         ;;
8122       esac
8123       runpath_var='LD_RUN_PATH'
8124       hardcode_shlibpath_var=no
8125       ;;
8126
8127     sysv4.3*)
8128       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8129       hardcode_shlibpath_var=no
8130       export_dynamic_flag_spec='-Bexport'
8131       ;;
8132
8133     sysv4*MP*)
8134       if test -d /usr/nec; then
8135         archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8136         hardcode_shlibpath_var=no
8137         runpath_var=LD_RUN_PATH
8138         hardcode_runpath_var=yes
8139         ld_shlibs=yes
8140       fi
8141       ;;
8142
8143     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
8144       no_undefined_flag='${wl}-z,text'
8145       archive_cmds_need_lc=no
8146       hardcode_shlibpath_var=no
8147       runpath_var='LD_RUN_PATH'
8148
8149       if test "$GCC" = yes; then
8150         archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8151         archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8152       else
8153         archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8154         archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8155       fi
8156       ;;
8157
8158     sysv5* | sco3.2v5* | sco5v6*)
8159       # Note: We can NOT use -z defs as we might desire, because we do not
8160       # link with -lc, and that would cause any symbols used from libc to
8161       # always be unresolved, which means just about no library would
8162       # ever link correctly.  If we're not using GNU ld we use -z text
8163       # though, which does catch some bad symbols but isn't as heavy-handed
8164       # as -z defs.
8165       no_undefined_flag='${wl}-z,text'
8166       allow_undefined_flag='${wl}-z,nodefs'
8167       archive_cmds_need_lc=no
8168       hardcode_shlibpath_var=no
8169       hardcode_libdir_flag_spec='${wl}-R,$libdir'
8170       hardcode_libdir_separator=':'
8171       link_all_deplibs=yes
8172       export_dynamic_flag_spec='${wl}-Bexport'
8173       runpath_var='LD_RUN_PATH'
8174
8175       if test "$GCC" = yes; then
8176         archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8177         archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8178       else
8179         archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8180         archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8181       fi
8182       ;;
8183
8184     uts4*)
8185       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8186       hardcode_libdir_flag_spec='-L$libdir'
8187       hardcode_shlibpath_var=no
8188       ;;
8189
8190     *)
8191       ld_shlibs=no
8192       ;;
8193     esac
8194
8195     if test x$host_vendor = xsni; then
8196       case $host in
8197       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
8198         export_dynamic_flag_spec='${wl}-Blargedynsym'
8199         ;;
8200       esac
8201     fi
8202   fi
8203
8204 echo "$as_me:$LINENO: result: $ld_shlibs" >&5
8205 echo "${ECHO_T}$ld_shlibs" >&6
8206 test "$ld_shlibs" = no && can_build_shared=no
8207
8208 with_gnu_ld=$with_gnu_ld
8209
8210
8211
8212
8213
8214
8215
8216
8217
8218
8219
8220
8221
8222
8223
8224 #
8225 # Do we need to explicitly link libc?
8226 #
8227 case "x$archive_cmds_need_lc" in
8228 x|xyes)
8229   # Assume -lc should be added
8230   archive_cmds_need_lc=yes
8231
8232   if test "$enable_shared" = yes && test "$GCC" = yes; then
8233     case $archive_cmds in
8234     *'~'*)
8235       # FIXME: we may have to deal with multi-command sequences.
8236       ;;
8237     '$CC '*)
8238       # Test whether the compiler implicitly links with -lc since on some
8239       # systems, -lgcc has to come before -lc. If gcc already passes -lc
8240       # to ld, don't add -lc before -lgcc.
8241       echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
8242 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
8243       $RM conftest*
8244       echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8245
8246       if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8247   (eval $ac_compile) 2>&5
8248   ac_status=$?
8249   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8250   (exit $ac_status); } 2>conftest.err; then
8251         soname=conftest
8252         lib=conftest
8253         libobjs=conftest.$ac_objext
8254         deplibs=
8255         wl=$lt_prog_compiler_wl
8256         pic_flag=$lt_prog_compiler_pic
8257         compiler_flags=-v
8258         linker_flags=-v
8259         verstring=
8260         output_objdir=.
8261         libname=conftest
8262         lt_save_allow_undefined_flag=$allow_undefined_flag
8263         allow_undefined_flag=
8264         if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
8265   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
8266   ac_status=$?
8267   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8268   (exit $ac_status); }
8269         then
8270           archive_cmds_need_lc=no
8271         else
8272           archive_cmds_need_lc=yes
8273         fi
8274         allow_undefined_flag=$lt_save_allow_undefined_flag
8275       else
8276         cat conftest.err 1>&5
8277       fi
8278       $RM conftest*
8279       echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
8280 echo "${ECHO_T}$archive_cmds_need_lc" >&6
8281       ;;
8282     esac
8283   fi
8284   ;;
8285 esac
8286
8287
8288
8289
8290
8291
8292
8293
8294
8295
8296
8297
8298
8299
8300
8301
8302
8303
8304
8305
8306
8307
8308
8309
8310
8311
8312
8313
8314
8315
8316
8317
8318
8319
8320
8321
8322
8323
8324
8325
8326
8327
8328
8329
8330
8331
8332
8333
8334
8335
8336
8337
8338
8339
8340
8341
8342
8343
8344
8345
8346
8347
8348
8349
8350
8351
8352
8353
8354
8355
8356
8357
8358
8359
8360
8361
8362
8363
8364
8365
8366
8367
8368
8369
8370
8371
8372
8373
8374
8375
8376
8377
8378
8379
8380
8381
8382
8383
8384
8385
8386
8387
8388
8389
8390
8391
8392
8393
8394
8395
8396
8397
8398
8399
8400
8401
8402
8403
8404
8405
8406
8407
8408
8409
8410
8411
8412
8413
8414
8415
8416
8417
8418
8419
8420
8421
8422
8423
8424
8425
8426
8427
8428
8429
8430
8431
8432
8433
8434
8435
8436
8437
8438
8439
8440
8441
8442
8443   echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
8444 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
8445 withGCC=$GCC
8446 if test "$withGCC" = yes; then
8447   case $host_os in
8448     darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
8449     *) lt_awk_arg="/^libraries:/" ;;
8450   esac
8451   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
8452   if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
8453     # if the path contains ";" then we assume it to be the separator
8454     # otherwise default to the standard path separator (i.e. ":") - it is
8455     # assumed that no part of a normal pathname contains ";" but that should
8456     # okay in the real world where ";" in dirpaths is itself problematic.
8457     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
8458   else
8459     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
8460   fi
8461   # Ok, now we have the path, separated by spaces, we can step through it
8462   # and add multilib dir if necessary.
8463   lt_tmp_lt_search_path_spec=
8464   lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
8465   for lt_sys_path in $lt_search_path_spec; do
8466     if test -d "$lt_sys_path/$lt_multi_os_dir"; then
8467       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
8468     else
8469       test -d "$lt_sys_path" && \
8470         lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
8471     fi
8472   done
8473   lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
8474 BEGIN {RS=" "; FS="/|\n";} {
8475   lt_foo="";
8476   lt_count=0;
8477   for (lt_i = NF; lt_i > 0; lt_i--) {
8478     if ($lt_i != "" && $lt_i != ".") {
8479       if ($lt_i == "..") {
8480         lt_count++;
8481       } else {
8482         if (lt_count == 0) {
8483           lt_foo="/" $lt_i lt_foo;
8484         } else {
8485           lt_count--;
8486         }
8487       }
8488     }
8489   }
8490   if (lt_foo != "") { lt_freq[lt_foo]++; }
8491   if (lt_freq[lt_foo] == 1) { print lt_foo; }
8492 }'`
8493   sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
8494 else
8495   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
8496 fi
8497 library_names_spec=
8498 libname_spec='lib$name'
8499 soname_spec=
8500 shrext_cmds=".so"
8501 postinstall_cmds=
8502 postuninstall_cmds=
8503 finish_cmds=
8504 finish_eval=
8505 shlibpath_var=
8506 shlibpath_overrides_runpath=unknown
8507 version_type=none
8508 dynamic_linker="$host_os ld.so"
8509 sys_lib_dlsearch_path_spec="/lib /usr/lib"
8510 need_lib_prefix=unknown
8511 hardcode_into_libs=no
8512
8513 # when you set need_version to no, make sure it does not cause -set_version
8514 # flags to be left without arguments
8515 need_version=unknown
8516
8517 case $host_os in
8518 aix3*)
8519   version_type=linux
8520   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
8521   shlibpath_var=LIBPATH
8522
8523   # AIX 3 has no versioning support, so we append a major version to the name.
8524   soname_spec='${libname}${release}${shared_ext}$major'
8525   ;;
8526
8527 aix[4-9]*)
8528   version_type=linux
8529   need_lib_prefix=no
8530   need_version=no
8531   hardcode_into_libs=yes
8532   if test "$host_cpu" = ia64; then
8533     # AIX 5 supports IA64
8534     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
8535     shlibpath_var=LD_LIBRARY_PATH
8536   else
8537     # With GCC up to 2.95.x, collect2 would create an import file
8538     # for dependence libraries.  The import file would start with
8539     # the line `#! .'.  This would cause the generated library to
8540     # depend on `.', always an invalid library.  This was fixed in
8541     # development snapshots of GCC prior to 3.0.
8542     case $host_os in
8543       aix4 | aix4.[01] | aix4.[01].*)
8544       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
8545            echo ' yes '
8546            echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
8547         :
8548       else
8549         can_build_shared=no
8550       fi
8551       ;;
8552     esac
8553     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
8554     # soname into executable. Probably we can add versioning support to
8555     # collect2, so additional links can be useful in future.
8556     if test "$aix_use_runtimelinking" = yes; then
8557       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
8558       # instead of lib<name>.a to let people know that these are not
8559       # typical AIX shared libraries.
8560       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8561     else
8562       # We preserve .a as extension for shared libraries through AIX4.2
8563       # and later when we are not doing run time linking.
8564       library_names_spec='${libname}${release}.a $libname.a'
8565       soname_spec='${libname}${release}${shared_ext}$major'
8566     fi
8567     shlibpath_var=LIBPATH
8568   fi
8569   ;;
8570
8571 amigaos*)
8572   if test "$host_cpu" = m68k; then
8573     library_names_spec='$libname.ixlibrary $libname.a'
8574     # Create ${libname}_ixlibrary.a entries in /sys/libs.
8575     finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$ECHO "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
8576   else
8577     dynamic_linker=no
8578   fi
8579   ;;
8580
8581 beos*)
8582   library_names_spec='${libname}${shared_ext}'
8583   dynamic_linker="$host_os ld.so"
8584   shlibpath_var=LIBRARY_PATH
8585   ;;
8586
8587 bsdi[45]*)
8588   version_type=linux
8589   need_version=no
8590   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8591   soname_spec='${libname}${release}${shared_ext}$major'
8592   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
8593   shlibpath_var=LD_LIBRARY_PATH
8594   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
8595   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
8596   # the default ld.so.conf also contains /usr/contrib/lib and
8597   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
8598   # libtool to hard-code these into programs
8599   ;;
8600
8601 cygwin* | mingw* | pw32*)
8602   version_type=windows
8603   shrext_cmds=".dll"
8604   need_version=no
8605   need_lib_prefix=no
8606
8607   case $withGCC,$host_os in
8608   yes,cygwin* | yes,mingw* | yes,pw32*)
8609     library_names_spec='$libname.dll.a'
8610     # DLL is installed to $(libdir)/../bin by postinstall_cmds
8611     postinstall_cmds='base_file=`basename \${file}`~
8612       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
8613       dldir=$destdir/`dirname \$dlpath`~
8614       test -d \$dldir || mkdir -p \$dldir~
8615       $install_prog $dir/$dlname \$dldir/$dlname~
8616       chmod a+x \$dldir/$dlname~
8617       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
8618         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
8619       fi'
8620     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
8621       dlpath=$dir/\$dldll~
8622        $RM \$dlpath'
8623     shlibpath_overrides_runpath=yes
8624
8625     case $host_os in
8626     cygwin*)
8627       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
8628       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
8629       sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
8630       ;;
8631     mingw*)
8632       # MinGW DLLs use traditional 'lib' prefix
8633       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
8634       sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
8635       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
8636         # It is most probably a Windows format PATH printed by
8637         # mingw gcc, but we are running on Cygwin. Gcc prints its search
8638         # path with ; separators, and with drive letters. We can handle the
8639         # drive letters (cygwin fileutils understands them), so leave them,
8640         # especially as we might pass files found there to a mingw objdump,
8641         # which wouldn't understand a cygwinified path. Ahh.
8642         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
8643       else
8644         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
8645       fi
8646       ;;
8647     pw32*)
8648       # pw32 DLLs use 'pw' prefix rather than 'lib'
8649       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
8650       ;;
8651     esac
8652     ;;
8653
8654   *)
8655     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
8656     ;;
8657   esac
8658   dynamic_linker='Win32 ld.exe'
8659   # FIXME: first we should search . and the directory the executable is in
8660   shlibpath_var=PATH
8661   ;;
8662
8663 darwin* | rhapsody*)
8664   dynamic_linker="$host_os dyld"
8665   version_type=darwin
8666   need_lib_prefix=no
8667   need_version=no
8668   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
8669   soname_spec='${libname}${release}${major}$shared_ext'
8670   shlibpath_overrides_runpath=yes
8671   shlibpath_var=DYLD_LIBRARY_PATH
8672   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
8673
8674   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
8675   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
8676   ;;
8677
8678 dgux*)
8679   version_type=linux
8680   need_lib_prefix=no
8681   need_version=no
8682   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
8683   soname_spec='${libname}${release}${shared_ext}$major'
8684   shlibpath_var=LD_LIBRARY_PATH
8685   ;;
8686
8687 freebsd1*)
8688   dynamic_linker=no
8689   ;;
8690
8691 freebsd* | dragonfly*)
8692   # DragonFly does not have aout.  When/if they implement a new
8693   # versioning mechanism, adjust this.
8694   if test -x /usr/bin/objformat; then
8695     objformat=`/usr/bin/objformat`
8696   else
8697     case $host_os in
8698     freebsd[123]*) objformat=aout ;;
8699     *) objformat=elf ;;
8700     esac
8701   fi
8702   version_type=freebsd-$objformat
8703   case $version_type in
8704     freebsd-elf*)
8705       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
8706       need_version=no
8707       need_lib_prefix=no
8708       ;;
8709     freebsd-*)
8710       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
8711       need_version=yes
8712       ;;
8713   esac
8714   shlibpath_var=LD_LIBRARY_PATH
8715   case $host_os in
8716   freebsd2*)
8717     shlibpath_overrides_runpath=yes
8718     ;;
8719   freebsd3.[01]* | freebsdelf3.[01]*)
8720     shlibpath_overrides_runpath=yes
8721     hardcode_into_libs=yes
8722     ;;
8723   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
8724   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
8725     shlibpath_overrides_runpath=no
8726     hardcode_into_libs=yes
8727     ;;
8728   *) # from 4.6 on, and DragonFly
8729     shlibpath_overrides_runpath=yes
8730     hardcode_into_libs=yes
8731     ;;
8732   esac
8733   ;;
8734
8735 gnu*)
8736   version_type=linux
8737   need_lib_prefix=no
8738   need_version=no
8739   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
8740   soname_spec='${libname}${release}${shared_ext}$major'
8741   shlibpath_var=LD_LIBRARY_PATH
8742   hardcode_into_libs=yes
8743   ;;
8744
8745 hpux9* | hpux10* | hpux11*)
8746   # Give a soname corresponding to the major version so that dld.sl refuses to
8747   # link against other versions.
8748   version_type=sunos
8749   need_lib_prefix=no
8750   need_version=no
8751   case $host_cpu in
8752   ia64*)
8753     shrext_cmds='.so'
8754     hardcode_into_libs=yes
8755     dynamic_linker="$host_os dld.so"
8756     shlibpath_var=LD_LIBRARY_PATH
8757     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
8758     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8759     soname_spec='${libname}${release}${shared_ext}$major'
8760     if test "X$HPUX_IA64_MODE" = X32; then
8761       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
8762     else
8763       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
8764     fi
8765     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
8766     ;;
8767   hppa*64*)
8768     shrext_cmds='.sl'
8769     hardcode_into_libs=yes
8770     dynamic_linker="$host_os dld.sl"
8771     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
8772     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
8773     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8774     soname_spec='${libname}${release}${shared_ext}$major'
8775     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
8776     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
8777     ;;
8778   *)
8779     shrext_cmds='.sl'
8780     dynamic_linker="$host_os dld.sl"
8781     shlibpath_var=SHLIB_PATH
8782     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
8783     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8784     soname_spec='${libname}${release}${shared_ext}$major'
8785     ;;
8786   esac
8787   # HP-UX runs *really* slowly unless shared libraries are mode 555.
8788   postinstall_cmds='chmod 555 $lib'
8789   ;;
8790
8791 interix[3-9]*)
8792   version_type=linux
8793   need_lib_prefix=no
8794   need_version=no
8795   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
8796   soname_spec='${libname}${release}${shared_ext}$major'
8797   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
8798   shlibpath_var=LD_LIBRARY_PATH
8799   shlibpath_overrides_runpath=no
8800   hardcode_into_libs=yes
8801   ;;
8802
8803 irix5* | irix6* | nonstopux*)
8804   case $host_os in
8805     nonstopux*) version_type=nonstopux ;;
8806     *)
8807         if test "$lt_cv_prog_gnu_ld" = yes; then
8808                 version_type=linux
8809         else
8810                 version_type=irix
8811         fi ;;
8812   esac
8813   need_lib_prefix=no
8814   need_version=no
8815   soname_spec='${libname}${release}${shared_ext}$major'
8816   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
8817   case $host_os in
8818   irix5* | nonstopux*)
8819     libsuff= shlibsuff=
8820     ;;
8821   *)
8822     case $LD in # libtool.m4 will add one of these switches to LD
8823     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
8824       libsuff= shlibsuff= libmagic=32-bit;;
8825     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
8826       libsuff=32 shlibsuff=N32 libmagic=N32;;
8827     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
8828       libsuff=64 shlibsuff=64 libmagic=64-bit;;
8829     *) libsuff= shlibsuff= libmagic=never-match;;
8830     esac
8831     ;;
8832   esac
8833   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
8834   shlibpath_overrides_runpath=no
8835   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
8836   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
8837   hardcode_into_libs=yes
8838   ;;
8839
8840 # No shared lib support for Linux oldld, aout, or coff.
8841 linux*oldld* | linux*aout* | linux*coff*)
8842   dynamic_linker=no
8843   ;;
8844
8845 # This must be Linux ELF.
8846 linux* | k*bsd*-gnu)
8847   version_type=linux
8848   need_lib_prefix=no
8849   need_version=no
8850   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8851   soname_spec='${libname}${release}${shared_ext}$major'
8852   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
8853   shlibpath_var=LD_LIBRARY_PATH
8854   shlibpath_overrides_runpath=no
8855   # Some binutils ld are patched to set DT_RUNPATH
8856   save_LDFLAGS=$LDFLAGS
8857   save_libdir=$libdir
8858   eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
8859        LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
8860   if test x$gcc_no_link = xyes; then
8861   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8862 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8863    { (exit 1); exit 1; }; }
8864 fi
8865 cat >conftest.$ac_ext <<_ACEOF
8866 /* confdefs.h.  */
8867 _ACEOF
8868 cat confdefs.h >>conftest.$ac_ext
8869 cat >>conftest.$ac_ext <<_ACEOF
8870 /* end confdefs.h.  */
8871
8872 int
8873 main ()
8874 {
8875
8876   ;
8877   return 0;
8878 }
8879 _ACEOF
8880 rm -f conftest.$ac_objext conftest$ac_exeext
8881 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8882   (eval $ac_link) 2>conftest.er1
8883   ac_status=$?
8884   grep -v '^ *+' conftest.er1 >conftest.err
8885   rm -f conftest.er1
8886   cat conftest.err >&5
8887   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8888   (exit $ac_status); } &&
8889          { ac_try='test -z "$ac_c_werror_flag"
8890                          || test ! -s conftest.err'
8891   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8892   (eval $ac_try) 2>&5
8893   ac_status=$?
8894   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8895   (exit $ac_status); }; } &&
8896          { ac_try='test -s conftest$ac_exeext'
8897   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8898   (eval $ac_try) 2>&5
8899   ac_status=$?
8900   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8901   (exit $ac_status); }; }; then
8902   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir"; then
8903   shlibpath_overrides_runpath=yes
8904 fi
8905
8906 else
8907   echo "$as_me: failed program was:" >&5
8908 sed 's/^/| /' conftest.$ac_ext >&5
8909
8910 fi
8911 rm -f conftest.err conftest.$ac_objext \
8912       conftest$ac_exeext conftest.$ac_ext
8913   LDFLAGS=$save_LDFLAGS
8914   libdir=$save_libdir
8915
8916   # This implies no fast_install, which is unacceptable.
8917   # Some rework will be needed to allow for fast_install
8918   # before this can be enabled.
8919   hardcode_into_libs=yes
8920
8921   # Append ld.so.conf contents to the search path
8922   if test -f /etc/ld.so.conf; then
8923     lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:,    ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
8924     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
8925   fi
8926
8927   # We used to test for /lib/ld.so.1 and disable shared libraries on
8928   # powerpc, because MkLinux only supported shared libraries with the
8929   # GNU dynamic linker.  Since this was broken with cross compilers,
8930   # most powerpc-linux boxes support dynamic linking these days and
8931   # people can always --disable-shared, the test was removed, and we
8932   # assume the GNU/Linux dynamic linker is in use.
8933   dynamic_linker='GNU/Linux ld.so'
8934   ;;
8935
8936 netbsd*)
8937   version_type=sunos
8938   need_lib_prefix=no
8939   need_version=no
8940   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
8941     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
8942     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
8943     dynamic_linker='NetBSD (a.out) ld.so'
8944   else
8945     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
8946     soname_spec='${libname}${release}${shared_ext}$major'
8947     dynamic_linker='NetBSD ld.elf_so'
8948   fi
8949   shlibpath_var=LD_LIBRARY_PATH
8950   shlibpath_overrides_runpath=yes
8951   hardcode_into_libs=yes
8952   ;;
8953
8954 newsos6)
8955   version_type=linux
8956   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8957   shlibpath_var=LD_LIBRARY_PATH
8958   shlibpath_overrides_runpath=yes
8959   ;;
8960
8961 *nto* | *qnx*)
8962   version_type=qnx
8963   need_lib_prefix=no
8964   need_version=no
8965   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8966   soname_spec='${libname}${release}${shared_ext}$major'
8967   shlibpath_var=LD_LIBRARY_PATH
8968   shlibpath_overrides_runpath=no
8969   hardcode_into_libs=yes
8970   dynamic_linker='ldqnx.so'
8971   ;;
8972
8973 openbsd*)
8974   version_type=sunos
8975   sys_lib_dlsearch_path_spec="/usr/lib"
8976   need_lib_prefix=no
8977   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
8978   case $host_os in
8979     openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
8980     *)                          need_version=no  ;;
8981   esac
8982   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
8983   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
8984   shlibpath_var=LD_LIBRARY_PATH
8985   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
8986     case $host_os in
8987       openbsd2.[89] | openbsd2.[89].*)
8988         shlibpath_overrides_runpath=no
8989         ;;
8990       *)
8991         shlibpath_overrides_runpath=yes
8992         ;;
8993       esac
8994   else
8995     shlibpath_overrides_runpath=yes
8996   fi
8997   ;;
8998
8999 os2*)
9000   libname_spec='$name'
9001   shrext_cmds=".dll"
9002   need_lib_prefix=no
9003   library_names_spec='$libname${shared_ext} $libname.a'
9004   dynamic_linker='OS/2 ld.exe'
9005   shlibpath_var=LIBPATH
9006   ;;
9007
9008 osf3* | osf4* | osf5*)
9009   version_type=osf
9010   need_lib_prefix=no
9011   need_version=no
9012   soname_spec='${libname}${release}${shared_ext}$major'
9013   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9014   shlibpath_var=LD_LIBRARY_PATH
9015   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
9016   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
9017   ;;
9018
9019 rdos*)
9020   dynamic_linker=no
9021   ;;
9022
9023 solaris*)
9024   version_type=linux
9025   need_lib_prefix=no
9026   need_version=no
9027   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9028   soname_spec='${libname}${release}${shared_ext}$major'
9029   shlibpath_var=LD_LIBRARY_PATH
9030   shlibpath_overrides_runpath=yes
9031   hardcode_into_libs=yes
9032   # ldd complains unless libraries are executable
9033   postinstall_cmds='chmod +x $lib'
9034   ;;
9035
9036 sunos4*)
9037   version_type=sunos
9038   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9039   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
9040   shlibpath_var=LD_LIBRARY_PATH
9041   shlibpath_overrides_runpath=yes
9042   if test "$with_gnu_ld" = yes; then
9043     need_lib_prefix=no
9044   fi
9045   need_version=yes
9046   ;;
9047
9048 sysv4 | sysv4.3*)
9049   version_type=linux
9050   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9051   soname_spec='${libname}${release}${shared_ext}$major'
9052   shlibpath_var=LD_LIBRARY_PATH
9053   case $host_vendor in
9054     sni)
9055       shlibpath_overrides_runpath=no
9056       need_lib_prefix=no
9057       runpath_var=LD_RUN_PATH
9058       ;;
9059     siemens)
9060       need_lib_prefix=no
9061       ;;
9062     motorola)
9063       need_lib_prefix=no
9064       need_version=no
9065       shlibpath_overrides_runpath=no
9066       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
9067       ;;
9068   esac
9069   ;;
9070
9071 sysv4*MP*)
9072   if test -d /usr/nec ;then
9073     version_type=linux
9074     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
9075     soname_spec='$libname${shared_ext}.$major'
9076     shlibpath_var=LD_LIBRARY_PATH
9077   fi
9078   ;;
9079
9080 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
9081   version_type=freebsd-elf
9082   need_lib_prefix=no
9083   need_version=no
9084   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9085   soname_spec='${libname}${release}${shared_ext}$major'
9086   shlibpath_var=LD_LIBRARY_PATH
9087   shlibpath_overrides_runpath=yes
9088   hardcode_into_libs=yes
9089   if test "$with_gnu_ld" = yes; then
9090     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
9091   else
9092     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
9093     case $host_os in
9094       sco3.2v5*)
9095         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
9096         ;;
9097     esac
9098   fi
9099   sys_lib_dlsearch_path_spec='/usr/lib'
9100   ;;
9101
9102 tpf*)
9103   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
9104   version_type=linux
9105   need_lib_prefix=no
9106   need_version=no
9107   library_name_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9108   shlibpath_var=LD_LIBRARY_PATH
9109   shlibpath_overrides_runpath=no
9110   hardcode_into_libs=yes
9111   ;;
9112
9113 uts4*)
9114   version_type=linux
9115   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9116   soname_spec='${libname}${release}${shared_ext}$major'
9117   shlibpath_var=LD_LIBRARY_PATH
9118   ;;
9119
9120 *)
9121   dynamic_linker=no
9122   ;;
9123 esac
9124 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
9125 echo "${ECHO_T}$dynamic_linker" >&6
9126 test "$dynamic_linker" = no && can_build_shared=no
9127
9128 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
9129 if test "$GCC" = yes; then
9130   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
9131 fi
9132
9133
9134
9135
9136
9137
9138
9139
9140
9141
9142
9143
9144
9145
9146
9147
9148
9149
9150
9151
9152
9153
9154
9155
9156
9157
9158
9159
9160
9161
9162
9163
9164
9165
9166
9167
9168
9169
9170
9171
9172
9173
9174
9175
9176
9177
9178
9179
9180
9181
9182
9183
9184
9185
9186
9187
9188
9189
9190
9191
9192
9193
9194
9195
9196
9197
9198
9199
9200
9201
9202
9203
9204
9205
9206
9207
9208
9209
9210
9211
9212
9213
9214
9215
9216
9217
9218
9219   echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
9220 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
9221 hardcode_action=
9222 if test -n "$hardcode_libdir_flag_spec" ||
9223    test -n "$runpath_var" ||
9224    test "X$hardcode_automatic" = "Xyes" ; then
9225
9226   # We can hardcode non-existent directories.
9227   if test "$hardcode_direct" != no &&
9228      # If the only mechanism to avoid hardcoding is shlibpath_var, we
9229      # have to relink, otherwise we might link with an installed library
9230      # when we should be linking with a yet-to-be-installed one
9231      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
9232      test "$hardcode_minus_L" != no; then
9233     # Linking always hardcodes the temporary library directory.
9234     hardcode_action=relink
9235   else
9236     # We can link without hardcoding, and we can hardcode nonexisting dirs.
9237     hardcode_action=immediate
9238   fi
9239 else
9240   # We cannot hardcode anything, or else we can only hardcode existing
9241   # directories.
9242   hardcode_action=unsupported
9243 fi
9244 echo "$as_me:$LINENO: result: $hardcode_action" >&5
9245 echo "${ECHO_T}$hardcode_action" >&6
9246
9247 if test "$hardcode_action" = relink ||
9248    test "$inherit_rpath" = yes; then
9249   # Fast installation is not supported
9250   enable_fast_install=no
9251 elif test "$shlibpath_overrides_runpath" = yes ||
9252      test "$enable_shared" = no; then
9253   # Fast installation is not necessary
9254   enable_fast_install=needless
9255 fi
9256
9257
9258
9259
9260
9261
9262   if test "x$enable_dlopen" != xyes; then
9263   enable_dlopen=unknown
9264   enable_dlopen_self=unknown
9265   enable_dlopen_self_static=unknown
9266 else
9267   lt_cv_dlopen=no
9268   lt_cv_dlopen_libs=
9269
9270   case $host_os in
9271   beos*)
9272     lt_cv_dlopen="load_add_on"
9273     lt_cv_dlopen_libs=
9274     lt_cv_dlopen_self=yes
9275     ;;
9276
9277   mingw* | pw32*)
9278     lt_cv_dlopen="LoadLibrary"
9279     lt_cv_dlopen_libs=
9280     ;;
9281
9282   cygwin*)
9283     lt_cv_dlopen="dlopen"
9284     lt_cv_dlopen_libs=
9285     ;;
9286
9287   darwin*)
9288   # if libdl is installed we need to link against it
9289     echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
9290 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
9291 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
9292   echo $ECHO_N "(cached) $ECHO_C" >&6
9293 else
9294   ac_check_lib_save_LIBS=$LIBS
9295 LIBS="-ldl  $LIBS"
9296 if test x$gcc_no_link = xyes; then
9297   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9298 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9299    { (exit 1); exit 1; }; }
9300 fi
9301 cat >conftest.$ac_ext <<_ACEOF
9302 /* confdefs.h.  */
9303 _ACEOF
9304 cat confdefs.h >>conftest.$ac_ext
9305 cat >>conftest.$ac_ext <<_ACEOF
9306 /* end confdefs.h.  */
9307
9308 /* Override any gcc2 internal prototype to avoid an error.  */
9309 #ifdef __cplusplus
9310 extern "C"
9311 #endif
9312 /* We use char because int might match the return type of a gcc2
9313    builtin and then its argument prototype would still apply.  */
9314 char dlopen ();
9315 int
9316 main ()
9317 {
9318 dlopen ();
9319   ;
9320   return 0;
9321 }
9322 _ACEOF
9323 rm -f conftest.$ac_objext conftest$ac_exeext
9324 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9325   (eval $ac_link) 2>conftest.er1
9326   ac_status=$?
9327   grep -v '^ *+' conftest.er1 >conftest.err
9328   rm -f conftest.er1
9329   cat conftest.err >&5
9330   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9331   (exit $ac_status); } &&
9332          { ac_try='test -z "$ac_c_werror_flag"
9333                          || test ! -s conftest.err'
9334   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9335   (eval $ac_try) 2>&5
9336   ac_status=$?
9337   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9338   (exit $ac_status); }; } &&
9339          { ac_try='test -s conftest$ac_exeext'
9340   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9341   (eval $ac_try) 2>&5
9342   ac_status=$?
9343   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9344   (exit $ac_status); }; }; then
9345   ac_cv_lib_dl_dlopen=yes
9346 else
9347   echo "$as_me: failed program was:" >&5
9348 sed 's/^/| /' conftest.$ac_ext >&5
9349
9350 ac_cv_lib_dl_dlopen=no
9351 fi
9352 rm -f conftest.err conftest.$ac_objext \
9353       conftest$ac_exeext conftest.$ac_ext
9354 LIBS=$ac_check_lib_save_LIBS
9355 fi
9356 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
9357 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
9358 if test $ac_cv_lib_dl_dlopen = yes; then
9359   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
9360 else
9361
9362     lt_cv_dlopen="dyld"
9363     lt_cv_dlopen_libs=
9364     lt_cv_dlopen_self=yes
9365
9366 fi
9367
9368     ;;
9369
9370   *)
9371     echo "$as_me:$LINENO: checking for shl_load" >&5
9372 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
9373 if test "${ac_cv_func_shl_load+set}" = set; then
9374   echo $ECHO_N "(cached) $ECHO_C" >&6
9375 else
9376   if test x$gcc_no_link = xyes; then
9377   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9378 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9379    { (exit 1); exit 1; }; }
9380 fi
9381 cat >conftest.$ac_ext <<_ACEOF
9382 /* confdefs.h.  */
9383 _ACEOF
9384 cat confdefs.h >>conftest.$ac_ext
9385 cat >>conftest.$ac_ext <<_ACEOF
9386 /* end confdefs.h.  */
9387 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
9388    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
9389 #define shl_load innocuous_shl_load
9390
9391 /* System header to define __stub macros and hopefully few prototypes,
9392     which can conflict with char shl_load (); below.
9393     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9394     <limits.h> exists even on freestanding compilers.  */
9395
9396 #ifdef __STDC__
9397 # include <limits.h>
9398 #else
9399 # include <assert.h>
9400 #endif
9401
9402 #undef shl_load
9403
9404 /* Override any gcc2 internal prototype to avoid an error.  */
9405 #ifdef __cplusplus
9406 extern "C"
9407 {
9408 #endif
9409 /* We use char because int might match the return type of a gcc2
9410    builtin and then its argument prototype would still apply.  */
9411 char shl_load ();
9412 /* The GNU C library defines this for functions which it implements
9413     to always fail with ENOSYS.  Some functions are actually named
9414     something starting with __ and the normal name is an alias.  */
9415 #if defined (__stub_shl_load) || defined (__stub___shl_load)
9416 choke me
9417 #else
9418 char (*f) () = shl_load;
9419 #endif
9420 #ifdef __cplusplus
9421 }
9422 #endif
9423
9424 int
9425 main ()
9426 {
9427 return f != shl_load;
9428   ;
9429   return 0;
9430 }
9431 _ACEOF
9432 rm -f conftest.$ac_objext conftest$ac_exeext
9433 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9434   (eval $ac_link) 2>conftest.er1
9435   ac_status=$?
9436   grep -v '^ *+' conftest.er1 >conftest.err
9437   rm -f conftest.er1
9438   cat conftest.err >&5
9439   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9440   (exit $ac_status); } &&
9441          { ac_try='test -z "$ac_c_werror_flag"
9442                          || test ! -s conftest.err'
9443   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9444   (eval $ac_try) 2>&5
9445   ac_status=$?
9446   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9447   (exit $ac_status); }; } &&
9448          { ac_try='test -s conftest$ac_exeext'
9449   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9450   (eval $ac_try) 2>&5
9451   ac_status=$?
9452   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9453   (exit $ac_status); }; }; then
9454   ac_cv_func_shl_load=yes
9455 else
9456   echo "$as_me: failed program was:" >&5
9457 sed 's/^/| /' conftest.$ac_ext >&5
9458
9459 ac_cv_func_shl_load=no
9460 fi
9461 rm -f conftest.err conftest.$ac_objext \
9462       conftest$ac_exeext conftest.$ac_ext
9463 fi
9464 echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
9465 echo "${ECHO_T}$ac_cv_func_shl_load" >&6
9466 if test $ac_cv_func_shl_load = yes; then
9467   lt_cv_dlopen="shl_load"
9468 else
9469   echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
9470 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
9471 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
9472   echo $ECHO_N "(cached) $ECHO_C" >&6
9473 else
9474   ac_check_lib_save_LIBS=$LIBS
9475 LIBS="-ldld  $LIBS"
9476 if test x$gcc_no_link = xyes; then
9477   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9478 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9479    { (exit 1); exit 1; }; }
9480 fi
9481 cat >conftest.$ac_ext <<_ACEOF
9482 /* confdefs.h.  */
9483 _ACEOF
9484 cat confdefs.h >>conftest.$ac_ext
9485 cat >>conftest.$ac_ext <<_ACEOF
9486 /* end confdefs.h.  */
9487
9488 /* Override any gcc2 internal prototype to avoid an error.  */
9489 #ifdef __cplusplus
9490 extern "C"
9491 #endif
9492 /* We use char because int might match the return type of a gcc2
9493    builtin and then its argument prototype would still apply.  */
9494 char shl_load ();
9495 int
9496 main ()
9497 {
9498 shl_load ();
9499   ;
9500   return 0;
9501 }
9502 _ACEOF
9503 rm -f conftest.$ac_objext conftest$ac_exeext
9504 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9505   (eval $ac_link) 2>conftest.er1
9506   ac_status=$?
9507   grep -v '^ *+' conftest.er1 >conftest.err
9508   rm -f conftest.er1
9509   cat conftest.err >&5
9510   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9511   (exit $ac_status); } &&
9512          { ac_try='test -z "$ac_c_werror_flag"
9513                          || test ! -s conftest.err'
9514   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9515   (eval $ac_try) 2>&5
9516   ac_status=$?
9517   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9518   (exit $ac_status); }; } &&
9519          { ac_try='test -s conftest$ac_exeext'
9520   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9521   (eval $ac_try) 2>&5
9522   ac_status=$?
9523   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9524   (exit $ac_status); }; }; then
9525   ac_cv_lib_dld_shl_load=yes
9526 else
9527   echo "$as_me: failed program was:" >&5
9528 sed 's/^/| /' conftest.$ac_ext >&5
9529
9530 ac_cv_lib_dld_shl_load=no
9531 fi
9532 rm -f conftest.err conftest.$ac_objext \
9533       conftest$ac_exeext conftest.$ac_ext
9534 LIBS=$ac_check_lib_save_LIBS
9535 fi
9536 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
9537 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
9538 if test $ac_cv_lib_dld_shl_load = yes; then
9539   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
9540 else
9541   echo "$as_me:$LINENO: checking for dlopen" >&5
9542 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
9543 if test "${ac_cv_func_dlopen+set}" = set; then
9544   echo $ECHO_N "(cached) $ECHO_C" >&6
9545 else
9546   if test x$gcc_no_link = xyes; then
9547   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9548 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9549    { (exit 1); exit 1; }; }
9550 fi
9551 cat >conftest.$ac_ext <<_ACEOF
9552 /* confdefs.h.  */
9553 _ACEOF
9554 cat confdefs.h >>conftest.$ac_ext
9555 cat >>conftest.$ac_ext <<_ACEOF
9556 /* end confdefs.h.  */
9557 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
9558    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
9559 #define dlopen innocuous_dlopen
9560
9561 /* System header to define __stub macros and hopefully few prototypes,
9562     which can conflict with char dlopen (); below.
9563     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9564     <limits.h> exists even on freestanding compilers.  */
9565
9566 #ifdef __STDC__
9567 # include <limits.h>
9568 #else
9569 # include <assert.h>
9570 #endif
9571
9572 #undef dlopen
9573
9574 /* Override any gcc2 internal prototype to avoid an error.  */
9575 #ifdef __cplusplus
9576 extern "C"
9577 {
9578 #endif
9579 /* We use char because int might match the return type of a gcc2
9580    builtin and then its argument prototype would still apply.  */
9581 char dlopen ();
9582 /* The GNU C library defines this for functions which it implements
9583     to always fail with ENOSYS.  Some functions are actually named
9584     something starting with __ and the normal name is an alias.  */
9585 #if defined (__stub_dlopen) || defined (__stub___dlopen)
9586 choke me
9587 #else
9588 char (*f) () = dlopen;
9589 #endif
9590 #ifdef __cplusplus
9591 }
9592 #endif
9593
9594 int
9595 main ()
9596 {
9597 return f != dlopen;
9598   ;
9599   return 0;
9600 }
9601 _ACEOF
9602 rm -f conftest.$ac_objext conftest$ac_exeext
9603 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9604   (eval $ac_link) 2>conftest.er1
9605   ac_status=$?
9606   grep -v '^ *+' conftest.er1 >conftest.err
9607   rm -f conftest.er1
9608   cat conftest.err >&5
9609   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9610   (exit $ac_status); } &&
9611          { ac_try='test -z "$ac_c_werror_flag"
9612                          || test ! -s conftest.err'
9613   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9614   (eval $ac_try) 2>&5
9615   ac_status=$?
9616   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9617   (exit $ac_status); }; } &&
9618          { ac_try='test -s conftest$ac_exeext'
9619   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9620   (eval $ac_try) 2>&5
9621   ac_status=$?
9622   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9623   (exit $ac_status); }; }; then
9624   ac_cv_func_dlopen=yes
9625 else
9626   echo "$as_me: failed program was:" >&5
9627 sed 's/^/| /' conftest.$ac_ext >&5
9628
9629 ac_cv_func_dlopen=no
9630 fi
9631 rm -f conftest.err conftest.$ac_objext \
9632       conftest$ac_exeext conftest.$ac_ext
9633 fi
9634 echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
9635 echo "${ECHO_T}$ac_cv_func_dlopen" >&6
9636 if test $ac_cv_func_dlopen = yes; then
9637   lt_cv_dlopen="dlopen"
9638 else
9639   echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
9640 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
9641 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
9642   echo $ECHO_N "(cached) $ECHO_C" >&6
9643 else
9644   ac_check_lib_save_LIBS=$LIBS
9645 LIBS="-ldl  $LIBS"
9646 if test x$gcc_no_link = xyes; then
9647   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9648 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9649    { (exit 1); exit 1; }; }
9650 fi
9651 cat >conftest.$ac_ext <<_ACEOF
9652 /* confdefs.h.  */
9653 _ACEOF
9654 cat confdefs.h >>conftest.$ac_ext
9655 cat >>conftest.$ac_ext <<_ACEOF
9656 /* end confdefs.h.  */
9657
9658 /* Override any gcc2 internal prototype to avoid an error.  */
9659 #ifdef __cplusplus
9660 extern "C"
9661 #endif
9662 /* We use char because int might match the return type of a gcc2
9663    builtin and then its argument prototype would still apply.  */
9664 char dlopen ();
9665 int
9666 main ()
9667 {
9668 dlopen ();
9669   ;
9670   return 0;
9671 }
9672 _ACEOF
9673 rm -f conftest.$ac_objext conftest$ac_exeext
9674 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9675   (eval $ac_link) 2>conftest.er1
9676   ac_status=$?
9677   grep -v '^ *+' conftest.er1 >conftest.err
9678   rm -f conftest.er1
9679   cat conftest.err >&5
9680   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9681   (exit $ac_status); } &&
9682          { ac_try='test -z "$ac_c_werror_flag"
9683                          || test ! -s conftest.err'
9684   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9685   (eval $ac_try) 2>&5
9686   ac_status=$?
9687   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9688   (exit $ac_status); }; } &&
9689          { ac_try='test -s conftest$ac_exeext'
9690   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9691   (eval $ac_try) 2>&5
9692   ac_status=$?
9693   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9694   (exit $ac_status); }; }; then
9695   ac_cv_lib_dl_dlopen=yes
9696 else
9697   echo "$as_me: failed program was:" >&5
9698 sed 's/^/| /' conftest.$ac_ext >&5
9699
9700 ac_cv_lib_dl_dlopen=no
9701 fi
9702 rm -f conftest.err conftest.$ac_objext \
9703       conftest$ac_exeext conftest.$ac_ext
9704 LIBS=$ac_check_lib_save_LIBS
9705 fi
9706 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
9707 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
9708 if test $ac_cv_lib_dl_dlopen = yes; then
9709   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
9710 else
9711   echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
9712 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
9713 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
9714   echo $ECHO_N "(cached) $ECHO_C" >&6
9715 else
9716   ac_check_lib_save_LIBS=$LIBS
9717 LIBS="-lsvld  $LIBS"
9718 if test x$gcc_no_link = xyes; then
9719   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9720 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9721    { (exit 1); exit 1; }; }
9722 fi
9723 cat >conftest.$ac_ext <<_ACEOF
9724 /* confdefs.h.  */
9725 _ACEOF
9726 cat confdefs.h >>conftest.$ac_ext
9727 cat >>conftest.$ac_ext <<_ACEOF
9728 /* end confdefs.h.  */
9729
9730 /* Override any gcc2 internal prototype to avoid an error.  */
9731 #ifdef __cplusplus
9732 extern "C"
9733 #endif
9734 /* We use char because int might match the return type of a gcc2
9735    builtin and then its argument prototype would still apply.  */
9736 char dlopen ();
9737 int
9738 main ()
9739 {
9740 dlopen ();
9741   ;
9742   return 0;
9743 }
9744 _ACEOF
9745 rm -f conftest.$ac_objext conftest$ac_exeext
9746 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9747   (eval $ac_link) 2>conftest.er1
9748   ac_status=$?
9749   grep -v '^ *+' conftest.er1 >conftest.err
9750   rm -f conftest.er1
9751   cat conftest.err >&5
9752   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9753   (exit $ac_status); } &&
9754          { ac_try='test -z "$ac_c_werror_flag"
9755                          || test ! -s conftest.err'
9756   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9757   (eval $ac_try) 2>&5
9758   ac_status=$?
9759   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9760   (exit $ac_status); }; } &&
9761          { ac_try='test -s conftest$ac_exeext'
9762   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9763   (eval $ac_try) 2>&5
9764   ac_status=$?
9765   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9766   (exit $ac_status); }; }; then
9767   ac_cv_lib_svld_dlopen=yes
9768 else
9769   echo "$as_me: failed program was:" >&5
9770 sed 's/^/| /' conftest.$ac_ext >&5
9771
9772 ac_cv_lib_svld_dlopen=no
9773 fi
9774 rm -f conftest.err conftest.$ac_objext \
9775       conftest$ac_exeext conftest.$ac_ext
9776 LIBS=$ac_check_lib_save_LIBS
9777 fi
9778 echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
9779 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
9780 if test $ac_cv_lib_svld_dlopen = yes; then
9781   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
9782 else
9783   echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
9784 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
9785 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
9786   echo $ECHO_N "(cached) $ECHO_C" >&6
9787 else
9788   ac_check_lib_save_LIBS=$LIBS
9789 LIBS="-ldld  $LIBS"
9790 if test x$gcc_no_link = xyes; then
9791   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9792 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9793    { (exit 1); exit 1; }; }
9794 fi
9795 cat >conftest.$ac_ext <<_ACEOF
9796 /* confdefs.h.  */
9797 _ACEOF
9798 cat confdefs.h >>conftest.$ac_ext
9799 cat >>conftest.$ac_ext <<_ACEOF
9800 /* end confdefs.h.  */
9801
9802 /* Override any gcc2 internal prototype to avoid an error.  */
9803 #ifdef __cplusplus
9804 extern "C"
9805 #endif
9806 /* We use char because int might match the return type of a gcc2
9807    builtin and then its argument prototype would still apply.  */
9808 char dld_link ();
9809 int
9810 main ()
9811 {
9812 dld_link ();
9813   ;
9814   return 0;
9815 }
9816 _ACEOF
9817 rm -f conftest.$ac_objext conftest$ac_exeext
9818 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9819   (eval $ac_link) 2>conftest.er1
9820   ac_status=$?
9821   grep -v '^ *+' conftest.er1 >conftest.err
9822   rm -f conftest.er1
9823   cat conftest.err >&5
9824   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9825   (exit $ac_status); } &&
9826          { ac_try='test -z "$ac_c_werror_flag"
9827                          || test ! -s conftest.err'
9828   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9829   (eval $ac_try) 2>&5
9830   ac_status=$?
9831   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9832   (exit $ac_status); }; } &&
9833          { ac_try='test -s conftest$ac_exeext'
9834   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9835   (eval $ac_try) 2>&5
9836   ac_status=$?
9837   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9838   (exit $ac_status); }; }; then
9839   ac_cv_lib_dld_dld_link=yes
9840 else
9841   echo "$as_me: failed program was:" >&5
9842 sed 's/^/| /' conftest.$ac_ext >&5
9843
9844 ac_cv_lib_dld_dld_link=no
9845 fi
9846 rm -f conftest.err conftest.$ac_objext \
9847       conftest$ac_exeext conftest.$ac_ext
9848 LIBS=$ac_check_lib_save_LIBS
9849 fi
9850 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
9851 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
9852 if test $ac_cv_lib_dld_dld_link = yes; then
9853   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
9854 fi
9855
9856
9857 fi
9858
9859
9860 fi
9861
9862
9863 fi
9864
9865
9866 fi
9867
9868
9869 fi
9870
9871     ;;
9872   esac
9873
9874   if test "x$lt_cv_dlopen" != xno; then
9875     enable_dlopen=yes
9876   else
9877     enable_dlopen=no
9878   fi
9879
9880   case $lt_cv_dlopen in
9881   dlopen)
9882     save_CPPFLAGS="$CPPFLAGS"
9883     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
9884
9885     save_LDFLAGS="$LDFLAGS"
9886     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
9887
9888     save_LIBS="$LIBS"
9889     LIBS="$lt_cv_dlopen_libs $LIBS"
9890
9891     echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
9892 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
9893 if test "${lt_cv_dlopen_self+set}" = set; then
9894   echo $ECHO_N "(cached) $ECHO_C" >&6
9895 else
9896           if test "$cross_compiling" = yes; then :
9897   lt_cv_dlopen_self=cross
9898 else
9899   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
9900   lt_status=$lt_dlunknown
9901   cat > conftest.$ac_ext <<_LT_EOF
9902 #line 9902 "configure"
9903 #include "confdefs.h"
9904
9905 #if HAVE_DLFCN_H
9906 #include <dlfcn.h>
9907 #endif
9908
9909 #include <stdio.h>
9910
9911 #ifdef RTLD_GLOBAL
9912 #  define LT_DLGLOBAL           RTLD_GLOBAL
9913 #else
9914 #  ifdef DL_GLOBAL
9915 #    define LT_DLGLOBAL         DL_GLOBAL
9916 #  else
9917 #    define LT_DLGLOBAL         0
9918 #  endif
9919 #endif
9920
9921 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
9922    find out it does not work in some platform. */
9923 #ifndef LT_DLLAZY_OR_NOW
9924 #  ifdef RTLD_LAZY
9925 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
9926 #  else
9927 #    ifdef DL_LAZY
9928 #      define LT_DLLAZY_OR_NOW          DL_LAZY
9929 #    else
9930 #      ifdef RTLD_NOW
9931 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
9932 #      else
9933 #        ifdef DL_NOW
9934 #          define LT_DLLAZY_OR_NOW      DL_NOW
9935 #        else
9936 #          define LT_DLLAZY_OR_NOW      0
9937 #        endif
9938 #      endif
9939 #    endif
9940 #  endif
9941 #endif
9942
9943 #ifdef __cplusplus
9944 extern "C" void exit (int);
9945 #endif
9946
9947 void fnord() { int i=42;}
9948 int main ()
9949 {
9950   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
9951   int status = $lt_dlunknown;
9952
9953   if (self)
9954     {
9955       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
9956       else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
9957       /* dlclose (self); */
9958     }
9959   else
9960     puts (dlerror ());
9961
9962     exit (status);
9963 }
9964 _LT_EOF
9965   if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9966   (eval $ac_link) 2>&5
9967   ac_status=$?
9968   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9969   (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
9970     (./conftest; exit; ) >&5 2>/dev/null
9971     lt_status=$?
9972     case x$lt_status in
9973       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
9974       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
9975       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
9976     esac
9977   else :
9978     # compilation failed
9979     lt_cv_dlopen_self=no
9980   fi
9981 fi
9982 rm -fr conftest*
9983
9984
9985 fi
9986 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
9987 echo "${ECHO_T}$lt_cv_dlopen_self" >&6
9988
9989     if test "x$lt_cv_dlopen_self" = xyes; then
9990       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
9991       echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
9992 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
9993 if test "${lt_cv_dlopen_self_static+set}" = set; then
9994   echo $ECHO_N "(cached) $ECHO_C" >&6
9995 else
9996           if test "$cross_compiling" = yes; then :
9997   lt_cv_dlopen_self_static=cross
9998 else
9999   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10000   lt_status=$lt_dlunknown
10001   cat > conftest.$ac_ext <<_LT_EOF
10002 #line 10002 "configure"
10003 #include "confdefs.h"
10004
10005 #if HAVE_DLFCN_H
10006 #include <dlfcn.h>
10007 #endif
10008
10009 #include <stdio.h>
10010
10011 #ifdef RTLD_GLOBAL
10012 #  define LT_DLGLOBAL           RTLD_GLOBAL
10013 #else
10014 #  ifdef DL_GLOBAL
10015 #    define LT_DLGLOBAL         DL_GLOBAL
10016 #  else
10017 #    define LT_DLGLOBAL         0
10018 #  endif
10019 #endif
10020
10021 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10022    find out it does not work in some platform. */
10023 #ifndef LT_DLLAZY_OR_NOW
10024 #  ifdef RTLD_LAZY
10025 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
10026 #  else
10027 #    ifdef DL_LAZY
10028 #      define LT_DLLAZY_OR_NOW          DL_LAZY
10029 #    else
10030 #      ifdef RTLD_NOW
10031 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
10032 #      else
10033 #        ifdef DL_NOW
10034 #          define LT_DLLAZY_OR_NOW      DL_NOW
10035 #        else
10036 #          define LT_DLLAZY_OR_NOW      0
10037 #        endif
10038 #      endif
10039 #    endif
10040 #  endif
10041 #endif
10042
10043 #ifdef __cplusplus
10044 extern "C" void exit (int);
10045 #endif
10046
10047 void fnord() { int i=42;}
10048 int main ()
10049 {
10050   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10051   int status = $lt_dlunknown;
10052
10053   if (self)
10054     {
10055       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
10056       else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10057       /* dlclose (self); */
10058     }
10059   else
10060     puts (dlerror ());
10061
10062     exit (status);
10063 }
10064 _LT_EOF
10065   if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10066   (eval $ac_link) 2>&5
10067   ac_status=$?
10068   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10069   (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
10070     (./conftest; exit; ) >&5 2>/dev/null
10071     lt_status=$?
10072     case x$lt_status in
10073       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
10074       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
10075       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
10076     esac
10077   else :
10078     # compilation failed
10079     lt_cv_dlopen_self_static=no
10080   fi
10081 fi
10082 rm -fr conftest*
10083
10084
10085 fi
10086 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
10087 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
10088     fi
10089
10090     CPPFLAGS="$save_CPPFLAGS"
10091     LDFLAGS="$save_LDFLAGS"
10092     LIBS="$save_LIBS"
10093     ;;
10094   esac
10095
10096   case $lt_cv_dlopen_self in
10097   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
10098   *) enable_dlopen_self=unknown ;;
10099   esac
10100
10101   case $lt_cv_dlopen_self_static in
10102   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
10103   *) enable_dlopen_self_static=unknown ;;
10104   esac
10105 fi
10106
10107
10108
10109
10110
10111
10112
10113
10114
10115
10116
10117
10118
10119
10120
10121
10122
10123 striplib=
10124 old_striplib=
10125 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
10126 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
10127 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
10128   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
10129   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
10130   echo "$as_me:$LINENO: result: yes" >&5
10131 echo "${ECHO_T}yes" >&6
10132 else
10133 # FIXME - insert some real tests, host_os isn't really good enough
10134   case $host_os in
10135   darwin*)
10136     if test -n "$STRIP" ; then
10137       striplib="$STRIP -x"
10138       old_striplib="$STRIP -S"
10139       echo "$as_me:$LINENO: result: yes" >&5
10140 echo "${ECHO_T}yes" >&6
10141     else
10142       echo "$as_me:$LINENO: result: no" >&5
10143 echo "${ECHO_T}no" >&6
10144     fi
10145     ;;
10146   *)
10147     echo "$as_me:$LINENO: result: no" >&5
10148 echo "${ECHO_T}no" >&6
10149     ;;
10150   esac
10151 fi
10152
10153
10154
10155
10156
10157
10158
10159
10160
10161
10162
10163
10164   # Report which library types will actually be built
10165   echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
10166 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
10167   echo "$as_me:$LINENO: result: $can_build_shared" >&5
10168 echo "${ECHO_T}$can_build_shared" >&6
10169
10170   echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
10171 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
10172   test "$can_build_shared" = "no" && enable_shared=no
10173
10174   # On AIX, shared libraries and static libraries use the same namespace, and
10175   # are all built from PIC.
10176   case $host_os in
10177   aix3*)
10178     test "$enable_shared" = yes && enable_static=no
10179     if test -n "$RANLIB"; then
10180       archive_cmds="$archive_cmds~\$RANLIB \$lib"
10181       postinstall_cmds='$RANLIB $lib'
10182     fi
10183     ;;
10184
10185   aix[4-9]*)
10186     if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
10187       test "$enable_shared" = yes && enable_static=no
10188     fi
10189     ;;
10190   esac
10191   echo "$as_me:$LINENO: result: $enable_shared" >&5
10192 echo "${ECHO_T}$enable_shared" >&6
10193
10194   echo "$as_me:$LINENO: checking whether to build static libraries" >&5
10195 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
10196   # Make sure either enable_shared or enable_static is yes.
10197   test "$enable_shared" = yes || enable_static=yes
10198   echo "$as_me:$LINENO: result: $enable_static" >&5
10199 echo "${ECHO_T}$enable_static" >&6
10200
10201
10202
10203
10204 fi
10205 ac_ext=c
10206 ac_cpp='$CPP $CPPFLAGS'
10207 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10208 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10209 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10210
10211 CC="$lt_save_CC"
10212
10213
10214
10215
10216
10217
10218
10219
10220
10221
10222
10223
10224
10225                   ac_config_commands="$ac_config_commands libtool"
10226
10227
10228
10229
10230 # Only expand once:
10231
10232
10233
10234
10235 #AC_MSG_NOTICE([====== Finished libtool configuration]) ; sleep 10
10236
10237 # We need gfortran to compile parts of the library
10238 #AC_PROG_FC(gfortran)
10239 FC="$GFORTRAN"
10240 ac_ext=${FC_SRCEXT-f}
10241 ac_compile='$FC -c $FCFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext >&5'
10242 ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext $LIBS >&5'
10243 ac_compiler_gnu=$ac_cv_fc_compiler_gnu
10244 if test -n "$ac_tool_prefix"; then
10245   for ac_prog in gfortran
10246   do
10247     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
10248 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
10249 echo "$as_me:$LINENO: checking for $ac_word" >&5
10250 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10251 if test "${ac_cv_prog_FC+set}" = set; then
10252   echo $ECHO_N "(cached) $ECHO_C" >&6
10253 else
10254   if test -n "$FC"; then
10255   ac_cv_prog_FC="$FC" # Let the user override the test.
10256 else
10257 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10258 for as_dir in $PATH
10259 do
10260   IFS=$as_save_IFS
10261   test -z "$as_dir" && as_dir=.
10262   for ac_exec_ext in '' $ac_executable_extensions; do
10263   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10264     ac_cv_prog_FC="$ac_tool_prefix$ac_prog"
10265     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10266     break 2
10267   fi
10268 done
10269 done
10270
10271 fi
10272 fi
10273 FC=$ac_cv_prog_FC
10274 if test -n "$FC"; then
10275   echo "$as_me:$LINENO: result: $FC" >&5
10276 echo "${ECHO_T}$FC" >&6
10277 else
10278   echo "$as_me:$LINENO: result: no" >&5
10279 echo "${ECHO_T}no" >&6
10280 fi
10281
10282     test -n "$FC" && break
10283   done
10284 fi
10285 if test -z "$FC"; then
10286   ac_ct_FC=$FC
10287   for ac_prog in gfortran
10288 do
10289   # Extract the first word of "$ac_prog", so it can be a program name with args.
10290 set dummy $ac_prog; ac_word=$2
10291 echo "$as_me:$LINENO: checking for $ac_word" >&5
10292 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10293 if test "${ac_cv_prog_ac_ct_FC+set}" = set; then
10294   echo $ECHO_N "(cached) $ECHO_C" >&6
10295 else
10296   if test -n "$ac_ct_FC"; then
10297   ac_cv_prog_ac_ct_FC="$ac_ct_FC" # Let the user override the test.
10298 else
10299 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10300 for as_dir in $PATH
10301 do
10302   IFS=$as_save_IFS
10303   test -z "$as_dir" && as_dir=.
10304   for ac_exec_ext in '' $ac_executable_extensions; do
10305   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10306     ac_cv_prog_ac_ct_FC="$ac_prog"
10307     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10308     break 2
10309   fi
10310 done
10311 done
10312
10313 fi
10314 fi
10315 ac_ct_FC=$ac_cv_prog_ac_ct_FC
10316 if test -n "$ac_ct_FC"; then
10317   echo "$as_me:$LINENO: result: $ac_ct_FC" >&5
10318 echo "${ECHO_T}$ac_ct_FC" >&6
10319 else
10320   echo "$as_me:$LINENO: result: no" >&5
10321 echo "${ECHO_T}no" >&6
10322 fi
10323
10324   test -n "$ac_ct_FC" && break
10325 done
10326
10327   FC=$ac_ct_FC
10328 fi
10329
10330
10331 # Provide some information about the compiler.
10332 echo "$as_me:10332:" \
10333      "checking for Fortran compiler version" >&5
10334 ac_compiler=`set X $ac_compile; echo $2`
10335 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
10336   (eval $ac_compiler --version </dev/null >&5) 2>&5
10337   ac_status=$?
10338   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10339   (exit $ac_status); }
10340 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
10341   (eval $ac_compiler -v </dev/null >&5) 2>&5
10342   ac_status=$?
10343   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10344   (exit $ac_status); }
10345 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
10346   (eval $ac_compiler -V </dev/null >&5) 2>&5
10347   ac_status=$?
10348   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10349   (exit $ac_status); }
10350 rm -f a.out
10351
10352 # If we don't use `.F' as extension, the preprocessor is not run on the
10353 # input file.  (Note that this only needs to work for GNU compilers.)
10354 ac_save_ext=$ac_ext
10355 ac_ext=F
10356 echo "$as_me:$LINENO: checking whether we are using the GNU Fortran compiler" >&5
10357 echo $ECHO_N "checking whether we are using the GNU Fortran compiler... $ECHO_C" >&6
10358 if test "${ac_cv_fc_compiler_gnu+set}" = set; then
10359   echo $ECHO_N "(cached) $ECHO_C" >&6
10360 else
10361   cat >conftest.$ac_ext <<_ACEOF
10362       program main
10363 #ifndef __GNUC__
10364        choke me
10365 #endif
10366
10367       end
10368 _ACEOF
10369 rm -f conftest.$ac_objext
10370 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10371   (eval $ac_compile) 2>conftest.er1
10372   ac_status=$?
10373   grep -v '^ *+' conftest.er1 >conftest.err
10374   rm -f conftest.er1
10375   cat conftest.err >&5
10376   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10377   (exit $ac_status); } &&
10378          { ac_try='test -z "$ac_fc_werror_flag"
10379                          || test ! -s conftest.err'
10380   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10381   (eval $ac_try) 2>&5
10382   ac_status=$?
10383   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10384   (exit $ac_status); }; } &&
10385          { ac_try='test -s conftest.$ac_objext'
10386   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10387   (eval $ac_try) 2>&5
10388   ac_status=$?
10389   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10390   (exit $ac_status); }; }; then
10391   ac_compiler_gnu=yes
10392 else
10393   echo "$as_me: failed program was:" >&5
10394 sed 's/^/| /' conftest.$ac_ext >&5
10395
10396 ac_compiler_gnu=no
10397 fi
10398 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10399 ac_cv_fc_compiler_gnu=$ac_compiler_gnu
10400
10401 fi
10402 echo "$as_me:$LINENO: result: $ac_cv_fc_compiler_gnu" >&5
10403 echo "${ECHO_T}$ac_cv_fc_compiler_gnu" >&6
10404 ac_ext=$ac_save_ext
10405 ac_test_FFLAGS=${FCFLAGS+set}
10406 ac_save_FFLAGS=$FCFLAGS
10407 FCFLAGS=
10408 echo "$as_me:$LINENO: checking whether $FC accepts -g" >&5
10409 echo $ECHO_N "checking whether $FC accepts -g... $ECHO_C" >&6
10410 if test "${ac_cv_prog_fc_g+set}" = set; then
10411   echo $ECHO_N "(cached) $ECHO_C" >&6
10412 else
10413   FCFLAGS=-g
10414 cat >conftest.$ac_ext <<_ACEOF
10415       program main
10416
10417       end
10418 _ACEOF
10419 rm -f conftest.$ac_objext
10420 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10421   (eval $ac_compile) 2>conftest.er1
10422   ac_status=$?
10423   grep -v '^ *+' conftest.er1 >conftest.err
10424   rm -f conftest.er1
10425   cat conftest.err >&5
10426   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10427   (exit $ac_status); } &&
10428          { ac_try='test -z "$ac_fc_werror_flag"
10429                          || test ! -s conftest.err'
10430   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10431   (eval $ac_try) 2>&5
10432   ac_status=$?
10433   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10434   (exit $ac_status); }; } &&
10435          { ac_try='test -s conftest.$ac_objext'
10436   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10437   (eval $ac_try) 2>&5
10438   ac_status=$?
10439   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10440   (exit $ac_status); }; }; then
10441   ac_cv_prog_fc_g=yes
10442 else
10443   echo "$as_me: failed program was:" >&5
10444 sed 's/^/| /' conftest.$ac_ext >&5
10445
10446 ac_cv_prog_fc_g=no
10447 fi
10448 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10449
10450 fi
10451 echo "$as_me:$LINENO: result: $ac_cv_prog_fc_g" >&5
10452 echo "${ECHO_T}$ac_cv_prog_fc_g" >&6
10453 if test "$ac_test_FFLAGS" = set; then
10454   FCFLAGS=$ac_save_FFLAGS
10455 elif test $ac_cv_prog_fc_g = yes; then
10456   if test "x$ac_cv_fc_compiler_gnu" = xyes; then
10457     FCFLAGS="-g -O2"
10458   else
10459     FCFLAGS="-g"
10460   fi
10461 else
10462   if test "x$ac_cv_fc_compiler_gnu" = xyes; then
10463     FCFLAGS="-O2"
10464   else
10465     FCFLAGS=
10466   fi
10467 fi
10468
10469 ac_ext=c
10470 ac_cpp='$CPP $CPPFLAGS'
10471 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10472 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10473 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10474
10475
10476 ac_ext=${FC_SRCEXT-f}
10477 ac_compile='$FC -c $FCFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext >&5'
10478 ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext $LIBS >&5'
10479 ac_compiler_gnu=$ac_cv_fc_compiler_gnu
10480 if test -n "$ac_tool_prefix"; then
10481   for ac_prog in f95 fort xlf95 ifc efc pgf95 lf95 gfortran f90 xlf90 pgf90 epcf90 g77 f77 xlf frt pgf77 fort77 fl32 af77
10482   do
10483     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
10484 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
10485 echo "$as_me:$LINENO: checking for $ac_word" >&5
10486 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10487 if test "${ac_cv_prog_FC+set}" = set; then
10488   echo $ECHO_N "(cached) $ECHO_C" >&6
10489 else
10490   if test -n "$FC"; then
10491   ac_cv_prog_FC="$FC" # Let the user override the test.
10492 else
10493 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10494 for as_dir in $PATH
10495 do
10496   IFS=$as_save_IFS
10497   test -z "$as_dir" && as_dir=.
10498   for ac_exec_ext in '' $ac_executable_extensions; do
10499   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10500     ac_cv_prog_FC="$ac_tool_prefix$ac_prog"
10501     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10502     break 2
10503   fi
10504 done
10505 done
10506
10507 fi
10508 fi
10509 FC=$ac_cv_prog_FC
10510 if test -n "$FC"; then
10511   echo "$as_me:$LINENO: result: $FC" >&5
10512 echo "${ECHO_T}$FC" >&6
10513 else
10514   echo "$as_me:$LINENO: result: no" >&5
10515 echo "${ECHO_T}no" >&6
10516 fi
10517
10518     test -n "$FC" && break
10519   done
10520 fi
10521 if test -z "$FC"; then
10522   ac_ct_FC=$FC
10523   for ac_prog in f95 fort xlf95 ifc efc pgf95 lf95 gfortran f90 xlf90 pgf90 epcf90 g77 f77 xlf frt pgf77 fort77 fl32 af77
10524 do
10525   # Extract the first word of "$ac_prog", so it can be a program name with args.
10526 set dummy $ac_prog; ac_word=$2
10527 echo "$as_me:$LINENO: checking for $ac_word" >&5
10528 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10529 if test "${ac_cv_prog_ac_ct_FC+set}" = set; then
10530   echo $ECHO_N "(cached) $ECHO_C" >&6
10531 else
10532   if test -n "$ac_ct_FC"; then
10533   ac_cv_prog_ac_ct_FC="$ac_ct_FC" # Let the user override the test.
10534 else
10535 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10536 for as_dir in $PATH
10537 do
10538   IFS=$as_save_IFS
10539   test -z "$as_dir" && as_dir=.
10540   for ac_exec_ext in '' $ac_executable_extensions; do
10541   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10542     ac_cv_prog_ac_ct_FC="$ac_prog"
10543     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10544     break 2
10545   fi
10546 done
10547 done
10548
10549 fi
10550 fi
10551 ac_ct_FC=$ac_cv_prog_ac_ct_FC
10552 if test -n "$ac_ct_FC"; then
10553   echo "$as_me:$LINENO: result: $ac_ct_FC" >&5
10554 echo "${ECHO_T}$ac_ct_FC" >&6
10555 else
10556   echo "$as_me:$LINENO: result: no" >&5
10557 echo "${ECHO_T}no" >&6
10558 fi
10559
10560   test -n "$ac_ct_FC" && break
10561 done
10562
10563   FC=$ac_ct_FC
10564 fi
10565
10566
10567 # Provide some information about the compiler.
10568 echo "$as_me:10568:" \
10569      "checking for Fortran compiler version" >&5
10570 ac_compiler=`set X $ac_compile; echo $2`
10571 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
10572   (eval $ac_compiler --version </dev/null >&5) 2>&5
10573   ac_status=$?
10574   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10575   (exit $ac_status); }
10576 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
10577   (eval $ac_compiler -v </dev/null >&5) 2>&5
10578   ac_status=$?
10579   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10580   (exit $ac_status); }
10581 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
10582   (eval $ac_compiler -V </dev/null >&5) 2>&5
10583   ac_status=$?
10584   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10585   (exit $ac_status); }
10586 rm -f a.out
10587
10588 # If we don't use `.F' as extension, the preprocessor is not run on the
10589 # input file.  (Note that this only needs to work for GNU compilers.)
10590 ac_save_ext=$ac_ext
10591 ac_ext=F
10592 echo "$as_me:$LINENO: checking whether we are using the GNU Fortran compiler" >&5
10593 echo $ECHO_N "checking whether we are using the GNU Fortran compiler... $ECHO_C" >&6
10594 if test "${ac_cv_fc_compiler_gnu+set}" = set; then
10595   echo $ECHO_N "(cached) $ECHO_C" >&6
10596 else
10597   cat >conftest.$ac_ext <<_ACEOF
10598       program main
10599 #ifndef __GNUC__
10600        choke me
10601 #endif
10602
10603       end
10604 _ACEOF
10605 rm -f conftest.$ac_objext
10606 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10607   (eval $ac_compile) 2>conftest.er1
10608   ac_status=$?
10609   grep -v '^ *+' conftest.er1 >conftest.err
10610   rm -f conftest.er1
10611   cat conftest.err >&5
10612   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10613   (exit $ac_status); } &&
10614          { ac_try='test -z "$ac_fc_werror_flag"
10615                          || test ! -s conftest.err'
10616   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10617   (eval $ac_try) 2>&5
10618   ac_status=$?
10619   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10620   (exit $ac_status); }; } &&
10621          { ac_try='test -s conftest.$ac_objext'
10622   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10623   (eval $ac_try) 2>&5
10624   ac_status=$?
10625   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10626   (exit $ac_status); }; }; then
10627   ac_compiler_gnu=yes
10628 else
10629   echo "$as_me: failed program was:" >&5
10630 sed 's/^/| /' conftest.$ac_ext >&5
10631
10632 ac_compiler_gnu=no
10633 fi
10634 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10635 ac_cv_fc_compiler_gnu=$ac_compiler_gnu
10636
10637 fi
10638 echo "$as_me:$LINENO: result: $ac_cv_fc_compiler_gnu" >&5
10639 echo "${ECHO_T}$ac_cv_fc_compiler_gnu" >&6
10640 ac_ext=$ac_save_ext
10641 ac_test_FFLAGS=${FCFLAGS+set}
10642 ac_save_FFLAGS=$FCFLAGS
10643 FCFLAGS=
10644 echo "$as_me:$LINENO: checking whether $FC accepts -g" >&5
10645 echo $ECHO_N "checking whether $FC accepts -g... $ECHO_C" >&6
10646 if test "${ac_cv_prog_fc_g+set}" = set; then
10647   echo $ECHO_N "(cached) $ECHO_C" >&6
10648 else
10649   FCFLAGS=-g
10650 cat >conftest.$ac_ext <<_ACEOF
10651       program main
10652
10653       end
10654 _ACEOF
10655 rm -f conftest.$ac_objext
10656 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10657   (eval $ac_compile) 2>conftest.er1
10658   ac_status=$?
10659   grep -v '^ *+' conftest.er1 >conftest.err
10660   rm -f conftest.er1
10661   cat conftest.err >&5
10662   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10663   (exit $ac_status); } &&
10664          { ac_try='test -z "$ac_fc_werror_flag"
10665                          || test ! -s conftest.err'
10666   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10667   (eval $ac_try) 2>&5
10668   ac_status=$?
10669   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10670   (exit $ac_status); }; } &&
10671          { ac_try='test -s conftest.$ac_objext'
10672   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10673   (eval $ac_try) 2>&5
10674   ac_status=$?
10675   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10676   (exit $ac_status); }; }; then
10677   ac_cv_prog_fc_g=yes
10678 else
10679   echo "$as_me: failed program was:" >&5
10680 sed 's/^/| /' conftest.$ac_ext >&5
10681
10682 ac_cv_prog_fc_g=no
10683 fi
10684 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10685
10686 fi
10687 echo "$as_me:$LINENO: result: $ac_cv_prog_fc_g" >&5
10688 echo "${ECHO_T}$ac_cv_prog_fc_g" >&6
10689 if test "$ac_test_FFLAGS" = set; then
10690   FCFLAGS=$ac_save_FFLAGS
10691 elif test $ac_cv_prog_fc_g = yes; then
10692   if test "x$ac_cv_fc_compiler_gnu" = xyes; then
10693     FCFLAGS="-g -O2"
10694   else
10695     FCFLAGS="-g"
10696   fi
10697 else
10698   if test "x$ac_cv_fc_compiler_gnu" = xyes; then
10699     FCFLAGS="-O2"
10700   else
10701     FCFLAGS=
10702   fi
10703 fi
10704
10705 ac_ext=c
10706 ac_cpp='$CPP $CPPFLAGS'
10707 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10708 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10709 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10710
10711 if test -z "$FC" || test "X$FC" = "Xno"; then
10712   _lt_disable_FC=yes
10713 fi
10714
10715
10716
10717       ac_ext=${FC_SRCEXT-f}
10718 ac_compile='$FC -c $FCFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext >&5'
10719 ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext $LIBS >&5'
10720 ac_compiler_gnu=$ac_cv_fc_compiler_gnu
10721
10722
10723 archive_cmds_need_lc_FC=no
10724 allow_undefined_flag_FC=
10725 always_export_symbols_FC=no
10726 archive_expsym_cmds_FC=
10727 export_dynamic_flag_spec_FC=
10728 hardcode_direct_FC=no
10729 hardcode_direct_absolute_FC=no
10730 hardcode_libdir_flag_spec_FC=
10731 hardcode_libdir_flag_spec_ld_FC=
10732 hardcode_libdir_separator_FC=
10733 hardcode_minus_L_FC=no
10734 hardcode_automatic_FC=no
10735 inherit_rpath_FC=no
10736 module_cmds_FC=
10737 module_expsym_cmds_FC=
10738 link_all_deplibs_FC=unknown
10739 old_archive_cmds_FC=$old_archive_cmds
10740 no_undefined_flag_FC=
10741 whole_archive_flag_spec_FC=
10742 enable_shared_with_static_runtimes_FC=no
10743
10744 # Source file extension for fc test sources.
10745 ac_ext=${ac_fc_srcext-f}
10746
10747 # Object file extension for compiled fc test sources.
10748 objext=o
10749 objext_FC=$objext
10750
10751 # No sense in running all these tests if we already determined that
10752 # the FC compiler isn't working.  Some variables (like enable_shared)
10753 # are currently assumed to apply to all compilers on this platform,
10754 # and will be corrupted by setting them based on a non-working compiler.
10755 if test "$_lt_disable_FC" != yes; then
10756   # Code to be used in simple compile tests
10757   lt_simple_compile_test_code="\
10758       subroutine t
10759       return
10760       end
10761 "
10762
10763   # Code to be used in simple link tests
10764   lt_simple_link_test_code="\
10765       program t
10766       end
10767 "
10768
10769   # ltmain only uses $CC for tagged configurations so make sure $CC is set.
10770
10771
10772
10773
10774
10775
10776 # If no C compiler was specified, use CC.
10777 LTCC=${LTCC-"$CC"}
10778
10779 # If no C compiler flags were specified, use CFLAGS.
10780 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
10781
10782 # Allow CC to be a program name with arguments.
10783 compiler=$CC
10784
10785
10786   # save warnings/boilerplate of simple test code
10787   ac_outfile=conftest.$ac_objext
10788 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
10789 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
10790 _lt_compiler_boilerplate=`cat conftest.err`
10791 $RM conftest*
10792
10793   ac_outfile=conftest.$ac_objext
10794 echo "$lt_simple_link_test_code" >conftest.$ac_ext
10795 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
10796 _lt_linker_boilerplate=`cat conftest.err`
10797 $RM conftest*
10798
10799
10800   # Allow CC to be a program name with arguments.
10801   lt_save_CC="$CC"
10802   CC=${FC-"f95"}
10803   compiler=$CC
10804   compiler_FC=$CC
10805   for cc_temp in $compiler""; do
10806   case $cc_temp in
10807     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
10808     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
10809     \-*) ;;
10810     *) break;;
10811   esac
10812 done
10813 cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
10814
10815
10816   if test -n "$compiler"; then
10817     echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
10818 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
10819     echo "$as_me:$LINENO: result: $can_build_shared" >&5
10820 echo "${ECHO_T}$can_build_shared" >&6
10821
10822     echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
10823 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
10824     test "$can_build_shared" = "no" && enable_shared=no
10825
10826     # On AIX, shared libraries and static libraries use the same namespace, and
10827     # are all built from PIC.
10828     case $host_os in
10829       aix3*)
10830         test "$enable_shared" = yes && enable_static=no
10831         if test -n "$RANLIB"; then
10832           archive_cmds="$archive_cmds~\$RANLIB \$lib"
10833           postinstall_cmds='$RANLIB $lib'
10834         fi
10835         ;;
10836       aix[4-9]*)
10837         if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
10838           test "$enable_shared" = yes && enable_static=no
10839         fi
10840         ;;
10841     esac
10842     echo "$as_me:$LINENO: result: $enable_shared" >&5
10843 echo "${ECHO_T}$enable_shared" >&6
10844
10845     echo "$as_me:$LINENO: checking whether to build static libraries" >&5
10846 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
10847     # Make sure either enable_shared or enable_static is yes.
10848     test "$enable_shared" = yes || enable_static=yes
10849     echo "$as_me:$LINENO: result: $enable_static" >&5
10850 echo "${ECHO_T}$enable_static" >&6
10851
10852     GCC_FC="$ac_cv_fc_compiler_gnu"
10853     LD_FC="$LD"
10854
10855     ## CAVEAT EMPTOR:
10856     ## There is no encapsulation within the following macros, do not change
10857     ## the running order or otherwise move them around unless you know exactly
10858     ## what you are doing...
10859     # Dependencies to place before and after the object being linked:
10860 predep_objects_FC=
10861 postdep_objects_FC=
10862 predeps_FC=
10863 postdeps_FC=
10864 compiler_lib_search_path_FC=
10865
10866 cat > conftest.$ac_ext <<_LT_EOF
10867       subroutine foo
10868       implicit none
10869       integer a
10870       a=0
10871       return
10872       end
10873 _LT_EOF
10874
10875 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10876   (eval $ac_compile) 2>&5
10877   ac_status=$?
10878   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10879   (exit $ac_status); }; then
10880   # Parse the compiler output and extract the necessary
10881   # objects, libraries and library flags.
10882
10883   # Sentinel used to keep track of whether or not we are before
10884   # the conftest object file.
10885   pre_test_object_deps_done=no
10886
10887   # The `*' in the case matches for architectures that use `case' in
10888   # $output_verbose_cmd can trigger glob expansion during the loop
10889   # eval without this substitution.
10890   output_verbose_link_cmd=`$ECHO "X$output_verbose_link_cmd" | $Xsed -e "$no_glob_subst"`
10891
10892   for p in `eval $output_verbose_link_cmd`; do
10893     case $p in
10894
10895     -L* | -R* | -l*)
10896        # Some compilers place space between "-{L,R}" and the path.
10897        # Remove the space.
10898        if test $p = "-L" ||
10899           test $p = "-R"; then
10900          prev=$p
10901          continue
10902        else
10903          prev=
10904        fi
10905
10906        if test "$pre_test_object_deps_done" = no; then
10907          case $p in
10908          -L* | -R*)
10909            # Internal compiler library paths should come after those
10910            # provided the user.  The postdeps already come after the
10911            # user supplied libs so there is no need to process them.
10912            if test -z "$compiler_lib_search_path_FC"; then
10913              compiler_lib_search_path_FC="${prev}${p}"
10914            else
10915              compiler_lib_search_path_FC="${compiler_lib_search_path_FC} ${prev}${p}"
10916            fi
10917            ;;
10918          # The "-l" case would never come before the object being
10919          # linked, so don't bother handling this case.
10920          esac
10921        else
10922          if test -z "$postdeps_FC"; then
10923            postdeps_FC="${prev}${p}"
10924          else
10925            postdeps_FC="${postdeps_FC} ${prev}${p}"
10926          fi
10927        fi
10928        ;;
10929
10930     *.$objext)
10931        # This assumes that the test object file only shows up
10932        # once in the compiler output.
10933        if test "$p" = "conftest.$objext"; then
10934          pre_test_object_deps_done=yes
10935          continue
10936        fi
10937
10938        if test "$pre_test_object_deps_done" = no; then
10939          if test -z "$predep_objects_FC"; then
10940            predep_objects_FC="$p"
10941          else
10942            predep_objects_FC="$predep_objects_FC $p"
10943          fi
10944        else
10945          if test -z "$postdep_objects_FC"; then
10946            postdep_objects_FC="$p"
10947          else
10948            postdep_objects_FC="$postdep_objects_FC $p"
10949          fi
10950        fi
10951        ;;
10952
10953     *) ;; # Ignore the rest.
10954
10955     esac
10956   done
10957
10958   # Clean up.
10959   rm -f a.out a.exe
10960 else
10961   echo "libtool.m4: error: problem compiling FC test program"
10962 fi
10963
10964 $RM -f confest.$objext
10965
10966 # PORTME: override above test on systems where it is broken
10967
10968
10969 case " $postdeps_FC " in
10970 *" -lc "*) archive_cmds_need_lc_FC=no ;;
10971 esac
10972
10973
10974
10975
10976
10977
10978
10979
10980
10981
10982
10983
10984
10985
10986
10987
10988
10989
10990
10991
10992
10993
10994
10995
10996
10997
10998     lt_prog_compiler_wl_FC=
10999 lt_prog_compiler_pic_FC=
11000 lt_prog_compiler_static_FC=
11001
11002 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
11003 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
11004
11005   if test "$GCC" = yes; then
11006     lt_prog_compiler_wl_FC='-Wl,'
11007     lt_prog_compiler_static_FC='-static'
11008
11009     case $host_os in
11010       aix*)
11011       # All AIX code is PIC.
11012       if test "$host_cpu" = ia64; then
11013         # AIX 5 now supports IA64 processor
11014         lt_prog_compiler_static_FC='-Bstatic'
11015       fi
11016       ;;
11017
11018     amigaos*)
11019       if test "$host_cpu" = m68k; then
11020         # FIXME: we need at least 68020 code to build shared libraries, but
11021         # adding the `-m68020' flag to GCC prevents building anything better,
11022         # like `-m68040'.
11023         lt_prog_compiler_pic_FC='-m68020 -resident32 -malways-restore-a4'
11024       fi
11025       ;;
11026
11027     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
11028       # PIC is the default for these OSes.
11029       ;;
11030
11031     mingw* | cygwin* | pw32* | os2*)
11032       # This hack is so that the source file can tell whether it is being
11033       # built for inclusion in a dll (and should export symbols for example).
11034       # Although the cygwin gcc ignores -fPIC, still need this for old-style
11035       # (--disable-auto-import) libraries
11036       lt_prog_compiler_pic_FC='-DDLL_EXPORT'
11037       ;;
11038
11039     darwin* | rhapsody*)
11040       # PIC is the default on this platform
11041       # Common symbols not allowed in MH_DYLIB files
11042       lt_prog_compiler_pic_FC='-fno-common'
11043       ;;
11044
11045     hpux*)
11046       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
11047       # not for PA HP-UX.
11048       case $host_cpu in
11049       hppa*64*|ia64*)
11050         # +Z the default
11051         ;;
11052       *)
11053         lt_prog_compiler_pic_FC='-fPIC'
11054         ;;
11055       esac
11056       ;;
11057
11058     interix[3-9]*)
11059       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
11060       # Instead, we relocate shared libraries at runtime.
11061       ;;
11062
11063     msdosdjgpp*)
11064       # Just because we use GCC doesn't mean we suddenly get shared libraries
11065       # on systems that don't support them.
11066       lt_prog_compiler_can_build_shared_FC=no
11067       enable_shared=no
11068       ;;
11069
11070     *nto* | *qnx*)
11071       # QNX uses GNU C++, but need to define -shared option too, otherwise
11072       # it will coredump.
11073       lt_prog_compiler_pic_FC='-fPIC -shared'
11074       ;;
11075
11076     sysv4*MP*)
11077       if test -d /usr/nec; then
11078         lt_prog_compiler_pic_FC=-Kconform_pic
11079       fi
11080       ;;
11081
11082     *)
11083       lt_prog_compiler_pic_FC='-fPIC'
11084       ;;
11085     esac
11086   else
11087     # PORTME Check for flag to pass linker flags through the system compiler.
11088     case $host_os in
11089     aix*)
11090       lt_prog_compiler_wl_FC='-Wl,'
11091       if test "$host_cpu" = ia64; then
11092         # AIX 5 now supports IA64 processor
11093         lt_prog_compiler_static_FC='-Bstatic'
11094       else
11095         lt_prog_compiler_static_FC='-bnso -bI:/lib/syscalls.exp'
11096       fi
11097       ;;
11098     darwin*)
11099       # PIC is the default on this platform
11100       # Common symbols not allowed in MH_DYLIB files
11101       case $cc_basename in
11102       xlc*)
11103         lt_prog_compiler_pic_FC='-qnocommon'
11104         lt_prog_compiler_wl_FC='-Wl,'
11105         ;;
11106       esac
11107       ;;
11108
11109     mingw* | cygwin* | pw32* | os2*)
11110       # This hack is so that the source file can tell whether it is being
11111       # built for inclusion in a dll (and should export symbols for example).
11112       lt_prog_compiler_pic_FC='-DDLL_EXPORT'
11113       ;;
11114
11115     hpux9* | hpux10* | hpux11*)
11116       lt_prog_compiler_wl_FC='-Wl,'
11117       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
11118       # not for PA HP-UX.
11119       case $host_cpu in
11120       hppa*64*|ia64*)
11121         # +Z the default
11122         ;;
11123       *)
11124         lt_prog_compiler_pic_FC='+Z'
11125         ;;
11126       esac
11127       # Is there a better lt_prog_compiler_static that works with the bundled CC?
11128       lt_prog_compiler_static_FC='${wl}-a ${wl}archive'
11129       ;;
11130
11131     irix5* | irix6* | nonstopux*)
11132       lt_prog_compiler_wl_FC='-Wl,'
11133       # PIC (with -KPIC) is the default.
11134       lt_prog_compiler_static_FC='-non_shared'
11135       ;;
11136
11137     linux* | k*bsd*-gnu)
11138       case $cc_basename in
11139       icc* | ecc*)
11140         lt_prog_compiler_wl_FC='-Wl,'
11141         lt_prog_compiler_pic_FC='-KPIC'
11142         lt_prog_compiler_static_FC='-static'
11143         ;;
11144       pgcc* | pgf77* | pgf90* | pgf95*)
11145         # Portland Group compilers (*not* the Pentium gcc compiler,
11146         # which looks to be a dead project)
11147         lt_prog_compiler_wl_FC='-Wl,'
11148         lt_prog_compiler_pic_FC='-fpic'
11149         lt_prog_compiler_static_FC='-Bstatic'
11150         ;;
11151       ccc*)
11152         lt_prog_compiler_wl_FC='-Wl,'
11153         # All Alpha code is PIC.
11154         lt_prog_compiler_static_FC='-non_shared'
11155         ;;
11156       *)
11157         case `$CC -V 2>&1 | sed 5q` in
11158         *Sun\ C*)
11159           # Sun C 5.9
11160           lt_prog_compiler_pic_FC='-KPIC'
11161           lt_prog_compiler_static_FC='-Bstatic'
11162           lt_prog_compiler_wl_FC='-Wl,'
11163           ;;
11164         *Sun\ F*)
11165           # Sun Fortran 8.3 passes all unrecognized flags to the linker
11166           lt_prog_compiler_pic_FC='-KPIC'
11167           lt_prog_compiler_static_FC='-Bstatic'
11168           lt_prog_compiler_wl_FC=''
11169           ;;
11170         esac
11171         ;;
11172       esac
11173       ;;
11174
11175     newsos6)
11176       lt_prog_compiler_pic_FC='-KPIC'
11177       lt_prog_compiler_static_FC='-Bstatic'
11178       ;;
11179
11180     *nto* | *qnx*)
11181       # QNX uses GNU C++, but need to define -shared option too, otherwise
11182       # it will coredump.
11183       lt_prog_compiler_pic_FC='-fPIC -shared'
11184       ;;
11185
11186     osf3* | osf4* | osf5*)
11187       lt_prog_compiler_wl_FC='-Wl,'
11188       # All OSF/1 code is PIC.
11189       lt_prog_compiler_static_FC='-non_shared'
11190       ;;
11191
11192     rdos*)
11193       lt_prog_compiler_static_FC='-non_shared'
11194       ;;
11195
11196     solaris*)
11197       lt_prog_compiler_pic_FC='-KPIC'
11198       lt_prog_compiler_static_FC='-Bstatic'
11199       case $cc_basename in
11200       f77* | f90* | f95*)
11201         lt_prog_compiler_wl_FC='-Qoption ld ';;
11202       *)
11203         lt_prog_compiler_wl_FC='-Wl,';;
11204       esac
11205       ;;
11206
11207     sunos4*)
11208       lt_prog_compiler_wl_FC='-Qoption ld '
11209       lt_prog_compiler_pic_FC='-PIC'
11210       lt_prog_compiler_static_FC='-Bstatic'
11211       ;;
11212
11213     sysv4 | sysv4.2uw2* | sysv4.3*)
11214       lt_prog_compiler_wl_FC='-Wl,'
11215       lt_prog_compiler_pic_FC='-KPIC'
11216       lt_prog_compiler_static_FC='-Bstatic'
11217       ;;
11218
11219     sysv4*MP*)
11220       if test -d /usr/nec ;then
11221         lt_prog_compiler_pic_FC='-Kconform_pic'
11222         lt_prog_compiler_static_FC='-Bstatic'
11223       fi
11224       ;;
11225
11226     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
11227       lt_prog_compiler_wl_FC='-Wl,'
11228       lt_prog_compiler_pic_FC='-KPIC'
11229       lt_prog_compiler_static_FC='-Bstatic'
11230       ;;
11231
11232     unicos*)
11233       lt_prog_compiler_wl_FC='-Wl,'
11234       lt_prog_compiler_can_build_shared_FC=no
11235       ;;
11236
11237     uts4*)
11238       lt_prog_compiler_pic_FC='-pic'
11239       lt_prog_compiler_static_FC='-Bstatic'
11240       ;;
11241
11242     *)
11243       lt_prog_compiler_can_build_shared_FC=no
11244       ;;
11245     esac
11246   fi
11247
11248 case $host_os in
11249   # For platforms which do not support PIC, -DPIC is meaningless:
11250   *djgpp*)
11251     lt_prog_compiler_pic_FC=
11252     ;;
11253   *)
11254     lt_prog_compiler_pic_FC="$lt_prog_compiler_pic_FC"
11255     ;;
11256 esac
11257 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_FC" >&5
11258 echo "${ECHO_T}$lt_prog_compiler_pic_FC" >&6
11259
11260
11261
11262 #
11263 # Check to make sure the PIC flag actually works.
11264 #
11265 if test -n "$lt_prog_compiler_pic_FC"; then
11266   echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_FC works" >&5
11267 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_FC works... $ECHO_C" >&6
11268 if test "${lt_prog_compiler_pic_works_FC+set}" = set; then
11269   echo $ECHO_N "(cached) $ECHO_C" >&6
11270 else
11271   lt_prog_compiler_pic_works_FC=no
11272    ac_outfile=conftest.$ac_objext
11273    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
11274    lt_compiler_flag="$lt_prog_compiler_pic_FC"
11275    # Insert the option either (1) after the last *FLAGS variable, or
11276    # (2) before a word containing "conftest.", or (3) at the end.
11277    # Note that $ac_compile itself does not contain backslashes and begins
11278    # with a dollar sign (not a hyphen), so the echo should work correctly.
11279    # The option is referenced via a variable to avoid confusing sed.
11280    lt_compile=`echo "$ac_compile" | $SED \
11281    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
11282    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11283    -e 's:$: $lt_compiler_flag:'`
11284    (eval echo "\"\$as_me:11284: $lt_compile\"" >&5)
11285    (eval "$lt_compile" 2>conftest.err)
11286    ac_status=$?
11287    cat conftest.err >&5
11288    echo "$as_me:11288: \$? = $ac_status" >&5
11289    if (exit $ac_status) && test -s "$ac_outfile"; then
11290      # The compiler can only warn and ignore the option if not recognized
11291      # So say no if there are warnings other than the usual output.
11292      $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
11293      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
11294      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
11295        lt_prog_compiler_pic_works_FC=yes
11296      fi
11297    fi
11298    $RM conftest*
11299
11300 fi
11301 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_FC" >&5
11302 echo "${ECHO_T}$lt_prog_compiler_pic_works_FC" >&6
11303
11304 if test x"$lt_prog_compiler_pic_works_FC" = xyes; then
11305     case $lt_prog_compiler_pic_FC in
11306      "" | " "*) ;;
11307      *) lt_prog_compiler_pic_FC=" $lt_prog_compiler_pic_FC" ;;
11308      esac
11309 else
11310     lt_prog_compiler_pic_FC=
11311      lt_prog_compiler_can_build_shared_FC=no
11312 fi
11313
11314 fi
11315
11316
11317
11318 #
11319 # Check to make sure the static flag actually works.
11320 #
11321 wl=$lt_prog_compiler_wl_FC eval lt_tmp_static_flag=\"$lt_prog_compiler_static_FC\"
11322 echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
11323 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
11324 if test "${lt_prog_compiler_static_works_FC+set}" = set; then
11325   echo $ECHO_N "(cached) $ECHO_C" >&6
11326 else
11327   lt_prog_compiler_static_works_FC=no
11328    save_LDFLAGS="$LDFLAGS"
11329    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
11330    echo "$lt_simple_link_test_code" > conftest.$ac_ext
11331    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
11332      # The linker can only warn and ignore the option if not recognized
11333      # So say no if there are warnings
11334      if test -s conftest.err; then
11335        # Append any errors to the config.log.
11336        cat conftest.err 1>&5
11337        $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
11338        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
11339        if diff conftest.exp conftest.er2 >/dev/null; then
11340          lt_prog_compiler_static_works_FC=yes
11341        fi
11342      else
11343        lt_prog_compiler_static_works_FC=yes
11344      fi
11345    fi
11346    $RM conftest*
11347    LDFLAGS="$save_LDFLAGS"
11348
11349 fi
11350 echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_FC" >&5
11351 echo "${ECHO_T}$lt_prog_compiler_static_works_FC" >&6
11352
11353 if test x"$lt_prog_compiler_static_works_FC" = xyes; then
11354     :
11355 else
11356     lt_prog_compiler_static_FC=
11357 fi
11358
11359
11360
11361
11362     echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
11363 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
11364 if test "${lt_cv_prog_compiler_c_o_FC+set}" = set; then
11365   echo $ECHO_N "(cached) $ECHO_C" >&6
11366 else
11367   lt_cv_prog_compiler_c_o_FC=no
11368    $RM -r conftest 2>/dev/null
11369    mkdir conftest
11370    cd conftest
11371    mkdir out
11372    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
11373
11374    lt_compiler_flag="-o out/conftest2.$ac_objext"
11375    # Insert the option either (1) after the last *FLAGS variable, or
11376    # (2) before a word containing "conftest.", or (3) at the end.
11377    # Note that $ac_compile itself does not contain backslashes and begins
11378    # with a dollar sign (not a hyphen), so the echo should work correctly.
11379    lt_compile=`echo "$ac_compile" | $SED \
11380    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
11381    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11382    -e 's:$: $lt_compiler_flag:'`
11383    (eval echo "\"\$as_me:11383: $lt_compile\"" >&5)
11384    (eval "$lt_compile" 2>out/conftest.err)
11385    ac_status=$?
11386    cat out/conftest.err >&5
11387    echo "$as_me:11387: \$? = $ac_status" >&5
11388    if (exit $ac_status) && test -s out/conftest2.$ac_objext
11389    then
11390      # The compiler can only warn and ignore the option if not recognized
11391      # So say no if there are warnings
11392      $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
11393      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
11394      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
11395        lt_cv_prog_compiler_c_o_FC=yes
11396      fi
11397    fi
11398    chmod u+w . 2>&5
11399    $RM conftest*
11400    # SGI C++ compiler will create directory out/ii_files/ for
11401    # template instantiation
11402    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
11403    $RM out/* && rmdir out
11404    cd ..
11405    $RM -r conftest
11406    $RM conftest*
11407
11408 fi
11409 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_FC" >&5
11410 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_FC" >&6
11411
11412
11413
11414     echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
11415 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
11416 if test "${lt_cv_prog_compiler_c_o_FC+set}" = set; then
11417   echo $ECHO_N "(cached) $ECHO_C" >&6
11418 else
11419   lt_cv_prog_compiler_c_o_FC=no
11420    $RM -r conftest 2>/dev/null
11421    mkdir conftest
11422    cd conftest
11423    mkdir out
11424    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
11425
11426    lt_compiler_flag="-o out/conftest2.$ac_objext"
11427    # Insert the option either (1) after the last *FLAGS variable, or
11428    # (2) before a word containing "conftest.", or (3) at the end.
11429    # Note that $ac_compile itself does not contain backslashes and begins
11430    # with a dollar sign (not a hyphen), so the echo should work correctly.
11431    lt_compile=`echo "$ac_compile" | $SED \
11432    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
11433    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11434    -e 's:$: $lt_compiler_flag:'`
11435    (eval echo "\"\$as_me:11435: $lt_compile\"" >&5)
11436    (eval "$lt_compile" 2>out/conftest.err)
11437    ac_status=$?
11438    cat out/conftest.err >&5
11439    echo "$as_me:11439: \$? = $ac_status" >&5
11440    if (exit $ac_status) && test -s out/conftest2.$ac_objext
11441    then
11442      # The compiler can only warn and ignore the option if not recognized
11443      # So say no if there are warnings
11444      $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
11445      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
11446      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
11447        lt_cv_prog_compiler_c_o_FC=yes
11448      fi
11449    fi
11450    chmod u+w . 2>&5
11451    $RM conftest*
11452    # SGI C++ compiler will create directory out/ii_files/ for
11453    # template instantiation
11454    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
11455    $RM out/* && rmdir out
11456    cd ..
11457    $RM -r conftest
11458    $RM conftest*
11459
11460 fi
11461 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_FC" >&5
11462 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_FC" >&6
11463
11464
11465
11466
11467 hard_links="nottested"
11468 if test "$lt_cv_prog_compiler_c_o_FC" = no && test "$need_locks" != no; then
11469   # do not overwrite the value of need_locks provided by the user
11470   echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
11471 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
11472   hard_links=yes
11473   $RM conftest*
11474   ln conftest.a conftest.b 2>/dev/null && hard_links=no
11475   touch conftest.a
11476   ln conftest.a conftest.b 2>&5 || hard_links=no
11477   ln conftest.a conftest.b 2>/dev/null && hard_links=no
11478   echo "$as_me:$LINENO: result: $hard_links" >&5
11479 echo "${ECHO_T}$hard_links" >&6
11480   if test "$hard_links" = no; then
11481     { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
11482 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
11483     need_locks=warn
11484   fi
11485 else
11486   need_locks=no
11487 fi
11488
11489
11490
11491     echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
11492 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
11493
11494   runpath_var=
11495   allow_undefined_flag_FC=
11496   always_export_symbols_FC=no
11497   archive_cmds_FC=
11498   archive_expsym_cmds_FC=
11499   compiler_needs_object_FC=no
11500   enable_shared_with_static_runtimes_FC=no
11501   export_dynamic_flag_spec_FC=
11502   export_symbols_cmds_FC='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
11503   hardcode_automatic_FC=no
11504   hardcode_direct_FC=no
11505   hardcode_direct_absolute_FC=no
11506   hardcode_libdir_flag_spec_FC=
11507   hardcode_libdir_flag_spec_ld_FC=
11508   hardcode_libdir_separator_FC=
11509   hardcode_minus_L_FC=no
11510   hardcode_shlibpath_var_FC=unsupported
11511   inherit_rpath_FC=no
11512   link_all_deplibs_FC=unknown
11513   module_cmds_FC=
11514   module_expsym_cmds_FC=
11515   old_archive_from_new_cmds_FC=
11516   old_archive_from_expsyms_cmds_FC=
11517   thread_safe_flag_spec_FC=
11518   whole_archive_flag_spec_FC=
11519   # include_expsyms should be a list of space-separated symbols to be *always*
11520   # included in the symbol list
11521   include_expsyms_FC=
11522   # exclude_expsyms can be an extended regexp of symbols to exclude
11523   # it will be wrapped by ` (' and `)$', so one must not match beginning or
11524   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
11525   # as well as any symbol that contains `d'.
11526   exclude_expsyms_FC="_GLOBAL_OFFSET_TABLE_"
11527   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
11528   # platforms (ab)use it in PIC code, but their linkers get confused if
11529   # the symbol is explicitly referenced.  Since portable code cannot
11530   # rely on this symbol name, it's probably fine to never include it in
11531   # preloaded symbol tables.
11532   extract_expsyms_cmds=
11533
11534   case $host_os in
11535   cygwin* | mingw* | pw32*)
11536     # FIXME: the MSVC++ port hasn't been tested in a loooong time
11537     # When not using gcc, we currently assume that we are using
11538     # Microsoft Visual C++.
11539     if test "$GCC" != yes; then
11540       with_gnu_ld=no
11541     fi
11542     ;;
11543   interix*)
11544     # we just hope/assume this is gcc and not c89 (= MSVC++)
11545     with_gnu_ld=yes
11546     ;;
11547   openbsd*)
11548     with_gnu_ld=no
11549     ;;
11550   esac
11551
11552   ld_shlibs_FC=yes
11553   if test "$with_gnu_ld" = yes; then
11554     # If archive_cmds runs LD, not CC, wlarc should be empty
11555     wlarc='${wl}'
11556
11557     # Set some defaults for GNU ld with shared library support. These
11558     # are reset later if shared libraries are not supported. Putting them
11559     # here allows them to be overridden if necessary.
11560     runpath_var=LD_RUN_PATH
11561     hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir'
11562     export_dynamic_flag_spec_FC='${wl}--export-dynamic'
11563     # ancient GNU ld didn't support --whole-archive et. al.
11564     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
11565       whole_archive_flag_spec_FC="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
11566     else
11567       whole_archive_flag_spec_FC=
11568     fi
11569     supports_anon_versioning=no
11570     case `$LD -v 2>&1` in
11571       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
11572       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
11573       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
11574       *\ 2.11.*) ;; # other 2.11 versions
11575       *) supports_anon_versioning=yes ;;
11576     esac
11577
11578     # See if GNU ld supports shared libraries.
11579     case $host_os in
11580     aix[3-9]*)
11581       # On AIX/PPC, the GNU linker is very broken
11582       if test "$host_cpu" != ia64; then
11583         ld_shlibs_FC=no
11584         cat <<_LT_EOF 1>&2
11585
11586 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
11587 *** to be unable to reliably create shared libraries on AIX.
11588 *** Therefore, libtool is disabling shared libraries support.  If you
11589 *** really care for shared libraries, you may want to modify your PATH
11590 *** so that a non-GNU linker is found, and then restart.
11591
11592 _LT_EOF
11593       fi
11594       ;;
11595
11596     amigaos*)
11597       if test "$host_cpu" = m68k; then
11598         archive_cmds_FC='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
11599         hardcode_libdir_flag_spec_FC='-L$libdir'
11600         hardcode_minus_L_FC=yes
11601       fi
11602
11603       # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
11604       # that the semantics of dynamic libraries on AmigaOS, at least up
11605       # to version 4, is to share data among multiple programs linked
11606       # with the same dynamic library.  Since this doesn't match the
11607       # behavior of shared libraries on other platforms, we can't use
11608       # them.
11609       ld_shlibs_FC=no
11610       ;;
11611
11612     beos*)
11613       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
11614         allow_undefined_flag_FC=unsupported
11615         # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
11616         # support --undefined.  This deserves some investigation.  FIXME
11617         archive_cmds_FC='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11618       else
11619         ld_shlibs_FC=no
11620       fi
11621       ;;
11622
11623     cygwin* | mingw* | pw32*)
11624       # _LT_TAGVAR(hardcode_libdir_flag_spec, FC) is actually meaningless,
11625       # as there is no search path for DLLs.
11626       hardcode_libdir_flag_spec_FC='-L$libdir'
11627       allow_undefined_flag_FC=unsupported
11628       always_export_symbols_FC=no
11629       enable_shared_with_static_runtimes_FC=yes
11630       export_symbols_cmds_FC='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
11631
11632       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
11633         archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
11634         # If the export-symbols file already is a .def file (1st line
11635         # is EXPORTS), use it as is; otherwise, prepend...
11636         archive_expsym_cmds_FC='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
11637           cp $export_symbols $output_objdir/$soname.def;
11638         else
11639           echo EXPORTS > $output_objdir/$soname.def;
11640           cat $export_symbols >> $output_objdir/$soname.def;
11641         fi~
11642         $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
11643       else
11644         ld_shlibs_FC=no
11645       fi
11646       ;;
11647
11648     interix[3-9]*)
11649       hardcode_direct_FC=no
11650       hardcode_shlibpath_var_FC=no
11651       hardcode_libdir_flag_spec_FC='${wl}-rpath,$libdir'
11652       export_dynamic_flag_spec_FC='${wl}-E'
11653       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
11654       # Instead, shared libraries are loaded at an image base (0x10000000 by
11655       # default) and relocated if they conflict, which is a slow very memory
11656       # consuming and fragmenting process.  To avoid this, we pick a random,
11657       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
11658       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
11659       archive_cmds_FC='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
11660       archive_expsym_cmds_FC='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
11661       ;;
11662
11663     gnu* | linux* | tpf* | k*bsd*-gnu)
11664       tmp_diet=no
11665       if test "$host_os" = linux-dietlibc; then
11666         case $cc_basename in
11667           diet\ *) tmp_diet=yes;;       # linux-dietlibc with static linking (!diet-dyn)
11668         esac
11669       fi
11670       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
11671          && test "$tmp_diet" = no
11672       then
11673         tmp_addflag=
11674         case $cc_basename,$host_cpu in
11675         pgcc*)                          # Portland Group C compiler
11676           whole_archive_flag_spec_FC='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
11677           tmp_addflag=' $pic_flag'
11678           ;;
11679         pgf77* | pgf90* | pgf95*)       # Portland Group f77 and f90 compilers
11680           whole_archive_flag_spec_FC='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
11681           tmp_addflag=' $pic_flag -Mnomain' ;;
11682         ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
11683           tmp_addflag=' -i_dynamic' ;;
11684         efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
11685           tmp_addflag=' -i_dynamic -nofor_main' ;;
11686         ifc* | ifort*)                  # Intel Fortran compiler
11687           tmp_addflag=' -nofor_main' ;;
11688         esac
11689         case `$CC -V 2>&1 | sed 5q` in
11690         *Sun\ C*)                       # Sun C 5.9
11691           whole_archive_flag_spec_FC='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
11692           compiler_needs_object_FC=yes
11693           tmp_sharedflag='-G' ;;
11694         *Sun\ F*)                       # Sun Fortran 8.3
11695           tmp_sharedflag='-G' ;;
11696         *)
11697           tmp_sharedflag='-shared' ;;
11698         esac
11699         archive_cmds_FC='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11700
11701         if test "x$supports_anon_versioning" = xyes; then
11702           archive_expsym_cmds_FC='echo "{ global:" > $output_objdir/$libname.ver~
11703             cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
11704             echo "local: *; };" >> $output_objdir/$libname.ver~
11705             $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
11706         fi
11707       else
11708         ld_shlibs_FC=no
11709       fi
11710       ;;
11711
11712     netbsd*)
11713       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11714         archive_cmds_FC='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
11715         wlarc=
11716       else
11717         archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11718         archive_expsym_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
11719       fi
11720       ;;
11721
11722     solaris*)
11723       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
11724         ld_shlibs_FC=no
11725         cat <<_LT_EOF 1>&2
11726
11727 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
11728 *** create shared libraries on Solaris systems.  Therefore, libtool
11729 *** is disabling shared libraries support.  We urge you to upgrade GNU
11730 *** binutils to release 2.9.1 or newer.  Another option is to modify
11731 *** your PATH or compiler configuration so that the native linker is
11732 *** used, and then restart.
11733
11734 _LT_EOF
11735       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
11736         archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11737         archive_expsym_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
11738       else
11739         ld_shlibs_FC=no
11740       fi
11741       ;;
11742
11743     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
11744       case `$LD -v 2>&1` in
11745         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
11746         ld_shlibs_FC=no
11747         cat <<_LT_EOF 1>&2
11748
11749 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
11750 *** reliably create shared libraries on SCO systems.  Therefore, libtool
11751 *** is disabling shared libraries support.  We urge you to upgrade GNU
11752 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
11753 *** your PATH or compiler configuration so that the native linker is
11754 *** used, and then restart.
11755
11756 _LT_EOF
11757         ;;
11758         *)
11759           # For security reasons, it is highly recommended that you always
11760           # use absolute paths for naming shared libraries, and exclude the
11761           # DT_RUNPATH tag from executables and libraries.  But doing so
11762           # requires that you compile everything twice, which is a pain.
11763           if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
11764             hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir'
11765             archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11766             archive_expsym_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
11767           else
11768             ld_shlibs_FC=no
11769           fi
11770         ;;
11771       esac
11772       ;;
11773
11774     sunos4*)
11775       archive_cmds_FC='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
11776       wlarc=
11777       hardcode_direct_FC=yes
11778       hardcode_shlibpath_var_FC=no
11779       ;;
11780
11781     *)
11782       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
11783         archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11784         archive_expsym_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
11785       else
11786         ld_shlibs_FC=no
11787       fi
11788       ;;
11789     esac
11790
11791     if test "$ld_shlibs_FC" = no; then
11792       runpath_var=
11793       hardcode_libdir_flag_spec_FC=
11794       export_dynamic_flag_spec_FC=
11795       whole_archive_flag_spec_FC=
11796     fi
11797   else
11798     # PORTME fill in a description of your system's linker (not GNU ld)
11799     case $host_os in
11800     aix3*)
11801       allow_undefined_flag_FC=unsupported
11802       always_export_symbols_FC=yes
11803       archive_expsym_cmds_FC='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
11804       # Note: this linker hardcodes the directories in LIBPATH if there
11805       # are no directories specified by -L.
11806       hardcode_minus_L_FC=yes
11807       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
11808         # Neither direct hardcoding nor static linking is supported with a
11809         # broken collect2.
11810         hardcode_direct_FC=unsupported
11811       fi
11812       ;;
11813
11814     aix[4-9]*)
11815       if test "$host_cpu" = ia64; then
11816         # On IA64, the linker does run time linking by default, so we don't
11817         # have to do anything special.
11818         aix_use_runtimelinking=no
11819         exp_sym_flag='-Bexport'
11820         no_entry_flag=""
11821       else
11822         # If we're using GNU nm, then we don't want the "-C" option.
11823         # -C means demangle to AIX nm, but means don't demangle with GNU nm
11824         if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
11825           export_symbols_cmds_FC='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
11826         else
11827           export_symbols_cmds_FC='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
11828         fi
11829         aix_use_runtimelinking=no
11830
11831         # Test if we are trying to use run time linking or normal
11832         # AIX style linking. If -brtl is somewhere in LDFLAGS, we
11833         # need to do runtime linking.
11834         case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
11835           for ld_flag in $LDFLAGS; do
11836           if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
11837             aix_use_runtimelinking=yes
11838             break
11839           fi
11840           done
11841           ;;
11842         esac
11843
11844         exp_sym_flag='-bexport'
11845         no_entry_flag='-bnoentry'
11846       fi
11847
11848       # When large executables or shared objects are built, AIX ld can
11849       # have problems creating the table of contents.  If linking a library
11850       # or program results in "error TOC overflow" add -mminimal-toc to
11851       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
11852       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
11853
11854       archive_cmds_FC=''
11855       hardcode_direct_FC=yes
11856       hardcode_direct_absolute_FC=yes
11857       hardcode_libdir_separator_FC=':'
11858       link_all_deplibs_FC=yes
11859       file_list_spec_FC='${wl}-f,'
11860
11861       if test "$GCC" = yes; then
11862         case $host_os in aix4.[012]|aix4.[012].*)
11863         # We only want to do this on AIX 4.2 and lower, the check
11864         # below for broken collect2 doesn't work under 4.3+
11865           collect2name=`${CC} -print-prog-name=collect2`
11866           if test -f "$collect2name" &&
11867            strings "$collect2name" | $GREP resolve_lib_name >/dev/null
11868           then
11869           # We have reworked collect2
11870           :
11871           else
11872           # We have old collect2
11873           hardcode_direct_FC=unsupported
11874           # It fails to find uninstalled libraries when the uninstalled
11875           # path is not listed in the libpath.  Setting hardcode_minus_L
11876           # to unsupported forces relinking
11877           hardcode_minus_L_FC=yes
11878           hardcode_libdir_flag_spec_FC='-L$libdir'
11879           hardcode_libdir_separator_FC=
11880           fi
11881           ;;
11882         esac
11883         shared_flag='-shared'
11884         if test "$aix_use_runtimelinking" = yes; then
11885           shared_flag="$shared_flag "'${wl}-G'
11886         fi
11887       else
11888         # not using gcc
11889         if test "$host_cpu" = ia64; then
11890         # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
11891         # chokes on -Wl,-G. The following line is correct:
11892           shared_flag='-G'
11893         else
11894           if test "$aix_use_runtimelinking" = yes; then
11895             shared_flag='${wl}-G'
11896           else
11897             shared_flag='${wl}-bM:SRE'
11898           fi
11899         fi
11900       fi
11901
11902       # It seems that -bexpall does not export symbols beginning with
11903       # underscore (_), so it is better to generate a list of symbols to export.
11904       always_export_symbols_FC=yes
11905       if test "$aix_use_runtimelinking" = yes; then
11906         # Warning - without using the other runtime loading flags (-brtl),
11907         # -berok will link without error, but may produce a broken library.
11908         allow_undefined_flag_FC='-berok'
11909         # Determine the default libpath from the value encoded in an
11910         # empty executable.
11911         if test x$gcc_no_link = xyes; then
11912   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11913 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11914    { (exit 1); exit 1; }; }
11915 fi
11916 cat >conftest.$ac_ext <<_ACEOF
11917       program main
11918
11919       end
11920 _ACEOF
11921 rm -f conftest.$ac_objext conftest$ac_exeext
11922 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11923   (eval $ac_link) 2>conftest.er1
11924   ac_status=$?
11925   grep -v '^ *+' conftest.er1 >conftest.err
11926   rm -f conftest.er1
11927   cat conftest.err >&5
11928   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11929   (exit $ac_status); } &&
11930          { ac_try='test -z "$ac_fc_werror_flag"
11931                          || test ! -s conftest.err'
11932   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11933   (eval $ac_try) 2>&5
11934   ac_status=$?
11935   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11936   (exit $ac_status); }; } &&
11937          { ac_try='test -s conftest$ac_exeext'
11938   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11939   (eval $ac_try) 2>&5
11940   ac_status=$?
11941   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11942   (exit $ac_status); }; }; then
11943
11944 lt_aix_libpath_sed='
11945     /Import File Strings/,/^$/ {
11946         /^0/ {
11947             s/^0  *\(.*\)$/\1/
11948             p
11949         }
11950     }'
11951 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11952 # Check for a 64-bit object if we didn't find anything.
11953 if test -z "$aix_libpath"; then
11954   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11955 fi
11956 else
11957   echo "$as_me: failed program was:" >&5
11958 sed 's/^/| /' conftest.$ac_ext >&5
11959
11960 fi
11961 rm -f conftest.err conftest.$ac_objext \
11962       conftest$ac_exeext conftest.$ac_ext
11963 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
11964
11965         hardcode_libdir_flag_spec_FC='${wl}-blibpath:$libdir:'"$aix_libpath"
11966         archive_expsym_cmds_FC='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then $ECHO "X${wl}${allow_undefined_flag}" | $Xsed; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
11967       else
11968         if test "$host_cpu" = ia64; then
11969           hardcode_libdir_flag_spec_FC='${wl}-R $libdir:/usr/lib:/lib'
11970           allow_undefined_flag_FC="-z nodefs"
11971           archive_expsym_cmds_FC="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
11972         else
11973          # Determine the default libpath from the value encoded in an
11974          # empty executable.
11975          if test x$gcc_no_link = xyes; then
11976   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11977 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11978    { (exit 1); exit 1; }; }
11979 fi
11980 cat >conftest.$ac_ext <<_ACEOF
11981       program main
11982
11983       end
11984 _ACEOF
11985 rm -f conftest.$ac_objext conftest$ac_exeext
11986 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11987   (eval $ac_link) 2>conftest.er1
11988   ac_status=$?
11989   grep -v '^ *+' conftest.er1 >conftest.err
11990   rm -f conftest.er1
11991   cat conftest.err >&5
11992   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11993   (exit $ac_status); } &&
11994          { ac_try='test -z "$ac_fc_werror_flag"
11995                          || test ! -s conftest.err'
11996   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11997   (eval $ac_try) 2>&5
11998   ac_status=$?
11999   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12000   (exit $ac_status); }; } &&
12001          { ac_try='test -s conftest$ac_exeext'
12002   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12003   (eval $ac_try) 2>&5
12004   ac_status=$?
12005   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12006   (exit $ac_status); }; }; then
12007
12008 lt_aix_libpath_sed='
12009     /Import File Strings/,/^$/ {
12010         /^0/ {
12011             s/^0  *\(.*\)$/\1/
12012             p
12013         }
12014     }'
12015 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12016 # Check for a 64-bit object if we didn't find anything.
12017 if test -z "$aix_libpath"; then
12018   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12019 fi
12020 else
12021   echo "$as_me: failed program was:" >&5
12022 sed 's/^/| /' conftest.$ac_ext >&5
12023
12024 fi
12025 rm -f conftest.err conftest.$ac_objext \
12026       conftest$ac_exeext conftest.$ac_ext
12027 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12028
12029          hardcode_libdir_flag_spec_FC='${wl}-blibpath:$libdir:'"$aix_libpath"
12030           # Warning - without using the other run time loading flags,
12031           # -berok will link without error, but may produce a broken library.
12032           no_undefined_flag_FC=' ${wl}-bernotok'
12033           allow_undefined_flag_FC=' ${wl}-berok'
12034           # Exported symbols can be pulled into shared objects from archives
12035           whole_archive_flag_spec_FC='$convenience'
12036           archive_cmds_need_lc_FC=yes
12037           # This is similar to how AIX traditionally builds its shared libraries.
12038           archive_expsym_cmds_FC="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
12039         fi
12040       fi
12041       ;;
12042
12043     amigaos*)
12044       if test "$host_cpu" = m68k; then
12045         archive_cmds_FC='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
12046         hardcode_libdir_flag_spec_FC='-L$libdir'
12047         hardcode_minus_L_FC=yes
12048       fi
12049       # see comment about different semantics on the GNU ld section
12050       ld_shlibs_FC=no
12051       ;;
12052
12053     bsdi[45]*)
12054       export_dynamic_flag_spec_FC=-rdynamic
12055       ;;
12056
12057     cygwin* | mingw* | pw32*)
12058       # When not using gcc, we currently assume that we are using
12059       # Microsoft Visual C++.
12060       # hardcode_libdir_flag_spec is actually meaningless, as there is
12061       # no search path for DLLs.
12062       hardcode_libdir_flag_spec_FC=' '
12063       allow_undefined_flag_FC=unsupported
12064       # Tell ltmain to make .lib files, not .a files.
12065       libext=lib
12066       # Tell ltmain to make .dll files, not .so files.
12067       shrext_cmds=".dll"
12068       # FIXME: Setting linknames here is a bad hack.
12069       archive_cmds_FC='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
12070       # The linker will automatically build a .lib file if we build a DLL.
12071       old_archive_from_new_cmds_FC='true'
12072       # FIXME: Should let the user specify the lib program.
12073       old_archive_cmds_FC='lib -OUT:$oldlib$oldobjs$old_deplibs'
12074       fix_srcfile_path_FC='`cygpath -w "$srcfile"`'
12075       enable_shared_with_static_runtimes_FC=yes
12076       ;;
12077
12078     darwin* | rhapsody*)
12079       case $host_os in
12080       rhapsody* | darwin1.[012])
12081         allow_undefined_flag_FC='${wl}-undefined ${wl}suppress'
12082         ;;
12083       *) # Darwin 1.3 on
12084         case ${MACOSX_DEPLOYMENT_TARGET-10.0} in
12085         10.[012])
12086           allow_undefined_flag_FC='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
12087           ;;
12088         10.*)
12089           allow_undefined_flag_FC='${wl}-undefined ${wl}dynamic_lookup'
12090           ;;
12091         esac
12092         ;;
12093       esac
12094       archive_cmds_need_lc_FC=no
12095       hardcode_direct_FC=no
12096       hardcode_automatic_FC=yes
12097       hardcode_shlibpath_var_FC=unsupported
12098       whole_archive_flag_spec_FC=''
12099       link_all_deplibs_FC=yes
12100       if test "$GCC" = yes ; then
12101         if test "${lt_cv_apple_cc_single_mod+set}" = set; then
12102   echo $ECHO_N "(cached) $ECHO_C" >&6
12103 else
12104   lt_cv_apple_cc_single_mod=no
12105         if test -z "${LT_MULTI_MODULE}"; then
12106           # By default we will add the -single_module flag. You can override
12107           # by either setting the environment variable LT_MULTI_MODULE
12108           # non-empty at configure time, or by adding -multi-module to the
12109           # link flags.
12110           echo "int foo(void){return 1;}" > conftest.c
12111           $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
12112               -dynamiclib ${wl}-single_module conftest.c
12113           if test -f libconftest.dylib; then
12114               lt_cv_apple_cc_single_mod=yes
12115               rm libconftest.dylib
12116           fi
12117           rm conftest.$ac_ext
12118         fi
12119 fi
12120
12121         output_verbose_link_cmd=echo
12122         if test "X$lt_cv_apple_cc_single_mod" = Xyes ; then
12123           archive_cmds_FC='$CC -dynamiclib $single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
12124           archive_expsym_cmds_FC='sed "s,^,_," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $single_module -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
12125         else
12126           archive_cmds_FC='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
12127           archive_expsym_cmds_FC='sed "s,^,_," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
12128         fi
12129         module_cmds_FC='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
12130         module_expsym_cmds_FC='sed -e "s,^,_," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag  -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
12131       else
12132         case $cc_basename in
12133         xlc*)
12134           output_verbose_link_cmd=echo
12135           archive_cmds_FC='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`$ECHO $rpath/$soname` $verstring'
12136           module_cmds_FC='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
12137           # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
12138           archive_expsym_cmds_FC='sed "s,^,_," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
12139           module_expsym_cmds_FC='sed "s,^,_," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag  -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
12140           ;;
12141         *)
12142           ld_shlibs_FC=no
12143           ;;
12144         esac
12145       fi
12146       ;;
12147
12148     dgux*)
12149       archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12150       hardcode_libdir_flag_spec_FC='-L$libdir'
12151       hardcode_shlibpath_var_FC=no
12152       ;;
12153
12154     freebsd1*)
12155       ld_shlibs_FC=no
12156       ;;
12157
12158     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
12159     # support.  Future versions do this automatically, but an explicit c++rt0.o
12160     # does not break anything, and helps significantly (at the cost of a little
12161     # extra space).
12162     freebsd2.2*)
12163       archive_cmds_FC='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
12164       hardcode_libdir_flag_spec_FC='-R$libdir'
12165       hardcode_direct_FC=yes
12166       hardcode_shlibpath_var_FC=no
12167       ;;
12168
12169     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
12170     freebsd2*)
12171       archive_cmds_FC='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
12172       hardcode_direct_FC=yes
12173       hardcode_minus_L_FC=yes
12174       hardcode_shlibpath_var_FC=no
12175       ;;
12176
12177     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
12178     freebsd* | dragonfly*)
12179       archive_cmds_FC='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
12180       hardcode_libdir_flag_spec_FC='-R$libdir'
12181       hardcode_direct_FC=yes
12182       hardcode_shlibpath_var_FC=no
12183       ;;
12184
12185     hpux9*)
12186       if test "$GCC" = yes; then
12187         archive_cmds_FC='$RM $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
12188       else
12189         archive_cmds_FC='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
12190       fi
12191       hardcode_libdir_flag_spec_FC='${wl}+b ${wl}$libdir'
12192       hardcode_libdir_separator_FC=:
12193       hardcode_direct_FC=yes
12194
12195       # hardcode_minus_L: Not really in the search PATH,
12196       # but as the default location of the library.
12197       hardcode_minus_L_FC=yes
12198       export_dynamic_flag_spec_FC='${wl}-E'
12199       ;;
12200
12201     hpux10*)
12202       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
12203         archive_cmds_FC='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
12204       else
12205         archive_cmds_FC='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
12206       fi
12207       if test "$with_gnu_ld" = no; then
12208         hardcode_libdir_flag_spec_FC='${wl}+b ${wl}$libdir'
12209         hardcode_libdir_flag_spec_ld_FC='+b $libdir'
12210         hardcode_libdir_separator_FC=:
12211         hardcode_direct_FC=yes
12212         hardcode_direct_absolute_FC=yes
12213         export_dynamic_flag_spec_FC='${wl}-E'
12214         # hardcode_minus_L: Not really in the search PATH,
12215         # but as the default location of the library.
12216         hardcode_minus_L_FC=yes
12217       fi
12218       ;;
12219
12220     hpux11*)
12221       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
12222         case $host_cpu in
12223         hppa*64*)
12224           archive_cmds_FC='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
12225           ;;
12226         ia64*)
12227           archive_cmds_FC='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
12228           ;;
12229         *)
12230           archive_cmds_FC='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
12231           ;;
12232         esac
12233       else
12234         case $host_cpu in
12235         hppa*64*)
12236           archive_cmds_FC='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
12237           ;;
12238         ia64*)
12239           archive_cmds_FC='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
12240           ;;
12241         *)
12242           archive_cmds_FC='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
12243           ;;
12244         esac
12245       fi
12246       if test "$with_gnu_ld" = no; then
12247         hardcode_libdir_flag_spec_FC='${wl}+b ${wl}$libdir'
12248         hardcode_libdir_separator_FC=:
12249
12250         case $host_cpu in
12251         hppa*64*|ia64*)
12252           hardcode_direct_FC=no
12253           hardcode_shlibpath_var_FC=no
12254           ;;
12255         *)
12256           hardcode_direct_FC=yes
12257           hardcode_direct_absolute_FC=yes
12258           export_dynamic_flag_spec_FC='${wl}-E'
12259
12260           # hardcode_minus_L: Not really in the search PATH,
12261           # but as the default location of the library.
12262           hardcode_minus_L_FC=yes
12263           ;;
12264         esac
12265       fi
12266       ;;
12267
12268     irix5* | irix6* | nonstopux*)
12269       if test "$GCC" = yes; then
12270         archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
12271         # Try to use the -exported_symbol ld option, if it does not
12272         # work, assume that -exports_file does not work either and
12273         # implicitly export all symbols.
12274         save_LDFLAGS="$LDFLAGS"
12275         LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
12276         if test x$gcc_no_link = xyes; then
12277   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12278 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12279    { (exit 1); exit 1; }; }
12280 fi
12281 cat >conftest.$ac_ext <<_ACEOF
12282 int foo(void) {}
12283 _ACEOF
12284 rm -f conftest.$ac_objext conftest$ac_exeext
12285 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12286   (eval $ac_link) 2>conftest.er1
12287   ac_status=$?
12288   grep -v '^ *+' conftest.er1 >conftest.err
12289   rm -f conftest.er1
12290   cat conftest.err >&5
12291   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12292   (exit $ac_status); } &&
12293          { ac_try='test -z "$ac_fc_werror_flag"
12294                          || test ! -s conftest.err'
12295   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12296   (eval $ac_try) 2>&5
12297   ac_status=$?
12298   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12299   (exit $ac_status); }; } &&
12300          { ac_try='test -s conftest$ac_exeext'
12301   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12302   (eval $ac_try) 2>&5
12303   ac_status=$?
12304   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12305   (exit $ac_status); }; }; then
12306   archive_expsym_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
12307
12308 else
12309   echo "$as_me: failed program was:" >&5
12310 sed 's/^/| /' conftest.$ac_ext >&5
12311
12312 fi
12313 rm -f conftest.err conftest.$ac_objext \
12314       conftest$ac_exeext conftest.$ac_ext
12315         LDFLAGS="$save_LDFLAGS"
12316       else
12317         archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
12318         archive_expsym_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
12319       fi
12320       archive_cmds_need_lc_FC='no'
12321       hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir'
12322       hardcode_libdir_separator_FC=:
12323       inherit_rpath_FC=yes
12324       link_all_deplibs_FC=yes
12325       ;;
12326
12327     netbsd*)
12328       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
12329         archive_cmds_FC='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
12330       else
12331         archive_cmds_FC='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
12332       fi
12333       hardcode_libdir_flag_spec_FC='-R$libdir'
12334       hardcode_direct_FC=yes
12335       hardcode_shlibpath_var_FC=no
12336       ;;
12337
12338     newsos6)
12339       archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12340       hardcode_direct_FC=yes
12341       hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir'
12342       hardcode_libdir_separator_FC=:
12343       hardcode_shlibpath_var_FC=no
12344       ;;
12345
12346     *nto* | *qnx*)
12347       ;;
12348
12349     openbsd*)
12350       hardcode_direct_FC=yes
12351       hardcode_shlibpath_var_FC=no
12352       hardcode_direct_absolute_FC=yes
12353       if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12354         archive_cmds_FC='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
12355         archive_expsym_cmds_FC='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
12356         hardcode_libdir_flag_spec_FC='${wl}-rpath,$libdir'
12357         export_dynamic_flag_spec_FC='${wl}-E'
12358       else
12359         case $host_os in
12360         openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
12361           archive_cmds_FC='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
12362           hardcode_libdir_flag_spec_FC='-R$libdir'
12363           ;;
12364         *)
12365           archive_cmds_FC='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
12366           hardcode_libdir_flag_spec_FC='${wl}-rpath,$libdir'
12367           ;;
12368         esac
12369       fi
12370       ;;
12371
12372     os2*)
12373       hardcode_libdir_flag_spec_FC='-L$libdir'
12374       hardcode_minus_L_FC=yes
12375       allow_undefined_flag_FC=unsupported
12376       archive_cmds_FC='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$ECHO DATA >> $output_objdir/$libname.def~$ECHO " SINGLE NONSHARED" >> $output_objdir/$libname.def~$ECHO EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
12377       old_archive_from_new_cmds_FC='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
12378       ;;
12379
12380     osf3*)
12381       if test "$GCC" = yes; then
12382         allow_undefined_flag_FC=' ${wl}-expect_unresolved ${wl}\*'
12383         archive_cmds_FC='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
12384       else
12385         allow_undefined_flag_FC=' -expect_unresolved \*'
12386         archive_cmds_FC='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
12387       fi
12388       archive_cmds_need_lc_FC='no'
12389       hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir'
12390       hardcode_libdir_separator_FC=:
12391       ;;
12392
12393     osf4* | osf5*)      # as osf3* with the addition of -msym flag
12394       if test "$GCC" = yes; then
12395         allow_undefined_flag_FC=' ${wl}-expect_unresolved ${wl}\*'
12396         archive_cmds_FC='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
12397         hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir'
12398       else
12399         allow_undefined_flag_FC=' -expect_unresolved \*'
12400         archive_cmds_FC='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
12401         archive_expsym_cmds_FC='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; printf "%s\\n" "-hidden">> $lib.exp~
12402         $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
12403
12404         # Both c and cxx compiler support -rpath directly
12405         hardcode_libdir_flag_spec_FC='-rpath $libdir'
12406       fi
12407       archive_cmds_need_lc_FC='no'
12408       hardcode_libdir_separator_FC=:
12409       ;;
12410
12411     solaris*)
12412       no_undefined_flag_FC=' -z defs'
12413       if test "$GCC" = yes; then
12414         wlarc='${wl}'
12415         archive_cmds_FC='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
12416         archive_expsym_cmds_FC='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12417           $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
12418       else
12419         case `$CC -V 2>&1` in
12420         *"Compilers 5.0"*)
12421           wlarc=''
12422           archive_cmds_FC='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
12423           archive_expsym_cmds_FC='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12424           $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
12425           ;;
12426         *)
12427           wlarc='${wl}'
12428           archive_cmds_FC='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
12429           archive_expsym_cmds_FC='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12430           $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
12431           ;;
12432         esac
12433       fi
12434       hardcode_libdir_flag_spec_FC='-R$libdir'
12435       hardcode_shlibpath_var_FC=no
12436       case $host_os in
12437       solaris2.[0-5] | solaris2.[0-5].*) ;;
12438       *)
12439         # The compiler driver will combine and reorder linker options,
12440         # but understands `-z linker_flag'.  GCC discards it without `$wl',
12441         # but is careful enough not to reorder.
12442         # Supported since Solaris 2.6 (maybe 2.5.1?)
12443         if test "$GCC" = yes; then
12444           whole_archive_flag_spec_FC='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
12445         else
12446           whole_archive_flag_spec_FC='-z allextract$convenience -z defaultextract'
12447         fi
12448         ;;
12449       esac
12450       link_all_deplibs_FC=yes
12451       ;;
12452
12453     sunos4*)
12454       if test "x$host_vendor" = xsequent; then
12455         # Use $CC to link under sequent, because it throws in some extra .o
12456         # files that make .init and .fini sections work.
12457         archive_cmds_FC='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
12458       else
12459         archive_cmds_FC='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
12460       fi
12461       hardcode_libdir_flag_spec_FC='-L$libdir'
12462       hardcode_direct_FC=yes
12463       hardcode_minus_L_FC=yes
12464       hardcode_shlibpath_var_FC=no
12465       ;;
12466
12467     sysv4)
12468       case $host_vendor in
12469         sni)
12470           archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12471           hardcode_direct_FC=yes # is this really true???
12472         ;;
12473         siemens)
12474           ## LD is ld it makes a PLAMLIB
12475           ## CC just makes a GrossModule.
12476           archive_cmds_FC='$LD -G -o $lib $libobjs $deplibs $linker_flags'
12477           reload_cmds_FC='$CC -r -o $output$reload_objs'
12478           hardcode_direct_FC=no
12479         ;;
12480         motorola)
12481           archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12482           hardcode_direct_FC=no #Motorola manual says yes, but my tests say they lie
12483         ;;
12484       esac
12485       runpath_var='LD_RUN_PATH'
12486       hardcode_shlibpath_var_FC=no
12487       ;;
12488
12489     sysv4.3*)
12490       archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12491       hardcode_shlibpath_var_FC=no
12492       export_dynamic_flag_spec_FC='-Bexport'
12493       ;;
12494
12495     sysv4*MP*)
12496       if test -d /usr/nec; then
12497         archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12498         hardcode_shlibpath_var_FC=no
12499         runpath_var=LD_RUN_PATH
12500         hardcode_runpath_var=yes
12501         ld_shlibs_FC=yes
12502       fi
12503       ;;
12504
12505     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
12506       no_undefined_flag_FC='${wl}-z,text'
12507       archive_cmds_need_lc_FC=no
12508       hardcode_shlibpath_var_FC=no
12509       runpath_var='LD_RUN_PATH'
12510
12511       if test "$GCC" = yes; then
12512         archive_cmds_FC='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12513         archive_expsym_cmds_FC='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12514       else
12515         archive_cmds_FC='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12516         archive_expsym_cmds_FC='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12517       fi
12518       ;;
12519
12520     sysv5* | sco3.2v5* | sco5v6*)
12521       # Note: We can NOT use -z defs as we might desire, because we do not
12522       # link with -lc, and that would cause any symbols used from libc to
12523       # always be unresolved, which means just about no library would
12524       # ever link correctly.  If we're not using GNU ld we use -z text
12525       # though, which does catch some bad symbols but isn't as heavy-handed
12526       # as -z defs.
12527       no_undefined_flag_FC='${wl}-z,text'
12528       allow_undefined_flag_FC='${wl}-z,nodefs'
12529       archive_cmds_need_lc_FC=no
12530       hardcode_shlibpath_var_FC=no
12531       hardcode_libdir_flag_spec_FC='${wl}-R,$libdir'
12532       hardcode_libdir_separator_FC=':'
12533       link_all_deplibs_FC=yes
12534       export_dynamic_flag_spec_FC='${wl}-Bexport'
12535       runpath_var='LD_RUN_PATH'
12536
12537       if test "$GCC" = yes; then
12538         archive_cmds_FC='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12539         archive_expsym_cmds_FC='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12540       else
12541         archive_cmds_FC='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12542         archive_expsym_cmds_FC='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12543       fi
12544       ;;
12545
12546     uts4*)
12547       archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12548       hardcode_libdir_flag_spec_FC='-L$libdir'
12549       hardcode_shlibpath_var_FC=no
12550       ;;
12551
12552     *)
12553       ld_shlibs_FC=no
12554       ;;
12555     esac
12556
12557     if test x$host_vendor = xsni; then
12558       case $host in
12559       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
12560         export_dynamic_flag_spec_FC='${wl}-Blargedynsym'
12561         ;;
12562       esac
12563     fi
12564   fi
12565
12566 echo "$as_me:$LINENO: result: $ld_shlibs_FC" >&5
12567 echo "${ECHO_T}$ld_shlibs_FC" >&6
12568 test "$ld_shlibs_FC" = no && can_build_shared=no
12569
12570 with_gnu_ld_FC=$with_gnu_ld
12571
12572
12573
12574
12575
12576
12577 #
12578 # Do we need to explicitly link libc?
12579 #
12580 case "x$archive_cmds_need_lc_FC" in
12581 x|xyes)
12582   # Assume -lc should be added
12583   archive_cmds_need_lc_FC=yes
12584
12585   if test "$enable_shared" = yes && test "$GCC" = yes; then
12586     case $archive_cmds_FC in
12587     *'~'*)
12588       # FIXME: we may have to deal with multi-command sequences.
12589       ;;
12590     '$CC '*)
12591       # Test whether the compiler implicitly links with -lc since on some
12592       # systems, -lgcc has to come before -lc. If gcc already passes -lc
12593       # to ld, don't add -lc before -lgcc.
12594       echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
12595 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
12596       $RM conftest*
12597       echo "$lt_simple_compile_test_code" > conftest.$ac_ext
12598
12599       if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12600   (eval $ac_compile) 2>&5
12601   ac_status=$?
12602   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12603   (exit $ac_status); } 2>conftest.err; then
12604         soname=conftest
12605         lib=conftest
12606         libobjs=conftest.$ac_objext
12607         deplibs=
12608         wl=$lt_prog_compiler_wl_FC
12609         pic_flag=$lt_prog_compiler_pic_FC
12610         compiler_flags=-v
12611         linker_flags=-v
12612         verstring=
12613         output_objdir=.
12614         libname=conftest
12615         lt_save_allow_undefined_flag=$allow_undefined_flag_FC
12616         allow_undefined_flag_FC=
12617         if { (eval echo "$as_me:$LINENO: \"$archive_cmds_FC 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
12618   (eval $archive_cmds_FC 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
12619   ac_status=$?
12620   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12621   (exit $ac_status); }
12622         then
12623           archive_cmds_need_lc_FC=no
12624         else
12625           archive_cmds_need_lc_FC=yes
12626         fi
12627         allow_undefined_flag_FC=$lt_save_allow_undefined_flag
12628       else
12629         cat conftest.err 1>&5
12630       fi
12631       $RM conftest*
12632       echo "$as_me:$LINENO: result: $archive_cmds_need_lc_FC" >&5
12633 echo "${ECHO_T}$archive_cmds_need_lc_FC" >&6
12634       ;;
12635     esac
12636   fi
12637   ;;
12638 esac
12639
12640
12641
12642
12643
12644
12645
12646
12647
12648
12649
12650
12651
12652
12653
12654
12655
12656
12657
12658
12659
12660
12661
12662
12663
12664
12665
12666
12667
12668
12669
12670
12671
12672
12673
12674
12675
12676
12677
12678
12679
12680
12681
12682
12683
12684
12685
12686
12687
12688
12689
12690
12691
12692
12693
12694
12695
12696
12697
12698
12699
12700
12701
12702
12703     echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
12704 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
12705 withGCC=$ac_cv_fc_compiler_gnu
12706 library_names_spec=
12707 libname_spec='lib$name'
12708 soname_spec=
12709 shrext_cmds=".so"
12710 postinstall_cmds=
12711 postuninstall_cmds=
12712 finish_cmds=
12713 finish_eval=
12714 shlibpath_var=
12715 shlibpath_overrides_runpath=unknown
12716 version_type=none
12717 dynamic_linker="$host_os ld.so"
12718 sys_lib_dlsearch_path_spec="/lib /usr/lib"
12719 need_lib_prefix=unknown
12720 hardcode_into_libs=no
12721
12722 # when you set need_version to no, make sure it does not cause -set_version
12723 # flags to be left without arguments
12724 need_version=unknown
12725
12726 case $host_os in
12727 aix3*)
12728   version_type=linux
12729   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
12730   shlibpath_var=LIBPATH
12731
12732   # AIX 3 has no versioning support, so we append a major version to the name.
12733   soname_spec='${libname}${release}${shared_ext}$major'
12734   ;;
12735
12736 aix[4-9]*)
12737   version_type=linux
12738   need_lib_prefix=no
12739   need_version=no
12740   hardcode_into_libs=yes
12741   if test "$host_cpu" = ia64; then
12742     # AIX 5 supports IA64
12743     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
12744     shlibpath_var=LD_LIBRARY_PATH
12745   else
12746     # With GCC up to 2.95.x, collect2 would create an import file
12747     # for dependence libraries.  The import file would start with
12748     # the line `#! .'.  This would cause the generated library to
12749     # depend on `.', always an invalid library.  This was fixed in
12750     # development snapshots of GCC prior to 3.0.
12751     case $host_os in
12752       aix4 | aix4.[01] | aix4.[01].*)
12753       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
12754            echo ' yes '
12755            echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
12756         :
12757       else
12758         can_build_shared=no
12759       fi
12760       ;;
12761     esac
12762     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
12763     # soname into executable. Probably we can add versioning support to
12764     # collect2, so additional links can be useful in future.
12765     if test "$aix_use_runtimelinking" = yes; then
12766       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
12767       # instead of lib<name>.a to let people know that these are not
12768       # typical AIX shared libraries.
12769       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12770     else
12771       # We preserve .a as extension for shared libraries through AIX4.2
12772       # and later when we are not doing run time linking.
12773       library_names_spec='${libname}${release}.a $libname.a'
12774       soname_spec='${libname}${release}${shared_ext}$major'
12775     fi
12776     shlibpath_var=LIBPATH
12777   fi
12778   ;;
12779
12780 amigaos*)
12781   if test "$host_cpu" = m68k; then
12782     library_names_spec='$libname.ixlibrary $libname.a'
12783     # Create ${libname}_ixlibrary.a entries in /sys/libs.
12784     finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$ECHO "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
12785   else
12786     dynamic_linker=no
12787   fi
12788   ;;
12789
12790 beos*)
12791   library_names_spec='${libname}${shared_ext}'
12792   dynamic_linker="$host_os ld.so"
12793   shlibpath_var=LIBRARY_PATH
12794   ;;
12795
12796 bsdi[45]*)
12797   version_type=linux
12798   need_version=no
12799   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12800   soname_spec='${libname}${release}${shared_ext}$major'
12801   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
12802   shlibpath_var=LD_LIBRARY_PATH
12803   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
12804   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
12805   # the default ld.so.conf also contains /usr/contrib/lib and
12806   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
12807   # libtool to hard-code these into programs
12808   ;;
12809
12810 cygwin* | mingw* | pw32*)
12811   version_type=windows
12812   shrext_cmds=".dll"
12813   need_version=no
12814   need_lib_prefix=no
12815
12816   case $withGCC,$host_os in
12817   yes,cygwin* | yes,mingw* | yes,pw32*)
12818     library_names_spec='$libname.dll.a'
12819     # DLL is installed to $(libdir)/../bin by postinstall_cmds
12820     postinstall_cmds='base_file=`basename \${file}`~
12821       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
12822       dldir=$destdir/`dirname \$dlpath`~
12823       test -d \$dldir || mkdir -p \$dldir~
12824       $install_prog $dir/$dlname \$dldir/$dlname~
12825       chmod a+x \$dldir/$dlname~
12826       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
12827         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
12828       fi'
12829     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
12830       dlpath=$dir/\$dldll~
12831        $RM \$dlpath'
12832     shlibpath_overrides_runpath=yes
12833
12834     case $host_os in
12835     cygwin*)
12836       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
12837       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
12838       sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
12839       ;;
12840     mingw*)
12841       # MinGW DLLs use traditional 'lib' prefix
12842       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
12843       sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
12844       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
12845         # It is most probably a Windows format PATH printed by
12846         # mingw gcc, but we are running on Cygwin. Gcc prints its search
12847         # path with ; separators, and with drive letters. We can handle the
12848         # drive letters (cygwin fileutils understands them), so leave them,
12849         # especially as we might pass files found there to a mingw objdump,
12850         # which wouldn't understand a cygwinified path. Ahh.
12851         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
12852       else
12853         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
12854       fi
12855       ;;
12856     pw32*)
12857       # pw32 DLLs use 'pw' prefix rather than 'lib'
12858       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
12859       ;;
12860     esac
12861     ;;
12862
12863   *)
12864     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
12865     ;;
12866   esac
12867   dynamic_linker='Win32 ld.exe'
12868   # FIXME: first we should search . and the directory the executable is in
12869   shlibpath_var=PATH
12870   ;;
12871
12872 darwin* | rhapsody*)
12873   dynamic_linker="$host_os dyld"
12874   version_type=darwin
12875   need_lib_prefix=no
12876   need_version=no
12877   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
12878   soname_spec='${libname}${release}${major}$shared_ext'
12879   shlibpath_overrides_runpath=yes
12880   shlibpath_var=DYLD_LIBRARY_PATH
12881   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
12882
12883   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
12884   ;;
12885
12886 dgux*)
12887   version_type=linux
12888   need_lib_prefix=no
12889   need_version=no
12890   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
12891   soname_spec='${libname}${release}${shared_ext}$major'
12892   shlibpath_var=LD_LIBRARY_PATH
12893   ;;
12894
12895 freebsd1*)
12896   dynamic_linker=no
12897   ;;
12898
12899 freebsd* | dragonfly*)
12900   # DragonFly does not have aout.  When/if they implement a new
12901   # versioning mechanism, adjust this.
12902   if test -x /usr/bin/objformat; then
12903     objformat=`/usr/bin/objformat`
12904   else
12905     case $host_os in
12906     freebsd[123]*) objformat=aout ;;
12907     *) objformat=elf ;;
12908     esac
12909   fi
12910   version_type=freebsd-$objformat
12911   case $version_type in
12912     freebsd-elf*)
12913       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
12914       need_version=no
12915       need_lib_prefix=no
12916       ;;
12917     freebsd-*)
12918       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
12919       need_version=yes
12920       ;;
12921   esac
12922   shlibpath_var=LD_LIBRARY_PATH
12923   case $host_os in
12924   freebsd2*)
12925     shlibpath_overrides_runpath=yes
12926     ;;
12927   freebsd3.[01]* | freebsdelf3.[01]*)
12928     shlibpath_overrides_runpath=yes
12929     hardcode_into_libs=yes
12930     ;;
12931   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
12932   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
12933     shlibpath_overrides_runpath=no
12934     hardcode_into_libs=yes
12935     ;;
12936   *) # from 4.6 on, and DragonFly
12937     shlibpath_overrides_runpath=yes
12938     hardcode_into_libs=yes
12939     ;;
12940   esac
12941   ;;
12942
12943 gnu*)
12944   version_type=linux
12945   need_lib_prefix=no
12946   need_version=no
12947   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
12948   soname_spec='${libname}${release}${shared_ext}$major'
12949   shlibpath_var=LD_LIBRARY_PATH
12950   hardcode_into_libs=yes
12951   ;;
12952
12953 hpux9* | hpux10* | hpux11*)
12954   # Give a soname corresponding to the major version so that dld.sl refuses to
12955   # link against other versions.
12956   version_type=sunos
12957   need_lib_prefix=no
12958   need_version=no
12959   case $host_cpu in
12960   ia64*)
12961     shrext_cmds='.so'
12962     hardcode_into_libs=yes
12963     dynamic_linker="$host_os dld.so"
12964     shlibpath_var=LD_LIBRARY_PATH
12965     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
12966     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12967     soname_spec='${libname}${release}${shared_ext}$major'
12968     if test "X$HPUX_IA64_MODE" = X32; then
12969       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
12970     else
12971       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
12972     fi
12973     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
12974     ;;
12975   hppa*64*)
12976     shrext_cmds='.sl'
12977     hardcode_into_libs=yes
12978     dynamic_linker="$host_os dld.sl"
12979     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
12980     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
12981     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12982     soname_spec='${libname}${release}${shared_ext}$major'
12983     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
12984     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
12985     ;;
12986   *)
12987     shrext_cmds='.sl'
12988     dynamic_linker="$host_os dld.sl"
12989     shlibpath_var=SHLIB_PATH
12990     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
12991     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12992     soname_spec='${libname}${release}${shared_ext}$major'
12993     ;;
12994   esac
12995   # HP-UX runs *really* slowly unless shared libraries are mode 555.
12996   postinstall_cmds='chmod 555 $lib'
12997   ;;
12998
12999 interix[3-9]*)
13000   version_type=linux
13001   need_lib_prefix=no
13002   need_version=no
13003   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13004   soname_spec='${libname}${release}${shared_ext}$major'
13005   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
13006   shlibpath_var=LD_LIBRARY_PATH
13007   shlibpath_overrides_runpath=no
13008   hardcode_into_libs=yes
13009   ;;
13010
13011 irix5* | irix6* | nonstopux*)
13012   case $host_os in
13013     nonstopux*) version_type=nonstopux ;;
13014     *)
13015         if test "$lt_cv_prog_gnu_ld" = yes; then
13016                 version_type=linux
13017         else
13018                 version_type=irix
13019         fi ;;
13020   esac
13021   need_lib_prefix=no
13022   need_version=no
13023   soname_spec='${libname}${release}${shared_ext}$major'
13024   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
13025   case $host_os in
13026   irix5* | nonstopux*)
13027     libsuff= shlibsuff=
13028     ;;
13029   *)
13030     case $LD in # libtool.m4 will add one of these switches to LD
13031     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
13032       libsuff= shlibsuff= libmagic=32-bit;;
13033     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
13034       libsuff=32 shlibsuff=N32 libmagic=N32;;
13035     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
13036       libsuff=64 shlibsuff=64 libmagic=64-bit;;
13037     *) libsuff= shlibsuff= libmagic=never-match;;
13038     esac
13039     ;;
13040   esac
13041   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
13042   shlibpath_overrides_runpath=no
13043   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
13044   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
13045   hardcode_into_libs=yes
13046   ;;
13047
13048 # No shared lib support for Linux oldld, aout, or coff.
13049 linux*oldld* | linux*aout* | linux*coff*)
13050   dynamic_linker=no
13051   ;;
13052
13053 # This must be Linux ELF.
13054 linux* | k*bsd*-gnu)
13055   version_type=linux
13056   need_lib_prefix=no
13057   need_version=no
13058   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13059   soname_spec='${libname}${release}${shared_ext}$major'
13060   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
13061   shlibpath_var=LD_LIBRARY_PATH
13062   shlibpath_overrides_runpath=no
13063   # Some binutils ld are patched to set DT_RUNPATH
13064   save_LDFLAGS=$LDFLAGS
13065   save_libdir=$libdir
13066   eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_FC\"; \
13067        LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_FC\""
13068   if test x$gcc_no_link = xyes; then
13069   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13070 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13071    { (exit 1); exit 1; }; }
13072 fi
13073 cat >conftest.$ac_ext <<_ACEOF
13074       program main
13075
13076       end
13077 _ACEOF
13078 rm -f conftest.$ac_objext conftest$ac_exeext
13079 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13080   (eval $ac_link) 2>conftest.er1
13081   ac_status=$?
13082   grep -v '^ *+' conftest.er1 >conftest.err
13083   rm -f conftest.er1
13084   cat conftest.err >&5
13085   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13086   (exit $ac_status); } &&
13087          { ac_try='test -z "$ac_fc_werror_flag"
13088                          || test ! -s conftest.err'
13089   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13090   (eval $ac_try) 2>&5
13091   ac_status=$?
13092   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13093   (exit $ac_status); }; } &&
13094          { ac_try='test -s conftest$ac_exeext'
13095   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13096   (eval $ac_try) 2>&5
13097   ac_status=$?
13098   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13099   (exit $ac_status); }; }; then
13100   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir"; then
13101   shlibpath_overrides_runpath=yes
13102 fi
13103
13104 else
13105   echo "$as_me: failed program was:" >&5
13106 sed 's/^/| /' conftest.$ac_ext >&5
13107
13108 fi
13109 rm -f conftest.err conftest.$ac_objext \
13110       conftest$ac_exeext conftest.$ac_ext
13111   LDFLAGS=$save_LDFLAGS
13112   libdir=$save_libdir
13113
13114   # This implies no fast_install, which is unacceptable.
13115   # Some rework will be needed to allow for fast_install
13116   # before this can be enabled.
13117   hardcode_into_libs=yes
13118
13119   # Append ld.so.conf contents to the search path
13120   if test -f /etc/ld.so.conf; then
13121     lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:,    ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
13122     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
13123   fi
13124
13125   # We used to test for /lib/ld.so.1 and disable shared libraries on
13126   # powerpc, because MkLinux only supported shared libraries with the
13127   # GNU dynamic linker.  Since this was broken with cross compilers,
13128   # most powerpc-linux boxes support dynamic linking these days and
13129   # people can always --disable-shared, the test was removed, and we
13130   # assume the GNU/Linux dynamic linker is in use.
13131   dynamic_linker='GNU/Linux ld.so'
13132   ;;
13133
13134 netbsd*)
13135   version_type=sunos
13136   need_lib_prefix=no
13137   need_version=no
13138   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
13139     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13140     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13141     dynamic_linker='NetBSD (a.out) ld.so'
13142   else
13143     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13144     soname_spec='${libname}${release}${shared_ext}$major'
13145     dynamic_linker='NetBSD ld.elf_so'
13146   fi
13147   shlibpath_var=LD_LIBRARY_PATH
13148   shlibpath_overrides_runpath=yes
13149   hardcode_into_libs=yes
13150   ;;
13151
13152 newsos6)
13153   version_type=linux
13154   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13155   shlibpath_var=LD_LIBRARY_PATH
13156   shlibpath_overrides_runpath=yes
13157   ;;
13158
13159 *nto* | *qnx*)
13160   version_type=qnx
13161   need_lib_prefix=no
13162   need_version=no
13163   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13164   soname_spec='${libname}${release}${shared_ext}$major'
13165   shlibpath_var=LD_LIBRARY_PATH
13166   shlibpath_overrides_runpath=no
13167   hardcode_into_libs=yes
13168   dynamic_linker='ldqnx.so'
13169   ;;
13170
13171 openbsd*)
13172   version_type=sunos
13173   sys_lib_dlsearch_path_spec="/usr/lib"
13174   need_lib_prefix=no
13175   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
13176   case $host_os in
13177     openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
13178     *)                          need_version=no  ;;
13179   esac
13180   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13181   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13182   shlibpath_var=LD_LIBRARY_PATH
13183   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13184     case $host_os in
13185       openbsd2.[89] | openbsd2.[89].*)
13186         shlibpath_overrides_runpath=no
13187         ;;
13188       *)
13189         shlibpath_overrides_runpath=yes
13190         ;;
13191       esac
13192   else
13193     shlibpath_overrides_runpath=yes
13194   fi
13195   ;;
13196
13197 os2*)
13198   libname_spec='$name'
13199   shrext_cmds=".dll"
13200   need_lib_prefix=no
13201   library_names_spec='$libname${shared_ext} $libname.a'
13202   dynamic_linker='OS/2 ld.exe'
13203   shlibpath_var=LIBPATH
13204   ;;
13205
13206 osf3* | osf4* | osf5*)
13207   version_type=osf
13208   need_lib_prefix=no
13209   need_version=no
13210   soname_spec='${libname}${release}${shared_ext}$major'
13211   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13212   shlibpath_var=LD_LIBRARY_PATH
13213   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
13214   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
13215   ;;
13216
13217 rdos*)
13218   dynamic_linker=no
13219   ;;
13220
13221 solaris*)
13222   version_type=linux
13223   need_lib_prefix=no
13224   need_version=no
13225   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13226   soname_spec='${libname}${release}${shared_ext}$major'
13227   shlibpath_var=LD_LIBRARY_PATH
13228   shlibpath_overrides_runpath=yes
13229   hardcode_into_libs=yes
13230   # ldd complains unless libraries are executable
13231   postinstall_cmds='chmod +x $lib'
13232   ;;
13233
13234 sunos4*)
13235   version_type=sunos
13236   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13237   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
13238   shlibpath_var=LD_LIBRARY_PATH
13239   shlibpath_overrides_runpath=yes
13240   if test "$with_gnu_ld" = yes; then
13241     need_lib_prefix=no
13242   fi
13243   need_version=yes
13244   ;;
13245
13246 sysv4 | sysv4.3*)
13247   version_type=linux
13248   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13249   soname_spec='${libname}${release}${shared_ext}$major'
13250   shlibpath_var=LD_LIBRARY_PATH
13251   case $host_vendor in
13252     sni)
13253       shlibpath_overrides_runpath=no
13254       need_lib_prefix=no
13255       runpath_var=LD_RUN_PATH
13256       ;;
13257     siemens)
13258       need_lib_prefix=no
13259       ;;
13260     motorola)
13261       need_lib_prefix=no
13262       need_version=no
13263       shlibpath_overrides_runpath=no
13264       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
13265       ;;
13266   esac
13267   ;;
13268
13269 sysv4*MP*)
13270   if test -d /usr/nec ;then
13271     version_type=linux
13272     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
13273     soname_spec='$libname${shared_ext}.$major'
13274     shlibpath_var=LD_LIBRARY_PATH
13275   fi
13276   ;;
13277
13278 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
13279   version_type=freebsd-elf
13280   need_lib_prefix=no
13281   need_version=no
13282   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
13283   soname_spec='${libname}${release}${shared_ext}$major'
13284   shlibpath_var=LD_LIBRARY_PATH
13285   shlibpath_overrides_runpath=yes
13286   hardcode_into_libs=yes
13287   if test "$with_gnu_ld" = yes; then
13288     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
13289   else
13290     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
13291     case $host_os in
13292       sco3.2v5*)
13293         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
13294         ;;
13295     esac
13296   fi
13297   sys_lib_dlsearch_path_spec='/usr/lib'
13298   ;;
13299
13300 tpf*)
13301   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
13302   version_type=linux
13303   need_lib_prefix=no
13304   need_version=no
13305   library_name_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13306   shlibpath_var=LD_LIBRARY_PATH
13307   shlibpath_overrides_runpath=no
13308   hardcode_into_libs=yes
13309   ;;
13310
13311 uts4*)
13312   version_type=linux
13313   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13314   soname_spec='${libname}${release}${shared_ext}$major'
13315   shlibpath_var=LD_LIBRARY_PATH
13316   ;;
13317
13318 *)
13319   dynamic_linker=no
13320   ;;
13321 esac
13322 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
13323 echo "${ECHO_T}$dynamic_linker" >&6
13324 test "$dynamic_linker" = no && can_build_shared=no
13325
13326 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
13327 if test "$GCC" = yes; then
13328   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
13329 fi
13330
13331
13332
13333
13334
13335
13336
13337
13338
13339
13340
13341
13342
13343
13344
13345
13346
13347
13348
13349
13350
13351
13352
13353
13354
13355
13356
13357
13358
13359
13360
13361
13362
13363
13364
13365
13366     echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
13367 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
13368 hardcode_action_FC=
13369 if test -n "$hardcode_libdir_flag_spec_FC" ||
13370    test -n "$runpath_var_FC" ||
13371    test "X$hardcode_automatic_FC" = "Xyes" ; then
13372
13373   # We can hardcode non-existent directories.
13374   if test "$hardcode_direct_FC" != no &&
13375      # If the only mechanism to avoid hardcoding is shlibpath_var, we
13376      # have to relink, otherwise we might link with an installed library
13377      # when we should be linking with a yet-to-be-installed one
13378      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, FC)" != no &&
13379      test "$hardcode_minus_L_FC" != no; then
13380     # Linking always hardcodes the temporary library directory.
13381     hardcode_action_FC=relink
13382   else
13383     # We can link without hardcoding, and we can hardcode nonexisting dirs.
13384     hardcode_action_FC=immediate
13385   fi
13386 else
13387   # We cannot hardcode anything, or else we can only hardcode existing
13388   # directories.
13389   hardcode_action_FC=unsupported
13390 fi
13391 echo "$as_me:$LINENO: result: $hardcode_action_FC" >&5
13392 echo "${ECHO_T}$hardcode_action_FC" >&6
13393
13394 if test "$hardcode_action_FC" = relink ||
13395    test "$inherit_rpath_FC" = yes; then
13396   # Fast installation is not supported
13397   enable_fast_install=no
13398 elif test "$shlibpath_overrides_runpath" = yes ||
13399      test "$enable_shared" = no; then
13400   # Fast installation is not necessary
13401   enable_fast_install=needless
13402 fi
13403
13404
13405
13406
13407
13408
13409
13410   fi # test -n "$compiler"
13411
13412   CC="$lt_save_CC"
13413 fi # test "$_lt_disable_FC" != yes
13414
13415 ac_ext=c
13416 ac_cpp='$CPP $CPPFLAGS'
13417 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13418 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13419 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13420
13421
13422
13423 # extra LD Flags which are required for targets
13424 case "${host}" in
13425   *-darwin*)
13426     # Darwin needs -single_module when linking libgfortran
13427     extra_ldflags_libgfortran=-Wl,-single_module
13428     ;;
13429 esac
13430
13431
13432 # We need a working compiler at that point, otherwise give a clear
13433 # error message and bail out.
13434
13435 echo "$as_me:$LINENO: checking whether the GNU Fortran compiler is working" >&5
13436 echo $ECHO_N "checking whether the GNU Fortran compiler is working... $ECHO_C" >&6
13437 ac_ext=${FC_SRCEXT-f}
13438 ac_compile='$FC -c $FCFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext >&5'
13439 ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext $LIBS >&5'
13440 ac_compiler_gnu=$ac_cv_fc_compiler_gnu
13441
13442 cat >conftest.$ac_ext <<_ACEOF
13443
13444       program foo
13445       real, parameter :: bar = sin (12.34 / 2.5)
13446       end program foo
13447 _ACEOF
13448 rm -f conftest.$ac_objext
13449 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13450   (eval $ac_compile) 2>conftest.er1
13451   ac_status=$?
13452   grep -v '^ *+' conftest.er1 >conftest.err
13453   rm -f conftest.er1
13454   cat conftest.err >&5
13455   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13456   (exit $ac_status); } &&
13457          { ac_try='test -z "$ac_fc_werror_flag"
13458                          || test ! -s conftest.err'
13459   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13460   (eval $ac_try) 2>&5
13461   ac_status=$?
13462   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13463   (exit $ac_status); }; } &&
13464          { ac_try='test -s conftest.$ac_objext'
13465   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13466   (eval $ac_try) 2>&5
13467   ac_status=$?
13468   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13469   (exit $ac_status); }; }; then
13470   echo "$as_me:$LINENO: result: yes" >&5
13471 echo "${ECHO_T}yes" >&6
13472 else
13473   echo "$as_me: failed program was:" >&5
13474 sed 's/^/| /' conftest.$ac_ext >&5
13475
13476 echo "$as_me:$LINENO: result: no" >&5
13477 echo "${ECHO_T}no" >&6
13478      { { echo "$as_me:$LINENO: error: GNU Fortran is not working; please report a bug in http://gcc.gnu.org/bugzilla, attaching $PWD/config.log" >&5
13479 echo "$as_me: error: GNU Fortran is not working; please report a bug in http://gcc.gnu.org/bugzilla, attaching $PWD/config.log" >&2;}
13480    { (exit 1); exit 1; }; }
13481
13482 fi
13483 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13484 ac_ext=c
13485 ac_cpp='$CPP $CPPFLAGS'
13486 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13487 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13488 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13489
13490
13491
13492 # Check whether --enable-largefile or --disable-largefile was given.
13493 if test "${enable_largefile+set}" = set; then
13494   enableval="$enable_largefile"
13495
13496 fi;
13497 if test "$enable_largefile" != no; then
13498
13499   echo "$as_me:$LINENO: checking for special C compiler options needed for large files" >&5
13500 echo $ECHO_N "checking for special C compiler options needed for large files... $ECHO_C" >&6
13501 if test "${ac_cv_sys_largefile_CC+set}" = set; then
13502   echo $ECHO_N "(cached) $ECHO_C" >&6
13503 else
13504   ac_cv_sys_largefile_CC=no
13505      if test "$GCC" != yes; then
13506        ac_save_CC=$CC
13507        while :; do
13508          # IRIX 6.2 and later do not support large files by default,
13509          # so use the C compiler's -n32 option if that helps.
13510          cat >conftest.$ac_ext <<_ACEOF
13511 /* confdefs.h.  */
13512 _ACEOF
13513 cat confdefs.h >>conftest.$ac_ext
13514 cat >>conftest.$ac_ext <<_ACEOF
13515 /* end confdefs.h.  */
13516 #include <sys/types.h>
13517  /* Check that off_t can represent 2**63 - 1 correctly.
13518     We can't simply define LARGE_OFF_T to be 9223372036854775807,
13519     since some C++ compilers masquerading as C compilers
13520     incorrectly reject 9223372036854775807.  */
13521 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
13522   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
13523                        && LARGE_OFF_T % 2147483647 == 1)
13524                       ? 1 : -1];
13525 int
13526 main ()
13527 {
13528
13529   ;
13530   return 0;
13531 }
13532 _ACEOF
13533          rm -f conftest.$ac_objext
13534 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13535   (eval $ac_compile) 2>conftest.er1
13536   ac_status=$?
13537   grep -v '^ *+' conftest.er1 >conftest.err
13538   rm -f conftest.er1
13539   cat conftest.err >&5
13540   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13541   (exit $ac_status); } &&
13542          { ac_try='test -z "$ac_c_werror_flag"
13543                          || test ! -s conftest.err'
13544   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13545   (eval $ac_try) 2>&5
13546   ac_status=$?
13547   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13548   (exit $ac_status); }; } &&
13549          { ac_try='test -s conftest.$ac_objext'
13550   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13551   (eval $ac_try) 2>&5
13552   ac_status=$?
13553   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13554   (exit $ac_status); }; }; then
13555   break
13556 else
13557   echo "$as_me: failed program was:" >&5
13558 sed 's/^/| /' conftest.$ac_ext >&5
13559
13560 fi
13561 rm -f conftest.err conftest.$ac_objext
13562          CC="$CC -n32"
13563          rm -f conftest.$ac_objext
13564 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13565   (eval $ac_compile) 2>conftest.er1
13566   ac_status=$?
13567   grep -v '^ *+' conftest.er1 >conftest.err
13568   rm -f conftest.er1
13569   cat conftest.err >&5
13570   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13571   (exit $ac_status); } &&
13572          { ac_try='test -z "$ac_c_werror_flag"
13573                          || test ! -s conftest.err'
13574   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13575   (eval $ac_try) 2>&5
13576   ac_status=$?
13577   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13578   (exit $ac_status); }; } &&
13579          { ac_try='test -s conftest.$ac_objext'
13580   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13581   (eval $ac_try) 2>&5
13582   ac_status=$?
13583   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13584   (exit $ac_status); }; }; then
13585   ac_cv_sys_largefile_CC=' -n32'; break
13586 else
13587   echo "$as_me: failed program was:" >&5
13588 sed 's/^/| /' conftest.$ac_ext >&5
13589
13590 fi
13591 rm -f conftest.err conftest.$ac_objext
13592          break
13593        done
13594        CC=$ac_save_CC
13595        rm -f conftest.$ac_ext
13596     fi
13597 fi
13598 echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_CC" >&5
13599 echo "${ECHO_T}$ac_cv_sys_largefile_CC" >&6
13600   if test "$ac_cv_sys_largefile_CC" != no; then
13601     CC=$CC$ac_cv_sys_largefile_CC
13602   fi
13603
13604   echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
13605 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
13606 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
13607   echo $ECHO_N "(cached) $ECHO_C" >&6
13608 else
13609   while :; do
13610   ac_cv_sys_file_offset_bits=no
13611   cat >conftest.$ac_ext <<_ACEOF
13612 /* confdefs.h.  */
13613 _ACEOF
13614 cat confdefs.h >>conftest.$ac_ext
13615 cat >>conftest.$ac_ext <<_ACEOF
13616 /* end confdefs.h.  */
13617 #include <sys/types.h>
13618  /* Check that off_t can represent 2**63 - 1 correctly.
13619     We can't simply define LARGE_OFF_T to be 9223372036854775807,
13620     since some C++ compilers masquerading as C compilers
13621     incorrectly reject 9223372036854775807.  */
13622 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
13623   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
13624                        && LARGE_OFF_T % 2147483647 == 1)
13625                       ? 1 : -1];
13626 int
13627 main ()
13628 {
13629
13630   ;
13631   return 0;
13632 }
13633 _ACEOF
13634 rm -f conftest.$ac_objext
13635 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13636   (eval $ac_compile) 2>conftest.er1
13637   ac_status=$?
13638   grep -v '^ *+' conftest.er1 >conftest.err
13639   rm -f conftest.er1
13640   cat conftest.err >&5
13641   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13642   (exit $ac_status); } &&
13643          { ac_try='test -z "$ac_c_werror_flag"
13644                          || test ! -s conftest.err'
13645   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13646   (eval $ac_try) 2>&5
13647   ac_status=$?
13648   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13649   (exit $ac_status); }; } &&
13650          { ac_try='test -s conftest.$ac_objext'
13651   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13652   (eval $ac_try) 2>&5
13653   ac_status=$?
13654   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13655   (exit $ac_status); }; }; then
13656   break
13657 else
13658   echo "$as_me: failed program was:" >&5
13659 sed 's/^/| /' conftest.$ac_ext >&5
13660
13661 fi
13662 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13663   cat >conftest.$ac_ext <<_ACEOF
13664 /* confdefs.h.  */
13665 _ACEOF
13666 cat confdefs.h >>conftest.$ac_ext
13667 cat >>conftest.$ac_ext <<_ACEOF
13668 /* end confdefs.h.  */
13669 #define _FILE_OFFSET_BITS 64
13670 #include <sys/types.h>
13671  /* Check that off_t can represent 2**63 - 1 correctly.
13672     We can't simply define LARGE_OFF_T to be 9223372036854775807,
13673     since some C++ compilers masquerading as C compilers
13674     incorrectly reject 9223372036854775807.  */
13675 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
13676   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
13677                        && LARGE_OFF_T % 2147483647 == 1)
13678                       ? 1 : -1];
13679 int
13680 main ()
13681 {
13682
13683   ;
13684   return 0;
13685 }
13686 _ACEOF
13687 rm -f conftest.$ac_objext
13688 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13689   (eval $ac_compile) 2>conftest.er1
13690   ac_status=$?
13691   grep -v '^ *+' conftest.er1 >conftest.err
13692   rm -f conftest.er1
13693   cat conftest.err >&5
13694   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13695   (exit $ac_status); } &&
13696          { ac_try='test -z "$ac_c_werror_flag"
13697                          || test ! -s conftest.err'
13698   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13699   (eval $ac_try) 2>&5
13700   ac_status=$?
13701   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13702   (exit $ac_status); }; } &&
13703          { ac_try='test -s conftest.$ac_objext'
13704   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13705   (eval $ac_try) 2>&5
13706   ac_status=$?
13707   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13708   (exit $ac_status); }; }; then
13709   ac_cv_sys_file_offset_bits=64; break
13710 else
13711   echo "$as_me: failed program was:" >&5
13712 sed 's/^/| /' conftest.$ac_ext >&5
13713
13714 fi
13715 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13716   break
13717 done
13718 fi
13719 echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
13720 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
13721 if test "$ac_cv_sys_file_offset_bits" != no; then
13722
13723 cat >>confdefs.h <<_ACEOF
13724 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
13725 _ACEOF
13726
13727 fi
13728 rm -f conftest*
13729   echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
13730 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
13731 if test "${ac_cv_sys_large_files+set}" = set; then
13732   echo $ECHO_N "(cached) $ECHO_C" >&6
13733 else
13734   while :; do
13735   ac_cv_sys_large_files=no
13736   cat >conftest.$ac_ext <<_ACEOF
13737 /* confdefs.h.  */
13738 _ACEOF
13739 cat confdefs.h >>conftest.$ac_ext
13740 cat >>conftest.$ac_ext <<_ACEOF
13741 /* end confdefs.h.  */
13742 #include <sys/types.h>
13743  /* Check that off_t can represent 2**63 - 1 correctly.
13744     We can't simply define LARGE_OFF_T to be 9223372036854775807,
13745     since some C++ compilers masquerading as C compilers
13746     incorrectly reject 9223372036854775807.  */
13747 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
13748   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
13749                        && LARGE_OFF_T % 2147483647 == 1)
13750                       ? 1 : -1];
13751 int
13752 main ()
13753 {
13754
13755   ;
13756   return 0;
13757 }
13758 _ACEOF
13759 rm -f conftest.$ac_objext
13760 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13761   (eval $ac_compile) 2>conftest.er1
13762   ac_status=$?
13763   grep -v '^ *+' conftest.er1 >conftest.err
13764   rm -f conftest.er1
13765   cat conftest.err >&5
13766   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13767   (exit $ac_status); } &&
13768          { ac_try='test -z "$ac_c_werror_flag"
13769                          || test ! -s conftest.err'
13770   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13771   (eval $ac_try) 2>&5
13772   ac_status=$?
13773   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13774   (exit $ac_status); }; } &&
13775          { ac_try='test -s conftest.$ac_objext'
13776   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13777   (eval $ac_try) 2>&5
13778   ac_status=$?
13779   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13780   (exit $ac_status); }; }; then
13781   break
13782 else
13783   echo "$as_me: failed program was:" >&5
13784 sed 's/^/| /' conftest.$ac_ext >&5
13785
13786 fi
13787 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13788   cat >conftest.$ac_ext <<_ACEOF
13789 /* confdefs.h.  */
13790 _ACEOF
13791 cat confdefs.h >>conftest.$ac_ext
13792 cat >>conftest.$ac_ext <<_ACEOF
13793 /* end confdefs.h.  */
13794 #define _LARGE_FILES 1
13795 #include <sys/types.h>
13796  /* Check that off_t can represent 2**63 - 1 correctly.
13797     We can't simply define LARGE_OFF_T to be 9223372036854775807,
13798     since some C++ compilers masquerading as C compilers
13799     incorrectly reject 9223372036854775807.  */
13800 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
13801   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
13802                        && LARGE_OFF_T % 2147483647 == 1)
13803                       ? 1 : -1];
13804 int
13805 main ()
13806 {
13807
13808   ;
13809   return 0;
13810 }
13811 _ACEOF
13812 rm -f conftest.$ac_objext
13813 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13814   (eval $ac_compile) 2>conftest.er1
13815   ac_status=$?
13816   grep -v '^ *+' conftest.er1 >conftest.err
13817   rm -f conftest.er1
13818   cat conftest.err >&5
13819   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13820   (exit $ac_status); } &&
13821          { ac_try='test -z "$ac_c_werror_flag"
13822                          || test ! -s conftest.err'
13823   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13824   (eval $ac_try) 2>&5
13825   ac_status=$?
13826   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13827   (exit $ac_status); }; } &&
13828          { ac_try='test -s conftest.$ac_objext'
13829   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13830   (eval $ac_try) 2>&5
13831   ac_status=$?
13832   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13833   (exit $ac_status); }; }; then
13834   ac_cv_sys_large_files=1; break
13835 else
13836   echo "$as_me: failed program was:" >&5
13837 sed 's/^/| /' conftest.$ac_ext >&5
13838
13839 fi
13840 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13841   break
13842 done
13843 fi
13844 echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
13845 echo "${ECHO_T}$ac_cv_sys_large_files" >&6
13846 if test "$ac_cv_sys_large_files" != no; then
13847
13848 cat >>confdefs.h <<_ACEOF
13849 #define _LARGE_FILES $ac_cv_sys_large_files
13850 _ACEOF
13851
13852 fi
13853 rm -f conftest*
13854 fi
13855
13856 echo "$as_me:$LINENO: checking for off_t" >&5
13857 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
13858 if test "${ac_cv_type_off_t+set}" = set; then
13859   echo $ECHO_N "(cached) $ECHO_C" >&6
13860 else
13861   cat >conftest.$ac_ext <<_ACEOF
13862 /* confdefs.h.  */
13863 _ACEOF
13864 cat confdefs.h >>conftest.$ac_ext
13865 cat >>conftest.$ac_ext <<_ACEOF
13866 /* end confdefs.h.  */
13867 $ac_includes_default
13868 int
13869 main ()
13870 {
13871 if ((off_t *) 0)
13872   return 0;
13873 if (sizeof (off_t))
13874   return 0;
13875   ;
13876   return 0;
13877 }
13878 _ACEOF
13879 rm -f conftest.$ac_objext
13880 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13881   (eval $ac_compile) 2>conftest.er1
13882   ac_status=$?
13883   grep -v '^ *+' conftest.er1 >conftest.err
13884   rm -f conftest.er1
13885   cat conftest.err >&5
13886   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13887   (exit $ac_status); } &&
13888          { ac_try='test -z "$ac_c_werror_flag"
13889                          || test ! -s conftest.err'
13890   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13891   (eval $ac_try) 2>&5
13892   ac_status=$?
13893   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13894   (exit $ac_status); }; } &&
13895          { ac_try='test -s conftest.$ac_objext'
13896   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13897   (eval $ac_try) 2>&5
13898   ac_status=$?
13899   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13900   (exit $ac_status); }; }; then
13901   ac_cv_type_off_t=yes
13902 else
13903   echo "$as_me: failed program was:" >&5
13904 sed 's/^/| /' conftest.$ac_ext >&5
13905
13906 ac_cv_type_off_t=no
13907 fi
13908 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13909 fi
13910 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
13911 echo "${ECHO_T}$ac_cv_type_off_t" >&6
13912 if test $ac_cv_type_off_t = yes; then
13913   :
13914 else
13915
13916 cat >>confdefs.h <<_ACEOF
13917 #define off_t long
13918 _ACEOF
13919
13920 fi
13921
13922
13923 # check header files
13924 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
13925 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
13926 if test "${ac_cv_header_stdc+set}" = set; then
13927   echo $ECHO_N "(cached) $ECHO_C" >&6
13928 else
13929   cat >conftest.$ac_ext <<_ACEOF
13930 /* confdefs.h.  */
13931 _ACEOF
13932 cat confdefs.h >>conftest.$ac_ext
13933 cat >>conftest.$ac_ext <<_ACEOF
13934 /* end confdefs.h.  */
13935 #include <stdlib.h>
13936 #include <stdarg.h>
13937 #include <string.h>
13938 #include <float.h>
13939
13940 int
13941 main ()
13942 {
13943
13944   ;
13945   return 0;
13946 }
13947 _ACEOF
13948 rm -f conftest.$ac_objext
13949 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13950   (eval $ac_compile) 2>conftest.er1
13951   ac_status=$?
13952   grep -v '^ *+' conftest.er1 >conftest.err
13953   rm -f conftest.er1
13954   cat conftest.err >&5
13955   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13956   (exit $ac_status); } &&
13957          { ac_try='test -z "$ac_c_werror_flag"
13958                          || test ! -s conftest.err'
13959   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13960   (eval $ac_try) 2>&5
13961   ac_status=$?
13962   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13963   (exit $ac_status); }; } &&
13964          { ac_try='test -s conftest.$ac_objext'
13965   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13966   (eval $ac_try) 2>&5
13967   ac_status=$?
13968   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13969   (exit $ac_status); }; }; then
13970   ac_cv_header_stdc=yes
13971 else
13972   echo "$as_me: failed program was:" >&5
13973 sed 's/^/| /' conftest.$ac_ext >&5
13974
13975 ac_cv_header_stdc=no
13976 fi
13977 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13978
13979 if test $ac_cv_header_stdc = yes; then
13980   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
13981   cat >conftest.$ac_ext <<_ACEOF
13982 /* confdefs.h.  */
13983 _ACEOF
13984 cat confdefs.h >>conftest.$ac_ext
13985 cat >>conftest.$ac_ext <<_ACEOF
13986 /* end confdefs.h.  */
13987 #include <string.h>
13988
13989 _ACEOF
13990 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13991   $EGREP "memchr" >/dev/null 2>&1; then
13992   :
13993 else
13994   ac_cv_header_stdc=no
13995 fi
13996 rm -f conftest*
13997
13998 fi
13999
14000 if test $ac_cv_header_stdc = yes; then
14001   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
14002   cat >conftest.$ac_ext <<_ACEOF
14003 /* confdefs.h.  */
14004 _ACEOF
14005 cat confdefs.h >>conftest.$ac_ext
14006 cat >>conftest.$ac_ext <<_ACEOF
14007 /* end confdefs.h.  */
14008 #include <stdlib.h>
14009
14010 _ACEOF
14011 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14012   $EGREP "free" >/dev/null 2>&1; then
14013   :
14014 else
14015   ac_cv_header_stdc=no
14016 fi
14017 rm -f conftest*
14018
14019 fi
14020
14021 if test $ac_cv_header_stdc = yes; then
14022   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
14023   if test "$cross_compiling" = yes; then
14024   :
14025 else
14026   cat >conftest.$ac_ext <<_ACEOF
14027 /* confdefs.h.  */
14028 _ACEOF
14029 cat confdefs.h >>conftest.$ac_ext
14030 cat >>conftest.$ac_ext <<_ACEOF
14031 /* end confdefs.h.  */
14032 #include <ctype.h>
14033 #if ((' ' & 0x0FF) == 0x020)
14034 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
14035 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
14036 #else
14037 # define ISLOWER(c) \
14038                    (('a' <= (c) && (c) <= 'i') \
14039                      || ('j' <= (c) && (c) <= 'r') \
14040                      || ('s' <= (c) && (c) <= 'z'))
14041 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
14042 #endif
14043
14044 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
14045 int
14046 main ()
14047 {
14048   int i;
14049   for (i = 0; i < 256; i++)
14050     if (XOR (islower (i), ISLOWER (i))
14051         || toupper (i) != TOUPPER (i))
14052       exit(2);
14053   exit (0);
14054 }
14055 _ACEOF
14056 rm -f conftest$ac_exeext
14057 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14058   (eval $ac_link) 2>&5
14059   ac_status=$?
14060   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14061   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
14062   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14063   (eval $ac_try) 2>&5
14064   ac_status=$?
14065   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14066   (exit $ac_status); }; }; then
14067   :
14068 else
14069   echo "$as_me: program exited with status $ac_status" >&5
14070 echo "$as_me: failed program was:" >&5
14071 sed 's/^/| /' conftest.$ac_ext >&5
14072
14073 ( exit $ac_status )
14074 ac_cv_header_stdc=no
14075 fi
14076 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
14077 fi
14078 fi
14079 fi
14080 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
14081 echo "${ECHO_T}$ac_cv_header_stdc" >&6
14082 if test $ac_cv_header_stdc = yes; then
14083
14084 cat >>confdefs.h <<\_ACEOF
14085 #define STDC_HEADERS 1
14086 _ACEOF
14087
14088 fi
14089
14090 echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
14091 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
14092 if test "${ac_cv_header_time+set}" = set; then
14093   echo $ECHO_N "(cached) $ECHO_C" >&6
14094 else
14095   cat >conftest.$ac_ext <<_ACEOF
14096 /* confdefs.h.  */
14097 _ACEOF
14098 cat confdefs.h >>conftest.$ac_ext
14099 cat >>conftest.$ac_ext <<_ACEOF
14100 /* end confdefs.h.  */
14101 #include <sys/types.h>
14102 #include <sys/time.h>
14103 #include <time.h>
14104
14105 int
14106 main ()
14107 {
14108 if ((struct tm *) 0)
14109 return 0;
14110   ;
14111   return 0;
14112 }
14113 _ACEOF
14114 rm -f conftest.$ac_objext
14115 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14116   (eval $ac_compile) 2>conftest.er1
14117   ac_status=$?
14118   grep -v '^ *+' conftest.er1 >conftest.err
14119   rm -f conftest.er1
14120   cat conftest.err >&5
14121   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14122   (exit $ac_status); } &&
14123          { ac_try='test -z "$ac_c_werror_flag"
14124                          || test ! -s conftest.err'
14125   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14126   (eval $ac_try) 2>&5
14127   ac_status=$?
14128   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14129   (exit $ac_status); }; } &&
14130          { ac_try='test -s conftest.$ac_objext'
14131   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14132   (eval $ac_try) 2>&5
14133   ac_status=$?
14134   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14135   (exit $ac_status); }; }; then
14136   ac_cv_header_time=yes
14137 else
14138   echo "$as_me: failed program was:" >&5
14139 sed 's/^/| /' conftest.$ac_ext >&5
14140
14141 ac_cv_header_time=no
14142 fi
14143 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14144 fi
14145 echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
14146 echo "${ECHO_T}$ac_cv_header_time" >&6
14147 if test $ac_cv_header_time = yes; then
14148
14149 cat >>confdefs.h <<\_ACEOF
14150 #define TIME_WITH_SYS_TIME 1
14151 _ACEOF
14152
14153 fi
14154
14155
14156
14157
14158
14159
14160
14161 for ac_header in stdio.h stdlib.h string.h unistd.h signal.h stdarg.h
14162 do
14163 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14164 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14165   echo "$as_me:$LINENO: checking for $ac_header" >&5
14166 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14167 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14168   echo $ECHO_N "(cached) $ECHO_C" >&6
14169 fi
14170 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14171 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14172 else
14173   # Is the header compilable?
14174 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14175 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14176 cat >conftest.$ac_ext <<_ACEOF
14177 /* confdefs.h.  */
14178 _ACEOF
14179 cat confdefs.h >>conftest.$ac_ext
14180 cat >>conftest.$ac_ext <<_ACEOF
14181 /* end confdefs.h.  */
14182 $ac_includes_default
14183 #include <$ac_header>
14184 _ACEOF
14185 rm -f conftest.$ac_objext
14186 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14187   (eval $ac_compile) 2>conftest.er1
14188   ac_status=$?
14189   grep -v '^ *+' conftest.er1 >conftest.err
14190   rm -f conftest.er1
14191   cat conftest.err >&5
14192   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14193   (exit $ac_status); } &&
14194          { ac_try='test -z "$ac_c_werror_flag"
14195                          || test ! -s conftest.err'
14196   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14197   (eval $ac_try) 2>&5
14198   ac_status=$?
14199   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14200   (exit $ac_status); }; } &&
14201          { ac_try='test -s conftest.$ac_objext'
14202   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14203   (eval $ac_try) 2>&5
14204   ac_status=$?
14205   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14206   (exit $ac_status); }; }; then
14207   ac_header_compiler=yes
14208 else
14209   echo "$as_me: failed program was:" >&5
14210 sed 's/^/| /' conftest.$ac_ext >&5
14211
14212 ac_header_compiler=no
14213 fi
14214 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14215 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14216 echo "${ECHO_T}$ac_header_compiler" >&6
14217
14218 # Is the header present?
14219 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14220 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14221 cat >conftest.$ac_ext <<_ACEOF
14222 /* confdefs.h.  */
14223 _ACEOF
14224 cat confdefs.h >>conftest.$ac_ext
14225 cat >>conftest.$ac_ext <<_ACEOF
14226 /* end confdefs.h.  */
14227 #include <$ac_header>
14228 _ACEOF
14229 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14230   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
14231   ac_status=$?
14232   grep -v '^ *+' conftest.er1 >conftest.err
14233   rm -f conftest.er1
14234   cat conftest.err >&5
14235   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14236   (exit $ac_status); } >/dev/null; then
14237   if test -s conftest.err; then
14238     ac_cpp_err=$ac_c_preproc_warn_flag
14239     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
14240   else
14241     ac_cpp_err=
14242   fi
14243 else
14244   ac_cpp_err=yes
14245 fi
14246 if test -z "$ac_cpp_err"; then
14247   ac_header_preproc=yes
14248 else
14249   echo "$as_me: failed program was:" >&5
14250 sed 's/^/| /' conftest.$ac_ext >&5
14251
14252   ac_header_preproc=no
14253 fi
14254 rm -f conftest.err conftest.$ac_ext
14255 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14256 echo "${ECHO_T}$ac_header_preproc" >&6
14257
14258 # So?  What about this header?
14259 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14260   yes:no: )
14261     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14262 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14263     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14264 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14265     ac_header_preproc=yes
14266     ;;
14267   no:yes:* )
14268     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14269 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14270     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
14271 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
14272     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14273 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14274     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
14275 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
14276     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14277 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14278     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14279 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14280     (
14281       cat <<\_ASBOX
14282 ## ------------------------------------------------------ ##
14283 ## Report this to the GNU Fortran Runtime Library lists.  ##
14284 ## ------------------------------------------------------ ##
14285 _ASBOX
14286     ) |
14287       sed "s/^/$as_me: WARNING:     /" >&2
14288     ;;
14289 esac
14290 echo "$as_me:$LINENO: checking for $ac_header" >&5
14291 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14292 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14293   echo $ECHO_N "(cached) $ECHO_C" >&6
14294 else
14295   eval "$as_ac_Header=\$ac_header_preproc"
14296 fi
14297 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14298 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14299
14300 fi
14301 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14302   cat >>confdefs.h <<_ACEOF
14303 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14304 _ACEOF
14305
14306 fi
14307
14308 done
14309
14310
14311
14312
14313
14314 for ac_header in time.h sys/time.h sys/times.h sys/resource.h
14315 do
14316 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14317 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14318   echo "$as_me:$LINENO: checking for $ac_header" >&5
14319 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14320 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14321   echo $ECHO_N "(cached) $ECHO_C" >&6
14322 fi
14323 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14324 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14325 else
14326   # Is the header compilable?
14327 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14328 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14329 cat >conftest.$ac_ext <<_ACEOF
14330 /* confdefs.h.  */
14331 _ACEOF
14332 cat confdefs.h >>conftest.$ac_ext
14333 cat >>conftest.$ac_ext <<_ACEOF
14334 /* end confdefs.h.  */
14335 $ac_includes_default
14336 #include <$ac_header>
14337 _ACEOF
14338 rm -f conftest.$ac_objext
14339 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14340   (eval $ac_compile) 2>conftest.er1
14341   ac_status=$?
14342   grep -v '^ *+' conftest.er1 >conftest.err
14343   rm -f conftest.er1
14344   cat conftest.err >&5
14345   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14346   (exit $ac_status); } &&
14347          { ac_try='test -z "$ac_c_werror_flag"
14348                          || test ! -s conftest.err'
14349   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14350   (eval $ac_try) 2>&5
14351   ac_status=$?
14352   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14353   (exit $ac_status); }; } &&
14354          { ac_try='test -s conftest.$ac_objext'
14355   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14356   (eval $ac_try) 2>&5
14357   ac_status=$?
14358   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14359   (exit $ac_status); }; }; then
14360   ac_header_compiler=yes
14361 else
14362   echo "$as_me: failed program was:" >&5
14363 sed 's/^/| /' conftest.$ac_ext >&5
14364
14365 ac_header_compiler=no
14366 fi
14367 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14368 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14369 echo "${ECHO_T}$ac_header_compiler" >&6
14370
14371 # Is the header present?
14372 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14373 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14374 cat >conftest.$ac_ext <<_ACEOF
14375 /* confdefs.h.  */
14376 _ACEOF
14377 cat confdefs.h >>conftest.$ac_ext
14378 cat >>conftest.$ac_ext <<_ACEOF
14379 /* end confdefs.h.  */
14380 #include <$ac_header>
14381 _ACEOF
14382 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14383   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
14384   ac_status=$?
14385   grep -v '^ *+' conftest.er1 >conftest.err
14386   rm -f conftest.er1
14387   cat conftest.err >&5
14388   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14389   (exit $ac_status); } >/dev/null; then
14390   if test -s conftest.err; then
14391     ac_cpp_err=$ac_c_preproc_warn_flag
14392     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
14393   else
14394     ac_cpp_err=
14395   fi
14396 else
14397   ac_cpp_err=yes
14398 fi
14399 if test -z "$ac_cpp_err"; then
14400   ac_header_preproc=yes
14401 else
14402   echo "$as_me: failed program was:" >&5
14403 sed 's/^/| /' conftest.$ac_ext >&5
14404
14405   ac_header_preproc=no
14406 fi
14407 rm -f conftest.err conftest.$ac_ext
14408 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14409 echo "${ECHO_T}$ac_header_preproc" >&6
14410
14411 # So?  What about this header?
14412 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14413   yes:no: )
14414     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14415 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14416     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14417 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14418     ac_header_preproc=yes
14419     ;;
14420   no:yes:* )
14421     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14422 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14423     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
14424 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
14425     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14426 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14427     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
14428 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
14429     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14430 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14431     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14432 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14433     (
14434       cat <<\_ASBOX
14435 ## ------------------------------------------------------ ##
14436 ## Report this to the GNU Fortran Runtime Library lists.  ##
14437 ## ------------------------------------------------------ ##
14438 _ASBOX
14439     ) |
14440       sed "s/^/$as_me: WARNING:     /" >&2
14441     ;;
14442 esac
14443 echo "$as_me:$LINENO: checking for $ac_header" >&5
14444 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14445 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14446   echo $ECHO_N "(cached) $ECHO_C" >&6
14447 else
14448   eval "$as_ac_Header=\$ac_header_preproc"
14449 fi
14450 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14451 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14452
14453 fi
14454 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14455   cat >>confdefs.h <<_ACEOF
14456 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14457 _ACEOF
14458
14459 fi
14460
14461 done
14462
14463
14464
14465
14466
14467
14468 for ac_header in sys/types.h sys/stat.h sys/wait.h floatingpoint.h ieeefp.h
14469 do
14470 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14471 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14472   echo "$as_me:$LINENO: checking for $ac_header" >&5
14473 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14474 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14475   echo $ECHO_N "(cached) $ECHO_C" >&6
14476 fi
14477 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14478 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14479 else
14480   # Is the header compilable?
14481 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14482 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14483 cat >conftest.$ac_ext <<_ACEOF
14484 /* confdefs.h.  */
14485 _ACEOF
14486 cat confdefs.h >>conftest.$ac_ext
14487 cat >>conftest.$ac_ext <<_ACEOF
14488 /* end confdefs.h.  */
14489 $ac_includes_default
14490 #include <$ac_header>
14491 _ACEOF
14492 rm -f conftest.$ac_objext
14493 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14494   (eval $ac_compile) 2>conftest.er1
14495   ac_status=$?
14496   grep -v '^ *+' conftest.er1 >conftest.err
14497   rm -f conftest.er1
14498   cat conftest.err >&5
14499   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14500   (exit $ac_status); } &&
14501          { ac_try='test -z "$ac_c_werror_flag"
14502                          || test ! -s conftest.err'
14503   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14504   (eval $ac_try) 2>&5
14505   ac_status=$?
14506   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14507   (exit $ac_status); }; } &&
14508          { ac_try='test -s conftest.$ac_objext'
14509   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14510   (eval $ac_try) 2>&5
14511   ac_status=$?
14512   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14513   (exit $ac_status); }; }; then
14514   ac_header_compiler=yes
14515 else
14516   echo "$as_me: failed program was:" >&5
14517 sed 's/^/| /' conftest.$ac_ext >&5
14518
14519 ac_header_compiler=no
14520 fi
14521 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14522 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14523 echo "${ECHO_T}$ac_header_compiler" >&6
14524
14525 # Is the header present?
14526 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14527 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14528 cat >conftest.$ac_ext <<_ACEOF
14529 /* confdefs.h.  */
14530 _ACEOF
14531 cat confdefs.h >>conftest.$ac_ext
14532 cat >>conftest.$ac_ext <<_ACEOF
14533 /* end confdefs.h.  */
14534 #include <$ac_header>
14535 _ACEOF
14536 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14537   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
14538   ac_status=$?
14539   grep -v '^ *+' conftest.er1 >conftest.err
14540   rm -f conftest.er1
14541   cat conftest.err >&5
14542   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14543   (exit $ac_status); } >/dev/null; then
14544   if test -s conftest.err; then
14545     ac_cpp_err=$ac_c_preproc_warn_flag
14546     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
14547   else
14548     ac_cpp_err=
14549   fi
14550 else
14551   ac_cpp_err=yes
14552 fi
14553 if test -z "$ac_cpp_err"; then
14554   ac_header_preproc=yes
14555 else
14556   echo "$as_me: failed program was:" >&5
14557 sed 's/^/| /' conftest.$ac_ext >&5
14558
14559   ac_header_preproc=no
14560 fi
14561 rm -f conftest.err conftest.$ac_ext
14562 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14563 echo "${ECHO_T}$ac_header_preproc" >&6
14564
14565 # So?  What about this header?
14566 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14567   yes:no: )
14568     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14569 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14570     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14571 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14572     ac_header_preproc=yes
14573     ;;
14574   no:yes:* )
14575     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14576 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14577     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
14578 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
14579     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14580 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14581     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
14582 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
14583     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14584 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14585     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14586 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14587     (
14588       cat <<\_ASBOX
14589 ## ------------------------------------------------------ ##
14590 ## Report this to the GNU Fortran Runtime Library lists.  ##
14591 ## ------------------------------------------------------ ##
14592 _ASBOX
14593     ) |
14594       sed "s/^/$as_me: WARNING:     /" >&2
14595     ;;
14596 esac
14597 echo "$as_me:$LINENO: checking for $ac_header" >&5
14598 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14599 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14600   echo $ECHO_N "(cached) $ECHO_C" >&6
14601 else
14602   eval "$as_ac_Header=\$ac_header_preproc"
14603 fi
14604 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14605 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14606
14607 fi
14608 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14609   cat >>confdefs.h <<_ACEOF
14610 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14611 _ACEOF
14612
14613 fi
14614
14615 done
14616
14617
14618
14619
14620
14621
14622 for ac_header in fenv.h fptrap.h float.h execinfo.h pwd.h
14623 do
14624 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14625 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14626   echo "$as_me:$LINENO: checking for $ac_header" >&5
14627 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14628 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14629   echo $ECHO_N "(cached) $ECHO_C" >&6
14630 fi
14631 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14632 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14633 else
14634   # Is the header compilable?
14635 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14636 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14637 cat >conftest.$ac_ext <<_ACEOF
14638 /* confdefs.h.  */
14639 _ACEOF
14640 cat confdefs.h >>conftest.$ac_ext
14641 cat >>conftest.$ac_ext <<_ACEOF
14642 /* end confdefs.h.  */
14643 $ac_includes_default
14644 #include <$ac_header>
14645 _ACEOF
14646 rm -f conftest.$ac_objext
14647 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14648   (eval $ac_compile) 2>conftest.er1
14649   ac_status=$?
14650   grep -v '^ *+' conftest.er1 >conftest.err
14651   rm -f conftest.er1
14652   cat conftest.err >&5
14653   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14654   (exit $ac_status); } &&
14655          { ac_try='test -z "$ac_c_werror_flag"
14656                          || test ! -s conftest.err'
14657   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14658   (eval $ac_try) 2>&5
14659   ac_status=$?
14660   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14661   (exit $ac_status); }; } &&
14662          { ac_try='test -s conftest.$ac_objext'
14663   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14664   (eval $ac_try) 2>&5
14665   ac_status=$?
14666   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14667   (exit $ac_status); }; }; then
14668   ac_header_compiler=yes
14669 else
14670   echo "$as_me: failed program was:" >&5
14671 sed 's/^/| /' conftest.$ac_ext >&5
14672
14673 ac_header_compiler=no
14674 fi
14675 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14676 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14677 echo "${ECHO_T}$ac_header_compiler" >&6
14678
14679 # Is the header present?
14680 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14681 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14682 cat >conftest.$ac_ext <<_ACEOF
14683 /* confdefs.h.  */
14684 _ACEOF
14685 cat confdefs.h >>conftest.$ac_ext
14686 cat >>conftest.$ac_ext <<_ACEOF
14687 /* end confdefs.h.  */
14688 #include <$ac_header>
14689 _ACEOF
14690 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14691   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
14692   ac_status=$?
14693   grep -v '^ *+' conftest.er1 >conftest.err
14694   rm -f conftest.er1
14695   cat conftest.err >&5
14696   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14697   (exit $ac_status); } >/dev/null; then
14698   if test -s conftest.err; then
14699     ac_cpp_err=$ac_c_preproc_warn_flag
14700     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
14701   else
14702     ac_cpp_err=
14703   fi
14704 else
14705   ac_cpp_err=yes
14706 fi
14707 if test -z "$ac_cpp_err"; then
14708   ac_header_preproc=yes
14709 else
14710   echo "$as_me: failed program was:" >&5
14711 sed 's/^/| /' conftest.$ac_ext >&5
14712
14713   ac_header_preproc=no
14714 fi
14715 rm -f conftest.err conftest.$ac_ext
14716 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14717 echo "${ECHO_T}$ac_header_preproc" >&6
14718
14719 # So?  What about this header?
14720 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14721   yes:no: )
14722     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14723 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14724     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14725 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14726     ac_header_preproc=yes
14727     ;;
14728   no:yes:* )
14729     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14730 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14731     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
14732 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
14733     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14734 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14735     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
14736 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
14737     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14738 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14739     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14740 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14741     (
14742       cat <<\_ASBOX
14743 ## ------------------------------------------------------ ##
14744 ## Report this to the GNU Fortran Runtime Library lists.  ##
14745 ## ------------------------------------------------------ ##
14746 _ASBOX
14747     ) |
14748       sed "s/^/$as_me: WARNING:     /" >&2
14749     ;;
14750 esac
14751 echo "$as_me:$LINENO: checking for $ac_header" >&5
14752 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14753 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14754   echo $ECHO_N "(cached) $ECHO_C" >&6
14755 else
14756   eval "$as_ac_Header=\$ac_header_preproc"
14757 fi
14758 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14759 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14760
14761 fi
14762 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14763   cat >>confdefs.h <<_ACEOF
14764 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14765 _ACEOF
14766
14767 fi
14768
14769 done
14770
14771 if test "${ac_cv_header_complex_h+set}" = set; then
14772   echo "$as_me:$LINENO: checking for complex.h" >&5
14773 echo $ECHO_N "checking for complex.h... $ECHO_C" >&6
14774 if test "${ac_cv_header_complex_h+set}" = set; then
14775   echo $ECHO_N "(cached) $ECHO_C" >&6
14776 fi
14777 echo "$as_me:$LINENO: result: $ac_cv_header_complex_h" >&5
14778 echo "${ECHO_T}$ac_cv_header_complex_h" >&6
14779 else
14780   # Is the header compilable?
14781 echo "$as_me:$LINENO: checking complex.h usability" >&5
14782 echo $ECHO_N "checking complex.h usability... $ECHO_C" >&6
14783 cat >conftest.$ac_ext <<_ACEOF
14784 /* confdefs.h.  */
14785 _ACEOF
14786 cat confdefs.h >>conftest.$ac_ext
14787 cat >>conftest.$ac_ext <<_ACEOF
14788 /* end confdefs.h.  */
14789 $ac_includes_default
14790 #include <complex.h>
14791 _ACEOF
14792 rm -f conftest.$ac_objext
14793 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14794   (eval $ac_compile) 2>conftest.er1
14795   ac_status=$?
14796   grep -v '^ *+' conftest.er1 >conftest.err
14797   rm -f conftest.er1
14798   cat conftest.err >&5
14799   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14800   (exit $ac_status); } &&
14801          { ac_try='test -z "$ac_c_werror_flag"
14802                          || test ! -s conftest.err'
14803   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14804   (eval $ac_try) 2>&5
14805   ac_status=$?
14806   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14807   (exit $ac_status); }; } &&
14808          { ac_try='test -s conftest.$ac_objext'
14809   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14810   (eval $ac_try) 2>&5
14811   ac_status=$?
14812   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14813   (exit $ac_status); }; }; then
14814   ac_header_compiler=yes
14815 else
14816   echo "$as_me: failed program was:" >&5
14817 sed 's/^/| /' conftest.$ac_ext >&5
14818
14819 ac_header_compiler=no
14820 fi
14821 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14822 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14823 echo "${ECHO_T}$ac_header_compiler" >&6
14824
14825 # Is the header present?
14826 echo "$as_me:$LINENO: checking complex.h presence" >&5
14827 echo $ECHO_N "checking complex.h presence... $ECHO_C" >&6
14828 cat >conftest.$ac_ext <<_ACEOF
14829 /* confdefs.h.  */
14830 _ACEOF
14831 cat confdefs.h >>conftest.$ac_ext
14832 cat >>conftest.$ac_ext <<_ACEOF
14833 /* end confdefs.h.  */
14834 #include <complex.h>
14835 _ACEOF
14836 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14837   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
14838   ac_status=$?
14839   grep -v '^ *+' conftest.er1 >conftest.err
14840   rm -f conftest.er1
14841   cat conftest.err >&5
14842   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14843   (exit $ac_status); } >/dev/null; then
14844   if test -s conftest.err; then
14845     ac_cpp_err=$ac_c_preproc_warn_flag
14846     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
14847   else
14848     ac_cpp_err=
14849   fi
14850 else
14851   ac_cpp_err=yes
14852 fi
14853 if test -z "$ac_cpp_err"; then
14854   ac_header_preproc=yes
14855 else
14856   echo "$as_me: failed program was:" >&5
14857 sed 's/^/| /' conftest.$ac_ext >&5
14858
14859   ac_header_preproc=no
14860 fi
14861 rm -f conftest.err conftest.$ac_ext
14862 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14863 echo "${ECHO_T}$ac_header_preproc" >&6
14864
14865 # So?  What about this header?
14866 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14867   yes:no: )
14868     { echo "$as_me:$LINENO: WARNING: complex.h: accepted by the compiler, rejected by the preprocessor!" >&5
14869 echo "$as_me: WARNING: complex.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
14870     { echo "$as_me:$LINENO: WARNING: complex.h: proceeding with the compiler's result" >&5
14871 echo "$as_me: WARNING: complex.h: proceeding with the compiler's result" >&2;}
14872     ac_header_preproc=yes
14873     ;;
14874   no:yes:* )
14875     { echo "$as_me:$LINENO: WARNING: complex.h: present but cannot be compiled" >&5
14876 echo "$as_me: WARNING: complex.h: present but cannot be compiled" >&2;}
14877     { echo "$as_me:$LINENO: WARNING: complex.h:     check for missing prerequisite headers?" >&5
14878 echo "$as_me: WARNING: complex.h:     check for missing prerequisite headers?" >&2;}
14879     { echo "$as_me:$LINENO: WARNING: complex.h: see the Autoconf documentation" >&5
14880 echo "$as_me: WARNING: complex.h: see the Autoconf documentation" >&2;}
14881     { echo "$as_me:$LINENO: WARNING: complex.h:     section \"Present But Cannot Be Compiled\"" >&5
14882 echo "$as_me: WARNING: complex.h:     section \"Present But Cannot Be Compiled\"" >&2;}
14883     { echo "$as_me:$LINENO: WARNING: complex.h: proceeding with the preprocessor's result" >&5
14884 echo "$as_me: WARNING: complex.h: proceeding with the preprocessor's result" >&2;}
14885     { echo "$as_me:$LINENO: WARNING: complex.h: in the future, the compiler will take precedence" >&5
14886 echo "$as_me: WARNING: complex.h: in the future, the compiler will take precedence" >&2;}
14887     (
14888       cat <<\_ASBOX
14889 ## ------------------------------------------------------ ##
14890 ## Report this to the GNU Fortran Runtime Library lists.  ##
14891 ## ------------------------------------------------------ ##
14892 _ASBOX
14893     ) |
14894       sed "s/^/$as_me: WARNING:     /" >&2
14895     ;;
14896 esac
14897 echo "$as_me:$LINENO: checking for complex.h" >&5
14898 echo $ECHO_N "checking for complex.h... $ECHO_C" >&6
14899 if test "${ac_cv_header_complex_h+set}" = set; then
14900   echo $ECHO_N "(cached) $ECHO_C" >&6
14901 else
14902   ac_cv_header_complex_h=$ac_header_preproc
14903 fi
14904 echo "$as_me:$LINENO: result: $ac_cv_header_complex_h" >&5
14905 echo "${ECHO_T}$ac_cv_header_complex_h" >&6
14906
14907 fi
14908 if test $ac_cv_header_complex_h = yes; then
14909
14910 cat >>confdefs.h <<\_ACEOF
14911 #define HAVE_COMPLEX_H 1
14912 _ACEOF
14913
14914 fi
14915
14916
14917
14918
14919 inttype_headers=`echo inttypes.h sys/inttypes.h  | sed -e 's/,/ /g'`
14920
14921 acx_cv_header_stdint=stddef.h
14922 acx_cv_header_stdint_kind="(already complete)"
14923 for i in stdint.h $inttype_headers; do
14924   unset ac_cv_type_uintptr_t
14925   unset ac_cv_type_uintmax_t
14926   unset ac_cv_type_int_least32_t
14927   unset ac_cv_type_int_fast32_t
14928   unset ac_cv_type_uint64_t
14929   echo $ECHO_N "looking for a compliant stdint.h in $i, $ECHO_C" >&6
14930   echo "$as_me:$LINENO: checking for uintmax_t" >&5
14931 echo $ECHO_N "checking for uintmax_t... $ECHO_C" >&6
14932 if test "${ac_cv_type_uintmax_t+set}" = set; then
14933   echo $ECHO_N "(cached) $ECHO_C" >&6
14934 else
14935   cat >conftest.$ac_ext <<_ACEOF
14936 /* confdefs.h.  */
14937 _ACEOF
14938 cat confdefs.h >>conftest.$ac_ext
14939 cat >>conftest.$ac_ext <<_ACEOF
14940 /* end confdefs.h.  */
14941 #include <sys/types.h>
14942 #include <$i>
14943
14944 int
14945 main ()
14946 {
14947 if ((uintmax_t *) 0)
14948   return 0;
14949 if (sizeof (uintmax_t))
14950   return 0;
14951   ;
14952   return 0;
14953 }
14954 _ACEOF
14955 rm -f conftest.$ac_objext
14956 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14957   (eval $ac_compile) 2>conftest.er1
14958   ac_status=$?
14959   grep -v '^ *+' conftest.er1 >conftest.err
14960   rm -f conftest.er1
14961   cat conftest.err >&5
14962   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14963   (exit $ac_status); } &&
14964          { ac_try='test -z "$ac_c_werror_flag"
14965                          || test ! -s conftest.err'
14966   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14967   (eval $ac_try) 2>&5
14968   ac_status=$?
14969   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14970   (exit $ac_status); }; } &&
14971          { ac_try='test -s conftest.$ac_objext'
14972   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14973   (eval $ac_try) 2>&5
14974   ac_status=$?
14975   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14976   (exit $ac_status); }; }; then
14977   ac_cv_type_uintmax_t=yes
14978 else
14979   echo "$as_me: failed program was:" >&5
14980 sed 's/^/| /' conftest.$ac_ext >&5
14981
14982 ac_cv_type_uintmax_t=no
14983 fi
14984 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14985 fi
14986 echo "$as_me:$LINENO: result: $ac_cv_type_uintmax_t" >&5
14987 echo "${ECHO_T}$ac_cv_type_uintmax_t" >&6
14988 if test $ac_cv_type_uintmax_t = yes; then
14989   acx_cv_header_stdint=$i
14990 else
14991   continue
14992 fi
14993
14994   echo "$as_me:$LINENO: checking for uintptr_t" >&5
14995 echo $ECHO_N "checking for uintptr_t... $ECHO_C" >&6
14996 if test "${ac_cv_type_uintptr_t+set}" = set; then
14997   echo $ECHO_N "(cached) $ECHO_C" >&6
14998 else
14999   cat >conftest.$ac_ext <<_ACEOF
15000 /* confdefs.h.  */
15001 _ACEOF
15002 cat confdefs.h >>conftest.$ac_ext
15003 cat >>conftest.$ac_ext <<_ACEOF
15004 /* end confdefs.h.  */
15005 #include <sys/types.h>
15006 #include <$i>
15007
15008 int
15009 main ()
15010 {
15011 if ((uintptr_t *) 0)
15012   return 0;
15013 if (sizeof (uintptr_t))
15014   return 0;
15015   ;
15016   return 0;
15017 }
15018 _ACEOF
15019 rm -f conftest.$ac_objext
15020 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15021   (eval $ac_compile) 2>conftest.er1
15022   ac_status=$?
15023   grep -v '^ *+' conftest.er1 >conftest.err
15024   rm -f conftest.er1
15025   cat conftest.err >&5
15026   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15027   (exit $ac_status); } &&
15028          { ac_try='test -z "$ac_c_werror_flag"
15029                          || test ! -s conftest.err'
15030   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15031   (eval $ac_try) 2>&5
15032   ac_status=$?
15033   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15034   (exit $ac_status); }; } &&
15035          { ac_try='test -s conftest.$ac_objext'
15036   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15037   (eval $ac_try) 2>&5
15038   ac_status=$?
15039   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15040   (exit $ac_status); }; }; then
15041   ac_cv_type_uintptr_t=yes
15042 else
15043   echo "$as_me: failed program was:" >&5
15044 sed 's/^/| /' conftest.$ac_ext >&5
15045
15046 ac_cv_type_uintptr_t=no
15047 fi
15048 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15049 fi
15050 echo "$as_me:$LINENO: result: $ac_cv_type_uintptr_t" >&5
15051 echo "${ECHO_T}$ac_cv_type_uintptr_t" >&6
15052 if test $ac_cv_type_uintptr_t = yes; then
15053   :
15054 else
15055   acx_cv_header_stdint_kind="(mostly complete)"
15056 fi
15057
15058   echo "$as_me:$LINENO: checking for int_least32_t" >&5
15059 echo $ECHO_N "checking for int_least32_t... $ECHO_C" >&6
15060 if test "${ac_cv_type_int_least32_t+set}" = set; then
15061   echo $ECHO_N "(cached) $ECHO_C" >&6
15062 else
15063   cat >conftest.$ac_ext <<_ACEOF
15064 /* confdefs.h.  */
15065 _ACEOF
15066 cat confdefs.h >>conftest.$ac_ext
15067 cat >>conftest.$ac_ext <<_ACEOF
15068 /* end confdefs.h.  */
15069 #include <sys/types.h>
15070 #include <$i>
15071
15072 int
15073 main ()
15074 {
15075 if ((int_least32_t *) 0)
15076   return 0;
15077 if (sizeof (int_least32_t))
15078   return 0;
15079   ;
15080   return 0;
15081 }
15082 _ACEOF
15083 rm -f conftest.$ac_objext
15084 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15085   (eval $ac_compile) 2>conftest.er1
15086   ac_status=$?
15087   grep -v '^ *+' conftest.er1 >conftest.err
15088   rm -f conftest.er1
15089   cat conftest.err >&5
15090   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15091   (exit $ac_status); } &&
15092          { ac_try='test -z "$ac_c_werror_flag"
15093                          || test ! -s conftest.err'
15094   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15095   (eval $ac_try) 2>&5
15096   ac_status=$?
15097   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15098   (exit $ac_status); }; } &&
15099          { ac_try='test -s conftest.$ac_objext'
15100   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15101   (eval $ac_try) 2>&5
15102   ac_status=$?
15103   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15104   (exit $ac_status); }; }; then
15105   ac_cv_type_int_least32_t=yes
15106 else
15107   echo "$as_me: failed program was:" >&5
15108 sed 's/^/| /' conftest.$ac_ext >&5
15109
15110 ac_cv_type_int_least32_t=no
15111 fi
15112 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15113 fi
15114 echo "$as_me:$LINENO: result: $ac_cv_type_int_least32_t" >&5
15115 echo "${ECHO_T}$ac_cv_type_int_least32_t" >&6
15116 if test $ac_cv_type_int_least32_t = yes; then
15117   :
15118 else
15119   acx_cv_header_stdint_kind="(mostly complete)"
15120 fi
15121
15122   echo "$as_me:$LINENO: checking for int_fast32_t" >&5
15123 echo $ECHO_N "checking for int_fast32_t... $ECHO_C" >&6
15124 if test "${ac_cv_type_int_fast32_t+set}" = set; then
15125   echo $ECHO_N "(cached) $ECHO_C" >&6
15126 else
15127   cat >conftest.$ac_ext <<_ACEOF
15128 /* confdefs.h.  */
15129 _ACEOF
15130 cat confdefs.h >>conftest.$ac_ext
15131 cat >>conftest.$ac_ext <<_ACEOF
15132 /* end confdefs.h.  */
15133 #include <sys/types.h>
15134 #include <$i>
15135
15136 int
15137 main ()
15138 {
15139 if ((int_fast32_t *) 0)
15140   return 0;
15141 if (sizeof (int_fast32_t))
15142   return 0;
15143   ;
15144   return 0;
15145 }
15146 _ACEOF
15147 rm -f conftest.$ac_objext
15148 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15149   (eval $ac_compile) 2>conftest.er1
15150   ac_status=$?
15151   grep -v '^ *+' conftest.er1 >conftest.err
15152   rm -f conftest.er1
15153   cat conftest.err >&5
15154   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15155   (exit $ac_status); } &&
15156          { ac_try='test -z "$ac_c_werror_flag"
15157                          || test ! -s conftest.err'
15158   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15159   (eval $ac_try) 2>&5
15160   ac_status=$?
15161   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15162   (exit $ac_status); }; } &&
15163          { ac_try='test -s conftest.$ac_objext'
15164   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15165   (eval $ac_try) 2>&5
15166   ac_status=$?
15167   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15168   (exit $ac_status); }; }; then
15169   ac_cv_type_int_fast32_t=yes
15170 else
15171   echo "$as_me: failed program was:" >&5
15172 sed 's/^/| /' conftest.$ac_ext >&5
15173
15174 ac_cv_type_int_fast32_t=no
15175 fi
15176 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15177 fi
15178 echo "$as_me:$LINENO: result: $ac_cv_type_int_fast32_t" >&5
15179 echo "${ECHO_T}$ac_cv_type_int_fast32_t" >&6
15180 if test $ac_cv_type_int_fast32_t = yes; then
15181   :
15182 else
15183   acx_cv_header_stdint_kind="(mostly complete)"
15184 fi
15185
15186   echo "$as_me:$LINENO: checking for uint64_t" >&5
15187 echo $ECHO_N "checking for uint64_t... $ECHO_C" >&6
15188 if test "${ac_cv_type_uint64_t+set}" = set; then
15189   echo $ECHO_N "(cached) $ECHO_C" >&6
15190 else
15191   cat >conftest.$ac_ext <<_ACEOF
15192 /* confdefs.h.  */
15193 _ACEOF
15194 cat confdefs.h >>conftest.$ac_ext
15195 cat >>conftest.$ac_ext <<_ACEOF
15196 /* end confdefs.h.  */
15197 #include <sys/types.h>
15198 #include <$i>
15199
15200 int
15201 main ()
15202 {
15203 if ((uint64_t *) 0)
15204   return 0;
15205 if (sizeof (uint64_t))
15206   return 0;
15207   ;
15208   return 0;
15209 }
15210 _ACEOF
15211 rm -f conftest.$ac_objext
15212 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15213   (eval $ac_compile) 2>conftest.er1
15214   ac_status=$?
15215   grep -v '^ *+' conftest.er1 >conftest.err
15216   rm -f conftest.er1
15217   cat conftest.err >&5
15218   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15219   (exit $ac_status); } &&
15220          { ac_try='test -z "$ac_c_werror_flag"
15221                          || test ! -s conftest.err'
15222   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15223   (eval $ac_try) 2>&5
15224   ac_status=$?
15225   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15226   (exit $ac_status); }; } &&
15227          { ac_try='test -s conftest.$ac_objext'
15228   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15229   (eval $ac_try) 2>&5
15230   ac_status=$?
15231   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15232   (exit $ac_status); }; }; then
15233   ac_cv_type_uint64_t=yes
15234 else
15235   echo "$as_me: failed program was:" >&5
15236 sed 's/^/| /' conftest.$ac_ext >&5
15237
15238 ac_cv_type_uint64_t=no
15239 fi
15240 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15241 fi
15242 echo "$as_me:$LINENO: result: $ac_cv_type_uint64_t" >&5
15243 echo "${ECHO_T}$ac_cv_type_uint64_t" >&6
15244 if test $ac_cv_type_uint64_t = yes; then
15245   :
15246 else
15247   acx_cv_header_stdint_kind="(lacks uint64_t)"
15248 fi
15249
15250   break
15251 done
15252 if test "$acx_cv_header_stdint" = stddef.h; then
15253   acx_cv_header_stdint_kind="(lacks uintmax_t)"
15254   for i in stdint.h $inttype_headers; do
15255     unset ac_cv_type_uintptr_t
15256     unset ac_cv_type_uint32_t
15257     unset ac_cv_type_uint64_t
15258     echo $ECHO_N "looking for an incomplete stdint.h in $i, $ECHO_C" >&6
15259     echo "$as_me:$LINENO: checking for uint32_t" >&5
15260 echo $ECHO_N "checking for uint32_t... $ECHO_C" >&6
15261 if test "${ac_cv_type_uint32_t+set}" = set; then
15262   echo $ECHO_N "(cached) $ECHO_C" >&6
15263 else
15264   cat >conftest.$ac_ext <<_ACEOF
15265 /* confdefs.h.  */
15266 _ACEOF
15267 cat confdefs.h >>conftest.$ac_ext
15268 cat >>conftest.$ac_ext <<_ACEOF
15269 /* end confdefs.h.  */
15270 #include <sys/types.h>
15271 #include <$i>
15272
15273 int
15274 main ()
15275 {
15276 if ((uint32_t *) 0)
15277   return 0;
15278 if (sizeof (uint32_t))
15279   return 0;
15280   ;
15281   return 0;
15282 }
15283 _ACEOF
15284 rm -f conftest.$ac_objext
15285 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15286   (eval $ac_compile) 2>conftest.er1
15287   ac_status=$?
15288   grep -v '^ *+' conftest.er1 >conftest.err
15289   rm -f conftest.er1
15290   cat conftest.err >&5
15291   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15292   (exit $ac_status); } &&
15293          { ac_try='test -z "$ac_c_werror_flag"
15294                          || test ! -s conftest.err'
15295   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15296   (eval $ac_try) 2>&5
15297   ac_status=$?
15298   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15299   (exit $ac_status); }; } &&
15300          { ac_try='test -s conftest.$ac_objext'
15301   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15302   (eval $ac_try) 2>&5
15303   ac_status=$?
15304   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15305   (exit $ac_status); }; }; then
15306   ac_cv_type_uint32_t=yes
15307 else
15308   echo "$as_me: failed program was:" >&5
15309 sed 's/^/| /' conftest.$ac_ext >&5
15310
15311 ac_cv_type_uint32_t=no
15312 fi
15313 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15314 fi
15315 echo "$as_me:$LINENO: result: $ac_cv_type_uint32_t" >&5
15316 echo "${ECHO_T}$ac_cv_type_uint32_t" >&6
15317 if test $ac_cv_type_uint32_t = yes; then
15318   acx_cv_header_stdint=$i
15319 else
15320   continue
15321 fi
15322
15323     echo "$as_me:$LINENO: checking for uint64_t" >&5
15324 echo $ECHO_N "checking for uint64_t... $ECHO_C" >&6
15325 if test "${ac_cv_type_uint64_t+set}" = set; then
15326   echo $ECHO_N "(cached) $ECHO_C" >&6
15327 else
15328   cat >conftest.$ac_ext <<_ACEOF
15329 /* confdefs.h.  */
15330 _ACEOF
15331 cat confdefs.h >>conftest.$ac_ext
15332 cat >>conftest.$ac_ext <<_ACEOF
15333 /* end confdefs.h.  */
15334 #include <sys/types.h>
15335 #include <$i>
15336
15337 int
15338 main ()
15339 {
15340 if ((uint64_t *) 0)
15341   return 0;
15342 if (sizeof (uint64_t))
15343   return 0;
15344   ;
15345   return 0;
15346 }
15347 _ACEOF
15348 rm -f conftest.$ac_objext
15349 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15350   (eval $ac_compile) 2>conftest.er1
15351   ac_status=$?
15352   grep -v '^ *+' conftest.er1 >conftest.err
15353   rm -f conftest.er1
15354   cat conftest.err >&5
15355   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15356   (exit $ac_status); } &&
15357          { ac_try='test -z "$ac_c_werror_flag"
15358                          || test ! -s conftest.err'
15359   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15360   (eval $ac_try) 2>&5
15361   ac_status=$?
15362   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15363   (exit $ac_status); }; } &&
15364          { ac_try='test -s conftest.$ac_objext'
15365   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15366   (eval $ac_try) 2>&5
15367   ac_status=$?
15368   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15369   (exit $ac_status); }; }; then
15370   ac_cv_type_uint64_t=yes
15371 else
15372   echo "$as_me: failed program was:" >&5
15373 sed 's/^/| /' conftest.$ac_ext >&5
15374
15375 ac_cv_type_uint64_t=no
15376 fi
15377 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15378 fi
15379 echo "$as_me:$LINENO: result: $ac_cv_type_uint64_t" >&5
15380 echo "${ECHO_T}$ac_cv_type_uint64_t" >&6
15381
15382     echo "$as_me:$LINENO: checking for uintptr_t" >&5
15383 echo $ECHO_N "checking for uintptr_t... $ECHO_C" >&6
15384 if test "${ac_cv_type_uintptr_t+set}" = set; then
15385   echo $ECHO_N "(cached) $ECHO_C" >&6
15386 else
15387   cat >conftest.$ac_ext <<_ACEOF
15388 /* confdefs.h.  */
15389 _ACEOF
15390 cat confdefs.h >>conftest.$ac_ext
15391 cat >>conftest.$ac_ext <<_ACEOF
15392 /* end confdefs.h.  */
15393 #include <sys/types.h>
15394 #include <$i>
15395
15396 int
15397 main ()
15398 {
15399 if ((uintptr_t *) 0)
15400   return 0;
15401 if (sizeof (uintptr_t))
15402   return 0;
15403   ;
15404   return 0;
15405 }
15406 _ACEOF
15407 rm -f conftest.$ac_objext
15408 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15409   (eval $ac_compile) 2>conftest.er1
15410   ac_status=$?
15411   grep -v '^ *+' conftest.er1 >conftest.err
15412   rm -f conftest.er1
15413   cat conftest.err >&5
15414   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15415   (exit $ac_status); } &&
15416          { ac_try='test -z "$ac_c_werror_flag"
15417                          || test ! -s conftest.err'
15418   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15419   (eval $ac_try) 2>&5
15420   ac_status=$?
15421   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15422   (exit $ac_status); }; } &&
15423          { ac_try='test -s conftest.$ac_objext'
15424   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15425   (eval $ac_try) 2>&5
15426   ac_status=$?
15427   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15428   (exit $ac_status); }; }; then
15429   ac_cv_type_uintptr_t=yes
15430 else
15431   echo "$as_me: failed program was:" >&5
15432 sed 's/^/| /' conftest.$ac_ext >&5
15433
15434 ac_cv_type_uintptr_t=no
15435 fi
15436 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15437 fi
15438 echo "$as_me:$LINENO: result: $ac_cv_type_uintptr_t" >&5
15439 echo "${ECHO_T}$ac_cv_type_uintptr_t" >&6
15440
15441     break
15442   done
15443 fi
15444 if test "$acx_cv_header_stdint" = stddef.h; then
15445   acx_cv_header_stdint_kind="(u_intXX_t style)"
15446   for i in sys/types.h $inttype_headers; do
15447     unset ac_cv_type_u_int32_t
15448     unset ac_cv_type_u_int64_t
15449     echo $ECHO_N "looking for u_intXX_t types in $i, $ECHO_C" >&6
15450     echo "$as_me:$LINENO: checking for u_int32_t" >&5
15451 echo $ECHO_N "checking for u_int32_t... $ECHO_C" >&6
15452 if test "${ac_cv_type_u_int32_t+set}" = set; then
15453   echo $ECHO_N "(cached) $ECHO_C" >&6
15454 else
15455   cat >conftest.$ac_ext <<_ACEOF
15456 /* confdefs.h.  */
15457 _ACEOF
15458 cat confdefs.h >>conftest.$ac_ext
15459 cat >>conftest.$ac_ext <<_ACEOF
15460 /* end confdefs.h.  */
15461 #include <sys/types.h>
15462 #include <$i>
15463
15464 int
15465 main ()
15466 {
15467 if ((u_int32_t *) 0)
15468   return 0;
15469 if (sizeof (u_int32_t))
15470   return 0;
15471   ;
15472   return 0;
15473 }
15474 _ACEOF
15475 rm -f conftest.$ac_objext
15476 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15477   (eval $ac_compile) 2>conftest.er1
15478   ac_status=$?
15479   grep -v '^ *+' conftest.er1 >conftest.err
15480   rm -f conftest.er1
15481   cat conftest.err >&5
15482   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15483   (exit $ac_status); } &&
15484          { ac_try='test -z "$ac_c_werror_flag"
15485                          || test ! -s conftest.err'
15486   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15487   (eval $ac_try) 2>&5
15488   ac_status=$?
15489   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15490   (exit $ac_status); }; } &&
15491          { ac_try='test -s conftest.$ac_objext'
15492   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15493   (eval $ac_try) 2>&5
15494   ac_status=$?
15495   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15496   (exit $ac_status); }; }; then
15497   ac_cv_type_u_int32_t=yes
15498 else
15499   echo "$as_me: failed program was:" >&5
15500 sed 's/^/| /' conftest.$ac_ext >&5
15501
15502 ac_cv_type_u_int32_t=no
15503 fi
15504 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15505 fi
15506 echo "$as_me:$LINENO: result: $ac_cv_type_u_int32_t" >&5
15507 echo "${ECHO_T}$ac_cv_type_u_int32_t" >&6
15508 if test $ac_cv_type_u_int32_t = yes; then
15509   acx_cv_header_stdint=$i
15510 else
15511   continue
15512 fi
15513
15514     echo "$as_me:$LINENO: checking for u_int64_t" >&5
15515 echo $ECHO_N "checking for u_int64_t... $ECHO_C" >&6
15516 if test "${ac_cv_type_u_int64_t+set}" = set; then
15517   echo $ECHO_N "(cached) $ECHO_C" >&6
15518 else
15519   cat >conftest.$ac_ext <<_ACEOF
15520 /* confdefs.h.  */
15521 _ACEOF
15522 cat confdefs.h >>conftest.$ac_ext
15523 cat >>conftest.$ac_ext <<_ACEOF
15524 /* end confdefs.h.  */
15525 #include <sys/types.h>
15526 #include <$i>
15527
15528 int
15529 main ()
15530 {
15531 if ((u_int64_t *) 0)
15532   return 0;
15533 if (sizeof (u_int64_t))
15534   return 0;
15535   ;
15536   return 0;
15537 }
15538 _ACEOF
15539 rm -f conftest.$ac_objext
15540 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15541   (eval $ac_compile) 2>conftest.er1
15542   ac_status=$?
15543   grep -v '^ *+' conftest.er1 >conftest.err
15544   rm -f conftest.er1
15545   cat conftest.err >&5
15546   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15547   (exit $ac_status); } &&
15548          { ac_try='test -z "$ac_c_werror_flag"
15549                          || test ! -s conftest.err'
15550   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15551   (eval $ac_try) 2>&5
15552   ac_status=$?
15553   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15554   (exit $ac_status); }; } &&
15555          { ac_try='test -s conftest.$ac_objext'
15556   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15557   (eval $ac_try) 2>&5
15558   ac_status=$?
15559   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15560   (exit $ac_status); }; }; then
15561   ac_cv_type_u_int64_t=yes
15562 else
15563   echo "$as_me: failed program was:" >&5
15564 sed 's/^/| /' conftest.$ac_ext >&5
15565
15566 ac_cv_type_u_int64_t=no
15567 fi
15568 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15569 fi
15570 echo "$as_me:$LINENO: result: $ac_cv_type_u_int64_t" >&5
15571 echo "${ECHO_T}$ac_cv_type_u_int64_t" >&6
15572
15573     break
15574   done
15575 fi
15576 if test "$acx_cv_header_stdint" = stddef.h; then
15577   acx_cv_header_stdint_kind="(using manual detection)"
15578 fi
15579
15580 test -z "$ac_cv_type_uintptr_t" && ac_cv_type_uintptr_t=no
15581 test -z "$ac_cv_type_uint64_t" && ac_cv_type_uint64_t=no
15582 test -z "$ac_cv_type_u_int64_t" && ac_cv_type_u_int64_t=no
15583 test -z "$ac_cv_type_int_least32_t" && ac_cv_type_int_least32_t=no
15584 test -z "$ac_cv_type_int_fast32_t" && ac_cv_type_int_fast32_t=no
15585
15586 # ----------------- Summarize what we found so far
15587
15588 echo "$as_me:$LINENO: checking what to include in gstdint.h" >&5
15589 echo $ECHO_N "checking what to include in gstdint.h... $ECHO_C" >&6
15590
15591 case `$as_basename gstdint.h ||
15592 $as_expr X/gstdint.h : '.*/\([^/][^/]*\)/*$' \| \
15593          Xgstdint.h : 'X\(//\)$' \| \
15594          Xgstdint.h : 'X\(/\)$' \| \
15595          .     : '\(.\)' 2>/dev/null ||
15596 echo X/gstdint.h |
15597     sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
15598           /^X\/\(\/\/\)$/{ s//\1/; q; }
15599           /^X\/\(\/\).*/{ s//\1/; q; }
15600           s/.*/./; q'` in
15601   stdint.h) { echo "$as_me:$LINENO: WARNING: are you sure you want it there?" >&5
15602 echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
15603   inttypes.h) { echo "$as_me:$LINENO: WARNING: are you sure you want it there?" >&5
15604 echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
15605   *) ;;
15606 esac
15607
15608 echo "$as_me:$LINENO: result: $acx_cv_header_stdint $acx_cv_header_stdint_kind" >&5
15609 echo "${ECHO_T}$acx_cv_header_stdint $acx_cv_header_stdint_kind" >&6
15610
15611 # ----------------- done included file, check C basic types --------
15612
15613 # Lacking an uintptr_t?  Test size of void *
15614 case "$acx_cv_header_stdint:$ac_cv_type_uintptr_t" in
15615   stddef.h:* | *:no) echo "$as_me:$LINENO: checking for void *" >&5
15616 echo $ECHO_N "checking for void *... $ECHO_C" >&6
15617 if test "${ac_cv_type_void_p+set}" = set; then
15618   echo $ECHO_N "(cached) $ECHO_C" >&6
15619 else
15620   cat >conftest.$ac_ext <<_ACEOF
15621 /* confdefs.h.  */
15622 _ACEOF
15623 cat confdefs.h >>conftest.$ac_ext
15624 cat >>conftest.$ac_ext <<_ACEOF
15625 /* end confdefs.h.  */
15626 $ac_includes_default
15627 int
15628 main ()
15629 {
15630 if ((void * *) 0)
15631   return 0;
15632 if (sizeof (void *))
15633   return 0;
15634   ;
15635   return 0;
15636 }
15637 _ACEOF
15638 rm -f conftest.$ac_objext
15639 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15640   (eval $ac_compile) 2>conftest.er1
15641   ac_status=$?
15642   grep -v '^ *+' conftest.er1 >conftest.err
15643   rm -f conftest.er1
15644   cat conftest.err >&5
15645   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15646   (exit $ac_status); } &&
15647          { ac_try='test -z "$ac_c_werror_flag"
15648                          || test ! -s conftest.err'
15649   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15650   (eval $ac_try) 2>&5
15651   ac_status=$?
15652   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15653   (exit $ac_status); }; } &&
15654          { ac_try='test -s conftest.$ac_objext'
15655   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15656   (eval $ac_try) 2>&5
15657   ac_status=$?
15658   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15659   (exit $ac_status); }; }; then
15660   ac_cv_type_void_p=yes
15661 else
15662   echo "$as_me: failed program was:" >&5
15663 sed 's/^/| /' conftest.$ac_ext >&5
15664
15665 ac_cv_type_void_p=no
15666 fi
15667 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15668 fi
15669 echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
15670 echo "${ECHO_T}$ac_cv_type_void_p" >&6
15671
15672 echo "$as_me:$LINENO: checking size of void *" >&5
15673 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
15674 if test "${ac_cv_sizeof_void_p+set}" = set; then
15675   echo $ECHO_N "(cached) $ECHO_C" >&6
15676 else
15677   if test "$ac_cv_type_void_p" = yes; then
15678   # The cast to unsigned long works around a bug in the HP C Compiler
15679   # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15680   # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15681   # This bug is HP SR number 8606223364.
15682   if test "$cross_compiling" = yes; then
15683   # Depending upon the size, compute the lo and hi bounds.
15684 cat >conftest.$ac_ext <<_ACEOF
15685 /* confdefs.h.  */
15686 _ACEOF
15687 cat confdefs.h >>conftest.$ac_ext
15688 cat >>conftest.$ac_ext <<_ACEOF
15689 /* end confdefs.h.  */
15690 $ac_includes_default
15691 int
15692 main ()
15693 {
15694 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)];
15695 test_array [0] = 0
15696
15697   ;
15698   return 0;
15699 }
15700 _ACEOF
15701 rm -f conftest.$ac_objext
15702 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15703   (eval $ac_compile) 2>conftest.er1
15704   ac_status=$?
15705   grep -v '^ *+' conftest.er1 >conftest.err
15706   rm -f conftest.er1
15707   cat conftest.err >&5
15708   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15709   (exit $ac_status); } &&
15710          { ac_try='test -z "$ac_c_werror_flag"
15711                          || test ! -s conftest.err'
15712   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15713   (eval $ac_try) 2>&5
15714   ac_status=$?
15715   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15716   (exit $ac_status); }; } &&
15717          { ac_try='test -s conftest.$ac_objext'
15718   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15719   (eval $ac_try) 2>&5
15720   ac_status=$?
15721   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15722   (exit $ac_status); }; }; then
15723   ac_lo=0 ac_mid=0
15724   while :; do
15725     cat >conftest.$ac_ext <<_ACEOF
15726 /* confdefs.h.  */
15727 _ACEOF
15728 cat confdefs.h >>conftest.$ac_ext
15729 cat >>conftest.$ac_ext <<_ACEOF
15730 /* end confdefs.h.  */
15731 $ac_includes_default
15732 int
15733 main ()
15734 {
15735 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
15736 test_array [0] = 0
15737
15738   ;
15739   return 0;
15740 }
15741 _ACEOF
15742 rm -f conftest.$ac_objext
15743 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15744   (eval $ac_compile) 2>conftest.er1
15745   ac_status=$?
15746   grep -v '^ *+' conftest.er1 >conftest.err
15747   rm -f conftest.er1
15748   cat conftest.err >&5
15749   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15750   (exit $ac_status); } &&
15751          { ac_try='test -z "$ac_c_werror_flag"
15752                          || test ! -s conftest.err'
15753   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15754   (eval $ac_try) 2>&5
15755   ac_status=$?
15756   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15757   (exit $ac_status); }; } &&
15758          { ac_try='test -s conftest.$ac_objext'
15759   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15760   (eval $ac_try) 2>&5
15761   ac_status=$?
15762   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15763   (exit $ac_status); }; }; then
15764   ac_hi=$ac_mid; break
15765 else
15766   echo "$as_me: failed program was:" >&5
15767 sed 's/^/| /' conftest.$ac_ext >&5
15768
15769 ac_lo=`expr $ac_mid + 1`
15770                     if test $ac_lo -le $ac_mid; then
15771                       ac_lo= ac_hi=
15772                       break
15773                     fi
15774                     ac_mid=`expr 2 '*' $ac_mid + 1`
15775 fi
15776 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15777   done
15778 else
15779   echo "$as_me: failed program was:" >&5
15780 sed 's/^/| /' conftest.$ac_ext >&5
15781
15782 cat >conftest.$ac_ext <<_ACEOF
15783 /* confdefs.h.  */
15784 _ACEOF
15785 cat confdefs.h >>conftest.$ac_ext
15786 cat >>conftest.$ac_ext <<_ACEOF
15787 /* end confdefs.h.  */
15788 $ac_includes_default
15789 int
15790 main ()
15791 {
15792 static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)];
15793 test_array [0] = 0
15794
15795   ;
15796   return 0;
15797 }
15798 _ACEOF
15799 rm -f conftest.$ac_objext
15800 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15801   (eval $ac_compile) 2>conftest.er1
15802   ac_status=$?
15803   grep -v '^ *+' conftest.er1 >conftest.err
15804   rm -f conftest.er1
15805   cat conftest.err >&5
15806   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15807   (exit $ac_status); } &&
15808          { ac_try='test -z "$ac_c_werror_flag"
15809                          || test ! -s conftest.err'
15810   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15811   (eval $ac_try) 2>&5
15812   ac_status=$?
15813   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15814   (exit $ac_status); }; } &&
15815          { ac_try='test -s conftest.$ac_objext'
15816   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15817   (eval $ac_try) 2>&5
15818   ac_status=$?
15819   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15820   (exit $ac_status); }; }; then
15821   ac_hi=-1 ac_mid=-1
15822   while :; do
15823     cat >conftest.$ac_ext <<_ACEOF
15824 /* confdefs.h.  */
15825 _ACEOF
15826 cat confdefs.h >>conftest.$ac_ext
15827 cat >>conftest.$ac_ext <<_ACEOF
15828 /* end confdefs.h.  */
15829 $ac_includes_default
15830 int
15831 main ()
15832 {
15833 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)];
15834 test_array [0] = 0
15835
15836   ;
15837   return 0;
15838 }
15839 _ACEOF
15840 rm -f conftest.$ac_objext
15841 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15842   (eval $ac_compile) 2>conftest.er1
15843   ac_status=$?
15844   grep -v '^ *+' conftest.er1 >conftest.err
15845   rm -f conftest.er1
15846   cat conftest.err >&5
15847   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15848   (exit $ac_status); } &&
15849          { ac_try='test -z "$ac_c_werror_flag"
15850                          || test ! -s conftest.err'
15851   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15852   (eval $ac_try) 2>&5
15853   ac_status=$?
15854   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15855   (exit $ac_status); }; } &&
15856          { ac_try='test -s conftest.$ac_objext'
15857   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15858   (eval $ac_try) 2>&5
15859   ac_status=$?
15860   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15861   (exit $ac_status); }; }; then
15862   ac_lo=$ac_mid; break
15863 else
15864   echo "$as_me: failed program was:" >&5
15865 sed 's/^/| /' conftest.$ac_ext >&5
15866
15867 ac_hi=`expr '(' $ac_mid ')' - 1`
15868                        if test $ac_mid -le $ac_hi; then
15869                          ac_lo= ac_hi=
15870                          break
15871                        fi
15872                        ac_mid=`expr 2 '*' $ac_mid`
15873 fi
15874 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15875   done
15876 else
15877   echo "$as_me: failed program was:" >&5
15878 sed 's/^/| /' conftest.$ac_ext >&5
15879
15880 ac_lo= ac_hi=
15881 fi
15882 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15883 fi
15884 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15885 # Binary search between lo and hi bounds.
15886 while test "x$ac_lo" != "x$ac_hi"; do
15887   ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15888   cat >conftest.$ac_ext <<_ACEOF
15889 /* confdefs.h.  */
15890 _ACEOF
15891 cat confdefs.h >>conftest.$ac_ext
15892 cat >>conftest.$ac_ext <<_ACEOF
15893 /* end confdefs.h.  */
15894 $ac_includes_default
15895 int
15896 main ()
15897 {
15898 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
15899 test_array [0] = 0
15900
15901   ;
15902   return 0;
15903 }
15904 _ACEOF
15905 rm -f conftest.$ac_objext
15906 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15907   (eval $ac_compile) 2>conftest.er1
15908   ac_status=$?
15909   grep -v '^ *+' conftest.er1 >conftest.err
15910   rm -f conftest.er1
15911   cat conftest.err >&5
15912   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15913   (exit $ac_status); } &&
15914          { ac_try='test -z "$ac_c_werror_flag"
15915                          || test ! -s conftest.err'
15916   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15917   (eval $ac_try) 2>&5
15918   ac_status=$?
15919   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15920   (exit $ac_status); }; } &&
15921          { ac_try='test -s conftest.$ac_objext'
15922   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15923   (eval $ac_try) 2>&5
15924   ac_status=$?
15925   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15926   (exit $ac_status); }; }; then
15927   ac_hi=$ac_mid
15928 else
15929   echo "$as_me: failed program was:" >&5
15930 sed 's/^/| /' conftest.$ac_ext >&5
15931
15932 ac_lo=`expr '(' $ac_mid ')' + 1`
15933 fi
15934 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15935 done
15936 case $ac_lo in
15937 ?*) ac_cv_sizeof_void_p=$ac_lo;;
15938 '') { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
15939 echo "$as_me: error: in \`$ac_pwd':" >&2;}
15940 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
15941 See \`config.log' for more details." >&5
15942 echo "$as_me: error: cannot compute sizeof (void *), 77
15943 See \`config.log' for more details." >&2;}
15944    { (exit 1); exit 1; }; }; } ;;
15945 esac
15946 else
15947   if test "$cross_compiling" = yes; then
15948   { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
15949 echo "$as_me: error: in \`$ac_pwd':" >&2;}
15950 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
15951 See \`config.log' for more details." >&5
15952 echo "$as_me: error: cannot run test program while cross compiling
15953 See \`config.log' for more details." >&2;}
15954    { (exit 1); exit 1; }; }; }
15955 else
15956   cat >conftest.$ac_ext <<_ACEOF
15957 /* confdefs.h.  */
15958 _ACEOF
15959 cat confdefs.h >>conftest.$ac_ext
15960 cat >>conftest.$ac_ext <<_ACEOF
15961 /* end confdefs.h.  */
15962 $ac_includes_default
15963 long longval () { return (long) (sizeof (void *)); }
15964 unsigned long ulongval () { return (long) (sizeof (void *)); }
15965 #include <stdio.h>
15966 #include <stdlib.h>
15967 int
15968 main ()
15969 {
15970
15971   FILE *f = fopen ("conftest.val", "w");
15972   if (! f)
15973     exit (1);
15974   if (((long) (sizeof (void *))) < 0)
15975     {
15976       long i = longval ();
15977       if (i != ((long) (sizeof (void *))))
15978         exit (1);
15979       fprintf (f, "%ld\n", i);
15980     }
15981   else
15982     {
15983       unsigned long i = ulongval ();
15984       if (i != ((long) (sizeof (void *))))
15985         exit (1);
15986       fprintf (f, "%lu\n", i);
15987     }
15988   exit (ferror (f) || fclose (f) != 0);
15989
15990   ;
15991   return 0;
15992 }
15993 _ACEOF
15994 rm -f conftest$ac_exeext
15995 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15996   (eval $ac_link) 2>&5
15997   ac_status=$?
15998   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15999   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16000   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16001   (eval $ac_try) 2>&5
16002   ac_status=$?
16003   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16004   (exit $ac_status); }; }; then
16005   ac_cv_sizeof_void_p=`cat conftest.val`
16006 else
16007   echo "$as_me: program exited with status $ac_status" >&5
16008 echo "$as_me: failed program was:" >&5
16009 sed 's/^/| /' conftest.$ac_ext >&5
16010
16011 ( exit $ac_status )
16012 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
16013 echo "$as_me: error: in \`$ac_pwd':" >&2;}
16014 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
16015 See \`config.log' for more details." >&5
16016 echo "$as_me: error: cannot compute sizeof (void *), 77
16017 See \`config.log' for more details." >&2;}
16018    { (exit 1); exit 1; }; }; }
16019 fi
16020 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16021 fi
16022 fi
16023 rm -f conftest.val
16024 else
16025   ac_cv_sizeof_void_p=0
16026 fi
16027 fi
16028 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
16029 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
16030 cat >>confdefs.h <<_ACEOF
16031 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
16032 _ACEOF
16033
16034  ;;
16035 esac
16036
16037 # Lacking an uint64_t?  Test size of long
16038 case "$acx_cv_header_stdint:$ac_cv_type_uint64_t:$ac_cv_type_u_int64_t" in
16039   stddef.h:*:* | *:no:no) echo "$as_me:$LINENO: checking for long" >&5
16040 echo $ECHO_N "checking for long... $ECHO_C" >&6
16041 if test "${ac_cv_type_long+set}" = set; then
16042   echo $ECHO_N "(cached) $ECHO_C" >&6
16043 else
16044   cat >conftest.$ac_ext <<_ACEOF
16045 /* confdefs.h.  */
16046 _ACEOF
16047 cat confdefs.h >>conftest.$ac_ext
16048 cat >>conftest.$ac_ext <<_ACEOF
16049 /* end confdefs.h.  */
16050 $ac_includes_default
16051 int
16052 main ()
16053 {
16054 if ((long *) 0)
16055   return 0;
16056 if (sizeof (long))
16057   return 0;
16058   ;
16059   return 0;
16060 }
16061 _ACEOF
16062 rm -f conftest.$ac_objext
16063 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16064   (eval $ac_compile) 2>conftest.er1
16065   ac_status=$?
16066   grep -v '^ *+' conftest.er1 >conftest.err
16067   rm -f conftest.er1
16068   cat conftest.err >&5
16069   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16070   (exit $ac_status); } &&
16071          { ac_try='test -z "$ac_c_werror_flag"
16072                          || test ! -s conftest.err'
16073   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16074   (eval $ac_try) 2>&5
16075   ac_status=$?
16076   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16077   (exit $ac_status); }; } &&
16078          { ac_try='test -s conftest.$ac_objext'
16079   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16080   (eval $ac_try) 2>&5
16081   ac_status=$?
16082   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16083   (exit $ac_status); }; }; then
16084   ac_cv_type_long=yes
16085 else
16086   echo "$as_me: failed program was:" >&5
16087 sed 's/^/| /' conftest.$ac_ext >&5
16088
16089 ac_cv_type_long=no
16090 fi
16091 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16092 fi
16093 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
16094 echo "${ECHO_T}$ac_cv_type_long" >&6
16095
16096 echo "$as_me:$LINENO: checking size of long" >&5
16097 echo $ECHO_N "checking size of long... $ECHO_C" >&6
16098 if test "${ac_cv_sizeof_long+set}" = set; then
16099   echo $ECHO_N "(cached) $ECHO_C" >&6
16100 else
16101   if test "$ac_cv_type_long" = yes; then
16102   # The cast to unsigned long works around a bug in the HP C Compiler
16103   # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16104   # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16105   # This bug is HP SR number 8606223364.
16106   if test "$cross_compiling" = yes; then
16107   # Depending upon the size, compute the lo and hi bounds.
16108 cat >conftest.$ac_ext <<_ACEOF
16109 /* confdefs.h.  */
16110 _ACEOF
16111 cat confdefs.h >>conftest.$ac_ext
16112 cat >>conftest.$ac_ext <<_ACEOF
16113 /* end confdefs.h.  */
16114 $ac_includes_default
16115 int
16116 main ()
16117 {
16118 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
16119 test_array [0] = 0
16120
16121   ;
16122   return 0;
16123 }
16124 _ACEOF
16125 rm -f conftest.$ac_objext
16126 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16127   (eval $ac_compile) 2>conftest.er1
16128   ac_status=$?
16129   grep -v '^ *+' conftest.er1 >conftest.err
16130   rm -f conftest.er1
16131   cat conftest.err >&5
16132   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16133   (exit $ac_status); } &&
16134          { ac_try='test -z "$ac_c_werror_flag"
16135                          || test ! -s conftest.err'
16136   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16137   (eval $ac_try) 2>&5
16138   ac_status=$?
16139   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16140   (exit $ac_status); }; } &&
16141          { ac_try='test -s conftest.$ac_objext'
16142   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16143   (eval $ac_try) 2>&5
16144   ac_status=$?
16145   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16146   (exit $ac_status); }; }; then
16147   ac_lo=0 ac_mid=0
16148   while :; do
16149     cat >conftest.$ac_ext <<_ACEOF
16150 /* confdefs.h.  */
16151 _ACEOF
16152 cat confdefs.h >>conftest.$ac_ext
16153 cat >>conftest.$ac_ext <<_ACEOF
16154 /* end confdefs.h.  */
16155 $ac_includes_default
16156 int
16157 main ()
16158 {
16159 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
16160 test_array [0] = 0
16161
16162   ;
16163   return 0;
16164 }
16165 _ACEOF
16166 rm -f conftest.$ac_objext
16167 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16168   (eval $ac_compile) 2>conftest.er1
16169   ac_status=$?
16170   grep -v '^ *+' conftest.er1 >conftest.err
16171   rm -f conftest.er1
16172   cat conftest.err >&5
16173   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16174   (exit $ac_status); } &&
16175          { ac_try='test -z "$ac_c_werror_flag"
16176                          || test ! -s conftest.err'
16177   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16178   (eval $ac_try) 2>&5
16179   ac_status=$?
16180   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16181   (exit $ac_status); }; } &&
16182          { ac_try='test -s conftest.$ac_objext'
16183   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16184   (eval $ac_try) 2>&5
16185   ac_status=$?
16186   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16187   (exit $ac_status); }; }; then
16188   ac_hi=$ac_mid; break
16189 else
16190   echo "$as_me: failed program was:" >&5
16191 sed 's/^/| /' conftest.$ac_ext >&5
16192
16193 ac_lo=`expr $ac_mid + 1`
16194                     if test $ac_lo -le $ac_mid; then
16195                       ac_lo= ac_hi=
16196                       break
16197                     fi
16198                     ac_mid=`expr 2 '*' $ac_mid + 1`
16199 fi
16200 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16201   done
16202 else
16203   echo "$as_me: failed program was:" >&5
16204 sed 's/^/| /' conftest.$ac_ext >&5
16205
16206 cat >conftest.$ac_ext <<_ACEOF
16207 /* confdefs.h.  */
16208 _ACEOF
16209 cat confdefs.h >>conftest.$ac_ext
16210 cat >>conftest.$ac_ext <<_ACEOF
16211 /* end confdefs.h.  */
16212 $ac_includes_default
16213 int
16214 main ()
16215 {
16216 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
16217 test_array [0] = 0
16218
16219   ;
16220   return 0;
16221 }
16222 _ACEOF
16223 rm -f conftest.$ac_objext
16224 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16225   (eval $ac_compile) 2>conftest.er1
16226   ac_status=$?
16227   grep -v '^ *+' conftest.er1 >conftest.err
16228   rm -f conftest.er1
16229   cat conftest.err >&5
16230   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16231   (exit $ac_status); } &&
16232          { ac_try='test -z "$ac_c_werror_flag"
16233                          || test ! -s conftest.err'
16234   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16235   (eval $ac_try) 2>&5
16236   ac_status=$?
16237   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16238   (exit $ac_status); }; } &&
16239          { ac_try='test -s conftest.$ac_objext'
16240   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16241   (eval $ac_try) 2>&5
16242   ac_status=$?
16243   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16244   (exit $ac_status); }; }; then
16245   ac_hi=-1 ac_mid=-1
16246   while :; do
16247     cat >conftest.$ac_ext <<_ACEOF
16248 /* confdefs.h.  */
16249 _ACEOF
16250 cat confdefs.h >>conftest.$ac_ext
16251 cat >>conftest.$ac_ext <<_ACEOF
16252 /* end confdefs.h.  */
16253 $ac_includes_default
16254 int
16255 main ()
16256 {
16257 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
16258 test_array [0] = 0
16259
16260   ;
16261   return 0;
16262 }
16263 _ACEOF
16264 rm -f conftest.$ac_objext
16265 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16266   (eval $ac_compile) 2>conftest.er1
16267   ac_status=$?
16268   grep -v '^ *+' conftest.er1 >conftest.err
16269   rm -f conftest.er1
16270   cat conftest.err >&5
16271   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16272   (exit $ac_status); } &&
16273          { ac_try='test -z "$ac_c_werror_flag"
16274                          || test ! -s conftest.err'
16275   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16276   (eval $ac_try) 2>&5
16277   ac_status=$?
16278   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16279   (exit $ac_status); }; } &&
16280          { ac_try='test -s conftest.$ac_objext'
16281   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16282   (eval $ac_try) 2>&5
16283   ac_status=$?
16284   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16285   (exit $ac_status); }; }; then
16286   ac_lo=$ac_mid; break
16287 else
16288   echo "$as_me: failed program was:" >&5
16289 sed 's/^/| /' conftest.$ac_ext >&5
16290
16291 ac_hi=`expr '(' $ac_mid ')' - 1`
16292                        if test $ac_mid -le $ac_hi; then
16293                          ac_lo= ac_hi=
16294                          break
16295                        fi
16296                        ac_mid=`expr 2 '*' $ac_mid`
16297 fi
16298 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16299   done
16300 else
16301   echo "$as_me: failed program was:" >&5
16302 sed 's/^/| /' conftest.$ac_ext >&5
16303
16304 ac_lo= ac_hi=
16305 fi
16306 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16307 fi
16308 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16309 # Binary search between lo and hi bounds.
16310 while test "x$ac_lo" != "x$ac_hi"; do
16311   ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16312   cat >conftest.$ac_ext <<_ACEOF
16313 /* confdefs.h.  */
16314 _ACEOF
16315 cat confdefs.h >>conftest.$ac_ext
16316 cat >>conftest.$ac_ext <<_ACEOF
16317 /* end confdefs.h.  */
16318 $ac_includes_default
16319 int
16320 main ()
16321 {
16322 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
16323 test_array [0] = 0
16324
16325   ;
16326   return 0;
16327 }
16328 _ACEOF
16329 rm -f conftest.$ac_objext
16330 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16331   (eval $ac_compile) 2>conftest.er1
16332   ac_status=$?
16333   grep -v '^ *+' conftest.er1 >conftest.err
16334   rm -f conftest.er1
16335   cat conftest.err >&5
16336   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16337   (exit $ac_status); } &&
16338          { ac_try='test -z "$ac_c_werror_flag"
16339                          || test ! -s conftest.err'
16340   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16341   (eval $ac_try) 2>&5
16342   ac_status=$?
16343   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16344   (exit $ac_status); }; } &&
16345          { ac_try='test -s conftest.$ac_objext'
16346   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16347   (eval $ac_try) 2>&5
16348   ac_status=$?
16349   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16350   (exit $ac_status); }; }; then
16351   ac_hi=$ac_mid
16352 else
16353   echo "$as_me: failed program was:" >&5
16354 sed 's/^/| /' conftest.$ac_ext >&5
16355
16356 ac_lo=`expr '(' $ac_mid ')' + 1`
16357 fi
16358 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16359 done
16360 case $ac_lo in
16361 ?*) ac_cv_sizeof_long=$ac_lo;;
16362 '') { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
16363 echo "$as_me: error: in \`$ac_pwd':" >&2;}
16364 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
16365 See \`config.log' for more details." >&5
16366 echo "$as_me: error: cannot compute sizeof (long), 77
16367 See \`config.log' for more details." >&2;}
16368    { (exit 1); exit 1; }; }; } ;;
16369 esac
16370 else
16371   if test "$cross_compiling" = yes; then
16372   { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
16373 echo "$as_me: error: in \`$ac_pwd':" >&2;}
16374 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
16375 See \`config.log' for more details." >&5
16376 echo "$as_me: error: cannot run test program while cross compiling
16377 See \`config.log' for more details." >&2;}
16378    { (exit 1); exit 1; }; }; }
16379 else
16380   cat >conftest.$ac_ext <<_ACEOF
16381 /* confdefs.h.  */
16382 _ACEOF
16383 cat confdefs.h >>conftest.$ac_ext
16384 cat >>conftest.$ac_ext <<_ACEOF
16385 /* end confdefs.h.  */
16386 $ac_includes_default
16387 long longval () { return (long) (sizeof (long)); }
16388 unsigned long ulongval () { return (long) (sizeof (long)); }
16389 #include <stdio.h>
16390 #include <stdlib.h>
16391 int
16392 main ()
16393 {
16394
16395   FILE *f = fopen ("conftest.val", "w");
16396   if (! f)
16397     exit (1);
16398   if (((long) (sizeof (long))) < 0)
16399     {
16400       long i = longval ();
16401       if (i != ((long) (sizeof (long))))
16402         exit (1);
16403       fprintf (f, "%ld\n", i);
16404     }
16405   else
16406     {
16407       unsigned long i = ulongval ();
16408       if (i != ((long) (sizeof (long))))
16409         exit (1);
16410       fprintf (f, "%lu\n", i);
16411     }
16412   exit (ferror (f) || fclose (f) != 0);
16413
16414   ;
16415   return 0;
16416 }
16417 _ACEOF
16418 rm -f conftest$ac_exeext
16419 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16420   (eval $ac_link) 2>&5
16421   ac_status=$?
16422   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16423   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16424   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16425   (eval $ac_try) 2>&5
16426   ac_status=$?
16427   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16428   (exit $ac_status); }; }; then
16429   ac_cv_sizeof_long=`cat conftest.val`
16430 else
16431   echo "$as_me: program exited with status $ac_status" >&5
16432 echo "$as_me: failed program was:" >&5
16433 sed 's/^/| /' conftest.$ac_ext >&5
16434
16435 ( exit $ac_status )
16436 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
16437 echo "$as_me: error: in \`$ac_pwd':" >&2;}
16438 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
16439 See \`config.log' for more details." >&5
16440 echo "$as_me: error: cannot compute sizeof (long), 77
16441 See \`config.log' for more details." >&2;}
16442    { (exit 1); exit 1; }; }; }
16443 fi
16444 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16445 fi
16446 fi
16447 rm -f conftest.val
16448 else
16449   ac_cv_sizeof_long=0
16450 fi
16451 fi
16452 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
16453 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
16454 cat >>confdefs.h <<_ACEOF
16455 #define SIZEOF_LONG $ac_cv_sizeof_long
16456 _ACEOF
16457
16458  ;;
16459 esac
16460
16461 if test $acx_cv_header_stdint = stddef.h; then
16462   # Lacking a good header?  Test size of everything and deduce all types.
16463   echo "$as_me:$LINENO: checking for int" >&5
16464 echo $ECHO_N "checking for int... $ECHO_C" >&6
16465 if test "${ac_cv_type_int+set}" = set; then
16466   echo $ECHO_N "(cached) $ECHO_C" >&6
16467 else
16468   cat >conftest.$ac_ext <<_ACEOF
16469 /* confdefs.h.  */
16470 _ACEOF
16471 cat confdefs.h >>conftest.$ac_ext
16472 cat >>conftest.$ac_ext <<_ACEOF
16473 /* end confdefs.h.  */
16474 $ac_includes_default
16475 int
16476 main ()
16477 {
16478 if ((int *) 0)
16479   return 0;
16480 if (sizeof (int))
16481   return 0;
16482   ;
16483   return 0;
16484 }
16485 _ACEOF
16486 rm -f conftest.$ac_objext
16487 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16488   (eval $ac_compile) 2>conftest.er1
16489   ac_status=$?
16490   grep -v '^ *+' conftest.er1 >conftest.err
16491   rm -f conftest.er1
16492   cat conftest.err >&5
16493   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16494   (exit $ac_status); } &&
16495          { ac_try='test -z "$ac_c_werror_flag"
16496                          || test ! -s conftest.err'
16497   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16498   (eval $ac_try) 2>&5
16499   ac_status=$?
16500   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16501   (exit $ac_status); }; } &&
16502          { ac_try='test -s conftest.$ac_objext'
16503   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16504   (eval $ac_try) 2>&5
16505   ac_status=$?
16506   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16507   (exit $ac_status); }; }; then
16508   ac_cv_type_int=yes
16509 else
16510   echo "$as_me: failed program was:" >&5
16511 sed 's/^/| /' conftest.$ac_ext >&5
16512
16513 ac_cv_type_int=no
16514 fi
16515 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16516 fi
16517 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
16518 echo "${ECHO_T}$ac_cv_type_int" >&6
16519
16520 echo "$as_me:$LINENO: checking size of int" >&5
16521 echo $ECHO_N "checking size of int... $ECHO_C" >&6
16522 if test "${ac_cv_sizeof_int+set}" = set; then
16523   echo $ECHO_N "(cached) $ECHO_C" >&6
16524 else
16525   if test "$ac_cv_type_int" = yes; then
16526   # The cast to unsigned long works around a bug in the HP C Compiler
16527   # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16528   # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16529   # This bug is HP SR number 8606223364.
16530   if test "$cross_compiling" = yes; then
16531   # Depending upon the size, compute the lo and hi bounds.
16532 cat >conftest.$ac_ext <<_ACEOF
16533 /* confdefs.h.  */
16534 _ACEOF
16535 cat confdefs.h >>conftest.$ac_ext
16536 cat >>conftest.$ac_ext <<_ACEOF
16537 /* end confdefs.h.  */
16538 $ac_includes_default
16539 int
16540 main ()
16541 {
16542 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
16543 test_array [0] = 0
16544
16545   ;
16546   return 0;
16547 }
16548 _ACEOF
16549 rm -f conftest.$ac_objext
16550 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16551   (eval $ac_compile) 2>conftest.er1
16552   ac_status=$?
16553   grep -v '^ *+' conftest.er1 >conftest.err
16554   rm -f conftest.er1
16555   cat conftest.err >&5
16556   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16557   (exit $ac_status); } &&
16558          { ac_try='test -z "$ac_c_werror_flag"
16559                          || test ! -s conftest.err'
16560   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16561   (eval $ac_try) 2>&5
16562   ac_status=$?
16563   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16564   (exit $ac_status); }; } &&
16565          { ac_try='test -s conftest.$ac_objext'
16566   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16567   (eval $ac_try) 2>&5
16568   ac_status=$?
16569   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16570   (exit $ac_status); }; }; then
16571   ac_lo=0 ac_mid=0
16572   while :; do
16573     cat >conftest.$ac_ext <<_ACEOF
16574 /* confdefs.h.  */
16575 _ACEOF
16576 cat confdefs.h >>conftest.$ac_ext
16577 cat >>conftest.$ac_ext <<_ACEOF
16578 /* end confdefs.h.  */
16579 $ac_includes_default
16580 int
16581 main ()
16582 {
16583 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
16584 test_array [0] = 0
16585
16586   ;
16587   return 0;
16588 }
16589 _ACEOF
16590 rm -f conftest.$ac_objext
16591 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16592   (eval $ac_compile) 2>conftest.er1
16593   ac_status=$?
16594   grep -v '^ *+' conftest.er1 >conftest.err
16595   rm -f conftest.er1
16596   cat conftest.err >&5
16597   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16598   (exit $ac_status); } &&
16599          { ac_try='test -z "$ac_c_werror_flag"
16600                          || test ! -s conftest.err'
16601   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16602   (eval $ac_try) 2>&5
16603   ac_status=$?
16604   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16605   (exit $ac_status); }; } &&
16606          { ac_try='test -s conftest.$ac_objext'
16607   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16608   (eval $ac_try) 2>&5
16609   ac_status=$?
16610   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16611   (exit $ac_status); }; }; then
16612   ac_hi=$ac_mid; break
16613 else
16614   echo "$as_me: failed program was:" >&5
16615 sed 's/^/| /' conftest.$ac_ext >&5
16616
16617 ac_lo=`expr $ac_mid + 1`
16618                     if test $ac_lo -le $ac_mid; then
16619                       ac_lo= ac_hi=
16620                       break
16621                     fi
16622                     ac_mid=`expr 2 '*' $ac_mid + 1`
16623 fi
16624 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16625   done
16626 else
16627   echo "$as_me: failed program was:" >&5
16628 sed 's/^/| /' conftest.$ac_ext >&5
16629
16630 cat >conftest.$ac_ext <<_ACEOF
16631 /* confdefs.h.  */
16632 _ACEOF
16633 cat confdefs.h >>conftest.$ac_ext
16634 cat >>conftest.$ac_ext <<_ACEOF
16635 /* end confdefs.h.  */
16636 $ac_includes_default
16637 int
16638 main ()
16639 {
16640 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
16641 test_array [0] = 0
16642
16643   ;
16644   return 0;
16645 }
16646 _ACEOF
16647 rm -f conftest.$ac_objext
16648 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16649   (eval $ac_compile) 2>conftest.er1
16650   ac_status=$?
16651   grep -v '^ *+' conftest.er1 >conftest.err
16652   rm -f conftest.er1
16653   cat conftest.err >&5
16654   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16655   (exit $ac_status); } &&
16656          { ac_try='test -z "$ac_c_werror_flag"
16657                          || test ! -s conftest.err'
16658   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16659   (eval $ac_try) 2>&5
16660   ac_status=$?
16661   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16662   (exit $ac_status); }; } &&
16663          { ac_try='test -s conftest.$ac_objext'
16664   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16665   (eval $ac_try) 2>&5
16666   ac_status=$?
16667   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16668   (exit $ac_status); }; }; then
16669   ac_hi=-1 ac_mid=-1
16670   while :; do
16671     cat >conftest.$ac_ext <<_ACEOF
16672 /* confdefs.h.  */
16673 _ACEOF
16674 cat confdefs.h >>conftest.$ac_ext
16675 cat >>conftest.$ac_ext <<_ACEOF
16676 /* end confdefs.h.  */
16677 $ac_includes_default
16678 int
16679 main ()
16680 {
16681 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
16682 test_array [0] = 0
16683
16684   ;
16685   return 0;
16686 }
16687 _ACEOF
16688 rm -f conftest.$ac_objext
16689 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16690   (eval $ac_compile) 2>conftest.er1
16691   ac_status=$?
16692   grep -v '^ *+' conftest.er1 >conftest.err
16693   rm -f conftest.er1
16694   cat conftest.err >&5
16695   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16696   (exit $ac_status); } &&
16697          { ac_try='test -z "$ac_c_werror_flag"
16698                          || test ! -s conftest.err'
16699   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16700   (eval $ac_try) 2>&5
16701   ac_status=$?
16702   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16703   (exit $ac_status); }; } &&
16704          { ac_try='test -s conftest.$ac_objext'
16705   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16706   (eval $ac_try) 2>&5
16707   ac_status=$?
16708   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16709   (exit $ac_status); }; }; then
16710   ac_lo=$ac_mid; break
16711 else
16712   echo "$as_me: failed program was:" >&5
16713 sed 's/^/| /' conftest.$ac_ext >&5
16714
16715 ac_hi=`expr '(' $ac_mid ')' - 1`
16716                        if test $ac_mid -le $ac_hi; then
16717                          ac_lo= ac_hi=
16718                          break
16719                        fi
16720                        ac_mid=`expr 2 '*' $ac_mid`
16721 fi
16722 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16723   done
16724 else
16725   echo "$as_me: failed program was:" >&5
16726 sed 's/^/| /' conftest.$ac_ext >&5
16727
16728 ac_lo= ac_hi=
16729 fi
16730 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16731 fi
16732 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16733 # Binary search between lo and hi bounds.
16734 while test "x$ac_lo" != "x$ac_hi"; do
16735   ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16736   cat >conftest.$ac_ext <<_ACEOF
16737 /* confdefs.h.  */
16738 _ACEOF
16739 cat confdefs.h >>conftest.$ac_ext
16740 cat >>conftest.$ac_ext <<_ACEOF
16741 /* end confdefs.h.  */
16742 $ac_includes_default
16743 int
16744 main ()
16745 {
16746 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
16747 test_array [0] = 0
16748
16749   ;
16750   return 0;
16751 }
16752 _ACEOF
16753 rm -f conftest.$ac_objext
16754 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16755   (eval $ac_compile) 2>conftest.er1
16756   ac_status=$?
16757   grep -v '^ *+' conftest.er1 >conftest.err
16758   rm -f conftest.er1
16759   cat conftest.err >&5
16760   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16761   (exit $ac_status); } &&
16762          { ac_try='test -z "$ac_c_werror_flag"
16763                          || test ! -s conftest.err'
16764   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16765   (eval $ac_try) 2>&5
16766   ac_status=$?
16767   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16768   (exit $ac_status); }; } &&
16769          { ac_try='test -s conftest.$ac_objext'
16770   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16771   (eval $ac_try) 2>&5
16772   ac_status=$?
16773   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16774   (exit $ac_status); }; }; then
16775   ac_hi=$ac_mid
16776 else
16777   echo "$as_me: failed program was:" >&5
16778 sed 's/^/| /' conftest.$ac_ext >&5
16779
16780 ac_lo=`expr '(' $ac_mid ')' + 1`
16781 fi
16782 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16783 done
16784 case $ac_lo in
16785 ?*) ac_cv_sizeof_int=$ac_lo;;
16786 '') { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
16787 echo "$as_me: error: in \`$ac_pwd':" >&2;}
16788 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
16789 See \`config.log' for more details." >&5
16790 echo "$as_me: error: cannot compute sizeof (int), 77
16791 See \`config.log' for more details." >&2;}
16792    { (exit 1); exit 1; }; }; } ;;
16793 esac
16794 else
16795   if test "$cross_compiling" = yes; then
16796   { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
16797 echo "$as_me: error: in \`$ac_pwd':" >&2;}
16798 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
16799 See \`config.log' for more details." >&5
16800 echo "$as_me: error: cannot run test program while cross compiling
16801 See \`config.log' for more details." >&2;}
16802    { (exit 1); exit 1; }; }; }
16803 else
16804   cat >conftest.$ac_ext <<_ACEOF
16805 /* confdefs.h.  */
16806 _ACEOF
16807 cat confdefs.h >>conftest.$ac_ext
16808 cat >>conftest.$ac_ext <<_ACEOF
16809 /* end confdefs.h.  */
16810 $ac_includes_default
16811 long longval () { return (long) (sizeof (int)); }
16812 unsigned long ulongval () { return (long) (sizeof (int)); }
16813 #include <stdio.h>
16814 #include <stdlib.h>
16815 int
16816 main ()
16817 {
16818
16819   FILE *f = fopen ("conftest.val", "w");
16820   if (! f)
16821     exit (1);
16822   if (((long) (sizeof (int))) < 0)
16823     {
16824       long i = longval ();
16825       if (i != ((long) (sizeof (int))))
16826         exit (1);
16827       fprintf (f, "%ld\n", i);
16828     }
16829   else
16830     {
16831       unsigned long i = ulongval ();
16832       if (i != ((long) (sizeof (int))))
16833         exit (1);
16834       fprintf (f, "%lu\n", i);
16835     }
16836   exit (ferror (f) || fclose (f) != 0);
16837
16838   ;
16839   return 0;
16840 }
16841 _ACEOF
16842 rm -f conftest$ac_exeext
16843 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16844   (eval $ac_link) 2>&5
16845   ac_status=$?
16846   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16847   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16848   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16849   (eval $ac_try) 2>&5
16850   ac_status=$?
16851   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16852   (exit $ac_status); }; }; then
16853   ac_cv_sizeof_int=`cat conftest.val`
16854 else
16855   echo "$as_me: program exited with status $ac_status" >&5
16856 echo "$as_me: failed program was:" >&5
16857 sed 's/^/| /' conftest.$ac_ext >&5
16858
16859 ( exit $ac_status )
16860 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
16861 echo "$as_me: error: in \`$ac_pwd':" >&2;}
16862 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
16863 See \`config.log' for more details." >&5
16864 echo "$as_me: error: cannot compute sizeof (int), 77
16865 See \`config.log' for more details." >&2;}
16866    { (exit 1); exit 1; }; }; }
16867 fi
16868 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16869 fi
16870 fi
16871 rm -f conftest.val
16872 else
16873   ac_cv_sizeof_int=0
16874 fi
16875 fi
16876 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
16877 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
16878 cat >>confdefs.h <<_ACEOF
16879 #define SIZEOF_INT $ac_cv_sizeof_int
16880 _ACEOF
16881
16882
16883   echo "$as_me:$LINENO: checking for short" >&5
16884 echo $ECHO_N "checking for short... $ECHO_C" >&6
16885 if test "${ac_cv_type_short+set}" = set; then
16886   echo $ECHO_N "(cached) $ECHO_C" >&6
16887 else
16888   cat >conftest.$ac_ext <<_ACEOF
16889 /* confdefs.h.  */
16890 _ACEOF
16891 cat confdefs.h >>conftest.$ac_ext
16892 cat >>conftest.$ac_ext <<_ACEOF
16893 /* end confdefs.h.  */
16894 $ac_includes_default
16895 int
16896 main ()
16897 {
16898 if ((short *) 0)
16899   return 0;
16900 if (sizeof (short))
16901   return 0;
16902   ;
16903   return 0;
16904 }
16905 _ACEOF
16906 rm -f conftest.$ac_objext
16907 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16908   (eval $ac_compile) 2>conftest.er1
16909   ac_status=$?
16910   grep -v '^ *+' conftest.er1 >conftest.err
16911   rm -f conftest.er1
16912   cat conftest.err >&5
16913   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16914   (exit $ac_status); } &&
16915          { ac_try='test -z "$ac_c_werror_flag"
16916                          || test ! -s conftest.err'
16917   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16918   (eval $ac_try) 2>&5
16919   ac_status=$?
16920   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16921   (exit $ac_status); }; } &&
16922          { ac_try='test -s conftest.$ac_objext'
16923   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16924   (eval $ac_try) 2>&5
16925   ac_status=$?
16926   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16927   (exit $ac_status); }; }; then
16928   ac_cv_type_short=yes
16929 else
16930   echo "$as_me: failed program was:" >&5
16931 sed 's/^/| /' conftest.$ac_ext >&5
16932
16933 ac_cv_type_short=no
16934 fi
16935 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16936 fi
16937 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
16938 echo "${ECHO_T}$ac_cv_type_short" >&6
16939
16940 echo "$as_me:$LINENO: checking size of short" >&5
16941 echo $ECHO_N "checking size of short... $ECHO_C" >&6
16942 if test "${ac_cv_sizeof_short+set}" = set; then
16943   echo $ECHO_N "(cached) $ECHO_C" >&6
16944 else
16945   if test "$ac_cv_type_short" = yes; then
16946   # The cast to unsigned long works around a bug in the HP C Compiler
16947   # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16948   # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16949   # This bug is HP SR number 8606223364.
16950   if test "$cross_compiling" = yes; then
16951   # Depending upon the size, compute the lo and hi bounds.
16952 cat >conftest.$ac_ext <<_ACEOF
16953 /* confdefs.h.  */
16954 _ACEOF
16955 cat confdefs.h >>conftest.$ac_ext
16956 cat >>conftest.$ac_ext <<_ACEOF
16957 /* end confdefs.h.  */
16958 $ac_includes_default
16959 int
16960 main ()
16961 {
16962 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
16963 test_array [0] = 0
16964
16965   ;
16966   return 0;
16967 }
16968 _ACEOF
16969 rm -f conftest.$ac_objext
16970 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16971   (eval $ac_compile) 2>conftest.er1
16972   ac_status=$?
16973   grep -v '^ *+' conftest.er1 >conftest.err
16974   rm -f conftest.er1
16975   cat conftest.err >&5
16976   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16977   (exit $ac_status); } &&
16978          { ac_try='test -z "$ac_c_werror_flag"
16979                          || test ! -s conftest.err'
16980   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16981   (eval $ac_try) 2>&5
16982   ac_status=$?
16983   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16984   (exit $ac_status); }; } &&
16985          { ac_try='test -s conftest.$ac_objext'
16986   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16987   (eval $ac_try) 2>&5
16988   ac_status=$?
16989   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16990   (exit $ac_status); }; }; then
16991   ac_lo=0 ac_mid=0
16992   while :; do
16993     cat >conftest.$ac_ext <<_ACEOF
16994 /* confdefs.h.  */
16995 _ACEOF
16996 cat confdefs.h >>conftest.$ac_ext
16997 cat >>conftest.$ac_ext <<_ACEOF
16998 /* end confdefs.h.  */
16999 $ac_includes_default
17000 int
17001 main ()
17002 {
17003 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
17004 test_array [0] = 0
17005
17006   ;
17007   return 0;
17008 }
17009 _ACEOF
17010 rm -f conftest.$ac_objext
17011 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17012   (eval $ac_compile) 2>conftest.er1
17013   ac_status=$?
17014   grep -v '^ *+' conftest.er1 >conftest.err
17015   rm -f conftest.er1
17016   cat conftest.err >&5
17017   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17018   (exit $ac_status); } &&
17019          { ac_try='test -z "$ac_c_werror_flag"
17020                          || test ! -s conftest.err'
17021   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17022   (eval $ac_try) 2>&5
17023   ac_status=$?
17024   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17025   (exit $ac_status); }; } &&
17026          { ac_try='test -s conftest.$ac_objext'
17027   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17028   (eval $ac_try) 2>&5
17029   ac_status=$?
17030   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17031   (exit $ac_status); }; }; then
17032   ac_hi=$ac_mid; break
17033 else
17034   echo "$as_me: failed program was:" >&5
17035 sed 's/^/| /' conftest.$ac_ext >&5
17036
17037 ac_lo=`expr $ac_mid + 1`
17038                     if test $ac_lo -le $ac_mid; then
17039                       ac_lo= ac_hi=
17040                       break
17041                     fi
17042                     ac_mid=`expr 2 '*' $ac_mid + 1`
17043 fi
17044 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17045   done
17046 else
17047   echo "$as_me: failed program was:" >&5
17048 sed 's/^/| /' conftest.$ac_ext >&5
17049
17050 cat >conftest.$ac_ext <<_ACEOF
17051 /* confdefs.h.  */
17052 _ACEOF
17053 cat confdefs.h >>conftest.$ac_ext
17054 cat >>conftest.$ac_ext <<_ACEOF
17055 /* end confdefs.h.  */
17056 $ac_includes_default
17057 int
17058 main ()
17059 {
17060 static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
17061 test_array [0] = 0
17062
17063   ;
17064   return 0;
17065 }
17066 _ACEOF
17067 rm -f conftest.$ac_objext
17068 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17069   (eval $ac_compile) 2>conftest.er1
17070   ac_status=$?
17071   grep -v '^ *+' conftest.er1 >conftest.err
17072   rm -f conftest.er1
17073   cat conftest.err >&5
17074   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17075   (exit $ac_status); } &&
17076          { ac_try='test -z "$ac_c_werror_flag"
17077                          || test ! -s conftest.err'
17078   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17079   (eval $ac_try) 2>&5
17080   ac_status=$?
17081   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17082   (exit $ac_status); }; } &&
17083          { ac_try='test -s conftest.$ac_objext'
17084   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17085   (eval $ac_try) 2>&5
17086   ac_status=$?
17087   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17088   (exit $ac_status); }; }; then
17089   ac_hi=-1 ac_mid=-1
17090   while :; do
17091     cat >conftest.$ac_ext <<_ACEOF
17092 /* confdefs.h.  */
17093 _ACEOF
17094 cat confdefs.h >>conftest.$ac_ext
17095 cat >>conftest.$ac_ext <<_ACEOF
17096 /* end confdefs.h.  */
17097 $ac_includes_default
17098 int
17099 main ()
17100 {
17101 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
17102 test_array [0] = 0
17103
17104   ;
17105   return 0;
17106 }
17107 _ACEOF
17108 rm -f conftest.$ac_objext
17109 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17110   (eval $ac_compile) 2>conftest.er1
17111   ac_status=$?
17112   grep -v '^ *+' conftest.er1 >conftest.err
17113   rm -f conftest.er1
17114   cat conftest.err >&5
17115   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17116   (exit $ac_status); } &&
17117          { ac_try='test -z "$ac_c_werror_flag"
17118                          || test ! -s conftest.err'
17119   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17120   (eval $ac_try) 2>&5
17121   ac_status=$?
17122   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17123   (exit $ac_status); }; } &&
17124          { ac_try='test -s conftest.$ac_objext'
17125   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17126   (eval $ac_try) 2>&5
17127   ac_status=$?
17128   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17129   (exit $ac_status); }; }; then
17130   ac_lo=$ac_mid; break
17131 else
17132   echo "$as_me: failed program was:" >&5
17133 sed 's/^/| /' conftest.$ac_ext >&5
17134
17135 ac_hi=`expr '(' $ac_mid ')' - 1`
17136                        if test $ac_mid -le $ac_hi; then
17137                          ac_lo= ac_hi=
17138                          break
17139                        fi
17140                        ac_mid=`expr 2 '*' $ac_mid`
17141 fi
17142 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17143   done
17144 else
17145   echo "$as_me: failed program was:" >&5
17146 sed 's/^/| /' conftest.$ac_ext >&5
17147
17148 ac_lo= ac_hi=
17149 fi
17150 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17151 fi
17152 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17153 # Binary search between lo and hi bounds.
17154 while test "x$ac_lo" != "x$ac_hi"; do
17155   ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17156   cat >conftest.$ac_ext <<_ACEOF
17157 /* confdefs.h.  */
17158 _ACEOF
17159 cat confdefs.h >>conftest.$ac_ext
17160 cat >>conftest.$ac_ext <<_ACEOF
17161 /* end confdefs.h.  */
17162 $ac_includes_default
17163 int
17164 main ()
17165 {
17166 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
17167 test_array [0] = 0
17168
17169   ;
17170   return 0;
17171 }
17172 _ACEOF
17173 rm -f conftest.$ac_objext
17174 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17175   (eval $ac_compile) 2>conftest.er1
17176   ac_status=$?
17177   grep -v '^ *+' conftest.er1 >conftest.err
17178   rm -f conftest.er1
17179   cat conftest.err >&5
17180   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17181   (exit $ac_status); } &&
17182          { ac_try='test -z "$ac_c_werror_flag"
17183                          || test ! -s conftest.err'
17184   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17185   (eval $ac_try) 2>&5
17186   ac_status=$?
17187   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17188   (exit $ac_status); }; } &&
17189          { ac_try='test -s conftest.$ac_objext'
17190   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17191   (eval $ac_try) 2>&5
17192   ac_status=$?
17193   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17194   (exit $ac_status); }; }; then
17195   ac_hi=$ac_mid
17196 else
17197   echo "$as_me: failed program was:" >&5
17198 sed 's/^/| /' conftest.$ac_ext >&5
17199
17200 ac_lo=`expr '(' $ac_mid ')' + 1`
17201 fi
17202 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17203 done
17204 case $ac_lo in
17205 ?*) ac_cv_sizeof_short=$ac_lo;;
17206 '') { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
17207 echo "$as_me: error: in \`$ac_pwd':" >&2;}
17208 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
17209 See \`config.log' for more details." >&5
17210 echo "$as_me: error: cannot compute sizeof (short), 77
17211 See \`config.log' for more details." >&2;}
17212    { (exit 1); exit 1; }; }; } ;;
17213 esac
17214 else
17215   if test "$cross_compiling" = yes; then
17216   { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
17217 echo "$as_me: error: in \`$ac_pwd':" >&2;}
17218 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
17219 See \`config.log' for more details." >&5
17220 echo "$as_me: error: cannot run test program while cross compiling
17221 See \`config.log' for more details." >&2;}
17222    { (exit 1); exit 1; }; }; }
17223 else
17224   cat >conftest.$ac_ext <<_ACEOF
17225 /* confdefs.h.  */
17226 _ACEOF
17227 cat confdefs.h >>conftest.$ac_ext
17228 cat >>conftest.$ac_ext <<_ACEOF
17229 /* end confdefs.h.  */
17230 $ac_includes_default
17231 long longval () { return (long) (sizeof (short)); }
17232 unsigned long ulongval () { return (long) (sizeof (short)); }
17233 #include <stdio.h>
17234 #include <stdlib.h>
17235 int
17236 main ()
17237 {
17238
17239   FILE *f = fopen ("conftest.val", "w");
17240   if (! f)
17241     exit (1);
17242   if (((long) (sizeof (short))) < 0)
17243     {
17244       long i = longval ();
17245       if (i != ((long) (sizeof (short))))
17246         exit (1);
17247       fprintf (f, "%ld\n", i);
17248     }
17249   else
17250     {
17251       unsigned long i = ulongval ();
17252       if (i != ((long) (sizeof (short))))
17253         exit (1);
17254       fprintf (f, "%lu\n", i);
17255     }
17256   exit (ferror (f) || fclose (f) != 0);
17257
17258   ;
17259   return 0;
17260 }
17261 _ACEOF
17262 rm -f conftest$ac_exeext
17263 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17264   (eval $ac_link) 2>&5
17265   ac_status=$?
17266   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17267   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
17268   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17269   (eval $ac_try) 2>&5
17270   ac_status=$?
17271   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17272   (exit $ac_status); }; }; then
17273   ac_cv_sizeof_short=`cat conftest.val`
17274 else
17275   echo "$as_me: program exited with status $ac_status" >&5
17276 echo "$as_me: failed program was:" >&5
17277 sed 's/^/| /' conftest.$ac_ext >&5
17278
17279 ( exit $ac_status )
17280 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
17281 echo "$as_me: error: in \`$ac_pwd':" >&2;}
17282 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
17283 See \`config.log' for more details." >&5
17284 echo "$as_me: error: cannot compute sizeof (short), 77
17285 See \`config.log' for more details." >&2;}
17286    { (exit 1); exit 1; }; }; }
17287 fi
17288 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
17289 fi
17290 fi
17291 rm -f conftest.val
17292 else
17293   ac_cv_sizeof_short=0
17294 fi
17295 fi
17296 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
17297 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
17298 cat >>confdefs.h <<_ACEOF
17299 #define SIZEOF_SHORT $ac_cv_sizeof_short
17300 _ACEOF
17301
17302
17303   echo "$as_me:$LINENO: checking for char" >&5
17304 echo $ECHO_N "checking for char... $ECHO_C" >&6
17305 if test "${ac_cv_type_char+set}" = set; then
17306   echo $ECHO_N "(cached) $ECHO_C" >&6
17307 else
17308   cat >conftest.$ac_ext <<_ACEOF
17309 /* confdefs.h.  */
17310 _ACEOF
17311 cat confdefs.h >>conftest.$ac_ext
17312 cat >>conftest.$ac_ext <<_ACEOF
17313 /* end confdefs.h.  */
17314 $ac_includes_default
17315 int
17316 main ()
17317 {
17318 if ((char *) 0)
17319   return 0;
17320 if (sizeof (char))
17321   return 0;
17322   ;
17323   return 0;
17324 }
17325 _ACEOF
17326 rm -f conftest.$ac_objext
17327 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17328   (eval $ac_compile) 2>conftest.er1
17329   ac_status=$?
17330   grep -v '^ *+' conftest.er1 >conftest.err
17331   rm -f conftest.er1
17332   cat conftest.err >&5
17333   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17334   (exit $ac_status); } &&
17335          { ac_try='test -z "$ac_c_werror_flag"
17336                          || test ! -s conftest.err'
17337   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17338   (eval $ac_try) 2>&5
17339   ac_status=$?
17340   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17341   (exit $ac_status); }; } &&
17342          { ac_try='test -s conftest.$ac_objext'
17343   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17344   (eval $ac_try) 2>&5
17345   ac_status=$?
17346   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17347   (exit $ac_status); }; }; then
17348   ac_cv_type_char=yes
17349 else
17350   echo "$as_me: failed program was:" >&5
17351 sed 's/^/| /' conftest.$ac_ext >&5
17352
17353 ac_cv_type_char=no
17354 fi
17355 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17356 fi
17357 echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
17358 echo "${ECHO_T}$ac_cv_type_char" >&6
17359
17360 echo "$as_me:$LINENO: checking size of char" >&5
17361 echo $ECHO_N "checking size of char... $ECHO_C" >&6
17362 if test "${ac_cv_sizeof_char+set}" = set; then
17363   echo $ECHO_N "(cached) $ECHO_C" >&6
17364 else
17365   if test "$ac_cv_type_char" = yes; then
17366   # The cast to unsigned long works around a bug in the HP C Compiler
17367   # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17368   # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17369   # This bug is HP SR number 8606223364.
17370   if test "$cross_compiling" = yes; then
17371   # Depending upon the size, compute the lo and hi bounds.
17372 cat >conftest.$ac_ext <<_ACEOF
17373 /* confdefs.h.  */
17374 _ACEOF
17375 cat confdefs.h >>conftest.$ac_ext
17376 cat >>conftest.$ac_ext <<_ACEOF
17377 /* end confdefs.h.  */
17378 $ac_includes_default
17379 int
17380 main ()
17381 {
17382 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
17383 test_array [0] = 0
17384
17385   ;
17386   return 0;
17387 }
17388 _ACEOF
17389 rm -f conftest.$ac_objext
17390 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17391   (eval $ac_compile) 2>conftest.er1
17392   ac_status=$?
17393   grep -v '^ *+' conftest.er1 >conftest.err
17394   rm -f conftest.er1
17395   cat conftest.err >&5
17396   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17397   (exit $ac_status); } &&
17398          { ac_try='test -z "$ac_c_werror_flag"
17399                          || test ! -s conftest.err'
17400   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17401   (eval $ac_try) 2>&5
17402   ac_status=$?
17403   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17404   (exit $ac_status); }; } &&
17405          { ac_try='test -s conftest.$ac_objext'
17406   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17407   (eval $ac_try) 2>&5
17408   ac_status=$?
17409   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17410   (exit $ac_status); }; }; then
17411   ac_lo=0 ac_mid=0
17412   while :; do
17413     cat >conftest.$ac_ext <<_ACEOF
17414 /* confdefs.h.  */
17415 _ACEOF
17416 cat confdefs.h >>conftest.$ac_ext
17417 cat >>conftest.$ac_ext <<_ACEOF
17418 /* end confdefs.h.  */
17419 $ac_includes_default
17420 int
17421 main ()
17422 {
17423 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
17424 test_array [0] = 0
17425
17426   ;
17427   return 0;
17428 }
17429 _ACEOF
17430 rm -f conftest.$ac_objext
17431 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17432   (eval $ac_compile) 2>conftest.er1
17433   ac_status=$?
17434   grep -v '^ *+' conftest.er1 >conftest.err
17435   rm -f conftest.er1
17436   cat conftest.err >&5
17437   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17438   (exit $ac_status); } &&
17439          { ac_try='test -z "$ac_c_werror_flag"
17440                          || test ! -s conftest.err'
17441   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17442   (eval $ac_try) 2>&5
17443   ac_status=$?
17444   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17445   (exit $ac_status); }; } &&
17446          { ac_try='test -s conftest.$ac_objext'
17447   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17448   (eval $ac_try) 2>&5
17449   ac_status=$?
17450   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17451   (exit $ac_status); }; }; then
17452   ac_hi=$ac_mid; break
17453 else
17454   echo "$as_me: failed program was:" >&5
17455 sed 's/^/| /' conftest.$ac_ext >&5
17456
17457 ac_lo=`expr $ac_mid + 1`
17458                     if test $ac_lo -le $ac_mid; then
17459                       ac_lo= ac_hi=
17460                       break
17461                     fi
17462                     ac_mid=`expr 2 '*' $ac_mid + 1`
17463 fi
17464 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17465   done
17466 else
17467   echo "$as_me: failed program was:" >&5
17468 sed 's/^/| /' conftest.$ac_ext >&5
17469
17470 cat >conftest.$ac_ext <<_ACEOF
17471 /* confdefs.h.  */
17472 _ACEOF
17473 cat confdefs.h >>conftest.$ac_ext
17474 cat >>conftest.$ac_ext <<_ACEOF
17475 /* end confdefs.h.  */
17476 $ac_includes_default
17477 int
17478 main ()
17479 {
17480 static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)];
17481 test_array [0] = 0
17482
17483   ;
17484   return 0;
17485 }
17486 _ACEOF
17487 rm -f conftest.$ac_objext
17488 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17489   (eval $ac_compile) 2>conftest.er1
17490   ac_status=$?
17491   grep -v '^ *+' conftest.er1 >conftest.err
17492   rm -f conftest.er1
17493   cat conftest.err >&5
17494   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17495   (exit $ac_status); } &&
17496          { ac_try='test -z "$ac_c_werror_flag"
17497                          || test ! -s conftest.err'
17498   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17499   (eval $ac_try) 2>&5
17500   ac_status=$?
17501   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17502   (exit $ac_status); }; } &&
17503          { ac_try='test -s conftest.$ac_objext'
17504   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17505   (eval $ac_try) 2>&5
17506   ac_status=$?
17507   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17508   (exit $ac_status); }; }; then
17509   ac_hi=-1 ac_mid=-1
17510   while :; do
17511     cat >conftest.$ac_ext <<_ACEOF
17512 /* confdefs.h.  */
17513 _ACEOF
17514 cat confdefs.h >>conftest.$ac_ext
17515 cat >>conftest.$ac_ext <<_ACEOF
17516 /* end confdefs.h.  */
17517 $ac_includes_default
17518 int
17519 main ()
17520 {
17521 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
17522 test_array [0] = 0
17523
17524   ;
17525   return 0;
17526 }
17527 _ACEOF
17528 rm -f conftest.$ac_objext
17529 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17530   (eval $ac_compile) 2>conftest.er1
17531   ac_status=$?
17532   grep -v '^ *+' conftest.er1 >conftest.err
17533   rm -f conftest.er1
17534   cat conftest.err >&5
17535   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17536   (exit $ac_status); } &&
17537          { ac_try='test -z "$ac_c_werror_flag"
17538                          || test ! -s conftest.err'
17539   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17540   (eval $ac_try) 2>&5
17541   ac_status=$?
17542   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17543   (exit $ac_status); }; } &&
17544          { ac_try='test -s conftest.$ac_objext'
17545   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17546   (eval $ac_try) 2>&5
17547   ac_status=$?
17548   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17549   (exit $ac_status); }; }; then
17550   ac_lo=$ac_mid; break
17551 else
17552   echo "$as_me: failed program was:" >&5
17553 sed 's/^/| /' conftest.$ac_ext >&5
17554
17555 ac_hi=`expr '(' $ac_mid ')' - 1`
17556                        if test $ac_mid -le $ac_hi; then
17557                          ac_lo= ac_hi=
17558                          break
17559                        fi
17560                        ac_mid=`expr 2 '*' $ac_mid`
17561 fi
17562 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17563   done
17564 else
17565   echo "$as_me: failed program was:" >&5
17566 sed 's/^/| /' conftest.$ac_ext >&5
17567
17568 ac_lo= ac_hi=
17569 fi
17570 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17571 fi
17572 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17573 # Binary search between lo and hi bounds.
17574 while test "x$ac_lo" != "x$ac_hi"; do
17575   ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17576   cat >conftest.$ac_ext <<_ACEOF
17577 /* confdefs.h.  */
17578 _ACEOF
17579 cat confdefs.h >>conftest.$ac_ext
17580 cat >>conftest.$ac_ext <<_ACEOF
17581 /* end confdefs.h.  */
17582 $ac_includes_default
17583 int
17584 main ()
17585 {
17586 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
17587 test_array [0] = 0
17588
17589   ;
17590   return 0;
17591 }
17592 _ACEOF
17593 rm -f conftest.$ac_objext
17594 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17595   (eval $ac_compile) 2>conftest.er1
17596   ac_status=$?
17597   grep -v '^ *+' conftest.er1 >conftest.err
17598   rm -f conftest.er1
17599   cat conftest.err >&5
17600   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17601   (exit $ac_status); } &&
17602          { ac_try='test -z "$ac_c_werror_flag"
17603                          || test ! -s conftest.err'
17604   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17605   (eval $ac_try) 2>&5
17606   ac_status=$?
17607   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17608   (exit $ac_status); }; } &&
17609          { ac_try='test -s conftest.$ac_objext'
17610   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17611   (eval $ac_try) 2>&5
17612   ac_status=$?
17613   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17614   (exit $ac_status); }; }; then
17615   ac_hi=$ac_mid
17616 else
17617   echo "$as_me: failed program was:" >&5
17618 sed 's/^/| /' conftest.$ac_ext >&5
17619
17620 ac_lo=`expr '(' $ac_mid ')' + 1`
17621 fi
17622 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17623 done
17624 case $ac_lo in
17625 ?*) ac_cv_sizeof_char=$ac_lo;;
17626 '') { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
17627 echo "$as_me: error: in \`$ac_pwd':" >&2;}
17628 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
17629 See \`config.log' for more details." >&5
17630 echo "$as_me: error: cannot compute sizeof (char), 77
17631 See \`config.log' for more details." >&2;}
17632    { (exit 1); exit 1; }; }; } ;;
17633 esac
17634 else
17635   if test "$cross_compiling" = yes; then
17636   { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
17637 echo "$as_me: error: in \`$ac_pwd':" >&2;}
17638 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
17639 See \`config.log' for more details." >&5
17640 echo "$as_me: error: cannot run test program while cross compiling
17641 See \`config.log' for more details." >&2;}
17642    { (exit 1); exit 1; }; }; }
17643 else
17644   cat >conftest.$ac_ext <<_ACEOF
17645 /* confdefs.h.  */
17646 _ACEOF
17647 cat confdefs.h >>conftest.$ac_ext
17648 cat >>conftest.$ac_ext <<_ACEOF
17649 /* end confdefs.h.  */
17650 $ac_includes_default
17651 long longval () { return (long) (sizeof (char)); }
17652 unsigned long ulongval () { return (long) (sizeof (char)); }
17653 #include <stdio.h>
17654 #include <stdlib.h>
17655 int
17656 main ()
17657 {
17658
17659   FILE *f = fopen ("conftest.val", "w");
17660   if (! f)
17661     exit (1);
17662   if (((long) (sizeof (char))) < 0)
17663     {
17664       long i = longval ();
17665       if (i != ((long) (sizeof (char))))
17666         exit (1);
17667       fprintf (f, "%ld\n", i);
17668     }
17669   else
17670     {
17671       unsigned long i = ulongval ();
17672       if (i != ((long) (sizeof (char))))
17673         exit (1);
17674       fprintf (f, "%lu\n", i);
17675     }
17676   exit (ferror (f) || fclose (f) != 0);
17677
17678   ;
17679   return 0;
17680 }
17681 _ACEOF
17682 rm -f conftest$ac_exeext
17683 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17684   (eval $ac_link) 2>&5
17685   ac_status=$?
17686   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17687   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
17688   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17689   (eval $ac_try) 2>&5
17690   ac_status=$?
17691   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17692   (exit $ac_status); }; }; then
17693   ac_cv_sizeof_char=`cat conftest.val`
17694 else
17695   echo "$as_me: program exited with status $ac_status" >&5
17696 echo "$as_me: failed program was:" >&5
17697 sed 's/^/| /' conftest.$ac_ext >&5
17698
17699 ( exit $ac_status )
17700 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
17701 echo "$as_me: error: in \`$ac_pwd':" >&2;}
17702 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
17703 See \`config.log' for more details." >&5
17704 echo "$as_me: error: cannot compute sizeof (char), 77
17705 See \`config.log' for more details." >&2;}
17706    { (exit 1); exit 1; }; }; }
17707 fi
17708 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
17709 fi
17710 fi
17711 rm -f conftest.val
17712 else
17713   ac_cv_sizeof_char=0
17714 fi
17715 fi
17716 echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
17717 echo "${ECHO_T}$ac_cv_sizeof_char" >&6
17718 cat >>confdefs.h <<_ACEOF
17719 #define SIZEOF_CHAR $ac_cv_sizeof_char
17720 _ACEOF
17721
17722
17723
17724   echo "$as_me:$LINENO: checking for type equivalent to int8_t" >&5
17725 echo $ECHO_N "checking for type equivalent to int8_t... $ECHO_C" >&6
17726   case "$ac_cv_sizeof_char" in
17727     1) acx_cv_type_int8_t=char ;;
17728     *) { { echo "$as_me:$LINENO: error: no 8-bit type" >&5
17729 echo "$as_me: error: no 8-bit type" >&2;}
17730    { (exit please report a bug); exit please report a bug; }; }
17731   esac
17732   echo "$as_me:$LINENO: result: $acx_cv_type_int8_t" >&5
17733 echo "${ECHO_T}$acx_cv_type_int8_t" >&6
17734
17735   echo "$as_me:$LINENO: checking for type equivalent to int16_t" >&5
17736 echo $ECHO_N "checking for type equivalent to int16_t... $ECHO_C" >&6
17737   case "$ac_cv_sizeof_int:$ac_cv_sizeof_short" in
17738     2:*) acx_cv_type_int16_t=int ;;
17739     *:2) acx_cv_type_int16_t=short ;;
17740     *) { { echo "$as_me:$LINENO: error: no 16-bit type" >&5
17741 echo "$as_me: error: no 16-bit type" >&2;}
17742    { (exit please report a bug); exit please report a bug; }; }
17743   esac
17744   echo "$as_me:$LINENO: result: $acx_cv_type_int16_t" >&5
17745 echo "${ECHO_T}$acx_cv_type_int16_t" >&6
17746
17747   echo "$as_me:$LINENO: checking for type equivalent to int32_t" >&5
17748 echo $ECHO_N "checking for type equivalent to int32_t... $ECHO_C" >&6
17749   case "$ac_cv_sizeof_int:$ac_cv_sizeof_long" in
17750     4:*) acx_cv_type_int32_t=int ;;
17751     *:4) acx_cv_type_int32_t=long ;;
17752     *) { { echo "$as_me:$LINENO: error: no 32-bit type" >&5
17753 echo "$as_me: error: no 32-bit type" >&2;}
17754    { (exit please report a bug); exit please report a bug; }; }
17755   esac
17756   echo "$as_me:$LINENO: result: $acx_cv_type_int32_t" >&5
17757 echo "${ECHO_T}$acx_cv_type_int32_t" >&6
17758 fi
17759
17760 # These tests are here to make the output prettier
17761
17762 if test "$ac_cv_type_uint64_t" != yes && test "$ac_cv_type_u_int64_t" != yes; then
17763   case "$ac_cv_sizeof_long" in
17764     8) acx_cv_type_int64_t=long ;;
17765   esac
17766   echo "$as_me:$LINENO: checking for type equivalent to int64_t" >&5
17767 echo $ECHO_N "checking for type equivalent to int64_t... $ECHO_C" >&6
17768   echo "$as_me:$LINENO: result: ${acx_cv_type_int64_t-'using preprocessor symbols'}" >&5
17769 echo "${ECHO_T}${acx_cv_type_int64_t-'using preprocessor symbols'}" >&6
17770 fi
17771
17772 # Now we can use the above types
17773
17774 if test "$ac_cv_type_uintptr_t" != yes; then
17775   echo "$as_me:$LINENO: checking for type equivalent to intptr_t" >&5
17776 echo $ECHO_N "checking for type equivalent to intptr_t... $ECHO_C" >&6
17777   case $ac_cv_sizeof_void_p in
17778     2) acx_cv_type_intptr_t=int16_t ;;
17779     4) acx_cv_type_intptr_t=int32_t ;;
17780     8) acx_cv_type_intptr_t=int64_t ;;
17781     *) { { echo "$as_me:$LINENO: error: no equivalent for intptr_t" >&5
17782 echo "$as_me: error: no equivalent for intptr_t" >&2;}
17783    { (exit please report a bug); exit please report a bug; }; }
17784   esac
17785   echo "$as_me:$LINENO: result: $acx_cv_type_intptr_t" >&5
17786 echo "${ECHO_T}$acx_cv_type_intptr_t" >&6
17787 fi
17788
17789 # ----------------- done all checks, emit header -------------
17790           ac_config_commands="$ac_config_commands gstdint.h"
17791
17792
17793
17794
17795 echo "$as_me:$LINENO: checking for struct stat.st_blksize" >&5
17796 echo $ECHO_N "checking for struct stat.st_blksize... $ECHO_C" >&6
17797 if test "${ac_cv_member_struct_stat_st_blksize+set}" = set; then
17798   echo $ECHO_N "(cached) $ECHO_C" >&6
17799 else
17800   cat >conftest.$ac_ext <<_ACEOF
17801 /* confdefs.h.  */
17802 _ACEOF
17803 cat confdefs.h >>conftest.$ac_ext
17804 cat >>conftest.$ac_ext <<_ACEOF
17805 /* end confdefs.h.  */
17806 $ac_includes_default
17807 int
17808 main ()
17809 {
17810 static struct stat ac_aggr;
17811 if (ac_aggr.st_blksize)
17812 return 0;
17813   ;
17814   return 0;
17815 }
17816 _ACEOF
17817 rm -f conftest.$ac_objext
17818 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17819   (eval $ac_compile) 2>conftest.er1
17820   ac_status=$?
17821   grep -v '^ *+' conftest.er1 >conftest.err
17822   rm -f conftest.er1
17823   cat conftest.err >&5
17824   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17825   (exit $ac_status); } &&
17826          { ac_try='test -z "$ac_c_werror_flag"
17827                          || test ! -s conftest.err'
17828   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17829   (eval $ac_try) 2>&5
17830   ac_status=$?
17831   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17832   (exit $ac_status); }; } &&
17833          { ac_try='test -s conftest.$ac_objext'
17834   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17835   (eval $ac_try) 2>&5
17836   ac_status=$?
17837   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17838   (exit $ac_status); }; }; then
17839   ac_cv_member_struct_stat_st_blksize=yes
17840 else
17841   echo "$as_me: failed program was:" >&5
17842 sed 's/^/| /' conftest.$ac_ext >&5
17843
17844 cat >conftest.$ac_ext <<_ACEOF
17845 /* confdefs.h.  */
17846 _ACEOF
17847 cat confdefs.h >>conftest.$ac_ext
17848 cat >>conftest.$ac_ext <<_ACEOF
17849 /* end confdefs.h.  */
17850 $ac_includes_default
17851 int
17852 main ()
17853 {
17854 static struct stat ac_aggr;
17855 if (sizeof ac_aggr.st_blksize)
17856 return 0;
17857   ;
17858   return 0;
17859 }
17860 _ACEOF
17861 rm -f conftest.$ac_objext
17862 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17863   (eval $ac_compile) 2>conftest.er1
17864   ac_status=$?
17865   grep -v '^ *+' conftest.er1 >conftest.err
17866   rm -f conftest.er1
17867   cat conftest.err >&5
17868   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17869   (exit $ac_status); } &&
17870          { ac_try='test -z "$ac_c_werror_flag"
17871                          || test ! -s conftest.err'
17872   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17873   (eval $ac_try) 2>&5
17874   ac_status=$?
17875   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17876   (exit $ac_status); }; } &&
17877          { ac_try='test -s conftest.$ac_objext'
17878   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17879   (eval $ac_try) 2>&5
17880   ac_status=$?
17881   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17882   (exit $ac_status); }; }; then
17883   ac_cv_member_struct_stat_st_blksize=yes
17884 else
17885   echo "$as_me: failed program was:" >&5
17886 sed 's/^/| /' conftest.$ac_ext >&5
17887
17888 ac_cv_member_struct_stat_st_blksize=no
17889 fi
17890 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17891 fi
17892 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17893 fi
17894 echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blksize" >&5
17895 echo "${ECHO_T}$ac_cv_member_struct_stat_st_blksize" >&6
17896 if test $ac_cv_member_struct_stat_st_blksize = yes; then
17897
17898 cat >>confdefs.h <<_ACEOF
17899 #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
17900 _ACEOF
17901
17902
17903 fi
17904
17905 echo "$as_me:$LINENO: checking for struct stat.st_blocks" >&5
17906 echo $ECHO_N "checking for struct stat.st_blocks... $ECHO_C" >&6
17907 if test "${ac_cv_member_struct_stat_st_blocks+set}" = set; then
17908   echo $ECHO_N "(cached) $ECHO_C" >&6
17909 else
17910   cat >conftest.$ac_ext <<_ACEOF
17911 /* confdefs.h.  */
17912 _ACEOF
17913 cat confdefs.h >>conftest.$ac_ext
17914 cat >>conftest.$ac_ext <<_ACEOF
17915 /* end confdefs.h.  */
17916 $ac_includes_default
17917 int
17918 main ()
17919 {
17920 static struct stat ac_aggr;
17921 if (ac_aggr.st_blocks)
17922 return 0;
17923   ;
17924   return 0;
17925 }
17926 _ACEOF
17927 rm -f conftest.$ac_objext
17928 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17929   (eval $ac_compile) 2>conftest.er1
17930   ac_status=$?
17931   grep -v '^ *+' conftest.er1 >conftest.err
17932   rm -f conftest.er1
17933   cat conftest.err >&5
17934   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17935   (exit $ac_status); } &&
17936          { ac_try='test -z "$ac_c_werror_flag"
17937                          || test ! -s conftest.err'
17938   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17939   (eval $ac_try) 2>&5
17940   ac_status=$?
17941   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17942   (exit $ac_status); }; } &&
17943          { ac_try='test -s conftest.$ac_objext'
17944   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17945   (eval $ac_try) 2>&5
17946   ac_status=$?
17947   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17948   (exit $ac_status); }; }; then
17949   ac_cv_member_struct_stat_st_blocks=yes
17950 else
17951   echo "$as_me: failed program was:" >&5
17952 sed 's/^/| /' conftest.$ac_ext >&5
17953
17954 cat >conftest.$ac_ext <<_ACEOF
17955 /* confdefs.h.  */
17956 _ACEOF
17957 cat confdefs.h >>conftest.$ac_ext
17958 cat >>conftest.$ac_ext <<_ACEOF
17959 /* end confdefs.h.  */
17960 $ac_includes_default
17961 int
17962 main ()
17963 {
17964 static struct stat ac_aggr;
17965 if (sizeof ac_aggr.st_blocks)
17966 return 0;
17967   ;
17968   return 0;
17969 }
17970 _ACEOF
17971 rm -f conftest.$ac_objext
17972 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17973   (eval $ac_compile) 2>conftest.er1
17974   ac_status=$?
17975   grep -v '^ *+' conftest.er1 >conftest.err
17976   rm -f conftest.er1
17977   cat conftest.err >&5
17978   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17979   (exit $ac_status); } &&
17980          { ac_try='test -z "$ac_c_werror_flag"
17981                          || test ! -s conftest.err'
17982   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17983   (eval $ac_try) 2>&5
17984   ac_status=$?
17985   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17986   (exit $ac_status); }; } &&
17987          { ac_try='test -s conftest.$ac_objext'
17988   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17989   (eval $ac_try) 2>&5
17990   ac_status=$?
17991   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17992   (exit $ac_status); }; }; then
17993   ac_cv_member_struct_stat_st_blocks=yes
17994 else
17995   echo "$as_me: failed program was:" >&5
17996 sed 's/^/| /' conftest.$ac_ext >&5
17997
17998 ac_cv_member_struct_stat_st_blocks=no
17999 fi
18000 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18001 fi
18002 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18003 fi
18004 echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blocks" >&5
18005 echo "${ECHO_T}$ac_cv_member_struct_stat_st_blocks" >&6
18006 if test $ac_cv_member_struct_stat_st_blocks = yes; then
18007
18008 cat >>confdefs.h <<_ACEOF
18009 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
18010 _ACEOF
18011
18012
18013 fi
18014
18015 echo "$as_me:$LINENO: checking for struct stat.st_rdev" >&5
18016 echo $ECHO_N "checking for struct stat.st_rdev... $ECHO_C" >&6
18017 if test "${ac_cv_member_struct_stat_st_rdev+set}" = set; then
18018   echo $ECHO_N "(cached) $ECHO_C" >&6
18019 else
18020   cat >conftest.$ac_ext <<_ACEOF
18021 /* confdefs.h.  */
18022 _ACEOF
18023 cat confdefs.h >>conftest.$ac_ext
18024 cat >>conftest.$ac_ext <<_ACEOF
18025 /* end confdefs.h.  */
18026 $ac_includes_default
18027 int
18028 main ()
18029 {
18030 static struct stat ac_aggr;
18031 if (ac_aggr.st_rdev)
18032 return 0;
18033   ;
18034   return 0;
18035 }
18036 _ACEOF
18037 rm -f conftest.$ac_objext
18038 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18039   (eval $ac_compile) 2>conftest.er1
18040   ac_status=$?
18041   grep -v '^ *+' conftest.er1 >conftest.err
18042   rm -f conftest.er1
18043   cat conftest.err >&5
18044   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18045   (exit $ac_status); } &&
18046          { ac_try='test -z "$ac_c_werror_flag"
18047                          || test ! -s conftest.err'
18048   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18049   (eval $ac_try) 2>&5
18050   ac_status=$?
18051   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18052   (exit $ac_status); }; } &&
18053          { ac_try='test -s conftest.$ac_objext'
18054   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18055   (eval $ac_try) 2>&5
18056   ac_status=$?
18057   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18058   (exit $ac_status); }; }; then
18059   ac_cv_member_struct_stat_st_rdev=yes
18060 else
18061   echo "$as_me: failed program was:" >&5
18062 sed 's/^/| /' conftest.$ac_ext >&5
18063
18064 cat >conftest.$ac_ext <<_ACEOF
18065 /* confdefs.h.  */
18066 _ACEOF
18067 cat confdefs.h >>conftest.$ac_ext
18068 cat >>conftest.$ac_ext <<_ACEOF
18069 /* end confdefs.h.  */
18070 $ac_includes_default
18071 int
18072 main ()
18073 {
18074 static struct stat ac_aggr;
18075 if (sizeof ac_aggr.st_rdev)
18076 return 0;
18077   ;
18078   return 0;
18079 }
18080 _ACEOF
18081 rm -f conftest.$ac_objext
18082 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18083   (eval $ac_compile) 2>conftest.er1
18084   ac_status=$?
18085   grep -v '^ *+' conftest.er1 >conftest.err
18086   rm -f conftest.er1
18087   cat conftest.err >&5
18088   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18089   (exit $ac_status); } &&
18090          { ac_try='test -z "$ac_c_werror_flag"
18091                          || test ! -s conftest.err'
18092   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18093   (eval $ac_try) 2>&5
18094   ac_status=$?
18095   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18096   (exit $ac_status); }; } &&
18097          { ac_try='test -s conftest.$ac_objext'
18098   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18099   (eval $ac_try) 2>&5
18100   ac_status=$?
18101   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18102   (exit $ac_status); }; }; then
18103   ac_cv_member_struct_stat_st_rdev=yes
18104 else
18105   echo "$as_me: failed program was:" >&5
18106 sed 's/^/| /' conftest.$ac_ext >&5
18107
18108 ac_cv_member_struct_stat_st_rdev=no
18109 fi
18110 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18111 fi
18112 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18113 fi
18114 echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_rdev" >&5
18115 echo "${ECHO_T}$ac_cv_member_struct_stat_st_rdev" >&6
18116 if test $ac_cv_member_struct_stat_st_rdev = yes; then
18117
18118 cat >>confdefs.h <<_ACEOF
18119 #define HAVE_STRUCT_STAT_ST_RDEV 1
18120 _ACEOF
18121
18122
18123 fi
18124
18125
18126 # Check for library functions.
18127
18128
18129
18130
18131
18132
18133
18134
18135 for ac_func in getrusage times mkstemp strtof strtold snprintf ftruncate chsize
18136 do
18137 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18138 echo "$as_me:$LINENO: checking for $ac_func" >&5
18139 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18140 if eval "test \"\${$as_ac_var+set}\" = set"; then
18141   echo $ECHO_N "(cached) $ECHO_C" >&6
18142 else
18143   if test x$gcc_no_link = xyes; then
18144   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18145 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18146    { (exit 1); exit 1; }; }
18147 fi
18148 cat >conftest.$ac_ext <<_ACEOF
18149 /* confdefs.h.  */
18150 _ACEOF
18151 cat confdefs.h >>conftest.$ac_ext
18152 cat >>conftest.$ac_ext <<_ACEOF
18153 /* end confdefs.h.  */
18154 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18155    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
18156 #define $ac_func innocuous_$ac_func
18157
18158 /* System header to define __stub macros and hopefully few prototypes,
18159     which can conflict with char $ac_func (); below.
18160     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18161     <limits.h> exists even on freestanding compilers.  */
18162
18163 #ifdef __STDC__
18164 # include <limits.h>
18165 #else
18166 # include <assert.h>
18167 #endif
18168
18169 #undef $ac_func
18170
18171 /* Override any gcc2 internal prototype to avoid an error.  */
18172 #ifdef __cplusplus
18173 extern "C"
18174 {
18175 #endif
18176 /* We use char because int might match the return type of a gcc2
18177    builtin and then its argument prototype would still apply.  */
18178 char $ac_func ();
18179 /* The GNU C library defines this for functions which it implements
18180     to always fail with ENOSYS.  Some functions are actually named
18181     something starting with __ and the normal name is an alias.  */
18182 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18183 choke me
18184 #else
18185 char (*f) () = $ac_func;
18186 #endif
18187 #ifdef __cplusplus
18188 }
18189 #endif
18190
18191 int
18192 main ()
18193 {
18194 return f != $ac_func;
18195   ;
18196   return 0;
18197 }
18198 _ACEOF
18199 rm -f conftest.$ac_objext conftest$ac_exeext
18200 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18201   (eval $ac_link) 2>conftest.er1
18202   ac_status=$?
18203   grep -v '^ *+' conftest.er1 >conftest.err
18204   rm -f conftest.er1
18205   cat conftest.err >&5
18206   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18207   (exit $ac_status); } &&
18208          { ac_try='test -z "$ac_c_werror_flag"
18209                          || test ! -s conftest.err'
18210   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18211   (eval $ac_try) 2>&5
18212   ac_status=$?
18213   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18214   (exit $ac_status); }; } &&
18215          { ac_try='test -s conftest$ac_exeext'
18216   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18217   (eval $ac_try) 2>&5
18218   ac_status=$?
18219   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18220   (exit $ac_status); }; }; then
18221   eval "$as_ac_var=yes"
18222 else
18223   echo "$as_me: failed program was:" >&5
18224 sed 's/^/| /' conftest.$ac_ext >&5
18225
18226 eval "$as_ac_var=no"
18227 fi
18228 rm -f conftest.err conftest.$ac_objext \
18229       conftest$ac_exeext conftest.$ac_ext
18230 fi
18231 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18232 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18233 if test `eval echo '${'$as_ac_var'}'` = yes; then
18234   cat >>confdefs.h <<_ACEOF
18235 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18236 _ACEOF
18237
18238 fi
18239 done
18240
18241
18242
18243
18244
18245
18246
18247
18248
18249 for ac_func in chdir strerror getlogin gethostname kill link symlink perror
18250 do
18251 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18252 echo "$as_me:$LINENO: checking for $ac_func" >&5
18253 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18254 if eval "test \"\${$as_ac_var+set}\" = set"; then
18255   echo $ECHO_N "(cached) $ECHO_C" >&6
18256 else
18257   if test x$gcc_no_link = xyes; then
18258   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18259 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18260    { (exit 1); exit 1; }; }
18261 fi
18262 cat >conftest.$ac_ext <<_ACEOF
18263 /* confdefs.h.  */
18264 _ACEOF
18265 cat confdefs.h >>conftest.$ac_ext
18266 cat >>conftest.$ac_ext <<_ACEOF
18267 /* end confdefs.h.  */
18268 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18269    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
18270 #define $ac_func innocuous_$ac_func
18271
18272 /* System header to define __stub macros and hopefully few prototypes,
18273     which can conflict with char $ac_func (); below.
18274     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18275     <limits.h> exists even on freestanding compilers.  */
18276
18277 #ifdef __STDC__
18278 # include <limits.h>
18279 #else
18280 # include <assert.h>
18281 #endif
18282
18283 #undef $ac_func
18284
18285 /* Override any gcc2 internal prototype to avoid an error.  */
18286 #ifdef __cplusplus
18287 extern "C"
18288 {
18289 #endif
18290 /* We use char because int might match the return type of a gcc2
18291    builtin and then its argument prototype would still apply.  */
18292 char $ac_func ();
18293 /* The GNU C library defines this for functions which it implements
18294     to always fail with ENOSYS.  Some functions are actually named
18295     something starting with __ and the normal name is an alias.  */
18296 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18297 choke me
18298 #else
18299 char (*f) () = $ac_func;
18300 #endif
18301 #ifdef __cplusplus
18302 }
18303 #endif
18304
18305 int
18306 main ()
18307 {
18308 return f != $ac_func;
18309   ;
18310   return 0;
18311 }
18312 _ACEOF
18313 rm -f conftest.$ac_objext conftest$ac_exeext
18314 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18315   (eval $ac_link) 2>conftest.er1
18316   ac_status=$?
18317   grep -v '^ *+' conftest.er1 >conftest.err
18318   rm -f conftest.er1
18319   cat conftest.err >&5
18320   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18321   (exit $ac_status); } &&
18322          { ac_try='test -z "$ac_c_werror_flag"
18323                          || test ! -s conftest.err'
18324   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18325   (eval $ac_try) 2>&5
18326   ac_status=$?
18327   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18328   (exit $ac_status); }; } &&
18329          { ac_try='test -s conftest$ac_exeext'
18330   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18331   (eval $ac_try) 2>&5
18332   ac_status=$?
18333   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18334   (exit $ac_status); }; }; then
18335   eval "$as_ac_var=yes"
18336 else
18337   echo "$as_me: failed program was:" >&5
18338 sed 's/^/| /' conftest.$ac_ext >&5
18339
18340 eval "$as_ac_var=no"
18341 fi
18342 rm -f conftest.err conftest.$ac_objext \
18343       conftest$ac_exeext conftest.$ac_ext
18344 fi
18345 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18346 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18347 if test `eval echo '${'$as_ac_var'}'` = yes; then
18348   cat >>confdefs.h <<_ACEOF
18349 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18350 _ACEOF
18351
18352 fi
18353 done
18354
18355
18356
18357
18358
18359
18360
18361
18362
18363
18364
18365 for ac_func in sleep time ttyname signal alarm ctime clock access fork execl
18366 do
18367 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18368 echo "$as_me:$LINENO: checking for $ac_func" >&5
18369 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18370 if eval "test \"\${$as_ac_var+set}\" = set"; then
18371   echo $ECHO_N "(cached) $ECHO_C" >&6
18372 else
18373   if test x$gcc_no_link = xyes; then
18374   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18375 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18376    { (exit 1); exit 1; }; }
18377 fi
18378 cat >conftest.$ac_ext <<_ACEOF
18379 /* confdefs.h.  */
18380 _ACEOF
18381 cat confdefs.h >>conftest.$ac_ext
18382 cat >>conftest.$ac_ext <<_ACEOF
18383 /* end confdefs.h.  */
18384 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18385    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
18386 #define $ac_func innocuous_$ac_func
18387
18388 /* System header to define __stub macros and hopefully few prototypes,
18389     which can conflict with char $ac_func (); below.
18390     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18391     <limits.h> exists even on freestanding compilers.  */
18392
18393 #ifdef __STDC__
18394 # include <limits.h>
18395 #else
18396 # include <assert.h>
18397 #endif
18398
18399 #undef $ac_func
18400
18401 /* Override any gcc2 internal prototype to avoid an error.  */
18402 #ifdef __cplusplus
18403 extern "C"
18404 {
18405 #endif
18406 /* We use char because int might match the return type of a gcc2
18407    builtin and then its argument prototype would still apply.  */
18408 char $ac_func ();
18409 /* The GNU C library defines this for functions which it implements
18410     to always fail with ENOSYS.  Some functions are actually named
18411     something starting with __ and the normal name is an alias.  */
18412 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18413 choke me
18414 #else
18415 char (*f) () = $ac_func;
18416 #endif
18417 #ifdef __cplusplus
18418 }
18419 #endif
18420
18421 int
18422 main ()
18423 {
18424 return f != $ac_func;
18425   ;
18426   return 0;
18427 }
18428 _ACEOF
18429 rm -f conftest.$ac_objext conftest$ac_exeext
18430 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18431   (eval $ac_link) 2>conftest.er1
18432   ac_status=$?
18433   grep -v '^ *+' conftest.er1 >conftest.err
18434   rm -f conftest.er1
18435   cat conftest.err >&5
18436   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18437   (exit $ac_status); } &&
18438          { ac_try='test -z "$ac_c_werror_flag"
18439                          || test ! -s conftest.err'
18440   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18441   (eval $ac_try) 2>&5
18442   ac_status=$?
18443   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18444   (exit $ac_status); }; } &&
18445          { ac_try='test -s conftest$ac_exeext'
18446   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18447   (eval $ac_try) 2>&5
18448   ac_status=$?
18449   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18450   (exit $ac_status); }; }; then
18451   eval "$as_ac_var=yes"
18452 else
18453   echo "$as_me: failed program was:" >&5
18454 sed 's/^/| /' conftest.$ac_ext >&5
18455
18456 eval "$as_ac_var=no"
18457 fi
18458 rm -f conftest.err conftest.$ac_objext \
18459       conftest$ac_exeext conftest.$ac_ext
18460 fi
18461 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18462 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18463 if test `eval echo '${'$as_ac_var'}'` = yes; then
18464   cat >>confdefs.h <<_ACEOF
18465 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18466 _ACEOF
18467
18468 fi
18469 done
18470
18471
18472
18473
18474
18475
18476
18477
18478
18479
18480 for ac_func in wait setmode execvp pipe dup2 close fdopen strcasestr getrlimit
18481 do
18482 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18483 echo "$as_me:$LINENO: checking for $ac_func" >&5
18484 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18485 if eval "test \"\${$as_ac_var+set}\" = set"; then
18486   echo $ECHO_N "(cached) $ECHO_C" >&6
18487 else
18488   if test x$gcc_no_link = xyes; then
18489   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18490 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18491    { (exit 1); exit 1; }; }
18492 fi
18493 cat >conftest.$ac_ext <<_ACEOF
18494 /* confdefs.h.  */
18495 _ACEOF
18496 cat confdefs.h >>conftest.$ac_ext
18497 cat >>conftest.$ac_ext <<_ACEOF
18498 /* end confdefs.h.  */
18499 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18500    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
18501 #define $ac_func innocuous_$ac_func
18502
18503 /* System header to define __stub macros and hopefully few prototypes,
18504     which can conflict with char $ac_func (); below.
18505     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18506     <limits.h> exists even on freestanding compilers.  */
18507
18508 #ifdef __STDC__
18509 # include <limits.h>
18510 #else
18511 # include <assert.h>
18512 #endif
18513
18514 #undef $ac_func
18515
18516 /* Override any gcc2 internal prototype to avoid an error.  */
18517 #ifdef __cplusplus
18518 extern "C"
18519 {
18520 #endif
18521 /* We use char because int might match the return type of a gcc2
18522    builtin and then its argument prototype would still apply.  */
18523 char $ac_func ();
18524 /* The GNU C library defines this for functions which it implements
18525     to always fail with ENOSYS.  Some functions are actually named
18526     something starting with __ and the normal name is an alias.  */
18527 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18528 choke me
18529 #else
18530 char (*f) () = $ac_func;
18531 #endif
18532 #ifdef __cplusplus
18533 }
18534 #endif
18535
18536 int
18537 main ()
18538 {
18539 return f != $ac_func;
18540   ;
18541   return 0;
18542 }
18543 _ACEOF
18544 rm -f conftest.$ac_objext conftest$ac_exeext
18545 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18546   (eval $ac_link) 2>conftest.er1
18547   ac_status=$?
18548   grep -v '^ *+' conftest.er1 >conftest.err
18549   rm -f conftest.er1
18550   cat conftest.err >&5
18551   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18552   (exit $ac_status); } &&
18553          { ac_try='test -z "$ac_c_werror_flag"
18554                          || test ! -s conftest.err'
18555   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18556   (eval $ac_try) 2>&5
18557   ac_status=$?
18558   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18559   (exit $ac_status); }; } &&
18560          { ac_try='test -s conftest$ac_exeext'
18561   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18562   (eval $ac_try) 2>&5
18563   ac_status=$?
18564   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18565   (exit $ac_status); }; }; then
18566   eval "$as_ac_var=yes"
18567 else
18568   echo "$as_me: failed program was:" >&5
18569 sed 's/^/| /' conftest.$ac_ext >&5
18570
18571 eval "$as_ac_var=no"
18572 fi
18573 rm -f conftest.err conftest.$ac_objext \
18574       conftest$ac_exeext conftest.$ac_ext
18575 fi
18576 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18577 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18578 if test `eval echo '${'$as_ac_var'}'` = yes; then
18579   cat >>confdefs.h <<_ACEOF
18580 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18581 _ACEOF
18582
18583 fi
18584 done
18585
18586
18587
18588
18589
18590
18591
18592
18593
18594 for ac_func in gettimeofday stat fstat lstat getpwuid vsnprintf dup getcwd
18595 do
18596 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18597 echo "$as_me:$LINENO: checking for $ac_func" >&5
18598 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18599 if eval "test \"\${$as_ac_var+set}\" = set"; then
18600   echo $ECHO_N "(cached) $ECHO_C" >&6
18601 else
18602   if test x$gcc_no_link = xyes; then
18603   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18604 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18605    { (exit 1); exit 1; }; }
18606 fi
18607 cat >conftest.$ac_ext <<_ACEOF
18608 /* confdefs.h.  */
18609 _ACEOF
18610 cat confdefs.h >>conftest.$ac_ext
18611 cat >>conftest.$ac_ext <<_ACEOF
18612 /* end confdefs.h.  */
18613 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18614    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
18615 #define $ac_func innocuous_$ac_func
18616
18617 /* System header to define __stub macros and hopefully few prototypes,
18618     which can conflict with char $ac_func (); below.
18619     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18620     <limits.h> exists even on freestanding compilers.  */
18621
18622 #ifdef __STDC__
18623 # include <limits.h>
18624 #else
18625 # include <assert.h>
18626 #endif
18627
18628 #undef $ac_func
18629
18630 /* Override any gcc2 internal prototype to avoid an error.  */
18631 #ifdef __cplusplus
18632 extern "C"
18633 {
18634 #endif
18635 /* We use char because int might match the return type of a gcc2
18636    builtin and then its argument prototype would still apply.  */
18637 char $ac_func ();
18638 /* The GNU C library defines this for functions which it implements
18639     to always fail with ENOSYS.  Some functions are actually named
18640     something starting with __ and the normal name is an alias.  */
18641 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18642 choke me
18643 #else
18644 char (*f) () = $ac_func;
18645 #endif
18646 #ifdef __cplusplus
18647 }
18648 #endif
18649
18650 int
18651 main ()
18652 {
18653 return f != $ac_func;
18654   ;
18655   return 0;
18656 }
18657 _ACEOF
18658 rm -f conftest.$ac_objext conftest$ac_exeext
18659 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18660   (eval $ac_link) 2>conftest.er1
18661   ac_status=$?
18662   grep -v '^ *+' conftest.er1 >conftest.err
18663   rm -f conftest.er1
18664   cat conftest.err >&5
18665   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18666   (exit $ac_status); } &&
18667          { ac_try='test -z "$ac_c_werror_flag"
18668                          || test ! -s conftest.err'
18669   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18670   (eval $ac_try) 2>&5
18671   ac_status=$?
18672   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18673   (exit $ac_status); }; } &&
18674          { ac_try='test -s conftest$ac_exeext'
18675   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18676   (eval $ac_try) 2>&5
18677   ac_status=$?
18678   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18679   (exit $ac_status); }; }; then
18680   eval "$as_ac_var=yes"
18681 else
18682   echo "$as_me: failed program was:" >&5
18683 sed 's/^/| /' conftest.$ac_ext >&5
18684
18685 eval "$as_ac_var=no"
18686 fi
18687 rm -f conftest.err conftest.$ac_objext \
18688       conftest$ac_exeext conftest.$ac_ext
18689 fi
18690 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18691 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18692 if test `eval echo '${'$as_ac_var'}'` = yes; then
18693   cat >>confdefs.h <<_ACEOF
18694 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18695 _ACEOF
18696
18697 fi
18698 done
18699
18700
18701 # Check for glibc backtrace functions
18702
18703
18704 for ac_func in backtrace backtrace_symbols
18705 do
18706 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18707 echo "$as_me:$LINENO: checking for $ac_func" >&5
18708 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18709 if eval "test \"\${$as_ac_var+set}\" = set"; then
18710   echo $ECHO_N "(cached) $ECHO_C" >&6
18711 else
18712   if test x$gcc_no_link = xyes; then
18713   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18714 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18715    { (exit 1); exit 1; }; }
18716 fi
18717 cat >conftest.$ac_ext <<_ACEOF
18718 /* confdefs.h.  */
18719 _ACEOF
18720 cat confdefs.h >>conftest.$ac_ext
18721 cat >>conftest.$ac_ext <<_ACEOF
18722 /* end confdefs.h.  */
18723 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18724    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
18725 #define $ac_func innocuous_$ac_func
18726
18727 /* System header to define __stub macros and hopefully few prototypes,
18728     which can conflict with char $ac_func (); below.
18729     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18730     <limits.h> exists even on freestanding compilers.  */
18731
18732 #ifdef __STDC__
18733 # include <limits.h>
18734 #else
18735 # include <assert.h>
18736 #endif
18737
18738 #undef $ac_func
18739
18740 /* Override any gcc2 internal prototype to avoid an error.  */
18741 #ifdef __cplusplus
18742 extern "C"
18743 {
18744 #endif
18745 /* We use char because int might match the return type of a gcc2
18746    builtin and then its argument prototype would still apply.  */
18747 char $ac_func ();
18748 /* The GNU C library defines this for functions which it implements
18749     to always fail with ENOSYS.  Some functions are actually named
18750     something starting with __ and the normal name is an alias.  */
18751 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18752 choke me
18753 #else
18754 char (*f) () = $ac_func;
18755 #endif
18756 #ifdef __cplusplus
18757 }
18758 #endif
18759
18760 int
18761 main ()
18762 {
18763 return f != $ac_func;
18764   ;
18765   return 0;
18766 }
18767 _ACEOF
18768 rm -f conftest.$ac_objext conftest$ac_exeext
18769 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18770   (eval $ac_link) 2>conftest.er1
18771   ac_status=$?
18772   grep -v '^ *+' conftest.er1 >conftest.err
18773   rm -f conftest.er1
18774   cat conftest.err >&5
18775   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18776   (exit $ac_status); } &&
18777          { ac_try='test -z "$ac_c_werror_flag"
18778                          || test ! -s conftest.err'
18779   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18780   (eval $ac_try) 2>&5
18781   ac_status=$?
18782   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18783   (exit $ac_status); }; } &&
18784          { ac_try='test -s conftest$ac_exeext'
18785   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18786   (eval $ac_try) 2>&5
18787   ac_status=$?
18788   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18789   (exit $ac_status); }; }; then
18790   eval "$as_ac_var=yes"
18791 else
18792   echo "$as_me: failed program was:" >&5
18793 sed 's/^/| /' conftest.$ac_ext >&5
18794
18795 eval "$as_ac_var=no"
18796 fi
18797 rm -f conftest.err conftest.$ac_objext \
18798       conftest$ac_exeext conftest.$ac_ext
18799 fi
18800 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18801 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18802 if test `eval echo '${'$as_ac_var'}'` = yes; then
18803   cat >>confdefs.h <<_ACEOF
18804 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18805 _ACEOF
18806
18807 fi
18808 done
18809
18810
18811 # Check for types
18812 echo "$as_me:$LINENO: checking for intptr_t" >&5
18813 echo $ECHO_N "checking for intptr_t... $ECHO_C" >&6
18814 if test "${ac_cv_type_intptr_t+set}" = set; then
18815   echo $ECHO_N "(cached) $ECHO_C" >&6
18816 else
18817   cat >conftest.$ac_ext <<_ACEOF
18818 /* confdefs.h.  */
18819 _ACEOF
18820 cat confdefs.h >>conftest.$ac_ext
18821 cat >>conftest.$ac_ext <<_ACEOF
18822 /* end confdefs.h.  */
18823 $ac_includes_default
18824 int
18825 main ()
18826 {
18827 if ((intptr_t *) 0)
18828   return 0;
18829 if (sizeof (intptr_t))
18830   return 0;
18831   ;
18832   return 0;
18833 }
18834 _ACEOF
18835 rm -f conftest.$ac_objext
18836 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18837   (eval $ac_compile) 2>conftest.er1
18838   ac_status=$?
18839   grep -v '^ *+' conftest.er1 >conftest.err
18840   rm -f conftest.er1
18841   cat conftest.err >&5
18842   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18843   (exit $ac_status); } &&
18844          { ac_try='test -z "$ac_c_werror_flag"
18845                          || test ! -s conftest.err'
18846   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18847   (eval $ac_try) 2>&5
18848   ac_status=$?
18849   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18850   (exit $ac_status); }; } &&
18851          { ac_try='test -s conftest.$ac_objext'
18852   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18853   (eval $ac_try) 2>&5
18854   ac_status=$?
18855   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18856   (exit $ac_status); }; }; then
18857   ac_cv_type_intptr_t=yes
18858 else
18859   echo "$as_me: failed program was:" >&5
18860 sed 's/^/| /' conftest.$ac_ext >&5
18861
18862 ac_cv_type_intptr_t=no
18863 fi
18864 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18865 fi
18866 echo "$as_me:$LINENO: result: $ac_cv_type_intptr_t" >&5
18867 echo "${ECHO_T}$ac_cv_type_intptr_t" >&6
18868 if test $ac_cv_type_intptr_t = yes; then
18869
18870 cat >>confdefs.h <<_ACEOF
18871 #define HAVE_INTPTR_T 1
18872 _ACEOF
18873
18874
18875 fi
18876
18877 echo "$as_me:$LINENO: checking for uintptr_t" >&5
18878 echo $ECHO_N "checking for uintptr_t... $ECHO_C" >&6
18879 if test "${ac_cv_type_uintptr_t+set}" = set; then
18880   echo $ECHO_N "(cached) $ECHO_C" >&6
18881 else
18882   cat >conftest.$ac_ext <<_ACEOF
18883 /* confdefs.h.  */
18884 _ACEOF
18885 cat confdefs.h >>conftest.$ac_ext
18886 cat >>conftest.$ac_ext <<_ACEOF
18887 /* end confdefs.h.  */
18888 $ac_includes_default
18889 int
18890 main ()
18891 {
18892 if ((uintptr_t *) 0)
18893   return 0;
18894 if (sizeof (uintptr_t))
18895   return 0;
18896   ;
18897   return 0;
18898 }
18899 _ACEOF
18900 rm -f conftest.$ac_objext
18901 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18902   (eval $ac_compile) 2>conftest.er1
18903   ac_status=$?
18904   grep -v '^ *+' conftest.er1 >conftest.err
18905   rm -f conftest.er1
18906   cat conftest.err >&5
18907   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18908   (exit $ac_status); } &&
18909          { ac_try='test -z "$ac_c_werror_flag"
18910                          || test ! -s conftest.err'
18911   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18912   (eval $ac_try) 2>&5
18913   ac_status=$?
18914   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18915   (exit $ac_status); }; } &&
18916          { ac_try='test -s conftest.$ac_objext'
18917   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18918   (eval $ac_try) 2>&5
18919   ac_status=$?
18920   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18921   (exit $ac_status); }; }; then
18922   ac_cv_type_uintptr_t=yes
18923 else
18924   echo "$as_me: failed program was:" >&5
18925 sed 's/^/| /' conftest.$ac_ext >&5
18926
18927 ac_cv_type_uintptr_t=no
18928 fi
18929 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18930 fi
18931 echo "$as_me:$LINENO: result: $ac_cv_type_uintptr_t" >&5
18932 echo "${ECHO_T}$ac_cv_type_uintptr_t" >&6
18933 if test $ac_cv_type_uintptr_t = yes; then
18934
18935 cat >>confdefs.h <<_ACEOF
18936 #define HAVE_UINTPTR_T 1
18937 _ACEOF
18938
18939
18940 fi
18941
18942
18943 # Check libc for getgid, getpid, getuid
18944 echo "$as_me:$LINENO: checking for getgid in -lc" >&5
18945 echo $ECHO_N "checking for getgid in -lc... $ECHO_C" >&6
18946 if test "${ac_cv_lib_c_getgid+set}" = set; then
18947   echo $ECHO_N "(cached) $ECHO_C" >&6
18948 else
18949   ac_check_lib_save_LIBS=$LIBS
18950 LIBS="-lc  $LIBS"
18951 if test x$gcc_no_link = xyes; then
18952   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18953 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18954    { (exit 1); exit 1; }; }
18955 fi
18956 cat >conftest.$ac_ext <<_ACEOF
18957 /* confdefs.h.  */
18958 _ACEOF
18959 cat confdefs.h >>conftest.$ac_ext
18960 cat >>conftest.$ac_ext <<_ACEOF
18961 /* end confdefs.h.  */
18962
18963 /* Override any gcc2 internal prototype to avoid an error.  */
18964 #ifdef __cplusplus
18965 extern "C"
18966 #endif
18967 /* We use char because int might match the return type of a gcc2
18968    builtin and then its argument prototype would still apply.  */
18969 char getgid ();
18970 int
18971 main ()
18972 {
18973 getgid ();
18974   ;
18975   return 0;
18976 }
18977 _ACEOF
18978 rm -f conftest.$ac_objext conftest$ac_exeext
18979 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18980   (eval $ac_link) 2>conftest.er1
18981   ac_status=$?
18982   grep -v '^ *+' conftest.er1 >conftest.err
18983   rm -f conftest.er1
18984   cat conftest.err >&5
18985   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18986   (exit $ac_status); } &&
18987          { ac_try='test -z "$ac_c_werror_flag"
18988                          || test ! -s conftest.err'
18989   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18990   (eval $ac_try) 2>&5
18991   ac_status=$?
18992   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18993   (exit $ac_status); }; } &&
18994          { ac_try='test -s conftest$ac_exeext'
18995   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18996   (eval $ac_try) 2>&5
18997   ac_status=$?
18998   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18999   (exit $ac_status); }; }; then
19000   ac_cv_lib_c_getgid=yes
19001 else
19002   echo "$as_me: failed program was:" >&5
19003 sed 's/^/| /' conftest.$ac_ext >&5
19004
19005 ac_cv_lib_c_getgid=no
19006 fi
19007 rm -f conftest.err conftest.$ac_objext \
19008       conftest$ac_exeext conftest.$ac_ext
19009 LIBS=$ac_check_lib_save_LIBS
19010 fi
19011 echo "$as_me:$LINENO: result: $ac_cv_lib_c_getgid" >&5
19012 echo "${ECHO_T}$ac_cv_lib_c_getgid" >&6
19013 if test $ac_cv_lib_c_getgid = yes; then
19014
19015 cat >>confdefs.h <<\_ACEOF
19016 #define HAVE_GETGID 1
19017 _ACEOF
19018
19019 fi
19020
19021 echo "$as_me:$LINENO: checking for getpid in -lc" >&5
19022 echo $ECHO_N "checking for getpid in -lc... $ECHO_C" >&6
19023 if test "${ac_cv_lib_c_getpid+set}" = set; then
19024   echo $ECHO_N "(cached) $ECHO_C" >&6
19025 else
19026   ac_check_lib_save_LIBS=$LIBS
19027 LIBS="-lc  $LIBS"
19028 if test x$gcc_no_link = xyes; then
19029   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19030 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19031    { (exit 1); exit 1; }; }
19032 fi
19033 cat >conftest.$ac_ext <<_ACEOF
19034 /* confdefs.h.  */
19035 _ACEOF
19036 cat confdefs.h >>conftest.$ac_ext
19037 cat >>conftest.$ac_ext <<_ACEOF
19038 /* end confdefs.h.  */
19039
19040 /* Override any gcc2 internal prototype to avoid an error.  */
19041 #ifdef __cplusplus
19042 extern "C"
19043 #endif
19044 /* We use char because int might match the return type of a gcc2
19045    builtin and then its argument prototype would still apply.  */
19046 char getpid ();
19047 int
19048 main ()
19049 {
19050 getpid ();
19051   ;
19052   return 0;
19053 }
19054 _ACEOF
19055 rm -f conftest.$ac_objext conftest$ac_exeext
19056 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19057   (eval $ac_link) 2>conftest.er1
19058   ac_status=$?
19059   grep -v '^ *+' conftest.er1 >conftest.err
19060   rm -f conftest.er1
19061   cat conftest.err >&5
19062   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19063   (exit $ac_status); } &&
19064          { ac_try='test -z "$ac_c_werror_flag"
19065                          || test ! -s conftest.err'
19066   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19067   (eval $ac_try) 2>&5
19068   ac_status=$?
19069   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19070   (exit $ac_status); }; } &&
19071          { ac_try='test -s conftest$ac_exeext'
19072   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19073   (eval $ac_try) 2>&5
19074   ac_status=$?
19075   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19076   (exit $ac_status); }; }; then
19077   ac_cv_lib_c_getpid=yes
19078 else
19079   echo "$as_me: failed program was:" >&5
19080 sed 's/^/| /' conftest.$ac_ext >&5
19081
19082 ac_cv_lib_c_getpid=no
19083 fi
19084 rm -f conftest.err conftest.$ac_objext \
19085       conftest$ac_exeext conftest.$ac_ext
19086 LIBS=$ac_check_lib_save_LIBS
19087 fi
19088 echo "$as_me:$LINENO: result: $ac_cv_lib_c_getpid" >&5
19089 echo "${ECHO_T}$ac_cv_lib_c_getpid" >&6
19090 if test $ac_cv_lib_c_getpid = yes; then
19091
19092 cat >>confdefs.h <<\_ACEOF
19093 #define HAVE_GETPID 1
19094 _ACEOF
19095
19096 fi
19097
19098 echo "$as_me:$LINENO: checking for getppid in -lc" >&5
19099 echo $ECHO_N "checking for getppid in -lc... $ECHO_C" >&6
19100 if test "${ac_cv_lib_c_getppid+set}" = set; then
19101   echo $ECHO_N "(cached) $ECHO_C" >&6
19102 else
19103   ac_check_lib_save_LIBS=$LIBS
19104 LIBS="-lc  $LIBS"
19105 if test x$gcc_no_link = xyes; then
19106   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19107 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19108    { (exit 1); exit 1; }; }
19109 fi
19110 cat >conftest.$ac_ext <<_ACEOF
19111 /* confdefs.h.  */
19112 _ACEOF
19113 cat confdefs.h >>conftest.$ac_ext
19114 cat >>conftest.$ac_ext <<_ACEOF
19115 /* end confdefs.h.  */
19116
19117 /* Override any gcc2 internal prototype to avoid an error.  */
19118 #ifdef __cplusplus
19119 extern "C"
19120 #endif
19121 /* We use char because int might match the return type of a gcc2
19122    builtin and then its argument prototype would still apply.  */
19123 char getppid ();
19124 int
19125 main ()
19126 {
19127 getppid ();
19128   ;
19129   return 0;
19130 }
19131 _ACEOF
19132 rm -f conftest.$ac_objext conftest$ac_exeext
19133 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19134   (eval $ac_link) 2>conftest.er1
19135   ac_status=$?
19136   grep -v '^ *+' conftest.er1 >conftest.err
19137   rm -f conftest.er1
19138   cat conftest.err >&5
19139   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19140   (exit $ac_status); } &&
19141          { ac_try='test -z "$ac_c_werror_flag"
19142                          || test ! -s conftest.err'
19143   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19144   (eval $ac_try) 2>&5
19145   ac_status=$?
19146   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19147   (exit $ac_status); }; } &&
19148          { ac_try='test -s conftest$ac_exeext'
19149   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19150   (eval $ac_try) 2>&5
19151   ac_status=$?
19152   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19153   (exit $ac_status); }; }; then
19154   ac_cv_lib_c_getppid=yes
19155 else
19156   echo "$as_me: failed program was:" >&5
19157 sed 's/^/| /' conftest.$ac_ext >&5
19158
19159 ac_cv_lib_c_getppid=no
19160 fi
19161 rm -f conftest.err conftest.$ac_objext \
19162       conftest$ac_exeext conftest.$ac_ext
19163 LIBS=$ac_check_lib_save_LIBS
19164 fi
19165 echo "$as_me:$LINENO: result: $ac_cv_lib_c_getppid" >&5
19166 echo "${ECHO_T}$ac_cv_lib_c_getppid" >&6
19167 if test $ac_cv_lib_c_getppid = yes; then
19168
19169 cat >>confdefs.h <<\_ACEOF
19170 #define HAVE_GETPPID 1
19171 _ACEOF
19172
19173 fi
19174
19175 echo "$as_me:$LINENO: checking for getuid in -lc" >&5
19176 echo $ECHO_N "checking for getuid in -lc... $ECHO_C" >&6
19177 if test "${ac_cv_lib_c_getuid+set}" = set; then
19178   echo $ECHO_N "(cached) $ECHO_C" >&6
19179 else
19180   ac_check_lib_save_LIBS=$LIBS
19181 LIBS="-lc  $LIBS"
19182 if test x$gcc_no_link = xyes; then
19183   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19184 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19185    { (exit 1); exit 1; }; }
19186 fi
19187 cat >conftest.$ac_ext <<_ACEOF
19188 /* confdefs.h.  */
19189 _ACEOF
19190 cat confdefs.h >>conftest.$ac_ext
19191 cat >>conftest.$ac_ext <<_ACEOF
19192 /* end confdefs.h.  */
19193
19194 /* Override any gcc2 internal prototype to avoid an error.  */
19195 #ifdef __cplusplus
19196 extern "C"
19197 #endif
19198 /* We use char because int might match the return type of a gcc2
19199    builtin and then its argument prototype would still apply.  */
19200 char getuid ();
19201 int
19202 main ()
19203 {
19204 getuid ();
19205   ;
19206   return 0;
19207 }
19208 _ACEOF
19209 rm -f conftest.$ac_objext conftest$ac_exeext
19210 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19211   (eval $ac_link) 2>conftest.er1
19212   ac_status=$?
19213   grep -v '^ *+' conftest.er1 >conftest.err
19214   rm -f conftest.er1
19215   cat conftest.err >&5
19216   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19217   (exit $ac_status); } &&
19218          { ac_try='test -z "$ac_c_werror_flag"
19219                          || test ! -s conftest.err'
19220   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19221   (eval $ac_try) 2>&5
19222   ac_status=$?
19223   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19224   (exit $ac_status); }; } &&
19225          { ac_try='test -s conftest$ac_exeext'
19226   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19227   (eval $ac_try) 2>&5
19228   ac_status=$?
19229   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19230   (exit $ac_status); }; }; then
19231   ac_cv_lib_c_getuid=yes
19232 else
19233   echo "$as_me: failed program was:" >&5
19234 sed 's/^/| /' conftest.$ac_ext >&5
19235
19236 ac_cv_lib_c_getuid=no
19237 fi
19238 rm -f conftest.err conftest.$ac_objext \
19239       conftest$ac_exeext conftest.$ac_ext
19240 LIBS=$ac_check_lib_save_LIBS
19241 fi
19242 echo "$as_me:$LINENO: result: $ac_cv_lib_c_getuid" >&5
19243 echo "${ECHO_T}$ac_cv_lib_c_getuid" >&6
19244 if test $ac_cv_lib_c_getuid = yes; then
19245
19246 cat >>confdefs.h <<\_ACEOF
19247 #define HAVE_GETUID 1
19248 _ACEOF
19249
19250 fi
19251
19252 echo "$as_me:$LINENO: checking for geteuid in -lc" >&5
19253 echo $ECHO_N "checking for geteuid in -lc... $ECHO_C" >&6
19254 if test "${ac_cv_lib_c_geteuid+set}" = set; then
19255   echo $ECHO_N "(cached) $ECHO_C" >&6
19256 else
19257   ac_check_lib_save_LIBS=$LIBS
19258 LIBS="-lc  $LIBS"
19259 if test x$gcc_no_link = xyes; then
19260   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19261 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19262    { (exit 1); exit 1; }; }
19263 fi
19264 cat >conftest.$ac_ext <<_ACEOF
19265 /* confdefs.h.  */
19266 _ACEOF
19267 cat confdefs.h >>conftest.$ac_ext
19268 cat >>conftest.$ac_ext <<_ACEOF
19269 /* end confdefs.h.  */
19270
19271 /* Override any gcc2 internal prototype to avoid an error.  */
19272 #ifdef __cplusplus
19273 extern "C"
19274 #endif
19275 /* We use char because int might match the return type of a gcc2
19276    builtin and then its argument prototype would still apply.  */
19277 char geteuid ();
19278 int
19279 main ()
19280 {
19281 geteuid ();
19282   ;
19283   return 0;
19284 }
19285 _ACEOF
19286 rm -f conftest.$ac_objext conftest$ac_exeext
19287 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19288   (eval $ac_link) 2>conftest.er1
19289   ac_status=$?
19290   grep -v '^ *+' conftest.er1 >conftest.err
19291   rm -f conftest.er1
19292   cat conftest.err >&5
19293   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19294   (exit $ac_status); } &&
19295          { ac_try='test -z "$ac_c_werror_flag"
19296                          || test ! -s conftest.err'
19297   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19298   (eval $ac_try) 2>&5
19299   ac_status=$?
19300   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19301   (exit $ac_status); }; } &&
19302          { ac_try='test -s conftest$ac_exeext'
19303   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19304   (eval $ac_try) 2>&5
19305   ac_status=$?
19306   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19307   (exit $ac_status); }; }; then
19308   ac_cv_lib_c_geteuid=yes
19309 else
19310   echo "$as_me: failed program was:" >&5
19311 sed 's/^/| /' conftest.$ac_ext >&5
19312
19313 ac_cv_lib_c_geteuid=no
19314 fi
19315 rm -f conftest.err conftest.$ac_objext \
19316       conftest$ac_exeext conftest.$ac_ext
19317 LIBS=$ac_check_lib_save_LIBS
19318 fi
19319 echo "$as_me:$LINENO: result: $ac_cv_lib_c_geteuid" >&5
19320 echo "${ECHO_T}$ac_cv_lib_c_geteuid" >&6
19321 if test $ac_cv_lib_c_geteuid = yes; then
19322
19323 cat >>confdefs.h <<\_ACEOF
19324 #define HAVE_GETEUID 1
19325 _ACEOF
19326
19327 fi
19328
19329
19330 # Check for C99 (and other IEEE) math functions
19331 echo "$as_me:$LINENO: checking for acosf in -lm" >&5
19332 echo $ECHO_N "checking for acosf in -lm... $ECHO_C" >&6
19333 if test "${ac_cv_lib_m_acosf+set}" = set; then
19334   echo $ECHO_N "(cached) $ECHO_C" >&6
19335 else
19336   ac_check_lib_save_LIBS=$LIBS
19337 LIBS="-lm  $LIBS"
19338 if test x$gcc_no_link = xyes; then
19339   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19340 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19341    { (exit 1); exit 1; }; }
19342 fi
19343 cat >conftest.$ac_ext <<_ACEOF
19344 /* confdefs.h.  */
19345 _ACEOF
19346 cat confdefs.h >>conftest.$ac_ext
19347 cat >>conftest.$ac_ext <<_ACEOF
19348 /* end confdefs.h.  */
19349
19350 /* Override any gcc2 internal prototype to avoid an error.  */
19351 #ifdef __cplusplus
19352 extern "C"
19353 #endif
19354 /* We use char because int might match the return type of a gcc2
19355    builtin and then its argument prototype would still apply.  */
19356 char acosf ();
19357 int
19358 main ()
19359 {
19360 acosf ();
19361   ;
19362   return 0;
19363 }
19364 _ACEOF
19365 rm -f conftest.$ac_objext conftest$ac_exeext
19366 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19367   (eval $ac_link) 2>conftest.er1
19368   ac_status=$?
19369   grep -v '^ *+' conftest.er1 >conftest.err
19370   rm -f conftest.er1
19371   cat conftest.err >&5
19372   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19373   (exit $ac_status); } &&
19374          { ac_try='test -z "$ac_c_werror_flag"
19375                          || test ! -s conftest.err'
19376   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19377   (eval $ac_try) 2>&5
19378   ac_status=$?
19379   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19380   (exit $ac_status); }; } &&
19381          { ac_try='test -s conftest$ac_exeext'
19382   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19383   (eval $ac_try) 2>&5
19384   ac_status=$?
19385   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19386   (exit $ac_status); }; }; then
19387   ac_cv_lib_m_acosf=yes
19388 else
19389   echo "$as_me: failed program was:" >&5
19390 sed 's/^/| /' conftest.$ac_ext >&5
19391
19392 ac_cv_lib_m_acosf=no
19393 fi
19394 rm -f conftest.err conftest.$ac_objext \
19395       conftest$ac_exeext conftest.$ac_ext
19396 LIBS=$ac_check_lib_save_LIBS
19397 fi
19398 echo "$as_me:$LINENO: result: $ac_cv_lib_m_acosf" >&5
19399 echo "${ECHO_T}$ac_cv_lib_m_acosf" >&6
19400 if test $ac_cv_lib_m_acosf = yes; then
19401
19402 cat >>confdefs.h <<\_ACEOF
19403 #define HAVE_ACOSF 1
19404 _ACEOF
19405
19406 fi
19407
19408 echo "$as_me:$LINENO: checking for acos in -lm" >&5
19409 echo $ECHO_N "checking for acos in -lm... $ECHO_C" >&6
19410 if test "${ac_cv_lib_m_acos+set}" = set; then
19411   echo $ECHO_N "(cached) $ECHO_C" >&6
19412 else
19413   ac_check_lib_save_LIBS=$LIBS
19414 LIBS="-lm  $LIBS"
19415 if test x$gcc_no_link = xyes; then
19416   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19417 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19418    { (exit 1); exit 1; }; }
19419 fi
19420 cat >conftest.$ac_ext <<_ACEOF
19421 /* confdefs.h.  */
19422 _ACEOF
19423 cat confdefs.h >>conftest.$ac_ext
19424 cat >>conftest.$ac_ext <<_ACEOF
19425 /* end confdefs.h.  */
19426
19427 /* Override any gcc2 internal prototype to avoid an error.  */
19428 #ifdef __cplusplus
19429 extern "C"
19430 #endif
19431 /* We use char because int might match the return type of a gcc2
19432    builtin and then its argument prototype would still apply.  */
19433 char acos ();
19434 int
19435 main ()
19436 {
19437 acos ();
19438   ;
19439   return 0;
19440 }
19441 _ACEOF
19442 rm -f conftest.$ac_objext conftest$ac_exeext
19443 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19444   (eval $ac_link) 2>conftest.er1
19445   ac_status=$?
19446   grep -v '^ *+' conftest.er1 >conftest.err
19447   rm -f conftest.er1
19448   cat conftest.err >&5
19449   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19450   (exit $ac_status); } &&
19451          { ac_try='test -z "$ac_c_werror_flag"
19452                          || test ! -s conftest.err'
19453   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19454   (eval $ac_try) 2>&5
19455   ac_status=$?
19456   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19457   (exit $ac_status); }; } &&
19458          { ac_try='test -s conftest$ac_exeext'
19459   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19460   (eval $ac_try) 2>&5
19461   ac_status=$?
19462   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19463   (exit $ac_status); }; }; then
19464   ac_cv_lib_m_acos=yes
19465 else
19466   echo "$as_me: failed program was:" >&5
19467 sed 's/^/| /' conftest.$ac_ext >&5
19468
19469 ac_cv_lib_m_acos=no
19470 fi
19471 rm -f conftest.err conftest.$ac_objext \
19472       conftest$ac_exeext conftest.$ac_ext
19473 LIBS=$ac_check_lib_save_LIBS
19474 fi
19475 echo "$as_me:$LINENO: result: $ac_cv_lib_m_acos" >&5
19476 echo "${ECHO_T}$ac_cv_lib_m_acos" >&6
19477 if test $ac_cv_lib_m_acos = yes; then
19478
19479 cat >>confdefs.h <<\_ACEOF
19480 #define HAVE_ACOS 1
19481 _ACEOF
19482
19483 fi
19484
19485 echo "$as_me:$LINENO: checking for acosl in -lm" >&5
19486 echo $ECHO_N "checking for acosl in -lm... $ECHO_C" >&6
19487 if test "${ac_cv_lib_m_acosl+set}" = set; then
19488   echo $ECHO_N "(cached) $ECHO_C" >&6
19489 else
19490   ac_check_lib_save_LIBS=$LIBS
19491 LIBS="-lm  $LIBS"
19492 if test x$gcc_no_link = xyes; then
19493   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19494 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19495    { (exit 1); exit 1; }; }
19496 fi
19497 cat >conftest.$ac_ext <<_ACEOF
19498 /* confdefs.h.  */
19499 _ACEOF
19500 cat confdefs.h >>conftest.$ac_ext
19501 cat >>conftest.$ac_ext <<_ACEOF
19502 /* end confdefs.h.  */
19503
19504 /* Override any gcc2 internal prototype to avoid an error.  */
19505 #ifdef __cplusplus
19506 extern "C"
19507 #endif
19508 /* We use char because int might match the return type of a gcc2
19509    builtin and then its argument prototype would still apply.  */
19510 char acosl ();
19511 int
19512 main ()
19513 {
19514 acosl ();
19515   ;
19516   return 0;
19517 }
19518 _ACEOF
19519 rm -f conftest.$ac_objext conftest$ac_exeext
19520 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19521   (eval $ac_link) 2>conftest.er1
19522   ac_status=$?
19523   grep -v '^ *+' conftest.er1 >conftest.err
19524   rm -f conftest.er1
19525   cat conftest.err >&5
19526   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19527   (exit $ac_status); } &&
19528          { ac_try='test -z "$ac_c_werror_flag"
19529                          || test ! -s conftest.err'
19530   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19531   (eval $ac_try) 2>&5
19532   ac_status=$?
19533   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19534   (exit $ac_status); }; } &&
19535          { ac_try='test -s conftest$ac_exeext'
19536   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19537   (eval $ac_try) 2>&5
19538   ac_status=$?
19539   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19540   (exit $ac_status); }; }; then
19541   ac_cv_lib_m_acosl=yes
19542 else
19543   echo "$as_me: failed program was:" >&5
19544 sed 's/^/| /' conftest.$ac_ext >&5
19545
19546 ac_cv_lib_m_acosl=no
19547 fi
19548 rm -f conftest.err conftest.$ac_objext \
19549       conftest$ac_exeext conftest.$ac_ext
19550 LIBS=$ac_check_lib_save_LIBS
19551 fi
19552 echo "$as_me:$LINENO: result: $ac_cv_lib_m_acosl" >&5
19553 echo "${ECHO_T}$ac_cv_lib_m_acosl" >&6
19554 if test $ac_cv_lib_m_acosl = yes; then
19555
19556 cat >>confdefs.h <<\_ACEOF
19557 #define HAVE_ACOSL 1
19558 _ACEOF
19559
19560 fi
19561
19562 echo "$as_me:$LINENO: checking for acoshf in -lm" >&5
19563 echo $ECHO_N "checking for acoshf in -lm... $ECHO_C" >&6
19564 if test "${ac_cv_lib_m_acoshf+set}" = set; then
19565   echo $ECHO_N "(cached) $ECHO_C" >&6
19566 else
19567   ac_check_lib_save_LIBS=$LIBS
19568 LIBS="-lm  $LIBS"
19569 if test x$gcc_no_link = xyes; then
19570   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19571 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19572    { (exit 1); exit 1; }; }
19573 fi
19574 cat >conftest.$ac_ext <<_ACEOF
19575 /* confdefs.h.  */
19576 _ACEOF
19577 cat confdefs.h >>conftest.$ac_ext
19578 cat >>conftest.$ac_ext <<_ACEOF
19579 /* end confdefs.h.  */
19580
19581 /* Override any gcc2 internal prototype to avoid an error.  */
19582 #ifdef __cplusplus
19583 extern "C"
19584 #endif
19585 /* We use char because int might match the return type of a gcc2
19586    builtin and then its argument prototype would still apply.  */
19587 char acoshf ();
19588 int
19589 main ()
19590 {
19591 acoshf ();
19592   ;
19593   return 0;
19594 }
19595 _ACEOF
19596 rm -f conftest.$ac_objext conftest$ac_exeext
19597 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19598   (eval $ac_link) 2>conftest.er1
19599   ac_status=$?
19600   grep -v '^ *+' conftest.er1 >conftest.err
19601   rm -f conftest.er1
19602   cat conftest.err >&5
19603   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19604   (exit $ac_status); } &&
19605          { ac_try='test -z "$ac_c_werror_flag"
19606                          || test ! -s conftest.err'
19607   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19608   (eval $ac_try) 2>&5
19609   ac_status=$?
19610   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19611   (exit $ac_status); }; } &&
19612          { ac_try='test -s conftest$ac_exeext'
19613   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19614   (eval $ac_try) 2>&5
19615   ac_status=$?
19616   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19617   (exit $ac_status); }; }; then
19618   ac_cv_lib_m_acoshf=yes
19619 else
19620   echo "$as_me: failed program was:" >&5
19621 sed 's/^/| /' conftest.$ac_ext >&5
19622
19623 ac_cv_lib_m_acoshf=no
19624 fi
19625 rm -f conftest.err conftest.$ac_objext \
19626       conftest$ac_exeext conftest.$ac_ext
19627 LIBS=$ac_check_lib_save_LIBS
19628 fi
19629 echo "$as_me:$LINENO: result: $ac_cv_lib_m_acoshf" >&5
19630 echo "${ECHO_T}$ac_cv_lib_m_acoshf" >&6
19631 if test $ac_cv_lib_m_acoshf = yes; then
19632
19633 cat >>confdefs.h <<\_ACEOF
19634 #define HAVE_ACOSHF 1
19635 _ACEOF
19636
19637 fi
19638
19639 echo "$as_me:$LINENO: checking for acosh in -lm" >&5
19640 echo $ECHO_N "checking for acosh in -lm... $ECHO_C" >&6
19641 if test "${ac_cv_lib_m_acosh+set}" = set; then
19642   echo $ECHO_N "(cached) $ECHO_C" >&6
19643 else
19644   ac_check_lib_save_LIBS=$LIBS
19645 LIBS="-lm  $LIBS"
19646 if test x$gcc_no_link = xyes; then
19647   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19648 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19649    { (exit 1); exit 1; }; }
19650 fi
19651 cat >conftest.$ac_ext <<_ACEOF
19652 /* confdefs.h.  */
19653 _ACEOF
19654 cat confdefs.h >>conftest.$ac_ext
19655 cat >>conftest.$ac_ext <<_ACEOF
19656 /* end confdefs.h.  */
19657
19658 /* Override any gcc2 internal prototype to avoid an error.  */
19659 #ifdef __cplusplus
19660 extern "C"
19661 #endif
19662 /* We use char because int might match the return type of a gcc2
19663    builtin and then its argument prototype would still apply.  */
19664 char acosh ();
19665 int
19666 main ()
19667 {
19668 acosh ();
19669   ;
19670   return 0;
19671 }
19672 _ACEOF
19673 rm -f conftest.$ac_objext conftest$ac_exeext
19674 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19675   (eval $ac_link) 2>conftest.er1
19676   ac_status=$?
19677   grep -v '^ *+' conftest.er1 >conftest.err
19678   rm -f conftest.er1
19679   cat conftest.err >&5
19680   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19681   (exit $ac_status); } &&
19682          { ac_try='test -z "$ac_c_werror_flag"
19683                          || test ! -s conftest.err'
19684   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19685   (eval $ac_try) 2>&5
19686   ac_status=$?
19687   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19688   (exit $ac_status); }; } &&
19689          { ac_try='test -s conftest$ac_exeext'
19690   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19691   (eval $ac_try) 2>&5
19692   ac_status=$?
19693   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19694   (exit $ac_status); }; }; then
19695   ac_cv_lib_m_acosh=yes
19696 else
19697   echo "$as_me: failed program was:" >&5
19698 sed 's/^/| /' conftest.$ac_ext >&5
19699
19700 ac_cv_lib_m_acosh=no
19701 fi
19702 rm -f conftest.err conftest.$ac_objext \
19703       conftest$ac_exeext conftest.$ac_ext
19704 LIBS=$ac_check_lib_save_LIBS
19705 fi
19706 echo "$as_me:$LINENO: result: $ac_cv_lib_m_acosh" >&5
19707 echo "${ECHO_T}$ac_cv_lib_m_acosh" >&6
19708 if test $ac_cv_lib_m_acosh = yes; then
19709
19710 cat >>confdefs.h <<\_ACEOF
19711 #define HAVE_ACOSH 1
19712 _ACEOF
19713
19714 fi
19715
19716 echo "$as_me:$LINENO: checking for acoshl in -lm" >&5
19717 echo $ECHO_N "checking for acoshl in -lm... $ECHO_C" >&6
19718 if test "${ac_cv_lib_m_acoshl+set}" = set; then
19719   echo $ECHO_N "(cached) $ECHO_C" >&6
19720 else
19721   ac_check_lib_save_LIBS=$LIBS
19722 LIBS="-lm  $LIBS"
19723 if test x$gcc_no_link = xyes; then
19724   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19725 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19726    { (exit 1); exit 1; }; }
19727 fi
19728 cat >conftest.$ac_ext <<_ACEOF
19729 /* confdefs.h.  */
19730 _ACEOF
19731 cat confdefs.h >>conftest.$ac_ext
19732 cat >>conftest.$ac_ext <<_ACEOF
19733 /* end confdefs.h.  */
19734
19735 /* Override any gcc2 internal prototype to avoid an error.  */
19736 #ifdef __cplusplus
19737 extern "C"
19738 #endif
19739 /* We use char because int might match the return type of a gcc2
19740    builtin and then its argument prototype would still apply.  */
19741 char acoshl ();
19742 int
19743 main ()
19744 {
19745 acoshl ();
19746   ;
19747   return 0;
19748 }
19749 _ACEOF
19750 rm -f conftest.$ac_objext conftest$ac_exeext
19751 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19752   (eval $ac_link) 2>conftest.er1
19753   ac_status=$?
19754   grep -v '^ *+' conftest.er1 >conftest.err
19755   rm -f conftest.er1
19756   cat conftest.err >&5
19757   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19758   (exit $ac_status); } &&
19759          { ac_try='test -z "$ac_c_werror_flag"
19760                          || test ! -s conftest.err'
19761   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19762   (eval $ac_try) 2>&5
19763   ac_status=$?
19764   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19765   (exit $ac_status); }; } &&
19766          { ac_try='test -s conftest$ac_exeext'
19767   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19768   (eval $ac_try) 2>&5
19769   ac_status=$?
19770   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19771   (exit $ac_status); }; }; then
19772   ac_cv_lib_m_acoshl=yes
19773 else
19774   echo "$as_me: failed program was:" >&5
19775 sed 's/^/| /' conftest.$ac_ext >&5
19776
19777 ac_cv_lib_m_acoshl=no
19778 fi
19779 rm -f conftest.err conftest.$ac_objext \
19780       conftest$ac_exeext conftest.$ac_ext
19781 LIBS=$ac_check_lib_save_LIBS
19782 fi
19783 echo "$as_me:$LINENO: result: $ac_cv_lib_m_acoshl" >&5
19784 echo "${ECHO_T}$ac_cv_lib_m_acoshl" >&6
19785 if test $ac_cv_lib_m_acoshl = yes; then
19786
19787 cat >>confdefs.h <<\_ACEOF
19788 #define HAVE_ACOSHL 1
19789 _ACEOF
19790
19791 fi
19792
19793 echo "$as_me:$LINENO: checking for asinf in -lm" >&5
19794 echo $ECHO_N "checking for asinf in -lm... $ECHO_C" >&6
19795 if test "${ac_cv_lib_m_asinf+set}" = set; then
19796   echo $ECHO_N "(cached) $ECHO_C" >&6
19797 else
19798   ac_check_lib_save_LIBS=$LIBS
19799 LIBS="-lm  $LIBS"
19800 if test x$gcc_no_link = xyes; then
19801   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19802 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19803    { (exit 1); exit 1; }; }
19804 fi
19805 cat >conftest.$ac_ext <<_ACEOF
19806 /* confdefs.h.  */
19807 _ACEOF
19808 cat confdefs.h >>conftest.$ac_ext
19809 cat >>conftest.$ac_ext <<_ACEOF
19810 /* end confdefs.h.  */
19811
19812 /* Override any gcc2 internal prototype to avoid an error.  */
19813 #ifdef __cplusplus
19814 extern "C"
19815 #endif
19816 /* We use char because int might match the return type of a gcc2
19817    builtin and then its argument prototype would still apply.  */
19818 char asinf ();
19819 int
19820 main ()
19821 {
19822 asinf ();
19823   ;
19824   return 0;
19825 }
19826 _ACEOF
19827 rm -f conftest.$ac_objext conftest$ac_exeext
19828 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19829   (eval $ac_link) 2>conftest.er1
19830   ac_status=$?
19831   grep -v '^ *+' conftest.er1 >conftest.err
19832   rm -f conftest.er1
19833   cat conftest.err >&5
19834   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19835   (exit $ac_status); } &&
19836          { ac_try='test -z "$ac_c_werror_flag"
19837                          || test ! -s conftest.err'
19838   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19839   (eval $ac_try) 2>&5
19840   ac_status=$?
19841   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19842   (exit $ac_status); }; } &&
19843          { ac_try='test -s conftest$ac_exeext'
19844   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19845   (eval $ac_try) 2>&5
19846   ac_status=$?
19847   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19848   (exit $ac_status); }; }; then
19849   ac_cv_lib_m_asinf=yes
19850 else
19851   echo "$as_me: failed program was:" >&5
19852 sed 's/^/| /' conftest.$ac_ext >&5
19853
19854 ac_cv_lib_m_asinf=no
19855 fi
19856 rm -f conftest.err conftest.$ac_objext \
19857       conftest$ac_exeext conftest.$ac_ext
19858 LIBS=$ac_check_lib_save_LIBS
19859 fi
19860 echo "$as_me:$LINENO: result: $ac_cv_lib_m_asinf" >&5
19861 echo "${ECHO_T}$ac_cv_lib_m_asinf" >&6
19862 if test $ac_cv_lib_m_asinf = yes; then
19863
19864 cat >>confdefs.h <<\_ACEOF
19865 #define HAVE_ASINF 1
19866 _ACEOF
19867
19868 fi
19869
19870 echo "$as_me:$LINENO: checking for asin in -lm" >&5
19871 echo $ECHO_N "checking for asin in -lm... $ECHO_C" >&6
19872 if test "${ac_cv_lib_m_asin+set}" = set; then
19873   echo $ECHO_N "(cached) $ECHO_C" >&6
19874 else
19875   ac_check_lib_save_LIBS=$LIBS
19876 LIBS="-lm  $LIBS"
19877 if test x$gcc_no_link = xyes; then
19878   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19879 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19880    { (exit 1); exit 1; }; }
19881 fi
19882 cat >conftest.$ac_ext <<_ACEOF
19883 /* confdefs.h.  */
19884 _ACEOF
19885 cat confdefs.h >>conftest.$ac_ext
19886 cat >>conftest.$ac_ext <<_ACEOF
19887 /* end confdefs.h.  */
19888
19889 /* Override any gcc2 internal prototype to avoid an error.  */
19890 #ifdef __cplusplus
19891 extern "C"
19892 #endif
19893 /* We use char because int might match the return type of a gcc2
19894    builtin and then its argument prototype would still apply.  */
19895 char asin ();
19896 int
19897 main ()
19898 {
19899 asin ();
19900   ;
19901   return 0;
19902 }
19903 _ACEOF
19904 rm -f conftest.$ac_objext conftest$ac_exeext
19905 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19906   (eval $ac_link) 2>conftest.er1
19907   ac_status=$?
19908   grep -v '^ *+' conftest.er1 >conftest.err
19909   rm -f conftest.er1
19910   cat conftest.err >&5
19911   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19912   (exit $ac_status); } &&
19913          { ac_try='test -z "$ac_c_werror_flag"
19914                          || test ! -s conftest.err'
19915   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19916   (eval $ac_try) 2>&5
19917   ac_status=$?
19918   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19919   (exit $ac_status); }; } &&
19920          { ac_try='test -s conftest$ac_exeext'
19921   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19922   (eval $ac_try) 2>&5
19923   ac_status=$?
19924   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19925   (exit $ac_status); }; }; then
19926   ac_cv_lib_m_asin=yes
19927 else
19928   echo "$as_me: failed program was:" >&5
19929 sed 's/^/| /' conftest.$ac_ext >&5
19930
19931 ac_cv_lib_m_asin=no
19932 fi
19933 rm -f conftest.err conftest.$ac_objext \
19934       conftest$ac_exeext conftest.$ac_ext
19935 LIBS=$ac_check_lib_save_LIBS
19936 fi
19937 echo "$as_me:$LINENO: result: $ac_cv_lib_m_asin" >&5
19938 echo "${ECHO_T}$ac_cv_lib_m_asin" >&6
19939 if test $ac_cv_lib_m_asin = yes; then
19940
19941 cat >>confdefs.h <<\_ACEOF
19942 #define HAVE_ASIN 1
19943 _ACEOF
19944
19945 fi
19946
19947 echo "$as_me:$LINENO: checking for asinl in -lm" >&5
19948 echo $ECHO_N "checking for asinl in -lm... $ECHO_C" >&6
19949 if test "${ac_cv_lib_m_asinl+set}" = set; then
19950   echo $ECHO_N "(cached) $ECHO_C" >&6
19951 else
19952   ac_check_lib_save_LIBS=$LIBS
19953 LIBS="-lm  $LIBS"
19954 if test x$gcc_no_link = xyes; then
19955   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19956 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19957    { (exit 1); exit 1; }; }
19958 fi
19959 cat >conftest.$ac_ext <<_ACEOF
19960 /* confdefs.h.  */
19961 _ACEOF
19962 cat confdefs.h >>conftest.$ac_ext
19963 cat >>conftest.$ac_ext <<_ACEOF
19964 /* end confdefs.h.  */
19965
19966 /* Override any gcc2 internal prototype to avoid an error.  */
19967 #ifdef __cplusplus
19968 extern "C"
19969 #endif
19970 /* We use char because int might match the return type of a gcc2
19971    builtin and then its argument prototype would still apply.  */
19972 char asinl ();
19973 int
19974 main ()
19975 {
19976 asinl ();
19977   ;
19978   return 0;
19979 }
19980 _ACEOF
19981 rm -f conftest.$ac_objext conftest$ac_exeext
19982 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19983   (eval $ac_link) 2>conftest.er1
19984   ac_status=$?
19985   grep -v '^ *+' conftest.er1 >conftest.err
19986   rm -f conftest.er1
19987   cat conftest.err >&5
19988   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19989   (exit $ac_status); } &&
19990          { ac_try='test -z "$ac_c_werror_flag"
19991                          || test ! -s conftest.err'
19992   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19993   (eval $ac_try) 2>&5
19994   ac_status=$?
19995   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19996   (exit $ac_status); }; } &&
19997          { ac_try='test -s conftest$ac_exeext'
19998   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19999   (eval $ac_try) 2>&5
20000   ac_status=$?
20001   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20002   (exit $ac_status); }; }; then
20003   ac_cv_lib_m_asinl=yes
20004 else
20005   echo "$as_me: failed program was:" >&5
20006 sed 's/^/| /' conftest.$ac_ext >&5
20007
20008 ac_cv_lib_m_asinl=no
20009 fi
20010 rm -f conftest.err conftest.$ac_objext \
20011       conftest$ac_exeext conftest.$ac_ext
20012 LIBS=$ac_check_lib_save_LIBS
20013 fi
20014 echo "$as_me:$LINENO: result: $ac_cv_lib_m_asinl" >&5
20015 echo "${ECHO_T}$ac_cv_lib_m_asinl" >&6
20016 if test $ac_cv_lib_m_asinl = yes; then
20017
20018 cat >>confdefs.h <<\_ACEOF
20019 #define HAVE_ASINL 1
20020 _ACEOF
20021
20022 fi
20023
20024 echo "$as_me:$LINENO: checking for asinhf in -lm" >&5
20025 echo $ECHO_N "checking for asinhf in -lm... $ECHO_C" >&6
20026 if test "${ac_cv_lib_m_asinhf+set}" = set; then
20027   echo $ECHO_N "(cached) $ECHO_C" >&6
20028 else
20029   ac_check_lib_save_LIBS=$LIBS
20030 LIBS="-lm  $LIBS"
20031 if test x$gcc_no_link = xyes; then
20032   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20033 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20034    { (exit 1); exit 1; }; }
20035 fi
20036 cat >conftest.$ac_ext <<_ACEOF
20037 /* confdefs.h.  */
20038 _ACEOF
20039 cat confdefs.h >>conftest.$ac_ext
20040 cat >>conftest.$ac_ext <<_ACEOF
20041 /* end confdefs.h.  */
20042
20043 /* Override any gcc2 internal prototype to avoid an error.  */
20044 #ifdef __cplusplus
20045 extern "C"
20046 #endif
20047 /* We use char because int might match the return type of a gcc2
20048    builtin and then its argument prototype would still apply.  */
20049 char asinhf ();
20050 int
20051 main ()
20052 {
20053 asinhf ();
20054   ;
20055   return 0;
20056 }
20057 _ACEOF
20058 rm -f conftest.$ac_objext conftest$ac_exeext
20059 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20060   (eval $ac_link) 2>conftest.er1
20061   ac_status=$?
20062   grep -v '^ *+' conftest.er1 >conftest.err
20063   rm -f conftest.er1
20064   cat conftest.err >&5
20065   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20066   (exit $ac_status); } &&
20067          { ac_try='test -z "$ac_c_werror_flag"
20068                          || test ! -s conftest.err'
20069   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20070   (eval $ac_try) 2>&5
20071   ac_status=$?
20072   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20073   (exit $ac_status); }; } &&
20074          { ac_try='test -s conftest$ac_exeext'
20075   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20076   (eval $ac_try) 2>&5
20077   ac_status=$?
20078   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20079   (exit $ac_status); }; }; then
20080   ac_cv_lib_m_asinhf=yes
20081 else
20082   echo "$as_me: failed program was:" >&5
20083 sed 's/^/| /' conftest.$ac_ext >&5
20084
20085 ac_cv_lib_m_asinhf=no
20086 fi
20087 rm -f conftest.err conftest.$ac_objext \
20088       conftest$ac_exeext conftest.$ac_ext
20089 LIBS=$ac_check_lib_save_LIBS
20090 fi
20091 echo "$as_me:$LINENO: result: $ac_cv_lib_m_asinhf" >&5
20092 echo "${ECHO_T}$ac_cv_lib_m_asinhf" >&6
20093 if test $ac_cv_lib_m_asinhf = yes; then
20094
20095 cat >>confdefs.h <<\_ACEOF
20096 #define HAVE_ASINHF 1
20097 _ACEOF
20098
20099 fi
20100
20101 echo "$as_me:$LINENO: checking for asinh in -lm" >&5
20102 echo $ECHO_N "checking for asinh in -lm... $ECHO_C" >&6
20103 if test "${ac_cv_lib_m_asinh+set}" = set; then
20104   echo $ECHO_N "(cached) $ECHO_C" >&6
20105 else
20106   ac_check_lib_save_LIBS=$LIBS
20107 LIBS="-lm  $LIBS"
20108 if test x$gcc_no_link = xyes; then
20109   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20110 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20111    { (exit 1); exit 1; }; }
20112 fi
20113 cat >conftest.$ac_ext <<_ACEOF
20114 /* confdefs.h.  */
20115 _ACEOF
20116 cat confdefs.h >>conftest.$ac_ext
20117 cat >>conftest.$ac_ext <<_ACEOF
20118 /* end confdefs.h.  */
20119
20120 /* Override any gcc2 internal prototype to avoid an error.  */
20121 #ifdef __cplusplus
20122 extern "C"
20123 #endif
20124 /* We use char because int might match the return type of a gcc2
20125    builtin and then its argument prototype would still apply.  */
20126 char asinh ();
20127 int
20128 main ()
20129 {
20130 asinh ();
20131   ;
20132   return 0;
20133 }
20134 _ACEOF
20135 rm -f conftest.$ac_objext conftest$ac_exeext
20136 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20137   (eval $ac_link) 2>conftest.er1
20138   ac_status=$?
20139   grep -v '^ *+' conftest.er1 >conftest.err
20140   rm -f conftest.er1
20141   cat conftest.err >&5
20142   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20143   (exit $ac_status); } &&
20144          { ac_try='test -z "$ac_c_werror_flag"
20145                          || test ! -s conftest.err'
20146   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20147   (eval $ac_try) 2>&5
20148   ac_status=$?
20149   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20150   (exit $ac_status); }; } &&
20151          { ac_try='test -s conftest$ac_exeext'
20152   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20153   (eval $ac_try) 2>&5
20154   ac_status=$?
20155   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20156   (exit $ac_status); }; }; then
20157   ac_cv_lib_m_asinh=yes
20158 else
20159   echo "$as_me: failed program was:" >&5
20160 sed 's/^/| /' conftest.$ac_ext >&5
20161
20162 ac_cv_lib_m_asinh=no
20163 fi
20164 rm -f conftest.err conftest.$ac_objext \
20165       conftest$ac_exeext conftest.$ac_ext
20166 LIBS=$ac_check_lib_save_LIBS
20167 fi
20168 echo "$as_me:$LINENO: result: $ac_cv_lib_m_asinh" >&5
20169 echo "${ECHO_T}$ac_cv_lib_m_asinh" >&6
20170 if test $ac_cv_lib_m_asinh = yes; then
20171
20172 cat >>confdefs.h <<\_ACEOF
20173 #define HAVE_ASINH 1
20174 _ACEOF
20175
20176 fi
20177
20178 echo "$as_me:$LINENO: checking for asinhl in -lm" >&5
20179 echo $ECHO_N "checking for asinhl in -lm... $ECHO_C" >&6
20180 if test "${ac_cv_lib_m_asinhl+set}" = set; then
20181   echo $ECHO_N "(cached) $ECHO_C" >&6
20182 else
20183   ac_check_lib_save_LIBS=$LIBS
20184 LIBS="-lm  $LIBS"
20185 if test x$gcc_no_link = xyes; then
20186   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20187 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20188    { (exit 1); exit 1; }; }
20189 fi
20190 cat >conftest.$ac_ext <<_ACEOF
20191 /* confdefs.h.  */
20192 _ACEOF
20193 cat confdefs.h >>conftest.$ac_ext
20194 cat >>conftest.$ac_ext <<_ACEOF
20195 /* end confdefs.h.  */
20196
20197 /* Override any gcc2 internal prototype to avoid an error.  */
20198 #ifdef __cplusplus
20199 extern "C"
20200 #endif
20201 /* We use char because int might match the return type of a gcc2
20202    builtin and then its argument prototype would still apply.  */
20203 char asinhl ();
20204 int
20205 main ()
20206 {
20207 asinhl ();
20208   ;
20209   return 0;
20210 }
20211 _ACEOF
20212 rm -f conftest.$ac_objext conftest$ac_exeext
20213 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20214   (eval $ac_link) 2>conftest.er1
20215   ac_status=$?
20216   grep -v '^ *+' conftest.er1 >conftest.err
20217   rm -f conftest.er1
20218   cat conftest.err >&5
20219   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20220   (exit $ac_status); } &&
20221          { ac_try='test -z "$ac_c_werror_flag"
20222                          || test ! -s conftest.err'
20223   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20224   (eval $ac_try) 2>&5
20225   ac_status=$?
20226   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20227   (exit $ac_status); }; } &&
20228          { ac_try='test -s conftest$ac_exeext'
20229   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20230   (eval $ac_try) 2>&5
20231   ac_status=$?
20232   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20233   (exit $ac_status); }; }; then
20234   ac_cv_lib_m_asinhl=yes
20235 else
20236   echo "$as_me: failed program was:" >&5
20237 sed 's/^/| /' conftest.$ac_ext >&5
20238
20239 ac_cv_lib_m_asinhl=no
20240 fi
20241 rm -f conftest.err conftest.$ac_objext \
20242       conftest$ac_exeext conftest.$ac_ext
20243 LIBS=$ac_check_lib_save_LIBS
20244 fi
20245 echo "$as_me:$LINENO: result: $ac_cv_lib_m_asinhl" >&5
20246 echo "${ECHO_T}$ac_cv_lib_m_asinhl" >&6
20247 if test $ac_cv_lib_m_asinhl = yes; then
20248
20249 cat >>confdefs.h <<\_ACEOF
20250 #define HAVE_ASINHL 1
20251 _ACEOF
20252
20253 fi
20254
20255 echo "$as_me:$LINENO: checking for atan2f in -lm" >&5
20256 echo $ECHO_N "checking for atan2f in -lm... $ECHO_C" >&6
20257 if test "${ac_cv_lib_m_atan2f+set}" = set; then
20258   echo $ECHO_N "(cached) $ECHO_C" >&6
20259 else
20260   ac_check_lib_save_LIBS=$LIBS
20261 LIBS="-lm  $LIBS"
20262 if test x$gcc_no_link = xyes; then
20263   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20264 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20265    { (exit 1); exit 1; }; }
20266 fi
20267 cat >conftest.$ac_ext <<_ACEOF
20268 /* confdefs.h.  */
20269 _ACEOF
20270 cat confdefs.h >>conftest.$ac_ext
20271 cat >>conftest.$ac_ext <<_ACEOF
20272 /* end confdefs.h.  */
20273
20274 /* Override any gcc2 internal prototype to avoid an error.  */
20275 #ifdef __cplusplus
20276 extern "C"
20277 #endif
20278 /* We use char because int might match the return type of a gcc2
20279    builtin and then its argument prototype would still apply.  */
20280 char atan2f ();
20281 int
20282 main ()
20283 {
20284 atan2f ();
20285   ;
20286   return 0;
20287 }
20288 _ACEOF
20289 rm -f conftest.$ac_objext conftest$ac_exeext
20290 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20291   (eval $ac_link) 2>conftest.er1
20292   ac_status=$?
20293   grep -v '^ *+' conftest.er1 >conftest.err
20294   rm -f conftest.er1
20295   cat conftest.err >&5
20296   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20297   (exit $ac_status); } &&
20298          { ac_try='test -z "$ac_c_werror_flag"
20299                          || test ! -s conftest.err'
20300   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20301   (eval $ac_try) 2>&5
20302   ac_status=$?
20303   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20304   (exit $ac_status); }; } &&
20305          { ac_try='test -s conftest$ac_exeext'
20306   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20307   (eval $ac_try) 2>&5
20308   ac_status=$?
20309   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20310   (exit $ac_status); }; }; then
20311   ac_cv_lib_m_atan2f=yes
20312 else
20313   echo "$as_me: failed program was:" >&5
20314 sed 's/^/| /' conftest.$ac_ext >&5
20315
20316 ac_cv_lib_m_atan2f=no
20317 fi
20318 rm -f conftest.err conftest.$ac_objext \
20319       conftest$ac_exeext conftest.$ac_ext
20320 LIBS=$ac_check_lib_save_LIBS
20321 fi
20322 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atan2f" >&5
20323 echo "${ECHO_T}$ac_cv_lib_m_atan2f" >&6
20324 if test $ac_cv_lib_m_atan2f = yes; then
20325
20326 cat >>confdefs.h <<\_ACEOF
20327 #define HAVE_ATAN2F 1
20328 _ACEOF
20329
20330 fi
20331
20332 echo "$as_me:$LINENO: checking for atan2 in -lm" >&5
20333 echo $ECHO_N "checking for atan2 in -lm... $ECHO_C" >&6
20334 if test "${ac_cv_lib_m_atan2+set}" = set; then
20335   echo $ECHO_N "(cached) $ECHO_C" >&6
20336 else
20337   ac_check_lib_save_LIBS=$LIBS
20338 LIBS="-lm  $LIBS"
20339 if test x$gcc_no_link = xyes; then
20340   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20341 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20342    { (exit 1); exit 1; }; }
20343 fi
20344 cat >conftest.$ac_ext <<_ACEOF
20345 /* confdefs.h.  */
20346 _ACEOF
20347 cat confdefs.h >>conftest.$ac_ext
20348 cat >>conftest.$ac_ext <<_ACEOF
20349 /* end confdefs.h.  */
20350
20351 /* Override any gcc2 internal prototype to avoid an error.  */
20352 #ifdef __cplusplus
20353 extern "C"
20354 #endif
20355 /* We use char because int might match the return type of a gcc2
20356    builtin and then its argument prototype would still apply.  */
20357 char atan2 ();
20358 int
20359 main ()
20360 {
20361 atan2 ();
20362   ;
20363   return 0;
20364 }
20365 _ACEOF
20366 rm -f conftest.$ac_objext conftest$ac_exeext
20367 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20368   (eval $ac_link) 2>conftest.er1
20369   ac_status=$?
20370   grep -v '^ *+' conftest.er1 >conftest.err
20371   rm -f conftest.er1
20372   cat conftest.err >&5
20373   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20374   (exit $ac_status); } &&
20375          { ac_try='test -z "$ac_c_werror_flag"
20376                          || test ! -s conftest.err'
20377   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20378   (eval $ac_try) 2>&5
20379   ac_status=$?
20380   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20381   (exit $ac_status); }; } &&
20382          { ac_try='test -s conftest$ac_exeext'
20383   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20384   (eval $ac_try) 2>&5
20385   ac_status=$?
20386   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20387   (exit $ac_status); }; }; then
20388   ac_cv_lib_m_atan2=yes
20389 else
20390   echo "$as_me: failed program was:" >&5
20391 sed 's/^/| /' conftest.$ac_ext >&5
20392
20393 ac_cv_lib_m_atan2=no
20394 fi
20395 rm -f conftest.err conftest.$ac_objext \
20396       conftest$ac_exeext conftest.$ac_ext
20397 LIBS=$ac_check_lib_save_LIBS
20398 fi
20399 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atan2" >&5
20400 echo "${ECHO_T}$ac_cv_lib_m_atan2" >&6
20401 if test $ac_cv_lib_m_atan2 = yes; then
20402
20403 cat >>confdefs.h <<\_ACEOF
20404 #define HAVE_ATAN2 1
20405 _ACEOF
20406
20407 fi
20408
20409 echo "$as_me:$LINENO: checking for atan2l in -lm" >&5
20410 echo $ECHO_N "checking for atan2l in -lm... $ECHO_C" >&6
20411 if test "${ac_cv_lib_m_atan2l+set}" = set; then
20412   echo $ECHO_N "(cached) $ECHO_C" >&6
20413 else
20414   ac_check_lib_save_LIBS=$LIBS
20415 LIBS="-lm  $LIBS"
20416 if test x$gcc_no_link = xyes; then
20417   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20418 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20419    { (exit 1); exit 1; }; }
20420 fi
20421 cat >conftest.$ac_ext <<_ACEOF
20422 /* confdefs.h.  */
20423 _ACEOF
20424 cat confdefs.h >>conftest.$ac_ext
20425 cat >>conftest.$ac_ext <<_ACEOF
20426 /* end confdefs.h.  */
20427
20428 /* Override any gcc2 internal prototype to avoid an error.  */
20429 #ifdef __cplusplus
20430 extern "C"
20431 #endif
20432 /* We use char because int might match the return type of a gcc2
20433    builtin and then its argument prototype would still apply.  */
20434 char atan2l ();
20435 int
20436 main ()
20437 {
20438 atan2l ();
20439   ;
20440   return 0;
20441 }
20442 _ACEOF
20443 rm -f conftest.$ac_objext conftest$ac_exeext
20444 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20445   (eval $ac_link) 2>conftest.er1
20446   ac_status=$?
20447   grep -v '^ *+' conftest.er1 >conftest.err
20448   rm -f conftest.er1
20449   cat conftest.err >&5
20450   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20451   (exit $ac_status); } &&
20452          { ac_try='test -z "$ac_c_werror_flag"
20453                          || test ! -s conftest.err'
20454   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20455   (eval $ac_try) 2>&5
20456   ac_status=$?
20457   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20458   (exit $ac_status); }; } &&
20459          { ac_try='test -s conftest$ac_exeext'
20460   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20461   (eval $ac_try) 2>&5
20462   ac_status=$?
20463   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20464   (exit $ac_status); }; }; then
20465   ac_cv_lib_m_atan2l=yes
20466 else
20467   echo "$as_me: failed program was:" >&5
20468 sed 's/^/| /' conftest.$ac_ext >&5
20469
20470 ac_cv_lib_m_atan2l=no
20471 fi
20472 rm -f conftest.err conftest.$ac_objext \
20473       conftest$ac_exeext conftest.$ac_ext
20474 LIBS=$ac_check_lib_save_LIBS
20475 fi
20476 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atan2l" >&5
20477 echo "${ECHO_T}$ac_cv_lib_m_atan2l" >&6
20478 if test $ac_cv_lib_m_atan2l = yes; then
20479
20480 cat >>confdefs.h <<\_ACEOF
20481 #define HAVE_ATAN2L 1
20482 _ACEOF
20483
20484 fi
20485
20486 echo "$as_me:$LINENO: checking for atanf in -lm" >&5
20487 echo $ECHO_N "checking for atanf in -lm... $ECHO_C" >&6
20488 if test "${ac_cv_lib_m_atanf+set}" = set; then
20489   echo $ECHO_N "(cached) $ECHO_C" >&6
20490 else
20491   ac_check_lib_save_LIBS=$LIBS
20492 LIBS="-lm  $LIBS"
20493 if test x$gcc_no_link = xyes; then
20494   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20495 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20496    { (exit 1); exit 1; }; }
20497 fi
20498 cat >conftest.$ac_ext <<_ACEOF
20499 /* confdefs.h.  */
20500 _ACEOF
20501 cat confdefs.h >>conftest.$ac_ext
20502 cat >>conftest.$ac_ext <<_ACEOF
20503 /* end confdefs.h.  */
20504
20505 /* Override any gcc2 internal prototype to avoid an error.  */
20506 #ifdef __cplusplus
20507 extern "C"
20508 #endif
20509 /* We use char because int might match the return type of a gcc2
20510    builtin and then its argument prototype would still apply.  */
20511 char atanf ();
20512 int
20513 main ()
20514 {
20515 atanf ();
20516   ;
20517   return 0;
20518 }
20519 _ACEOF
20520 rm -f conftest.$ac_objext conftest$ac_exeext
20521 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20522   (eval $ac_link) 2>conftest.er1
20523   ac_status=$?
20524   grep -v '^ *+' conftest.er1 >conftest.err
20525   rm -f conftest.er1
20526   cat conftest.err >&5
20527   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20528   (exit $ac_status); } &&
20529          { ac_try='test -z "$ac_c_werror_flag"
20530                          || test ! -s conftest.err'
20531   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20532   (eval $ac_try) 2>&5
20533   ac_status=$?
20534   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20535   (exit $ac_status); }; } &&
20536          { ac_try='test -s conftest$ac_exeext'
20537   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20538   (eval $ac_try) 2>&5
20539   ac_status=$?
20540   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20541   (exit $ac_status); }; }; then
20542   ac_cv_lib_m_atanf=yes
20543 else
20544   echo "$as_me: failed program was:" >&5
20545 sed 's/^/| /' conftest.$ac_ext >&5
20546
20547 ac_cv_lib_m_atanf=no
20548 fi
20549 rm -f conftest.err conftest.$ac_objext \
20550       conftest$ac_exeext conftest.$ac_ext
20551 LIBS=$ac_check_lib_save_LIBS
20552 fi
20553 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atanf" >&5
20554 echo "${ECHO_T}$ac_cv_lib_m_atanf" >&6
20555 if test $ac_cv_lib_m_atanf = yes; then
20556
20557 cat >>confdefs.h <<\_ACEOF
20558 #define HAVE_ATANF 1
20559 _ACEOF
20560
20561 fi
20562
20563 echo "$as_me:$LINENO: checking for atan in -lm" >&5
20564 echo $ECHO_N "checking for atan in -lm... $ECHO_C" >&6
20565 if test "${ac_cv_lib_m_atan+set}" = set; then
20566   echo $ECHO_N "(cached) $ECHO_C" >&6
20567 else
20568   ac_check_lib_save_LIBS=$LIBS
20569 LIBS="-lm  $LIBS"
20570 if test x$gcc_no_link = xyes; then
20571   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20572 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20573    { (exit 1); exit 1; }; }
20574 fi
20575 cat >conftest.$ac_ext <<_ACEOF
20576 /* confdefs.h.  */
20577 _ACEOF
20578 cat confdefs.h >>conftest.$ac_ext
20579 cat >>conftest.$ac_ext <<_ACEOF
20580 /* end confdefs.h.  */
20581
20582 /* Override any gcc2 internal prototype to avoid an error.  */
20583 #ifdef __cplusplus
20584 extern "C"
20585 #endif
20586 /* We use char because int might match the return type of a gcc2
20587    builtin and then its argument prototype would still apply.  */
20588 char atan ();
20589 int
20590 main ()
20591 {
20592 atan ();
20593   ;
20594   return 0;
20595 }
20596 _ACEOF
20597 rm -f conftest.$ac_objext conftest$ac_exeext
20598 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20599   (eval $ac_link) 2>conftest.er1
20600   ac_status=$?
20601   grep -v '^ *+' conftest.er1 >conftest.err
20602   rm -f conftest.er1
20603   cat conftest.err >&5
20604   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20605   (exit $ac_status); } &&
20606          { ac_try='test -z "$ac_c_werror_flag"
20607                          || test ! -s conftest.err'
20608   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20609   (eval $ac_try) 2>&5
20610   ac_status=$?
20611   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20612   (exit $ac_status); }; } &&
20613          { ac_try='test -s conftest$ac_exeext'
20614   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20615   (eval $ac_try) 2>&5
20616   ac_status=$?
20617   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20618   (exit $ac_status); }; }; then
20619   ac_cv_lib_m_atan=yes
20620 else
20621   echo "$as_me: failed program was:" >&5
20622 sed 's/^/| /' conftest.$ac_ext >&5
20623
20624 ac_cv_lib_m_atan=no
20625 fi
20626 rm -f conftest.err conftest.$ac_objext \
20627       conftest$ac_exeext conftest.$ac_ext
20628 LIBS=$ac_check_lib_save_LIBS
20629 fi
20630 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atan" >&5
20631 echo "${ECHO_T}$ac_cv_lib_m_atan" >&6
20632 if test $ac_cv_lib_m_atan = yes; then
20633
20634 cat >>confdefs.h <<\_ACEOF
20635 #define HAVE_ATAN 1
20636 _ACEOF
20637
20638 fi
20639
20640 echo "$as_me:$LINENO: checking for atanl in -lm" >&5
20641 echo $ECHO_N "checking for atanl in -lm... $ECHO_C" >&6
20642 if test "${ac_cv_lib_m_atanl+set}" = set; then
20643   echo $ECHO_N "(cached) $ECHO_C" >&6
20644 else
20645   ac_check_lib_save_LIBS=$LIBS
20646 LIBS="-lm  $LIBS"
20647 if test x$gcc_no_link = xyes; then
20648   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20649 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20650    { (exit 1); exit 1; }; }
20651 fi
20652 cat >conftest.$ac_ext <<_ACEOF
20653 /* confdefs.h.  */
20654 _ACEOF
20655 cat confdefs.h >>conftest.$ac_ext
20656 cat >>conftest.$ac_ext <<_ACEOF
20657 /* end confdefs.h.  */
20658
20659 /* Override any gcc2 internal prototype to avoid an error.  */
20660 #ifdef __cplusplus
20661 extern "C"
20662 #endif
20663 /* We use char because int might match the return type of a gcc2
20664    builtin and then its argument prototype would still apply.  */
20665 char atanl ();
20666 int
20667 main ()
20668 {
20669 atanl ();
20670   ;
20671   return 0;
20672 }
20673 _ACEOF
20674 rm -f conftest.$ac_objext conftest$ac_exeext
20675 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20676   (eval $ac_link) 2>conftest.er1
20677   ac_status=$?
20678   grep -v '^ *+' conftest.er1 >conftest.err
20679   rm -f conftest.er1
20680   cat conftest.err >&5
20681   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20682   (exit $ac_status); } &&
20683          { ac_try='test -z "$ac_c_werror_flag"
20684                          || test ! -s conftest.err'
20685   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20686   (eval $ac_try) 2>&5
20687   ac_status=$?
20688   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20689   (exit $ac_status); }; } &&
20690          { ac_try='test -s conftest$ac_exeext'
20691   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20692   (eval $ac_try) 2>&5
20693   ac_status=$?
20694   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20695   (exit $ac_status); }; }; then
20696   ac_cv_lib_m_atanl=yes
20697 else
20698   echo "$as_me: failed program was:" >&5
20699 sed 's/^/| /' conftest.$ac_ext >&5
20700
20701 ac_cv_lib_m_atanl=no
20702 fi
20703 rm -f conftest.err conftest.$ac_objext \
20704       conftest$ac_exeext conftest.$ac_ext
20705 LIBS=$ac_check_lib_save_LIBS
20706 fi
20707 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atanl" >&5
20708 echo "${ECHO_T}$ac_cv_lib_m_atanl" >&6
20709 if test $ac_cv_lib_m_atanl = yes; then
20710
20711 cat >>confdefs.h <<\_ACEOF
20712 #define HAVE_ATANL 1
20713 _ACEOF
20714
20715 fi
20716
20717 echo "$as_me:$LINENO: checking for atanhf in -lm" >&5
20718 echo $ECHO_N "checking for atanhf in -lm... $ECHO_C" >&6
20719 if test "${ac_cv_lib_m_atanhf+set}" = set; then
20720   echo $ECHO_N "(cached) $ECHO_C" >&6
20721 else
20722   ac_check_lib_save_LIBS=$LIBS
20723 LIBS="-lm  $LIBS"
20724 if test x$gcc_no_link = xyes; then
20725   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20726 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20727    { (exit 1); exit 1; }; }
20728 fi
20729 cat >conftest.$ac_ext <<_ACEOF
20730 /* confdefs.h.  */
20731 _ACEOF
20732 cat confdefs.h >>conftest.$ac_ext
20733 cat >>conftest.$ac_ext <<_ACEOF
20734 /* end confdefs.h.  */
20735
20736 /* Override any gcc2 internal prototype to avoid an error.  */
20737 #ifdef __cplusplus
20738 extern "C"
20739 #endif
20740 /* We use char because int might match the return type of a gcc2
20741    builtin and then its argument prototype would still apply.  */
20742 char atanhf ();
20743 int
20744 main ()
20745 {
20746 atanhf ();
20747   ;
20748   return 0;
20749 }
20750 _ACEOF
20751 rm -f conftest.$ac_objext conftest$ac_exeext
20752 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20753   (eval $ac_link) 2>conftest.er1
20754   ac_status=$?
20755   grep -v '^ *+' conftest.er1 >conftest.err
20756   rm -f conftest.er1
20757   cat conftest.err >&5
20758   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20759   (exit $ac_status); } &&
20760          { ac_try='test -z "$ac_c_werror_flag"
20761                          || test ! -s conftest.err'
20762   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20763   (eval $ac_try) 2>&5
20764   ac_status=$?
20765   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20766   (exit $ac_status); }; } &&
20767          { ac_try='test -s conftest$ac_exeext'
20768   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20769   (eval $ac_try) 2>&5
20770   ac_status=$?
20771   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20772   (exit $ac_status); }; }; then
20773   ac_cv_lib_m_atanhf=yes
20774 else
20775   echo "$as_me: failed program was:" >&5
20776 sed 's/^/| /' conftest.$ac_ext >&5
20777
20778 ac_cv_lib_m_atanhf=no
20779 fi
20780 rm -f conftest.err conftest.$ac_objext \
20781       conftest$ac_exeext conftest.$ac_ext
20782 LIBS=$ac_check_lib_save_LIBS
20783 fi
20784 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atanhf" >&5
20785 echo "${ECHO_T}$ac_cv_lib_m_atanhf" >&6
20786 if test $ac_cv_lib_m_atanhf = yes; then
20787
20788 cat >>confdefs.h <<\_ACEOF
20789 #define HAVE_ATANHF 1
20790 _ACEOF
20791
20792 fi
20793
20794 echo "$as_me:$LINENO: checking for atanh in -lm" >&5
20795 echo $ECHO_N "checking for atanh in -lm... $ECHO_C" >&6
20796 if test "${ac_cv_lib_m_atanh+set}" = set; then
20797   echo $ECHO_N "(cached) $ECHO_C" >&6
20798 else
20799   ac_check_lib_save_LIBS=$LIBS
20800 LIBS="-lm  $LIBS"
20801 if test x$gcc_no_link = xyes; then
20802   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20803 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20804    { (exit 1); exit 1; }; }
20805 fi
20806 cat >conftest.$ac_ext <<_ACEOF
20807 /* confdefs.h.  */
20808 _ACEOF
20809 cat confdefs.h >>conftest.$ac_ext
20810 cat >>conftest.$ac_ext <<_ACEOF
20811 /* end confdefs.h.  */
20812
20813 /* Override any gcc2 internal prototype to avoid an error.  */
20814 #ifdef __cplusplus
20815 extern "C"
20816 #endif
20817 /* We use char because int might match the return type of a gcc2
20818    builtin and then its argument prototype would still apply.  */
20819 char atanh ();
20820 int
20821 main ()
20822 {
20823 atanh ();
20824   ;
20825   return 0;
20826 }
20827 _ACEOF
20828 rm -f conftest.$ac_objext conftest$ac_exeext
20829 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20830   (eval $ac_link) 2>conftest.er1
20831   ac_status=$?
20832   grep -v '^ *+' conftest.er1 >conftest.err
20833   rm -f conftest.er1
20834   cat conftest.err >&5
20835   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20836   (exit $ac_status); } &&
20837          { ac_try='test -z "$ac_c_werror_flag"
20838                          || test ! -s conftest.err'
20839   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20840   (eval $ac_try) 2>&5
20841   ac_status=$?
20842   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20843   (exit $ac_status); }; } &&
20844          { ac_try='test -s conftest$ac_exeext'
20845   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20846   (eval $ac_try) 2>&5
20847   ac_status=$?
20848   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20849   (exit $ac_status); }; }; then
20850   ac_cv_lib_m_atanh=yes
20851 else
20852   echo "$as_me: failed program was:" >&5
20853 sed 's/^/| /' conftest.$ac_ext >&5
20854
20855 ac_cv_lib_m_atanh=no
20856 fi
20857 rm -f conftest.err conftest.$ac_objext \
20858       conftest$ac_exeext conftest.$ac_ext
20859 LIBS=$ac_check_lib_save_LIBS
20860 fi
20861 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atanh" >&5
20862 echo "${ECHO_T}$ac_cv_lib_m_atanh" >&6
20863 if test $ac_cv_lib_m_atanh = yes; then
20864
20865 cat >>confdefs.h <<\_ACEOF
20866 #define HAVE_ATANH 1
20867 _ACEOF
20868
20869 fi
20870
20871 echo "$as_me:$LINENO: checking for atanhl in -lm" >&5
20872 echo $ECHO_N "checking for atanhl in -lm... $ECHO_C" >&6
20873 if test "${ac_cv_lib_m_atanhl+set}" = set; then
20874   echo $ECHO_N "(cached) $ECHO_C" >&6
20875 else
20876   ac_check_lib_save_LIBS=$LIBS
20877 LIBS="-lm  $LIBS"
20878 if test x$gcc_no_link = xyes; then
20879   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20880 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20881    { (exit 1); exit 1; }; }
20882 fi
20883 cat >conftest.$ac_ext <<_ACEOF
20884 /* confdefs.h.  */
20885 _ACEOF
20886 cat confdefs.h >>conftest.$ac_ext
20887 cat >>conftest.$ac_ext <<_ACEOF
20888 /* end confdefs.h.  */
20889
20890 /* Override any gcc2 internal prototype to avoid an error.  */
20891 #ifdef __cplusplus
20892 extern "C"
20893 #endif
20894 /* We use char because int might match the return type of a gcc2
20895    builtin and then its argument prototype would still apply.  */
20896 char atanhl ();
20897 int
20898 main ()
20899 {
20900 atanhl ();
20901   ;
20902   return 0;
20903 }
20904 _ACEOF
20905 rm -f conftest.$ac_objext conftest$ac_exeext
20906 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20907   (eval $ac_link) 2>conftest.er1
20908   ac_status=$?
20909   grep -v '^ *+' conftest.er1 >conftest.err
20910   rm -f conftest.er1
20911   cat conftest.err >&5
20912   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20913   (exit $ac_status); } &&
20914          { ac_try='test -z "$ac_c_werror_flag"
20915                          || test ! -s conftest.err'
20916   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20917   (eval $ac_try) 2>&5
20918   ac_status=$?
20919   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20920   (exit $ac_status); }; } &&
20921          { ac_try='test -s conftest$ac_exeext'
20922   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20923   (eval $ac_try) 2>&5
20924   ac_status=$?
20925   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20926   (exit $ac_status); }; }; then
20927   ac_cv_lib_m_atanhl=yes
20928 else
20929   echo "$as_me: failed program was:" >&5
20930 sed 's/^/| /' conftest.$ac_ext >&5
20931
20932 ac_cv_lib_m_atanhl=no
20933 fi
20934 rm -f conftest.err conftest.$ac_objext \
20935       conftest$ac_exeext conftest.$ac_ext
20936 LIBS=$ac_check_lib_save_LIBS
20937 fi
20938 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atanhl" >&5
20939 echo "${ECHO_T}$ac_cv_lib_m_atanhl" >&6
20940 if test $ac_cv_lib_m_atanhl = yes; then
20941
20942 cat >>confdefs.h <<\_ACEOF
20943 #define HAVE_ATANHL 1
20944 _ACEOF
20945
20946 fi
20947
20948 echo "$as_me:$LINENO: checking for cargf in -lm" >&5
20949 echo $ECHO_N "checking for cargf in -lm... $ECHO_C" >&6
20950 if test "${ac_cv_lib_m_cargf+set}" = set; then
20951   echo $ECHO_N "(cached) $ECHO_C" >&6
20952 else
20953   ac_check_lib_save_LIBS=$LIBS
20954 LIBS="-lm  $LIBS"
20955 if test x$gcc_no_link = xyes; then
20956   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20957 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20958    { (exit 1); exit 1; }; }
20959 fi
20960 cat >conftest.$ac_ext <<_ACEOF
20961 /* confdefs.h.  */
20962 _ACEOF
20963 cat confdefs.h >>conftest.$ac_ext
20964 cat >>conftest.$ac_ext <<_ACEOF
20965 /* end confdefs.h.  */
20966
20967 /* Override any gcc2 internal prototype to avoid an error.  */
20968 #ifdef __cplusplus
20969 extern "C"
20970 #endif
20971 /* We use char because int might match the return type of a gcc2
20972    builtin and then its argument prototype would still apply.  */
20973 char cargf ();
20974 int
20975 main ()
20976 {
20977 cargf ();
20978   ;
20979   return 0;
20980 }
20981 _ACEOF
20982 rm -f conftest.$ac_objext conftest$ac_exeext
20983 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20984   (eval $ac_link) 2>conftest.er1
20985   ac_status=$?
20986   grep -v '^ *+' conftest.er1 >conftest.err
20987   rm -f conftest.er1
20988   cat conftest.err >&5
20989   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20990   (exit $ac_status); } &&
20991          { ac_try='test -z "$ac_c_werror_flag"
20992                          || test ! -s conftest.err'
20993   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20994   (eval $ac_try) 2>&5
20995   ac_status=$?
20996   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20997   (exit $ac_status); }; } &&
20998          { ac_try='test -s conftest$ac_exeext'
20999   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21000   (eval $ac_try) 2>&5
21001   ac_status=$?
21002   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21003   (exit $ac_status); }; }; then
21004   ac_cv_lib_m_cargf=yes
21005 else
21006   echo "$as_me: failed program was:" >&5
21007 sed 's/^/| /' conftest.$ac_ext >&5
21008
21009 ac_cv_lib_m_cargf=no
21010 fi
21011 rm -f conftest.err conftest.$ac_objext \
21012       conftest$ac_exeext conftest.$ac_ext
21013 LIBS=$ac_check_lib_save_LIBS
21014 fi
21015 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cargf" >&5
21016 echo "${ECHO_T}$ac_cv_lib_m_cargf" >&6
21017 if test $ac_cv_lib_m_cargf = yes; then
21018
21019 cat >>confdefs.h <<\_ACEOF
21020 #define HAVE_CARGF 1
21021 _ACEOF
21022
21023 fi
21024
21025 echo "$as_me:$LINENO: checking for carg in -lm" >&5
21026 echo $ECHO_N "checking for carg in -lm... $ECHO_C" >&6
21027 if test "${ac_cv_lib_m_carg+set}" = set; then
21028   echo $ECHO_N "(cached) $ECHO_C" >&6
21029 else
21030   ac_check_lib_save_LIBS=$LIBS
21031 LIBS="-lm  $LIBS"
21032 if test x$gcc_no_link = xyes; then
21033   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21034 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21035    { (exit 1); exit 1; }; }
21036 fi
21037 cat >conftest.$ac_ext <<_ACEOF
21038 /* confdefs.h.  */
21039 _ACEOF
21040 cat confdefs.h >>conftest.$ac_ext
21041 cat >>conftest.$ac_ext <<_ACEOF
21042 /* end confdefs.h.  */
21043
21044 /* Override any gcc2 internal prototype to avoid an error.  */
21045 #ifdef __cplusplus
21046 extern "C"
21047 #endif
21048 /* We use char because int might match the return type of a gcc2
21049    builtin and then its argument prototype would still apply.  */
21050 char carg ();
21051 int
21052 main ()
21053 {
21054 carg ();
21055   ;
21056   return 0;
21057 }
21058 _ACEOF
21059 rm -f conftest.$ac_objext conftest$ac_exeext
21060 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21061   (eval $ac_link) 2>conftest.er1
21062   ac_status=$?
21063   grep -v '^ *+' conftest.er1 >conftest.err
21064   rm -f conftest.er1
21065   cat conftest.err >&5
21066   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21067   (exit $ac_status); } &&
21068          { ac_try='test -z "$ac_c_werror_flag"
21069                          || test ! -s conftest.err'
21070   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21071   (eval $ac_try) 2>&5
21072   ac_status=$?
21073   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21074   (exit $ac_status); }; } &&
21075          { ac_try='test -s conftest$ac_exeext'
21076   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21077   (eval $ac_try) 2>&5
21078   ac_status=$?
21079   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21080   (exit $ac_status); }; }; then
21081   ac_cv_lib_m_carg=yes
21082 else
21083   echo "$as_me: failed program was:" >&5
21084 sed 's/^/| /' conftest.$ac_ext >&5
21085
21086 ac_cv_lib_m_carg=no
21087 fi
21088 rm -f conftest.err conftest.$ac_objext \
21089       conftest$ac_exeext conftest.$ac_ext
21090 LIBS=$ac_check_lib_save_LIBS
21091 fi
21092 echo "$as_me:$LINENO: result: $ac_cv_lib_m_carg" >&5
21093 echo "${ECHO_T}$ac_cv_lib_m_carg" >&6
21094 if test $ac_cv_lib_m_carg = yes; then
21095
21096 cat >>confdefs.h <<\_ACEOF
21097 #define HAVE_CARG 1
21098 _ACEOF
21099
21100 fi
21101
21102 echo "$as_me:$LINENO: checking for cargl in -lm" >&5
21103 echo $ECHO_N "checking for cargl in -lm... $ECHO_C" >&6
21104 if test "${ac_cv_lib_m_cargl+set}" = set; then
21105   echo $ECHO_N "(cached) $ECHO_C" >&6
21106 else
21107   ac_check_lib_save_LIBS=$LIBS
21108 LIBS="-lm  $LIBS"
21109 if test x$gcc_no_link = xyes; then
21110   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21111 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21112    { (exit 1); exit 1; }; }
21113 fi
21114 cat >conftest.$ac_ext <<_ACEOF
21115 /* confdefs.h.  */
21116 _ACEOF
21117 cat confdefs.h >>conftest.$ac_ext
21118 cat >>conftest.$ac_ext <<_ACEOF
21119 /* end confdefs.h.  */
21120
21121 /* Override any gcc2 internal prototype to avoid an error.  */
21122 #ifdef __cplusplus
21123 extern "C"
21124 #endif
21125 /* We use char because int might match the return type of a gcc2
21126    builtin and then its argument prototype would still apply.  */
21127 char cargl ();
21128 int
21129 main ()
21130 {
21131 cargl ();
21132   ;
21133   return 0;
21134 }
21135 _ACEOF
21136 rm -f conftest.$ac_objext conftest$ac_exeext
21137 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21138   (eval $ac_link) 2>conftest.er1
21139   ac_status=$?
21140   grep -v '^ *+' conftest.er1 >conftest.err
21141   rm -f conftest.er1
21142   cat conftest.err >&5
21143   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21144   (exit $ac_status); } &&
21145          { ac_try='test -z "$ac_c_werror_flag"
21146                          || test ! -s conftest.err'
21147   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21148   (eval $ac_try) 2>&5
21149   ac_status=$?
21150   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21151   (exit $ac_status); }; } &&
21152          { ac_try='test -s conftest$ac_exeext'
21153   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21154   (eval $ac_try) 2>&5
21155   ac_status=$?
21156   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21157   (exit $ac_status); }; }; then
21158   ac_cv_lib_m_cargl=yes
21159 else
21160   echo "$as_me: failed program was:" >&5
21161 sed 's/^/| /' conftest.$ac_ext >&5
21162
21163 ac_cv_lib_m_cargl=no
21164 fi
21165 rm -f conftest.err conftest.$ac_objext \
21166       conftest$ac_exeext conftest.$ac_ext
21167 LIBS=$ac_check_lib_save_LIBS
21168 fi
21169 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cargl" >&5
21170 echo "${ECHO_T}$ac_cv_lib_m_cargl" >&6
21171 if test $ac_cv_lib_m_cargl = yes; then
21172
21173 cat >>confdefs.h <<\_ACEOF
21174 #define HAVE_CARGL 1
21175 _ACEOF
21176
21177 fi
21178
21179 echo "$as_me:$LINENO: checking for ceilf in -lm" >&5
21180 echo $ECHO_N "checking for ceilf in -lm... $ECHO_C" >&6
21181 if test "${ac_cv_lib_m_ceilf+set}" = set; then
21182   echo $ECHO_N "(cached) $ECHO_C" >&6
21183 else
21184   ac_check_lib_save_LIBS=$LIBS
21185 LIBS="-lm  $LIBS"
21186 if test x$gcc_no_link = xyes; then
21187   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21188 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21189    { (exit 1); exit 1; }; }
21190 fi
21191 cat >conftest.$ac_ext <<_ACEOF
21192 /* confdefs.h.  */
21193 _ACEOF
21194 cat confdefs.h >>conftest.$ac_ext
21195 cat >>conftest.$ac_ext <<_ACEOF
21196 /* end confdefs.h.  */
21197
21198 /* Override any gcc2 internal prototype to avoid an error.  */
21199 #ifdef __cplusplus
21200 extern "C"
21201 #endif
21202 /* We use char because int might match the return type of a gcc2
21203    builtin and then its argument prototype would still apply.  */
21204 char ceilf ();
21205 int
21206 main ()
21207 {
21208 ceilf ();
21209   ;
21210   return 0;
21211 }
21212 _ACEOF
21213 rm -f conftest.$ac_objext conftest$ac_exeext
21214 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21215   (eval $ac_link) 2>conftest.er1
21216   ac_status=$?
21217   grep -v '^ *+' conftest.er1 >conftest.err
21218   rm -f conftest.er1
21219   cat conftest.err >&5
21220   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21221   (exit $ac_status); } &&
21222          { ac_try='test -z "$ac_c_werror_flag"
21223                          || test ! -s conftest.err'
21224   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21225   (eval $ac_try) 2>&5
21226   ac_status=$?
21227   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21228   (exit $ac_status); }; } &&
21229          { ac_try='test -s conftest$ac_exeext'
21230   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21231   (eval $ac_try) 2>&5
21232   ac_status=$?
21233   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21234   (exit $ac_status); }; }; then
21235   ac_cv_lib_m_ceilf=yes
21236 else
21237   echo "$as_me: failed program was:" >&5
21238 sed 's/^/| /' conftest.$ac_ext >&5
21239
21240 ac_cv_lib_m_ceilf=no
21241 fi
21242 rm -f conftest.err conftest.$ac_objext \
21243       conftest$ac_exeext conftest.$ac_ext
21244 LIBS=$ac_check_lib_save_LIBS
21245 fi
21246 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ceilf" >&5
21247 echo "${ECHO_T}$ac_cv_lib_m_ceilf" >&6
21248 if test $ac_cv_lib_m_ceilf = yes; then
21249
21250 cat >>confdefs.h <<\_ACEOF
21251 #define HAVE_CEILF 1
21252 _ACEOF
21253
21254 fi
21255
21256 echo "$as_me:$LINENO: checking for ceil in -lm" >&5
21257 echo $ECHO_N "checking for ceil in -lm... $ECHO_C" >&6
21258 if test "${ac_cv_lib_m_ceil+set}" = set; then
21259   echo $ECHO_N "(cached) $ECHO_C" >&6
21260 else
21261   ac_check_lib_save_LIBS=$LIBS
21262 LIBS="-lm  $LIBS"
21263 if test x$gcc_no_link = xyes; then
21264   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21265 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21266    { (exit 1); exit 1; }; }
21267 fi
21268 cat >conftest.$ac_ext <<_ACEOF
21269 /* confdefs.h.  */
21270 _ACEOF
21271 cat confdefs.h >>conftest.$ac_ext
21272 cat >>conftest.$ac_ext <<_ACEOF
21273 /* end confdefs.h.  */
21274
21275 /* Override any gcc2 internal prototype to avoid an error.  */
21276 #ifdef __cplusplus
21277 extern "C"
21278 #endif
21279 /* We use char because int might match the return type of a gcc2
21280    builtin and then its argument prototype would still apply.  */
21281 char ceil ();
21282 int
21283 main ()
21284 {
21285 ceil ();
21286   ;
21287   return 0;
21288 }
21289 _ACEOF
21290 rm -f conftest.$ac_objext conftest$ac_exeext
21291 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21292   (eval $ac_link) 2>conftest.er1
21293   ac_status=$?
21294   grep -v '^ *+' conftest.er1 >conftest.err
21295   rm -f conftest.er1
21296   cat conftest.err >&5
21297   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21298   (exit $ac_status); } &&
21299          { ac_try='test -z "$ac_c_werror_flag"
21300                          || test ! -s conftest.err'
21301   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21302   (eval $ac_try) 2>&5
21303   ac_status=$?
21304   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21305   (exit $ac_status); }; } &&
21306          { ac_try='test -s conftest$ac_exeext'
21307   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21308   (eval $ac_try) 2>&5
21309   ac_status=$?
21310   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21311   (exit $ac_status); }; }; then
21312   ac_cv_lib_m_ceil=yes
21313 else
21314   echo "$as_me: failed program was:" >&5
21315 sed 's/^/| /' conftest.$ac_ext >&5
21316
21317 ac_cv_lib_m_ceil=no
21318 fi
21319 rm -f conftest.err conftest.$ac_objext \
21320       conftest$ac_exeext conftest.$ac_ext
21321 LIBS=$ac_check_lib_save_LIBS
21322 fi
21323 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ceil" >&5
21324 echo "${ECHO_T}$ac_cv_lib_m_ceil" >&6
21325 if test $ac_cv_lib_m_ceil = yes; then
21326
21327 cat >>confdefs.h <<\_ACEOF
21328 #define HAVE_CEIL 1
21329 _ACEOF
21330
21331 fi
21332
21333 echo "$as_me:$LINENO: checking for ceill in -lm" >&5
21334 echo $ECHO_N "checking for ceill in -lm... $ECHO_C" >&6
21335 if test "${ac_cv_lib_m_ceill+set}" = set; then
21336   echo $ECHO_N "(cached) $ECHO_C" >&6
21337 else
21338   ac_check_lib_save_LIBS=$LIBS
21339 LIBS="-lm  $LIBS"
21340 if test x$gcc_no_link = xyes; then
21341   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21342 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21343    { (exit 1); exit 1; }; }
21344 fi
21345 cat >conftest.$ac_ext <<_ACEOF
21346 /* confdefs.h.  */
21347 _ACEOF
21348 cat confdefs.h >>conftest.$ac_ext
21349 cat >>conftest.$ac_ext <<_ACEOF
21350 /* end confdefs.h.  */
21351
21352 /* Override any gcc2 internal prototype to avoid an error.  */
21353 #ifdef __cplusplus
21354 extern "C"
21355 #endif
21356 /* We use char because int might match the return type of a gcc2
21357    builtin and then its argument prototype would still apply.  */
21358 char ceill ();
21359 int
21360 main ()
21361 {
21362 ceill ();
21363   ;
21364   return 0;
21365 }
21366 _ACEOF
21367 rm -f conftest.$ac_objext conftest$ac_exeext
21368 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21369   (eval $ac_link) 2>conftest.er1
21370   ac_status=$?
21371   grep -v '^ *+' conftest.er1 >conftest.err
21372   rm -f conftest.er1
21373   cat conftest.err >&5
21374   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21375   (exit $ac_status); } &&
21376          { ac_try='test -z "$ac_c_werror_flag"
21377                          || test ! -s conftest.err'
21378   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21379   (eval $ac_try) 2>&5
21380   ac_status=$?
21381   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21382   (exit $ac_status); }; } &&
21383          { ac_try='test -s conftest$ac_exeext'
21384   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21385   (eval $ac_try) 2>&5
21386   ac_status=$?
21387   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21388   (exit $ac_status); }; }; then
21389   ac_cv_lib_m_ceill=yes
21390 else
21391   echo "$as_me: failed program was:" >&5
21392 sed 's/^/| /' conftest.$ac_ext >&5
21393
21394 ac_cv_lib_m_ceill=no
21395 fi
21396 rm -f conftest.err conftest.$ac_objext \
21397       conftest$ac_exeext conftest.$ac_ext
21398 LIBS=$ac_check_lib_save_LIBS
21399 fi
21400 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ceill" >&5
21401 echo "${ECHO_T}$ac_cv_lib_m_ceill" >&6
21402 if test $ac_cv_lib_m_ceill = yes; then
21403
21404 cat >>confdefs.h <<\_ACEOF
21405 #define HAVE_CEILL 1
21406 _ACEOF
21407
21408 fi
21409
21410 echo "$as_me:$LINENO: checking for copysignf in -lm" >&5
21411 echo $ECHO_N "checking for copysignf in -lm... $ECHO_C" >&6
21412 if test "${ac_cv_lib_m_copysignf+set}" = set; then
21413   echo $ECHO_N "(cached) $ECHO_C" >&6
21414 else
21415   ac_check_lib_save_LIBS=$LIBS
21416 LIBS="-lm  $LIBS"
21417 if test x$gcc_no_link = xyes; then
21418   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21419 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21420    { (exit 1); exit 1; }; }
21421 fi
21422 cat >conftest.$ac_ext <<_ACEOF
21423 /* confdefs.h.  */
21424 _ACEOF
21425 cat confdefs.h >>conftest.$ac_ext
21426 cat >>conftest.$ac_ext <<_ACEOF
21427 /* end confdefs.h.  */
21428
21429 /* Override any gcc2 internal prototype to avoid an error.  */
21430 #ifdef __cplusplus
21431 extern "C"
21432 #endif
21433 /* We use char because int might match the return type of a gcc2
21434    builtin and then its argument prototype would still apply.  */
21435 char copysignf ();
21436 int
21437 main ()
21438 {
21439 copysignf ();
21440   ;
21441   return 0;
21442 }
21443 _ACEOF
21444 rm -f conftest.$ac_objext conftest$ac_exeext
21445 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21446   (eval $ac_link) 2>conftest.er1
21447   ac_status=$?
21448   grep -v '^ *+' conftest.er1 >conftest.err
21449   rm -f conftest.er1
21450   cat conftest.err >&5
21451   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21452   (exit $ac_status); } &&
21453          { ac_try='test -z "$ac_c_werror_flag"
21454                          || test ! -s conftest.err'
21455   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21456   (eval $ac_try) 2>&5
21457   ac_status=$?
21458   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21459   (exit $ac_status); }; } &&
21460          { ac_try='test -s conftest$ac_exeext'
21461   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21462   (eval $ac_try) 2>&5
21463   ac_status=$?
21464   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21465   (exit $ac_status); }; }; then
21466   ac_cv_lib_m_copysignf=yes
21467 else
21468   echo "$as_me: failed program was:" >&5
21469 sed 's/^/| /' conftest.$ac_ext >&5
21470
21471 ac_cv_lib_m_copysignf=no
21472 fi
21473 rm -f conftest.err conftest.$ac_objext \
21474       conftest$ac_exeext conftest.$ac_ext
21475 LIBS=$ac_check_lib_save_LIBS
21476 fi
21477 echo "$as_me:$LINENO: result: $ac_cv_lib_m_copysignf" >&5
21478 echo "${ECHO_T}$ac_cv_lib_m_copysignf" >&6
21479 if test $ac_cv_lib_m_copysignf = yes; then
21480
21481 cat >>confdefs.h <<\_ACEOF
21482 #define HAVE_COPYSIGNF 1
21483 _ACEOF
21484
21485 fi
21486
21487 echo "$as_me:$LINENO: checking for copysign in -lm" >&5
21488 echo $ECHO_N "checking for copysign in -lm... $ECHO_C" >&6
21489 if test "${ac_cv_lib_m_copysign+set}" = set; then
21490   echo $ECHO_N "(cached) $ECHO_C" >&6
21491 else
21492   ac_check_lib_save_LIBS=$LIBS
21493 LIBS="-lm  $LIBS"
21494 if test x$gcc_no_link = xyes; then
21495   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21496 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21497    { (exit 1); exit 1; }; }
21498 fi
21499 cat >conftest.$ac_ext <<_ACEOF
21500 /* confdefs.h.  */
21501 _ACEOF
21502 cat confdefs.h >>conftest.$ac_ext
21503 cat >>conftest.$ac_ext <<_ACEOF
21504 /* end confdefs.h.  */
21505
21506 /* Override any gcc2 internal prototype to avoid an error.  */
21507 #ifdef __cplusplus
21508 extern "C"
21509 #endif
21510 /* We use char because int might match the return type of a gcc2
21511    builtin and then its argument prototype would still apply.  */
21512 char copysign ();
21513 int
21514 main ()
21515 {
21516 copysign ();
21517   ;
21518   return 0;
21519 }
21520 _ACEOF
21521 rm -f conftest.$ac_objext conftest$ac_exeext
21522 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21523   (eval $ac_link) 2>conftest.er1
21524   ac_status=$?
21525   grep -v '^ *+' conftest.er1 >conftest.err
21526   rm -f conftest.er1
21527   cat conftest.err >&5
21528   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21529   (exit $ac_status); } &&
21530          { ac_try='test -z "$ac_c_werror_flag"
21531                          || test ! -s conftest.err'
21532   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21533   (eval $ac_try) 2>&5
21534   ac_status=$?
21535   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21536   (exit $ac_status); }; } &&
21537          { ac_try='test -s conftest$ac_exeext'
21538   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21539   (eval $ac_try) 2>&5
21540   ac_status=$?
21541   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21542   (exit $ac_status); }; }; then
21543   ac_cv_lib_m_copysign=yes
21544 else
21545   echo "$as_me: failed program was:" >&5
21546 sed 's/^/| /' conftest.$ac_ext >&5
21547
21548 ac_cv_lib_m_copysign=no
21549 fi
21550 rm -f conftest.err conftest.$ac_objext \
21551       conftest$ac_exeext conftest.$ac_ext
21552 LIBS=$ac_check_lib_save_LIBS
21553 fi
21554 echo "$as_me:$LINENO: result: $ac_cv_lib_m_copysign" >&5
21555 echo "${ECHO_T}$ac_cv_lib_m_copysign" >&6
21556 if test $ac_cv_lib_m_copysign = yes; then
21557
21558 cat >>confdefs.h <<\_ACEOF
21559 #define HAVE_COPYSIGN 1
21560 _ACEOF
21561
21562 fi
21563
21564 echo "$as_me:$LINENO: checking for copysignl in -lm" >&5
21565 echo $ECHO_N "checking for copysignl in -lm... $ECHO_C" >&6
21566 if test "${ac_cv_lib_m_copysignl+set}" = set; then
21567   echo $ECHO_N "(cached) $ECHO_C" >&6
21568 else
21569   ac_check_lib_save_LIBS=$LIBS
21570 LIBS="-lm  $LIBS"
21571 if test x$gcc_no_link = xyes; then
21572   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21573 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21574    { (exit 1); exit 1; }; }
21575 fi
21576 cat >conftest.$ac_ext <<_ACEOF
21577 /* confdefs.h.  */
21578 _ACEOF
21579 cat confdefs.h >>conftest.$ac_ext
21580 cat >>conftest.$ac_ext <<_ACEOF
21581 /* end confdefs.h.  */
21582
21583 /* Override any gcc2 internal prototype to avoid an error.  */
21584 #ifdef __cplusplus
21585 extern "C"
21586 #endif
21587 /* We use char because int might match the return type of a gcc2
21588    builtin and then its argument prototype would still apply.  */
21589 char copysignl ();
21590 int
21591 main ()
21592 {
21593 copysignl ();
21594   ;
21595   return 0;
21596 }
21597 _ACEOF
21598 rm -f conftest.$ac_objext conftest$ac_exeext
21599 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21600   (eval $ac_link) 2>conftest.er1
21601   ac_status=$?
21602   grep -v '^ *+' conftest.er1 >conftest.err
21603   rm -f conftest.er1
21604   cat conftest.err >&5
21605   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21606   (exit $ac_status); } &&
21607          { ac_try='test -z "$ac_c_werror_flag"
21608                          || test ! -s conftest.err'
21609   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21610   (eval $ac_try) 2>&5
21611   ac_status=$?
21612   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21613   (exit $ac_status); }; } &&
21614          { ac_try='test -s conftest$ac_exeext'
21615   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21616   (eval $ac_try) 2>&5
21617   ac_status=$?
21618   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21619   (exit $ac_status); }; }; then
21620   ac_cv_lib_m_copysignl=yes
21621 else
21622   echo "$as_me: failed program was:" >&5
21623 sed 's/^/| /' conftest.$ac_ext >&5
21624
21625 ac_cv_lib_m_copysignl=no
21626 fi
21627 rm -f conftest.err conftest.$ac_objext \
21628       conftest$ac_exeext conftest.$ac_ext
21629 LIBS=$ac_check_lib_save_LIBS
21630 fi
21631 echo "$as_me:$LINENO: result: $ac_cv_lib_m_copysignl" >&5
21632 echo "${ECHO_T}$ac_cv_lib_m_copysignl" >&6
21633 if test $ac_cv_lib_m_copysignl = yes; then
21634
21635 cat >>confdefs.h <<\_ACEOF
21636 #define HAVE_COPYSIGNL 1
21637 _ACEOF
21638
21639 fi
21640
21641 echo "$as_me:$LINENO: checking for cosf in -lm" >&5
21642 echo $ECHO_N "checking for cosf in -lm... $ECHO_C" >&6
21643 if test "${ac_cv_lib_m_cosf+set}" = set; then
21644   echo $ECHO_N "(cached) $ECHO_C" >&6
21645 else
21646   ac_check_lib_save_LIBS=$LIBS
21647 LIBS="-lm  $LIBS"
21648 if test x$gcc_no_link = xyes; then
21649   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21650 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21651    { (exit 1); exit 1; }; }
21652 fi
21653 cat >conftest.$ac_ext <<_ACEOF
21654 /* confdefs.h.  */
21655 _ACEOF
21656 cat confdefs.h >>conftest.$ac_ext
21657 cat >>conftest.$ac_ext <<_ACEOF
21658 /* end confdefs.h.  */
21659
21660 /* Override any gcc2 internal prototype to avoid an error.  */
21661 #ifdef __cplusplus
21662 extern "C"
21663 #endif
21664 /* We use char because int might match the return type of a gcc2
21665    builtin and then its argument prototype would still apply.  */
21666 char cosf ();
21667 int
21668 main ()
21669 {
21670 cosf ();
21671   ;
21672   return 0;
21673 }
21674 _ACEOF
21675 rm -f conftest.$ac_objext conftest$ac_exeext
21676 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21677   (eval $ac_link) 2>conftest.er1
21678   ac_status=$?
21679   grep -v '^ *+' conftest.er1 >conftest.err
21680   rm -f conftest.er1
21681   cat conftest.err >&5
21682   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21683   (exit $ac_status); } &&
21684          { ac_try='test -z "$ac_c_werror_flag"
21685                          || test ! -s conftest.err'
21686   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21687   (eval $ac_try) 2>&5
21688   ac_status=$?
21689   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21690   (exit $ac_status); }; } &&
21691          { ac_try='test -s conftest$ac_exeext'
21692   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21693   (eval $ac_try) 2>&5
21694   ac_status=$?
21695   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21696   (exit $ac_status); }; }; then
21697   ac_cv_lib_m_cosf=yes
21698 else
21699   echo "$as_me: failed program was:" >&5
21700 sed 's/^/| /' conftest.$ac_ext >&5
21701
21702 ac_cv_lib_m_cosf=no
21703 fi
21704 rm -f conftest.err conftest.$ac_objext \
21705       conftest$ac_exeext conftest.$ac_ext
21706 LIBS=$ac_check_lib_save_LIBS
21707 fi
21708 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cosf" >&5
21709 echo "${ECHO_T}$ac_cv_lib_m_cosf" >&6
21710 if test $ac_cv_lib_m_cosf = yes; then
21711
21712 cat >>confdefs.h <<\_ACEOF
21713 #define HAVE_COSF 1
21714 _ACEOF
21715
21716 fi
21717
21718 echo "$as_me:$LINENO: checking for cos in -lm" >&5
21719 echo $ECHO_N "checking for cos in -lm... $ECHO_C" >&6
21720 if test "${ac_cv_lib_m_cos+set}" = set; then
21721   echo $ECHO_N "(cached) $ECHO_C" >&6
21722 else
21723   ac_check_lib_save_LIBS=$LIBS
21724 LIBS="-lm  $LIBS"
21725 if test x$gcc_no_link = xyes; then
21726   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21727 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21728    { (exit 1); exit 1; }; }
21729 fi
21730 cat >conftest.$ac_ext <<_ACEOF
21731 /* confdefs.h.  */
21732 _ACEOF
21733 cat confdefs.h >>conftest.$ac_ext
21734 cat >>conftest.$ac_ext <<_ACEOF
21735 /* end confdefs.h.  */
21736
21737 /* Override any gcc2 internal prototype to avoid an error.  */
21738 #ifdef __cplusplus
21739 extern "C"
21740 #endif
21741 /* We use char because int might match the return type of a gcc2
21742    builtin and then its argument prototype would still apply.  */
21743 char cos ();
21744 int
21745 main ()
21746 {
21747 cos ();
21748   ;
21749   return 0;
21750 }
21751 _ACEOF
21752 rm -f conftest.$ac_objext conftest$ac_exeext
21753 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21754   (eval $ac_link) 2>conftest.er1
21755   ac_status=$?
21756   grep -v '^ *+' conftest.er1 >conftest.err
21757   rm -f conftest.er1
21758   cat conftest.err >&5
21759   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21760   (exit $ac_status); } &&
21761          { ac_try='test -z "$ac_c_werror_flag"
21762                          || test ! -s conftest.err'
21763   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21764   (eval $ac_try) 2>&5
21765   ac_status=$?
21766   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21767   (exit $ac_status); }; } &&
21768          { ac_try='test -s conftest$ac_exeext'
21769   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21770   (eval $ac_try) 2>&5
21771   ac_status=$?
21772   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21773   (exit $ac_status); }; }; then
21774   ac_cv_lib_m_cos=yes
21775 else
21776   echo "$as_me: failed program was:" >&5
21777 sed 's/^/| /' conftest.$ac_ext >&5
21778
21779 ac_cv_lib_m_cos=no
21780 fi
21781 rm -f conftest.err conftest.$ac_objext \
21782       conftest$ac_exeext conftest.$ac_ext
21783 LIBS=$ac_check_lib_save_LIBS
21784 fi
21785 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cos" >&5
21786 echo "${ECHO_T}$ac_cv_lib_m_cos" >&6
21787 if test $ac_cv_lib_m_cos = yes; then
21788
21789 cat >>confdefs.h <<\_ACEOF
21790 #define HAVE_COS 1
21791 _ACEOF
21792
21793 fi
21794
21795 echo "$as_me:$LINENO: checking for cosl in -lm" >&5
21796 echo $ECHO_N "checking for cosl in -lm... $ECHO_C" >&6
21797 if test "${ac_cv_lib_m_cosl+set}" = set; then
21798   echo $ECHO_N "(cached) $ECHO_C" >&6
21799 else
21800   ac_check_lib_save_LIBS=$LIBS
21801 LIBS="-lm  $LIBS"
21802 if test x$gcc_no_link = xyes; then
21803   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21804 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21805    { (exit 1); exit 1; }; }
21806 fi
21807 cat >conftest.$ac_ext <<_ACEOF
21808 /* confdefs.h.  */
21809 _ACEOF
21810 cat confdefs.h >>conftest.$ac_ext
21811 cat >>conftest.$ac_ext <<_ACEOF
21812 /* end confdefs.h.  */
21813
21814 /* Override any gcc2 internal prototype to avoid an error.  */
21815 #ifdef __cplusplus
21816 extern "C"
21817 #endif
21818 /* We use char because int might match the return type of a gcc2
21819    builtin and then its argument prototype would still apply.  */
21820 char cosl ();
21821 int
21822 main ()
21823 {
21824 cosl ();
21825   ;
21826   return 0;
21827 }
21828 _ACEOF
21829 rm -f conftest.$ac_objext conftest$ac_exeext
21830 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21831   (eval $ac_link) 2>conftest.er1
21832   ac_status=$?
21833   grep -v '^ *+' conftest.er1 >conftest.err
21834   rm -f conftest.er1
21835   cat conftest.err >&5
21836   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21837   (exit $ac_status); } &&
21838          { ac_try='test -z "$ac_c_werror_flag"
21839                          || test ! -s conftest.err'
21840   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21841   (eval $ac_try) 2>&5
21842   ac_status=$?
21843   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21844   (exit $ac_status); }; } &&
21845          { ac_try='test -s conftest$ac_exeext'
21846   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21847   (eval $ac_try) 2>&5
21848   ac_status=$?
21849   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21850   (exit $ac_status); }; }; then
21851   ac_cv_lib_m_cosl=yes
21852 else
21853   echo "$as_me: failed program was:" >&5
21854 sed 's/^/| /' conftest.$ac_ext >&5
21855
21856 ac_cv_lib_m_cosl=no
21857 fi
21858 rm -f conftest.err conftest.$ac_objext \
21859       conftest$ac_exeext conftest.$ac_ext
21860 LIBS=$ac_check_lib_save_LIBS
21861 fi
21862 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cosl" >&5
21863 echo "${ECHO_T}$ac_cv_lib_m_cosl" >&6
21864 if test $ac_cv_lib_m_cosl = yes; then
21865
21866 cat >>confdefs.h <<\_ACEOF
21867 #define HAVE_COSL 1
21868 _ACEOF
21869
21870 fi
21871
21872 echo "$as_me:$LINENO: checking for ccosf in -lm" >&5
21873 echo $ECHO_N "checking for ccosf in -lm... $ECHO_C" >&6
21874 if test "${ac_cv_lib_m_ccosf+set}" = set; then
21875   echo $ECHO_N "(cached) $ECHO_C" >&6
21876 else
21877   ac_check_lib_save_LIBS=$LIBS
21878 LIBS="-lm  $LIBS"
21879 if test x$gcc_no_link = xyes; then
21880   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21881 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21882    { (exit 1); exit 1; }; }
21883 fi
21884 cat >conftest.$ac_ext <<_ACEOF
21885 /* confdefs.h.  */
21886 _ACEOF
21887 cat confdefs.h >>conftest.$ac_ext
21888 cat >>conftest.$ac_ext <<_ACEOF
21889 /* end confdefs.h.  */
21890
21891 /* Override any gcc2 internal prototype to avoid an error.  */
21892 #ifdef __cplusplus
21893 extern "C"
21894 #endif
21895 /* We use char because int might match the return type of a gcc2
21896    builtin and then its argument prototype would still apply.  */
21897 char ccosf ();
21898 int
21899 main ()
21900 {
21901 ccosf ();
21902   ;
21903   return 0;
21904 }
21905 _ACEOF
21906 rm -f conftest.$ac_objext conftest$ac_exeext
21907 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21908   (eval $ac_link) 2>conftest.er1
21909   ac_status=$?
21910   grep -v '^ *+' conftest.er1 >conftest.err
21911   rm -f conftest.er1
21912   cat conftest.err >&5
21913   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21914   (exit $ac_status); } &&
21915          { ac_try='test -z "$ac_c_werror_flag"
21916                          || test ! -s conftest.err'
21917   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21918   (eval $ac_try) 2>&5
21919   ac_status=$?
21920   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21921   (exit $ac_status); }; } &&
21922          { ac_try='test -s conftest$ac_exeext'
21923   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21924   (eval $ac_try) 2>&5
21925   ac_status=$?
21926   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21927   (exit $ac_status); }; }; then
21928   ac_cv_lib_m_ccosf=yes
21929 else
21930   echo "$as_me: failed program was:" >&5
21931 sed 's/^/| /' conftest.$ac_ext >&5
21932
21933 ac_cv_lib_m_ccosf=no
21934 fi
21935 rm -f conftest.err conftest.$ac_objext \
21936       conftest$ac_exeext conftest.$ac_ext
21937 LIBS=$ac_check_lib_save_LIBS
21938 fi
21939 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ccosf" >&5
21940 echo "${ECHO_T}$ac_cv_lib_m_ccosf" >&6
21941 if test $ac_cv_lib_m_ccosf = yes; then
21942
21943 cat >>confdefs.h <<\_ACEOF
21944 #define HAVE_CCOSF 1
21945 _ACEOF
21946
21947 fi
21948
21949 echo "$as_me:$LINENO: checking for ccos in -lm" >&5
21950 echo $ECHO_N "checking for ccos in -lm... $ECHO_C" >&6
21951 if test "${ac_cv_lib_m_ccos+set}" = set; then
21952   echo $ECHO_N "(cached) $ECHO_C" >&6
21953 else
21954   ac_check_lib_save_LIBS=$LIBS
21955 LIBS="-lm  $LIBS"
21956 if test x$gcc_no_link = xyes; then
21957   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21958 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21959    { (exit 1); exit 1; }; }
21960 fi
21961 cat >conftest.$ac_ext <<_ACEOF
21962 /* confdefs.h.  */
21963 _ACEOF
21964 cat confdefs.h >>conftest.$ac_ext
21965 cat >>conftest.$ac_ext <<_ACEOF
21966 /* end confdefs.h.  */
21967
21968 /* Override any gcc2 internal prototype to avoid an error.  */
21969 #ifdef __cplusplus
21970 extern "C"
21971 #endif
21972 /* We use char because int might match the return type of a gcc2
21973    builtin and then its argument prototype would still apply.  */
21974 char ccos ();
21975 int
21976 main ()
21977 {
21978 ccos ();
21979   ;
21980   return 0;
21981 }
21982 _ACEOF
21983 rm -f conftest.$ac_objext conftest$ac_exeext
21984 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21985   (eval $ac_link) 2>conftest.er1
21986   ac_status=$?
21987   grep -v '^ *+' conftest.er1 >conftest.err
21988   rm -f conftest.er1
21989   cat conftest.err >&5
21990   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21991   (exit $ac_status); } &&
21992          { ac_try='test -z "$ac_c_werror_flag"
21993                          || test ! -s conftest.err'
21994   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21995   (eval $ac_try) 2>&5
21996   ac_status=$?
21997   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21998   (exit $ac_status); }; } &&
21999          { ac_try='test -s conftest$ac_exeext'
22000   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22001   (eval $ac_try) 2>&5
22002   ac_status=$?
22003   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22004   (exit $ac_status); }; }; then
22005   ac_cv_lib_m_ccos=yes
22006 else
22007   echo "$as_me: failed program was:" >&5
22008 sed 's/^/| /' conftest.$ac_ext >&5
22009
22010 ac_cv_lib_m_ccos=no
22011 fi
22012 rm -f conftest.err conftest.$ac_objext \
22013       conftest$ac_exeext conftest.$ac_ext
22014 LIBS=$ac_check_lib_save_LIBS
22015 fi
22016 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ccos" >&5
22017 echo "${ECHO_T}$ac_cv_lib_m_ccos" >&6
22018 if test $ac_cv_lib_m_ccos = yes; then
22019
22020 cat >>confdefs.h <<\_ACEOF
22021 #define HAVE_CCOS 1
22022 _ACEOF
22023
22024 fi
22025
22026 echo "$as_me:$LINENO: checking for ccosl in -lm" >&5
22027 echo $ECHO_N "checking for ccosl in -lm... $ECHO_C" >&6
22028 if test "${ac_cv_lib_m_ccosl+set}" = set; then
22029   echo $ECHO_N "(cached) $ECHO_C" >&6
22030 else
22031   ac_check_lib_save_LIBS=$LIBS
22032 LIBS="-lm  $LIBS"
22033 if test x$gcc_no_link = xyes; then
22034   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22035 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22036    { (exit 1); exit 1; }; }
22037 fi
22038 cat >conftest.$ac_ext <<_ACEOF
22039 /* confdefs.h.  */
22040 _ACEOF
22041 cat confdefs.h >>conftest.$ac_ext
22042 cat >>conftest.$ac_ext <<_ACEOF
22043 /* end confdefs.h.  */
22044
22045 /* Override any gcc2 internal prototype to avoid an error.  */
22046 #ifdef __cplusplus
22047 extern "C"
22048 #endif
22049 /* We use char because int might match the return type of a gcc2
22050    builtin and then its argument prototype would still apply.  */
22051 char ccosl ();
22052 int
22053 main ()
22054 {
22055 ccosl ();
22056   ;
22057   return 0;
22058 }
22059 _ACEOF
22060 rm -f conftest.$ac_objext conftest$ac_exeext
22061 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22062   (eval $ac_link) 2>conftest.er1
22063   ac_status=$?
22064   grep -v '^ *+' conftest.er1 >conftest.err
22065   rm -f conftest.er1
22066   cat conftest.err >&5
22067   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22068   (exit $ac_status); } &&
22069          { ac_try='test -z "$ac_c_werror_flag"
22070                          || test ! -s conftest.err'
22071   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22072   (eval $ac_try) 2>&5
22073   ac_status=$?
22074   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22075   (exit $ac_status); }; } &&
22076          { ac_try='test -s conftest$ac_exeext'
22077   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22078   (eval $ac_try) 2>&5
22079   ac_status=$?
22080   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22081   (exit $ac_status); }; }; then
22082   ac_cv_lib_m_ccosl=yes
22083 else
22084   echo "$as_me: failed program was:" >&5
22085 sed 's/^/| /' conftest.$ac_ext >&5
22086
22087 ac_cv_lib_m_ccosl=no
22088 fi
22089 rm -f conftest.err conftest.$ac_objext \
22090       conftest$ac_exeext conftest.$ac_ext
22091 LIBS=$ac_check_lib_save_LIBS
22092 fi
22093 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ccosl" >&5
22094 echo "${ECHO_T}$ac_cv_lib_m_ccosl" >&6
22095 if test $ac_cv_lib_m_ccosl = yes; then
22096
22097 cat >>confdefs.h <<\_ACEOF
22098 #define HAVE_CCOSL 1
22099 _ACEOF
22100
22101 fi
22102
22103 echo "$as_me:$LINENO: checking for coshf in -lm" >&5
22104 echo $ECHO_N "checking for coshf in -lm... $ECHO_C" >&6
22105 if test "${ac_cv_lib_m_coshf+set}" = set; then
22106   echo $ECHO_N "(cached) $ECHO_C" >&6
22107 else
22108   ac_check_lib_save_LIBS=$LIBS
22109 LIBS="-lm  $LIBS"
22110 if test x$gcc_no_link = xyes; then
22111   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22112 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22113    { (exit 1); exit 1; }; }
22114 fi
22115 cat >conftest.$ac_ext <<_ACEOF
22116 /* confdefs.h.  */
22117 _ACEOF
22118 cat confdefs.h >>conftest.$ac_ext
22119 cat >>conftest.$ac_ext <<_ACEOF
22120 /* end confdefs.h.  */
22121
22122 /* Override any gcc2 internal prototype to avoid an error.  */
22123 #ifdef __cplusplus
22124 extern "C"
22125 #endif
22126 /* We use char because int might match the return type of a gcc2
22127    builtin and then its argument prototype would still apply.  */
22128 char coshf ();
22129 int
22130 main ()
22131 {
22132 coshf ();
22133   ;
22134   return 0;
22135 }
22136 _ACEOF
22137 rm -f conftest.$ac_objext conftest$ac_exeext
22138 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22139   (eval $ac_link) 2>conftest.er1
22140   ac_status=$?
22141   grep -v '^ *+' conftest.er1 >conftest.err
22142   rm -f conftest.er1
22143   cat conftest.err >&5
22144   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22145   (exit $ac_status); } &&
22146          { ac_try='test -z "$ac_c_werror_flag"
22147                          || test ! -s conftest.err'
22148   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22149   (eval $ac_try) 2>&5
22150   ac_status=$?
22151   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22152   (exit $ac_status); }; } &&
22153          { ac_try='test -s conftest$ac_exeext'
22154   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22155   (eval $ac_try) 2>&5
22156   ac_status=$?
22157   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22158   (exit $ac_status); }; }; then
22159   ac_cv_lib_m_coshf=yes
22160 else
22161   echo "$as_me: failed program was:" >&5
22162 sed 's/^/| /' conftest.$ac_ext >&5
22163
22164 ac_cv_lib_m_coshf=no
22165 fi
22166 rm -f conftest.err conftest.$ac_objext \
22167       conftest$ac_exeext conftest.$ac_ext
22168 LIBS=$ac_check_lib_save_LIBS
22169 fi
22170 echo "$as_me:$LINENO: result: $ac_cv_lib_m_coshf" >&5
22171 echo "${ECHO_T}$ac_cv_lib_m_coshf" >&6
22172 if test $ac_cv_lib_m_coshf = yes; then
22173
22174 cat >>confdefs.h <<\_ACEOF
22175 #define HAVE_COSHF 1
22176 _ACEOF
22177
22178 fi
22179
22180 echo "$as_me:$LINENO: checking for cosh in -lm" >&5
22181 echo $ECHO_N "checking for cosh in -lm... $ECHO_C" >&6
22182 if test "${ac_cv_lib_m_cosh+set}" = set; then
22183   echo $ECHO_N "(cached) $ECHO_C" >&6
22184 else
22185   ac_check_lib_save_LIBS=$LIBS
22186 LIBS="-lm  $LIBS"
22187 if test x$gcc_no_link = xyes; then
22188   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22189 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22190    { (exit 1); exit 1; }; }
22191 fi
22192 cat >conftest.$ac_ext <<_ACEOF
22193 /* confdefs.h.  */
22194 _ACEOF
22195 cat confdefs.h >>conftest.$ac_ext
22196 cat >>conftest.$ac_ext <<_ACEOF
22197 /* end confdefs.h.  */
22198
22199 /* Override any gcc2 internal prototype to avoid an error.  */
22200 #ifdef __cplusplus
22201 extern "C"
22202 #endif
22203 /* We use char because int might match the return type of a gcc2
22204    builtin and then its argument prototype would still apply.  */
22205 char cosh ();
22206 int
22207 main ()
22208 {
22209 cosh ();
22210   ;
22211   return 0;
22212 }
22213 _ACEOF
22214 rm -f conftest.$ac_objext conftest$ac_exeext
22215 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22216   (eval $ac_link) 2>conftest.er1
22217   ac_status=$?
22218   grep -v '^ *+' conftest.er1 >conftest.err
22219   rm -f conftest.er1
22220   cat conftest.err >&5
22221   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22222   (exit $ac_status); } &&
22223          { ac_try='test -z "$ac_c_werror_flag"
22224                          || test ! -s conftest.err'
22225   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22226   (eval $ac_try) 2>&5
22227   ac_status=$?
22228   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22229   (exit $ac_status); }; } &&
22230          { ac_try='test -s conftest$ac_exeext'
22231   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22232   (eval $ac_try) 2>&5
22233   ac_status=$?
22234   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22235   (exit $ac_status); }; }; then
22236   ac_cv_lib_m_cosh=yes
22237 else
22238   echo "$as_me: failed program was:" >&5
22239 sed 's/^/| /' conftest.$ac_ext >&5
22240
22241 ac_cv_lib_m_cosh=no
22242 fi
22243 rm -f conftest.err conftest.$ac_objext \
22244       conftest$ac_exeext conftest.$ac_ext
22245 LIBS=$ac_check_lib_save_LIBS
22246 fi
22247 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cosh" >&5
22248 echo "${ECHO_T}$ac_cv_lib_m_cosh" >&6
22249 if test $ac_cv_lib_m_cosh = yes; then
22250
22251 cat >>confdefs.h <<\_ACEOF
22252 #define HAVE_COSH 1
22253 _ACEOF
22254
22255 fi
22256
22257 echo "$as_me:$LINENO: checking for coshl in -lm" >&5
22258 echo $ECHO_N "checking for coshl in -lm... $ECHO_C" >&6
22259 if test "${ac_cv_lib_m_coshl+set}" = set; then
22260   echo $ECHO_N "(cached) $ECHO_C" >&6
22261 else
22262   ac_check_lib_save_LIBS=$LIBS
22263 LIBS="-lm  $LIBS"
22264 if test x$gcc_no_link = xyes; then
22265   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22266 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22267    { (exit 1); exit 1; }; }
22268 fi
22269 cat >conftest.$ac_ext <<_ACEOF
22270 /* confdefs.h.  */
22271 _ACEOF
22272 cat confdefs.h >>conftest.$ac_ext
22273 cat >>conftest.$ac_ext <<_ACEOF
22274 /* end confdefs.h.  */
22275
22276 /* Override any gcc2 internal prototype to avoid an error.  */
22277 #ifdef __cplusplus
22278 extern "C"
22279 #endif
22280 /* We use char because int might match the return type of a gcc2
22281    builtin and then its argument prototype would still apply.  */
22282 char coshl ();
22283 int
22284 main ()
22285 {
22286 coshl ();
22287   ;
22288   return 0;
22289 }
22290 _ACEOF
22291 rm -f conftest.$ac_objext conftest$ac_exeext
22292 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22293   (eval $ac_link) 2>conftest.er1
22294   ac_status=$?
22295   grep -v '^ *+' conftest.er1 >conftest.err
22296   rm -f conftest.er1
22297   cat conftest.err >&5
22298   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22299   (exit $ac_status); } &&
22300          { ac_try='test -z "$ac_c_werror_flag"
22301                          || test ! -s conftest.err'
22302   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22303   (eval $ac_try) 2>&5
22304   ac_status=$?
22305   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22306   (exit $ac_status); }; } &&
22307          { ac_try='test -s conftest$ac_exeext'
22308   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22309   (eval $ac_try) 2>&5
22310   ac_status=$?
22311   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22312   (exit $ac_status); }; }; then
22313   ac_cv_lib_m_coshl=yes
22314 else
22315   echo "$as_me: failed program was:" >&5
22316 sed 's/^/| /' conftest.$ac_ext >&5
22317
22318 ac_cv_lib_m_coshl=no
22319 fi
22320 rm -f conftest.err conftest.$ac_objext \
22321       conftest$ac_exeext conftest.$ac_ext
22322 LIBS=$ac_check_lib_save_LIBS
22323 fi
22324 echo "$as_me:$LINENO: result: $ac_cv_lib_m_coshl" >&5
22325 echo "${ECHO_T}$ac_cv_lib_m_coshl" >&6
22326 if test $ac_cv_lib_m_coshl = yes; then
22327
22328 cat >>confdefs.h <<\_ACEOF
22329 #define HAVE_COSHL 1
22330 _ACEOF
22331
22332 fi
22333
22334 echo "$as_me:$LINENO: checking for ccoshf in -lm" >&5
22335 echo $ECHO_N "checking for ccoshf in -lm... $ECHO_C" >&6
22336 if test "${ac_cv_lib_m_ccoshf+set}" = set; then
22337   echo $ECHO_N "(cached) $ECHO_C" >&6
22338 else
22339   ac_check_lib_save_LIBS=$LIBS
22340 LIBS="-lm  $LIBS"
22341 if test x$gcc_no_link = xyes; then
22342   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22343 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22344    { (exit 1); exit 1; }; }
22345 fi
22346 cat >conftest.$ac_ext <<_ACEOF
22347 /* confdefs.h.  */
22348 _ACEOF
22349 cat confdefs.h >>conftest.$ac_ext
22350 cat >>conftest.$ac_ext <<_ACEOF
22351 /* end confdefs.h.  */
22352
22353 /* Override any gcc2 internal prototype to avoid an error.  */
22354 #ifdef __cplusplus
22355 extern "C"
22356 #endif
22357 /* We use char because int might match the return type of a gcc2
22358    builtin and then its argument prototype would still apply.  */
22359 char ccoshf ();
22360 int
22361 main ()
22362 {
22363 ccoshf ();
22364   ;
22365   return 0;
22366 }
22367 _ACEOF
22368 rm -f conftest.$ac_objext conftest$ac_exeext
22369 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22370   (eval $ac_link) 2>conftest.er1
22371   ac_status=$?
22372   grep -v '^ *+' conftest.er1 >conftest.err
22373   rm -f conftest.er1
22374   cat conftest.err >&5
22375   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22376   (exit $ac_status); } &&
22377          { ac_try='test -z "$ac_c_werror_flag"
22378                          || test ! -s conftest.err'
22379   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22380   (eval $ac_try) 2>&5
22381   ac_status=$?
22382   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22383   (exit $ac_status); }; } &&
22384          { ac_try='test -s conftest$ac_exeext'
22385   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22386   (eval $ac_try) 2>&5
22387   ac_status=$?
22388   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22389   (exit $ac_status); }; }; then
22390   ac_cv_lib_m_ccoshf=yes
22391 else
22392   echo "$as_me: failed program was:" >&5
22393 sed 's/^/| /' conftest.$ac_ext >&5
22394
22395 ac_cv_lib_m_ccoshf=no
22396 fi
22397 rm -f conftest.err conftest.$ac_objext \
22398       conftest$ac_exeext conftest.$ac_ext
22399 LIBS=$ac_check_lib_save_LIBS
22400 fi
22401 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ccoshf" >&5
22402 echo "${ECHO_T}$ac_cv_lib_m_ccoshf" >&6
22403 if test $ac_cv_lib_m_ccoshf = yes; then
22404
22405 cat >>confdefs.h <<\_ACEOF
22406 #define HAVE_CCOSHF 1
22407 _ACEOF
22408
22409 fi
22410
22411 echo "$as_me:$LINENO: checking for ccosh in -lm" >&5
22412 echo $ECHO_N "checking for ccosh in -lm... $ECHO_C" >&6
22413 if test "${ac_cv_lib_m_ccosh+set}" = set; then
22414   echo $ECHO_N "(cached) $ECHO_C" >&6
22415 else
22416   ac_check_lib_save_LIBS=$LIBS
22417 LIBS="-lm  $LIBS"
22418 if test x$gcc_no_link = xyes; then
22419   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22420 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22421    { (exit 1); exit 1; }; }
22422 fi
22423 cat >conftest.$ac_ext <<_ACEOF
22424 /* confdefs.h.  */
22425 _ACEOF
22426 cat confdefs.h >>conftest.$ac_ext
22427 cat >>conftest.$ac_ext <<_ACEOF
22428 /* end confdefs.h.  */
22429
22430 /* Override any gcc2 internal prototype to avoid an error.  */
22431 #ifdef __cplusplus
22432 extern "C"
22433 #endif
22434 /* We use char because int might match the return type of a gcc2
22435    builtin and then its argument prototype would still apply.  */
22436 char ccosh ();
22437 int
22438 main ()
22439 {
22440 ccosh ();
22441   ;
22442   return 0;
22443 }
22444 _ACEOF
22445 rm -f conftest.$ac_objext conftest$ac_exeext
22446 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22447   (eval $ac_link) 2>conftest.er1
22448   ac_status=$?
22449   grep -v '^ *+' conftest.er1 >conftest.err
22450   rm -f conftest.er1
22451   cat conftest.err >&5
22452   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22453   (exit $ac_status); } &&
22454          { ac_try='test -z "$ac_c_werror_flag"
22455                          || test ! -s conftest.err'
22456   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22457   (eval $ac_try) 2>&5
22458   ac_status=$?
22459   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22460   (exit $ac_status); }; } &&
22461          { ac_try='test -s conftest$ac_exeext'
22462   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22463   (eval $ac_try) 2>&5
22464   ac_status=$?
22465   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22466   (exit $ac_status); }; }; then
22467   ac_cv_lib_m_ccosh=yes
22468 else
22469   echo "$as_me: failed program was:" >&5
22470 sed 's/^/| /' conftest.$ac_ext >&5
22471
22472 ac_cv_lib_m_ccosh=no
22473 fi
22474 rm -f conftest.err conftest.$ac_objext \
22475       conftest$ac_exeext conftest.$ac_ext
22476 LIBS=$ac_check_lib_save_LIBS
22477 fi
22478 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ccosh" >&5
22479 echo "${ECHO_T}$ac_cv_lib_m_ccosh" >&6
22480 if test $ac_cv_lib_m_ccosh = yes; then
22481
22482 cat >>confdefs.h <<\_ACEOF
22483 #define HAVE_CCOSH 1
22484 _ACEOF
22485
22486 fi
22487
22488 echo "$as_me:$LINENO: checking for ccoshl in -lm" >&5
22489 echo $ECHO_N "checking for ccoshl in -lm... $ECHO_C" >&6
22490 if test "${ac_cv_lib_m_ccoshl+set}" = set; then
22491   echo $ECHO_N "(cached) $ECHO_C" >&6
22492 else
22493   ac_check_lib_save_LIBS=$LIBS
22494 LIBS="-lm  $LIBS"
22495 if test x$gcc_no_link = xyes; then
22496   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22497 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22498    { (exit 1); exit 1; }; }
22499 fi
22500 cat >conftest.$ac_ext <<_ACEOF
22501 /* confdefs.h.  */
22502 _ACEOF
22503 cat confdefs.h >>conftest.$ac_ext
22504 cat >>conftest.$ac_ext <<_ACEOF
22505 /* end confdefs.h.  */
22506
22507 /* Override any gcc2 internal prototype to avoid an error.  */
22508 #ifdef __cplusplus
22509 extern "C"
22510 #endif
22511 /* We use char because int might match the return type of a gcc2
22512    builtin and then its argument prototype would still apply.  */
22513 char ccoshl ();
22514 int
22515 main ()
22516 {
22517 ccoshl ();
22518   ;
22519   return 0;
22520 }
22521 _ACEOF
22522 rm -f conftest.$ac_objext conftest$ac_exeext
22523 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22524   (eval $ac_link) 2>conftest.er1
22525   ac_status=$?
22526   grep -v '^ *+' conftest.er1 >conftest.err
22527   rm -f conftest.er1
22528   cat conftest.err >&5
22529   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22530   (exit $ac_status); } &&
22531          { ac_try='test -z "$ac_c_werror_flag"
22532                          || test ! -s conftest.err'
22533   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22534   (eval $ac_try) 2>&5
22535   ac_status=$?
22536   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22537   (exit $ac_status); }; } &&
22538          { ac_try='test -s conftest$ac_exeext'
22539   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22540   (eval $ac_try) 2>&5
22541   ac_status=$?
22542   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22543   (exit $ac_status); }; }; then
22544   ac_cv_lib_m_ccoshl=yes
22545 else
22546   echo "$as_me: failed program was:" >&5
22547 sed 's/^/| /' conftest.$ac_ext >&5
22548
22549 ac_cv_lib_m_ccoshl=no
22550 fi
22551 rm -f conftest.err conftest.$ac_objext \
22552       conftest$ac_exeext conftest.$ac_ext
22553 LIBS=$ac_check_lib_save_LIBS
22554 fi
22555 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ccoshl" >&5
22556 echo "${ECHO_T}$ac_cv_lib_m_ccoshl" >&6
22557 if test $ac_cv_lib_m_ccoshl = yes; then
22558
22559 cat >>confdefs.h <<\_ACEOF
22560 #define HAVE_CCOSHL 1
22561 _ACEOF
22562
22563 fi
22564
22565 echo "$as_me:$LINENO: checking for expf in -lm" >&5
22566 echo $ECHO_N "checking for expf in -lm... $ECHO_C" >&6
22567 if test "${ac_cv_lib_m_expf+set}" = set; then
22568   echo $ECHO_N "(cached) $ECHO_C" >&6
22569 else
22570   ac_check_lib_save_LIBS=$LIBS
22571 LIBS="-lm  $LIBS"
22572 if test x$gcc_no_link = xyes; then
22573   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22574 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22575    { (exit 1); exit 1; }; }
22576 fi
22577 cat >conftest.$ac_ext <<_ACEOF
22578 /* confdefs.h.  */
22579 _ACEOF
22580 cat confdefs.h >>conftest.$ac_ext
22581 cat >>conftest.$ac_ext <<_ACEOF
22582 /* end confdefs.h.  */
22583
22584 /* Override any gcc2 internal prototype to avoid an error.  */
22585 #ifdef __cplusplus
22586 extern "C"
22587 #endif
22588 /* We use char because int might match the return type of a gcc2
22589    builtin and then its argument prototype would still apply.  */
22590 char expf ();
22591 int
22592 main ()
22593 {
22594 expf ();
22595   ;
22596   return 0;
22597 }
22598 _ACEOF
22599 rm -f conftest.$ac_objext conftest$ac_exeext
22600 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22601   (eval $ac_link) 2>conftest.er1
22602   ac_status=$?
22603   grep -v '^ *+' conftest.er1 >conftest.err
22604   rm -f conftest.er1
22605   cat conftest.err >&5
22606   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22607   (exit $ac_status); } &&
22608          { ac_try='test -z "$ac_c_werror_flag"
22609                          || test ! -s conftest.err'
22610   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22611   (eval $ac_try) 2>&5
22612   ac_status=$?
22613   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22614   (exit $ac_status); }; } &&
22615          { ac_try='test -s conftest$ac_exeext'
22616   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22617   (eval $ac_try) 2>&5
22618   ac_status=$?
22619   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22620   (exit $ac_status); }; }; then
22621   ac_cv_lib_m_expf=yes
22622 else
22623   echo "$as_me: failed program was:" >&5
22624 sed 's/^/| /' conftest.$ac_ext >&5
22625
22626 ac_cv_lib_m_expf=no
22627 fi
22628 rm -f conftest.err conftest.$ac_objext \
22629       conftest$ac_exeext conftest.$ac_ext
22630 LIBS=$ac_check_lib_save_LIBS
22631 fi
22632 echo "$as_me:$LINENO: result: $ac_cv_lib_m_expf" >&5
22633 echo "${ECHO_T}$ac_cv_lib_m_expf" >&6
22634 if test $ac_cv_lib_m_expf = yes; then
22635
22636 cat >>confdefs.h <<\_ACEOF
22637 #define HAVE_EXPF 1
22638 _ACEOF
22639
22640 fi
22641
22642 echo "$as_me:$LINENO: checking for exp in -lm" >&5
22643 echo $ECHO_N "checking for exp in -lm... $ECHO_C" >&6
22644 if test "${ac_cv_lib_m_exp+set}" = set; then
22645   echo $ECHO_N "(cached) $ECHO_C" >&6
22646 else
22647   ac_check_lib_save_LIBS=$LIBS
22648 LIBS="-lm  $LIBS"
22649 if test x$gcc_no_link = xyes; then
22650   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22651 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22652    { (exit 1); exit 1; }; }
22653 fi
22654 cat >conftest.$ac_ext <<_ACEOF
22655 /* confdefs.h.  */
22656 _ACEOF
22657 cat confdefs.h >>conftest.$ac_ext
22658 cat >>conftest.$ac_ext <<_ACEOF
22659 /* end confdefs.h.  */
22660
22661 /* Override any gcc2 internal prototype to avoid an error.  */
22662 #ifdef __cplusplus
22663 extern "C"
22664 #endif
22665 /* We use char because int might match the return type of a gcc2
22666    builtin and then its argument prototype would still apply.  */
22667 char exp ();
22668 int
22669 main ()
22670 {
22671 exp ();
22672   ;
22673   return 0;
22674 }
22675 _ACEOF
22676 rm -f conftest.$ac_objext conftest$ac_exeext
22677 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22678   (eval $ac_link) 2>conftest.er1
22679   ac_status=$?
22680   grep -v '^ *+' conftest.er1 >conftest.err
22681   rm -f conftest.er1
22682   cat conftest.err >&5
22683   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22684   (exit $ac_status); } &&
22685          { ac_try='test -z "$ac_c_werror_flag"
22686                          || test ! -s conftest.err'
22687   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22688   (eval $ac_try) 2>&5
22689   ac_status=$?
22690   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22691   (exit $ac_status); }; } &&
22692          { ac_try='test -s conftest$ac_exeext'
22693   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22694   (eval $ac_try) 2>&5
22695   ac_status=$?
22696   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22697   (exit $ac_status); }; }; then
22698   ac_cv_lib_m_exp=yes
22699 else
22700   echo "$as_me: failed program was:" >&5
22701 sed 's/^/| /' conftest.$ac_ext >&5
22702
22703 ac_cv_lib_m_exp=no
22704 fi
22705 rm -f conftest.err conftest.$ac_objext \
22706       conftest$ac_exeext conftest.$ac_ext
22707 LIBS=$ac_check_lib_save_LIBS
22708 fi
22709 echo "$as_me:$LINENO: result: $ac_cv_lib_m_exp" >&5
22710 echo "${ECHO_T}$ac_cv_lib_m_exp" >&6
22711 if test $ac_cv_lib_m_exp = yes; then
22712
22713 cat >>confdefs.h <<\_ACEOF
22714 #define HAVE_EXP 1
22715 _ACEOF
22716
22717 fi
22718
22719 echo "$as_me:$LINENO: checking for expl in -lm" >&5
22720 echo $ECHO_N "checking for expl in -lm... $ECHO_C" >&6
22721 if test "${ac_cv_lib_m_expl+set}" = set; then
22722   echo $ECHO_N "(cached) $ECHO_C" >&6
22723 else
22724   ac_check_lib_save_LIBS=$LIBS
22725 LIBS="-lm  $LIBS"
22726 if test x$gcc_no_link = xyes; then
22727   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22728 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22729    { (exit 1); exit 1; }; }
22730 fi
22731 cat >conftest.$ac_ext <<_ACEOF
22732 /* confdefs.h.  */
22733 _ACEOF
22734 cat confdefs.h >>conftest.$ac_ext
22735 cat >>conftest.$ac_ext <<_ACEOF
22736 /* end confdefs.h.  */
22737
22738 /* Override any gcc2 internal prototype to avoid an error.  */
22739 #ifdef __cplusplus
22740 extern "C"
22741 #endif
22742 /* We use char because int might match the return type of a gcc2
22743    builtin and then its argument prototype would still apply.  */
22744 char expl ();
22745 int
22746 main ()
22747 {
22748 expl ();
22749   ;
22750   return 0;
22751 }
22752 _ACEOF
22753 rm -f conftest.$ac_objext conftest$ac_exeext
22754 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22755   (eval $ac_link) 2>conftest.er1
22756   ac_status=$?
22757   grep -v '^ *+' conftest.er1 >conftest.err
22758   rm -f conftest.er1
22759   cat conftest.err >&5
22760   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22761   (exit $ac_status); } &&
22762          { ac_try='test -z "$ac_c_werror_flag"
22763                          || test ! -s conftest.err'
22764   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22765   (eval $ac_try) 2>&5
22766   ac_status=$?
22767   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22768   (exit $ac_status); }; } &&
22769          { ac_try='test -s conftest$ac_exeext'
22770   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22771   (eval $ac_try) 2>&5
22772   ac_status=$?
22773   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22774   (exit $ac_status); }; }; then
22775   ac_cv_lib_m_expl=yes
22776 else
22777   echo "$as_me: failed program was:" >&5
22778 sed 's/^/| /' conftest.$ac_ext >&5
22779
22780 ac_cv_lib_m_expl=no
22781 fi
22782 rm -f conftest.err conftest.$ac_objext \
22783       conftest$ac_exeext conftest.$ac_ext
22784 LIBS=$ac_check_lib_save_LIBS
22785 fi
22786 echo "$as_me:$LINENO: result: $ac_cv_lib_m_expl" >&5
22787 echo "${ECHO_T}$ac_cv_lib_m_expl" >&6
22788 if test $ac_cv_lib_m_expl = yes; then
22789
22790 cat >>confdefs.h <<\_ACEOF
22791 #define HAVE_EXPL 1
22792 _ACEOF
22793
22794 fi
22795
22796 echo "$as_me:$LINENO: checking for cexpf in -lm" >&5
22797 echo $ECHO_N "checking for cexpf in -lm... $ECHO_C" >&6
22798 if test "${ac_cv_lib_m_cexpf+set}" = set; then
22799   echo $ECHO_N "(cached) $ECHO_C" >&6
22800 else
22801   ac_check_lib_save_LIBS=$LIBS
22802 LIBS="-lm  $LIBS"
22803 if test x$gcc_no_link = xyes; then
22804   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22805 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22806    { (exit 1); exit 1; }; }
22807 fi
22808 cat >conftest.$ac_ext <<_ACEOF
22809 /* confdefs.h.  */
22810 _ACEOF
22811 cat confdefs.h >>conftest.$ac_ext
22812 cat >>conftest.$ac_ext <<_ACEOF
22813 /* end confdefs.h.  */
22814
22815 /* Override any gcc2 internal prototype to avoid an error.  */
22816 #ifdef __cplusplus
22817 extern "C"
22818 #endif
22819 /* We use char because int might match the return type of a gcc2
22820    builtin and then its argument prototype would still apply.  */
22821 char cexpf ();
22822 int
22823 main ()
22824 {
22825 cexpf ();
22826   ;
22827   return 0;
22828 }
22829 _ACEOF
22830 rm -f conftest.$ac_objext conftest$ac_exeext
22831 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22832   (eval $ac_link) 2>conftest.er1
22833   ac_status=$?
22834   grep -v '^ *+' conftest.er1 >conftest.err
22835   rm -f conftest.er1
22836   cat conftest.err >&5
22837   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22838   (exit $ac_status); } &&
22839          { ac_try='test -z "$ac_c_werror_flag"
22840                          || test ! -s conftest.err'
22841   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22842   (eval $ac_try) 2>&5
22843   ac_status=$?
22844   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22845   (exit $ac_status); }; } &&
22846          { ac_try='test -s conftest$ac_exeext'
22847   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22848   (eval $ac_try) 2>&5
22849   ac_status=$?
22850   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22851   (exit $ac_status); }; }; then
22852   ac_cv_lib_m_cexpf=yes
22853 else
22854   echo "$as_me: failed program was:" >&5
22855 sed 's/^/| /' conftest.$ac_ext >&5
22856
22857 ac_cv_lib_m_cexpf=no
22858 fi
22859 rm -f conftest.err conftest.$ac_objext \
22860       conftest$ac_exeext conftest.$ac_ext
22861 LIBS=$ac_check_lib_save_LIBS
22862 fi
22863 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cexpf" >&5
22864 echo "${ECHO_T}$ac_cv_lib_m_cexpf" >&6
22865 if test $ac_cv_lib_m_cexpf = yes; then
22866
22867 cat >>confdefs.h <<\_ACEOF
22868 #define HAVE_CEXPF 1
22869 _ACEOF
22870
22871 fi
22872
22873 echo "$as_me:$LINENO: checking for cexp in -lm" >&5
22874 echo $ECHO_N "checking for cexp in -lm... $ECHO_C" >&6
22875 if test "${ac_cv_lib_m_cexp+set}" = set; then
22876   echo $ECHO_N "(cached) $ECHO_C" >&6
22877 else
22878   ac_check_lib_save_LIBS=$LIBS
22879 LIBS="-lm  $LIBS"
22880 if test x$gcc_no_link = xyes; then
22881   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22882 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22883    { (exit 1); exit 1; }; }
22884 fi
22885 cat >conftest.$ac_ext <<_ACEOF
22886 /* confdefs.h.  */
22887 _ACEOF
22888 cat confdefs.h >>conftest.$ac_ext
22889 cat >>conftest.$ac_ext <<_ACEOF
22890 /* end confdefs.h.  */
22891
22892 /* Override any gcc2 internal prototype to avoid an error.  */
22893 #ifdef __cplusplus
22894 extern "C"
22895 #endif
22896 /* We use char because int might match the return type of a gcc2
22897    builtin and then its argument prototype would still apply.  */
22898 char cexp ();
22899 int
22900 main ()
22901 {
22902 cexp ();
22903   ;
22904   return 0;
22905 }
22906 _ACEOF
22907 rm -f conftest.$ac_objext conftest$ac_exeext
22908 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22909   (eval $ac_link) 2>conftest.er1
22910   ac_status=$?
22911   grep -v '^ *+' conftest.er1 >conftest.err
22912   rm -f conftest.er1
22913   cat conftest.err >&5
22914   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22915   (exit $ac_status); } &&
22916          { ac_try='test -z "$ac_c_werror_flag"
22917                          || test ! -s conftest.err'
22918   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22919   (eval $ac_try) 2>&5
22920   ac_status=$?
22921   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22922   (exit $ac_status); }; } &&
22923          { ac_try='test -s conftest$ac_exeext'
22924   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22925   (eval $ac_try) 2>&5
22926   ac_status=$?
22927   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22928   (exit $ac_status); }; }; then
22929   ac_cv_lib_m_cexp=yes
22930 else
22931   echo "$as_me: failed program was:" >&5
22932 sed 's/^/| /' conftest.$ac_ext >&5
22933
22934 ac_cv_lib_m_cexp=no
22935 fi
22936 rm -f conftest.err conftest.$ac_objext \
22937       conftest$ac_exeext conftest.$ac_ext
22938 LIBS=$ac_check_lib_save_LIBS
22939 fi
22940 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cexp" >&5
22941 echo "${ECHO_T}$ac_cv_lib_m_cexp" >&6
22942 if test $ac_cv_lib_m_cexp = yes; then
22943
22944 cat >>confdefs.h <<\_ACEOF
22945 #define HAVE_CEXP 1
22946 _ACEOF
22947
22948 fi
22949
22950 echo "$as_me:$LINENO: checking for cexpl in -lm" >&5
22951 echo $ECHO_N "checking for cexpl in -lm... $ECHO_C" >&6
22952 if test "${ac_cv_lib_m_cexpl+set}" = set; then
22953   echo $ECHO_N "(cached) $ECHO_C" >&6
22954 else
22955   ac_check_lib_save_LIBS=$LIBS
22956 LIBS="-lm  $LIBS"
22957 if test x$gcc_no_link = xyes; then
22958   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22959 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22960    { (exit 1); exit 1; }; }
22961 fi
22962 cat >conftest.$ac_ext <<_ACEOF
22963 /* confdefs.h.  */
22964 _ACEOF
22965 cat confdefs.h >>conftest.$ac_ext
22966 cat >>conftest.$ac_ext <<_ACEOF
22967 /* end confdefs.h.  */
22968
22969 /* Override any gcc2 internal prototype to avoid an error.  */
22970 #ifdef __cplusplus
22971 extern "C"
22972 #endif
22973 /* We use char because int might match the return type of a gcc2
22974    builtin and then its argument prototype would still apply.  */
22975 char cexpl ();
22976 int
22977 main ()
22978 {
22979 cexpl ();
22980   ;
22981   return 0;
22982 }
22983 _ACEOF
22984 rm -f conftest.$ac_objext conftest$ac_exeext
22985 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22986   (eval $ac_link) 2>conftest.er1
22987   ac_status=$?
22988   grep -v '^ *+' conftest.er1 >conftest.err
22989   rm -f conftest.er1
22990   cat conftest.err >&5
22991   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22992   (exit $ac_status); } &&
22993          { ac_try='test -z "$ac_c_werror_flag"
22994                          || test ! -s conftest.err'
22995   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22996   (eval $ac_try) 2>&5
22997   ac_status=$?
22998   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22999   (exit $ac_status); }; } &&
23000          { ac_try='test -s conftest$ac_exeext'
23001   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23002   (eval $ac_try) 2>&5
23003   ac_status=$?
23004   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23005   (exit $ac_status); }; }; then
23006   ac_cv_lib_m_cexpl=yes
23007 else
23008   echo "$as_me: failed program was:" >&5
23009 sed 's/^/| /' conftest.$ac_ext >&5
23010
23011 ac_cv_lib_m_cexpl=no
23012 fi
23013 rm -f conftest.err conftest.$ac_objext \
23014       conftest$ac_exeext conftest.$ac_ext
23015 LIBS=$ac_check_lib_save_LIBS
23016 fi
23017 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cexpl" >&5
23018 echo "${ECHO_T}$ac_cv_lib_m_cexpl" >&6
23019 if test $ac_cv_lib_m_cexpl = yes; then
23020
23021 cat >>confdefs.h <<\_ACEOF
23022 #define HAVE_CEXPL 1
23023 _ACEOF
23024
23025 fi
23026
23027 echo "$as_me:$LINENO: checking for fabsf in -lm" >&5
23028 echo $ECHO_N "checking for fabsf in -lm... $ECHO_C" >&6
23029 if test "${ac_cv_lib_m_fabsf+set}" = set; then
23030   echo $ECHO_N "(cached) $ECHO_C" >&6
23031 else
23032   ac_check_lib_save_LIBS=$LIBS
23033 LIBS="-lm  $LIBS"
23034 if test x$gcc_no_link = xyes; then
23035   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23036 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23037    { (exit 1); exit 1; }; }
23038 fi
23039 cat >conftest.$ac_ext <<_ACEOF
23040 /* confdefs.h.  */
23041 _ACEOF
23042 cat confdefs.h >>conftest.$ac_ext
23043 cat >>conftest.$ac_ext <<_ACEOF
23044 /* end confdefs.h.  */
23045
23046 /* Override any gcc2 internal prototype to avoid an error.  */
23047 #ifdef __cplusplus
23048 extern "C"
23049 #endif
23050 /* We use char because int might match the return type of a gcc2
23051    builtin and then its argument prototype would still apply.  */
23052 char fabsf ();
23053 int
23054 main ()
23055 {
23056 fabsf ();
23057   ;
23058   return 0;
23059 }
23060 _ACEOF
23061 rm -f conftest.$ac_objext conftest$ac_exeext
23062 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23063   (eval $ac_link) 2>conftest.er1
23064   ac_status=$?
23065   grep -v '^ *+' conftest.er1 >conftest.err
23066   rm -f conftest.er1
23067   cat conftest.err >&5
23068   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23069   (exit $ac_status); } &&
23070          { ac_try='test -z "$ac_c_werror_flag"
23071                          || test ! -s conftest.err'
23072   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23073   (eval $ac_try) 2>&5
23074   ac_status=$?
23075   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23076   (exit $ac_status); }; } &&
23077          { ac_try='test -s conftest$ac_exeext'
23078   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23079   (eval $ac_try) 2>&5
23080   ac_status=$?
23081   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23082   (exit $ac_status); }; }; then
23083   ac_cv_lib_m_fabsf=yes
23084 else
23085   echo "$as_me: failed program was:" >&5
23086 sed 's/^/| /' conftest.$ac_ext >&5
23087
23088 ac_cv_lib_m_fabsf=no
23089 fi
23090 rm -f conftest.err conftest.$ac_objext \
23091       conftest$ac_exeext conftest.$ac_ext
23092 LIBS=$ac_check_lib_save_LIBS
23093 fi
23094 echo "$as_me:$LINENO: result: $ac_cv_lib_m_fabsf" >&5
23095 echo "${ECHO_T}$ac_cv_lib_m_fabsf" >&6
23096 if test $ac_cv_lib_m_fabsf = yes; then
23097
23098 cat >>confdefs.h <<\_ACEOF
23099 #define HAVE_FABSF 1
23100 _ACEOF
23101
23102 fi
23103
23104 echo "$as_me:$LINENO: checking for fabs in -lm" >&5
23105 echo $ECHO_N "checking for fabs in -lm... $ECHO_C" >&6
23106 if test "${ac_cv_lib_m_fabs+set}" = set; then
23107   echo $ECHO_N "(cached) $ECHO_C" >&6
23108 else
23109   ac_check_lib_save_LIBS=$LIBS
23110 LIBS="-lm  $LIBS"
23111 if test x$gcc_no_link = xyes; then
23112   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23113 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23114    { (exit 1); exit 1; }; }
23115 fi
23116 cat >conftest.$ac_ext <<_ACEOF
23117 /* confdefs.h.  */
23118 _ACEOF
23119 cat confdefs.h >>conftest.$ac_ext
23120 cat >>conftest.$ac_ext <<_ACEOF
23121 /* end confdefs.h.  */
23122
23123 /* Override any gcc2 internal prototype to avoid an error.  */
23124 #ifdef __cplusplus
23125 extern "C"
23126 #endif
23127 /* We use char because int might match the return type of a gcc2
23128    builtin and then its argument prototype would still apply.  */
23129 char fabs ();
23130 int
23131 main ()
23132 {
23133 fabs ();
23134   ;
23135   return 0;
23136 }
23137 _ACEOF
23138 rm -f conftest.$ac_objext conftest$ac_exeext
23139 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23140   (eval $ac_link) 2>conftest.er1
23141   ac_status=$?
23142   grep -v '^ *+' conftest.er1 >conftest.err
23143   rm -f conftest.er1
23144   cat conftest.err >&5
23145   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23146   (exit $ac_status); } &&
23147          { ac_try='test -z "$ac_c_werror_flag"
23148                          || test ! -s conftest.err'
23149   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23150   (eval $ac_try) 2>&5
23151   ac_status=$?
23152   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23153   (exit $ac_status); }; } &&
23154          { ac_try='test -s conftest$ac_exeext'
23155   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23156   (eval $ac_try) 2>&5
23157   ac_status=$?
23158   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23159   (exit $ac_status); }; }; then
23160   ac_cv_lib_m_fabs=yes
23161 else
23162   echo "$as_me: failed program was:" >&5
23163 sed 's/^/| /' conftest.$ac_ext >&5
23164
23165 ac_cv_lib_m_fabs=no
23166 fi
23167 rm -f conftest.err conftest.$ac_objext \
23168       conftest$ac_exeext conftest.$ac_ext
23169 LIBS=$ac_check_lib_save_LIBS
23170 fi
23171 echo "$as_me:$LINENO: result: $ac_cv_lib_m_fabs" >&5
23172 echo "${ECHO_T}$ac_cv_lib_m_fabs" >&6
23173 if test $ac_cv_lib_m_fabs = yes; then
23174
23175 cat >>confdefs.h <<\_ACEOF
23176 #define HAVE_FABS 1
23177 _ACEOF
23178
23179 fi
23180
23181 echo "$as_me:$LINENO: checking for fabsl in -lm" >&5
23182 echo $ECHO_N "checking for fabsl in -lm... $ECHO_C" >&6
23183 if test "${ac_cv_lib_m_fabsl+set}" = set; then
23184   echo $ECHO_N "(cached) $ECHO_C" >&6
23185 else
23186   ac_check_lib_save_LIBS=$LIBS
23187 LIBS="-lm  $LIBS"
23188 if test x$gcc_no_link = xyes; then
23189   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23190 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23191    { (exit 1); exit 1; }; }
23192 fi
23193 cat >conftest.$ac_ext <<_ACEOF
23194 /* confdefs.h.  */
23195 _ACEOF
23196 cat confdefs.h >>conftest.$ac_ext
23197 cat >>conftest.$ac_ext <<_ACEOF
23198 /* end confdefs.h.  */
23199
23200 /* Override any gcc2 internal prototype to avoid an error.  */
23201 #ifdef __cplusplus
23202 extern "C"
23203 #endif
23204 /* We use char because int might match the return type of a gcc2
23205    builtin and then its argument prototype would still apply.  */
23206 char fabsl ();
23207 int
23208 main ()
23209 {
23210 fabsl ();
23211   ;
23212   return 0;
23213 }
23214 _ACEOF
23215 rm -f conftest.$ac_objext conftest$ac_exeext
23216 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23217   (eval $ac_link) 2>conftest.er1
23218   ac_status=$?
23219   grep -v '^ *+' conftest.er1 >conftest.err
23220   rm -f conftest.er1
23221   cat conftest.err >&5
23222   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23223   (exit $ac_status); } &&
23224          { ac_try='test -z "$ac_c_werror_flag"
23225                          || test ! -s conftest.err'
23226   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23227   (eval $ac_try) 2>&5
23228   ac_status=$?
23229   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23230   (exit $ac_status); }; } &&
23231          { ac_try='test -s conftest$ac_exeext'
23232   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23233   (eval $ac_try) 2>&5
23234   ac_status=$?
23235   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23236   (exit $ac_status); }; }; then
23237   ac_cv_lib_m_fabsl=yes
23238 else
23239   echo "$as_me: failed program was:" >&5
23240 sed 's/^/| /' conftest.$ac_ext >&5
23241
23242 ac_cv_lib_m_fabsl=no
23243 fi
23244 rm -f conftest.err conftest.$ac_objext \
23245       conftest$ac_exeext conftest.$ac_ext
23246 LIBS=$ac_check_lib_save_LIBS
23247 fi
23248 echo "$as_me:$LINENO: result: $ac_cv_lib_m_fabsl" >&5
23249 echo "${ECHO_T}$ac_cv_lib_m_fabsl" >&6
23250 if test $ac_cv_lib_m_fabsl = yes; then
23251
23252 cat >>confdefs.h <<\_ACEOF
23253 #define HAVE_FABSL 1
23254 _ACEOF
23255
23256 fi
23257
23258 echo "$as_me:$LINENO: checking for cabsf in -lm" >&5
23259 echo $ECHO_N "checking for cabsf in -lm... $ECHO_C" >&6
23260 if test "${ac_cv_lib_m_cabsf+set}" = set; then
23261   echo $ECHO_N "(cached) $ECHO_C" >&6
23262 else
23263   ac_check_lib_save_LIBS=$LIBS
23264 LIBS="-lm  $LIBS"
23265 if test x$gcc_no_link = xyes; then
23266   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23267 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23268    { (exit 1); exit 1; }; }
23269 fi
23270 cat >conftest.$ac_ext <<_ACEOF
23271 /* confdefs.h.  */
23272 _ACEOF
23273 cat confdefs.h >>conftest.$ac_ext
23274 cat >>conftest.$ac_ext <<_ACEOF
23275 /* end confdefs.h.  */
23276
23277 /* Override any gcc2 internal prototype to avoid an error.  */
23278 #ifdef __cplusplus
23279 extern "C"
23280 #endif
23281 /* We use char because int might match the return type of a gcc2
23282    builtin and then its argument prototype would still apply.  */
23283 char cabsf ();
23284 int
23285 main ()
23286 {
23287 cabsf ();
23288   ;
23289   return 0;
23290 }
23291 _ACEOF
23292 rm -f conftest.$ac_objext conftest$ac_exeext
23293 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23294   (eval $ac_link) 2>conftest.er1
23295   ac_status=$?
23296   grep -v '^ *+' conftest.er1 >conftest.err
23297   rm -f conftest.er1
23298   cat conftest.err >&5
23299   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23300   (exit $ac_status); } &&
23301          { ac_try='test -z "$ac_c_werror_flag"
23302                          || test ! -s conftest.err'
23303   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23304   (eval $ac_try) 2>&5
23305   ac_status=$?
23306   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23307   (exit $ac_status); }; } &&
23308          { ac_try='test -s conftest$ac_exeext'
23309   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23310   (eval $ac_try) 2>&5
23311   ac_status=$?
23312   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23313   (exit $ac_status); }; }; then
23314   ac_cv_lib_m_cabsf=yes
23315 else
23316   echo "$as_me: failed program was:" >&5
23317 sed 's/^/| /' conftest.$ac_ext >&5
23318
23319 ac_cv_lib_m_cabsf=no
23320 fi
23321 rm -f conftest.err conftest.$ac_objext \
23322       conftest$ac_exeext conftest.$ac_ext
23323 LIBS=$ac_check_lib_save_LIBS
23324 fi
23325 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cabsf" >&5
23326 echo "${ECHO_T}$ac_cv_lib_m_cabsf" >&6
23327 if test $ac_cv_lib_m_cabsf = yes; then
23328
23329 cat >>confdefs.h <<\_ACEOF
23330 #define HAVE_CABSF 1
23331 _ACEOF
23332
23333 fi
23334
23335 echo "$as_me:$LINENO: checking for cabs in -lm" >&5
23336 echo $ECHO_N "checking for cabs in -lm... $ECHO_C" >&6
23337 if test "${ac_cv_lib_m_cabs+set}" = set; then
23338   echo $ECHO_N "(cached) $ECHO_C" >&6
23339 else
23340   ac_check_lib_save_LIBS=$LIBS
23341 LIBS="-lm  $LIBS"
23342 if test x$gcc_no_link = xyes; then
23343   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23344 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23345    { (exit 1); exit 1; }; }
23346 fi
23347 cat >conftest.$ac_ext <<_ACEOF
23348 /* confdefs.h.  */
23349 _ACEOF
23350 cat confdefs.h >>conftest.$ac_ext
23351 cat >>conftest.$ac_ext <<_ACEOF
23352 /* end confdefs.h.  */
23353
23354 /* Override any gcc2 internal prototype to avoid an error.  */
23355 #ifdef __cplusplus
23356 extern "C"
23357 #endif
23358 /* We use char because int might match the return type of a gcc2
23359    builtin and then its argument prototype would still apply.  */
23360 char cabs ();
23361 int
23362 main ()
23363 {
23364 cabs ();
23365   ;
23366   return 0;
23367 }
23368 _ACEOF
23369 rm -f conftest.$ac_objext conftest$ac_exeext
23370 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23371   (eval $ac_link) 2>conftest.er1
23372   ac_status=$?
23373   grep -v '^ *+' conftest.er1 >conftest.err
23374   rm -f conftest.er1
23375   cat conftest.err >&5
23376   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23377   (exit $ac_status); } &&
23378          { ac_try='test -z "$ac_c_werror_flag"
23379                          || test ! -s conftest.err'
23380   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23381   (eval $ac_try) 2>&5
23382   ac_status=$?
23383   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23384   (exit $ac_status); }; } &&
23385          { ac_try='test -s conftest$ac_exeext'
23386   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23387   (eval $ac_try) 2>&5
23388   ac_status=$?
23389   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23390   (exit $ac_status); }; }; then
23391   ac_cv_lib_m_cabs=yes
23392 else
23393   echo "$as_me: failed program was:" >&5
23394 sed 's/^/| /' conftest.$ac_ext >&5
23395
23396 ac_cv_lib_m_cabs=no
23397 fi
23398 rm -f conftest.err conftest.$ac_objext \
23399       conftest$ac_exeext conftest.$ac_ext
23400 LIBS=$ac_check_lib_save_LIBS
23401 fi
23402 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cabs" >&5
23403 echo "${ECHO_T}$ac_cv_lib_m_cabs" >&6
23404 if test $ac_cv_lib_m_cabs = yes; then
23405
23406 cat >>confdefs.h <<\_ACEOF
23407 #define HAVE_CABS 1
23408 _ACEOF
23409
23410 fi
23411
23412 echo "$as_me:$LINENO: checking for cabsl in -lm" >&5
23413 echo $ECHO_N "checking for cabsl in -lm... $ECHO_C" >&6
23414 if test "${ac_cv_lib_m_cabsl+set}" = set; then
23415   echo $ECHO_N "(cached) $ECHO_C" >&6
23416 else
23417   ac_check_lib_save_LIBS=$LIBS
23418 LIBS="-lm  $LIBS"
23419 if test x$gcc_no_link = xyes; then
23420   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23421 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23422    { (exit 1); exit 1; }; }
23423 fi
23424 cat >conftest.$ac_ext <<_ACEOF
23425 /* confdefs.h.  */
23426 _ACEOF
23427 cat confdefs.h >>conftest.$ac_ext
23428 cat >>conftest.$ac_ext <<_ACEOF
23429 /* end confdefs.h.  */
23430
23431 /* Override any gcc2 internal prototype to avoid an error.  */
23432 #ifdef __cplusplus
23433 extern "C"
23434 #endif
23435 /* We use char because int might match the return type of a gcc2
23436    builtin and then its argument prototype would still apply.  */
23437 char cabsl ();
23438 int
23439 main ()
23440 {
23441 cabsl ();
23442   ;
23443   return 0;
23444 }
23445 _ACEOF
23446 rm -f conftest.$ac_objext conftest$ac_exeext
23447 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23448   (eval $ac_link) 2>conftest.er1
23449   ac_status=$?
23450   grep -v '^ *+' conftest.er1 >conftest.err
23451   rm -f conftest.er1
23452   cat conftest.err >&5
23453   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23454   (exit $ac_status); } &&
23455          { ac_try='test -z "$ac_c_werror_flag"
23456                          || test ! -s conftest.err'
23457   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23458   (eval $ac_try) 2>&5
23459   ac_status=$?
23460   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23461   (exit $ac_status); }; } &&
23462          { ac_try='test -s conftest$ac_exeext'
23463   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23464   (eval $ac_try) 2>&5
23465   ac_status=$?
23466   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23467   (exit $ac_status); }; }; then
23468   ac_cv_lib_m_cabsl=yes
23469 else
23470   echo "$as_me: failed program was:" >&5
23471 sed 's/^/| /' conftest.$ac_ext >&5
23472
23473 ac_cv_lib_m_cabsl=no
23474 fi
23475 rm -f conftest.err conftest.$ac_objext \
23476       conftest$ac_exeext conftest.$ac_ext
23477 LIBS=$ac_check_lib_save_LIBS
23478 fi
23479 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cabsl" >&5
23480 echo "${ECHO_T}$ac_cv_lib_m_cabsl" >&6
23481 if test $ac_cv_lib_m_cabsl = yes; then
23482
23483 cat >>confdefs.h <<\_ACEOF
23484 #define HAVE_CABSL 1
23485 _ACEOF
23486
23487 fi
23488
23489 echo "$as_me:$LINENO: checking for floorf in -lm" >&5
23490 echo $ECHO_N "checking for floorf in -lm... $ECHO_C" >&6
23491 if test "${ac_cv_lib_m_floorf+set}" = set; then
23492   echo $ECHO_N "(cached) $ECHO_C" >&6
23493 else
23494   ac_check_lib_save_LIBS=$LIBS
23495 LIBS="-lm  $LIBS"
23496 if test x$gcc_no_link = xyes; then
23497   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23498 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23499    { (exit 1); exit 1; }; }
23500 fi
23501 cat >conftest.$ac_ext <<_ACEOF
23502 /* confdefs.h.  */
23503 _ACEOF
23504 cat confdefs.h >>conftest.$ac_ext
23505 cat >>conftest.$ac_ext <<_ACEOF
23506 /* end confdefs.h.  */
23507
23508 /* Override any gcc2 internal prototype to avoid an error.  */
23509 #ifdef __cplusplus
23510 extern "C"
23511 #endif
23512 /* We use char because int might match the return type of a gcc2
23513    builtin and then its argument prototype would still apply.  */
23514 char floorf ();
23515 int
23516 main ()
23517 {
23518 floorf ();
23519   ;
23520   return 0;
23521 }
23522 _ACEOF
23523 rm -f conftest.$ac_objext conftest$ac_exeext
23524 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23525   (eval $ac_link) 2>conftest.er1
23526   ac_status=$?
23527   grep -v '^ *+' conftest.er1 >conftest.err
23528   rm -f conftest.er1
23529   cat conftest.err >&5
23530   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23531   (exit $ac_status); } &&
23532          { ac_try='test -z "$ac_c_werror_flag"
23533                          || test ! -s conftest.err'
23534   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23535   (eval $ac_try) 2>&5
23536   ac_status=$?
23537   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23538   (exit $ac_status); }; } &&
23539          { ac_try='test -s conftest$ac_exeext'
23540   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23541   (eval $ac_try) 2>&5
23542   ac_status=$?
23543   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23544   (exit $ac_status); }; }; then
23545   ac_cv_lib_m_floorf=yes
23546 else
23547   echo "$as_me: failed program was:" >&5
23548 sed 's/^/| /' conftest.$ac_ext >&5
23549
23550 ac_cv_lib_m_floorf=no
23551 fi
23552 rm -f conftest.err conftest.$ac_objext \
23553       conftest$ac_exeext conftest.$ac_ext
23554 LIBS=$ac_check_lib_save_LIBS
23555 fi
23556 echo "$as_me:$LINENO: result: $ac_cv_lib_m_floorf" >&5
23557 echo "${ECHO_T}$ac_cv_lib_m_floorf" >&6
23558 if test $ac_cv_lib_m_floorf = yes; then
23559
23560 cat >>confdefs.h <<\_ACEOF
23561 #define HAVE_FLOORF 1
23562 _ACEOF
23563
23564 fi
23565
23566 echo "$as_me:$LINENO: checking for floor in -lm" >&5
23567 echo $ECHO_N "checking for floor in -lm... $ECHO_C" >&6
23568 if test "${ac_cv_lib_m_floor+set}" = set; then
23569   echo $ECHO_N "(cached) $ECHO_C" >&6
23570 else
23571   ac_check_lib_save_LIBS=$LIBS
23572 LIBS="-lm  $LIBS"
23573 if test x$gcc_no_link = xyes; then
23574   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23575 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23576    { (exit 1); exit 1; }; }
23577 fi
23578 cat >conftest.$ac_ext <<_ACEOF
23579 /* confdefs.h.  */
23580 _ACEOF
23581 cat confdefs.h >>conftest.$ac_ext
23582 cat >>conftest.$ac_ext <<_ACEOF
23583 /* end confdefs.h.  */
23584
23585 /* Override any gcc2 internal prototype to avoid an error.  */
23586 #ifdef __cplusplus
23587 extern "C"
23588 #endif
23589 /* We use char because int might match the return type of a gcc2
23590    builtin and then its argument prototype would still apply.  */
23591 char floor ();
23592 int
23593 main ()
23594 {
23595 floor ();
23596   ;
23597   return 0;
23598 }
23599 _ACEOF
23600 rm -f conftest.$ac_objext conftest$ac_exeext
23601 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23602   (eval $ac_link) 2>conftest.er1
23603   ac_status=$?
23604   grep -v '^ *+' conftest.er1 >conftest.err
23605   rm -f conftest.er1
23606   cat conftest.err >&5
23607   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23608   (exit $ac_status); } &&
23609          { ac_try='test -z "$ac_c_werror_flag"
23610                          || test ! -s conftest.err'
23611   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23612   (eval $ac_try) 2>&5
23613   ac_status=$?
23614   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23615   (exit $ac_status); }; } &&
23616          { ac_try='test -s conftest$ac_exeext'
23617   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23618   (eval $ac_try) 2>&5
23619   ac_status=$?
23620   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23621   (exit $ac_status); }; }; then
23622   ac_cv_lib_m_floor=yes
23623 else
23624   echo "$as_me: failed program was:" >&5
23625 sed 's/^/| /' conftest.$ac_ext >&5
23626
23627 ac_cv_lib_m_floor=no
23628 fi
23629 rm -f conftest.err conftest.$ac_objext \
23630       conftest$ac_exeext conftest.$ac_ext
23631 LIBS=$ac_check_lib_save_LIBS
23632 fi
23633 echo "$as_me:$LINENO: result: $ac_cv_lib_m_floor" >&5
23634 echo "${ECHO_T}$ac_cv_lib_m_floor" >&6
23635 if test $ac_cv_lib_m_floor = yes; then
23636
23637 cat >>confdefs.h <<\_ACEOF
23638 #define HAVE_FLOOR 1
23639 _ACEOF
23640
23641 fi
23642
23643 echo "$as_me:$LINENO: checking for floorl in -lm" >&5
23644 echo $ECHO_N "checking for floorl in -lm... $ECHO_C" >&6
23645 if test "${ac_cv_lib_m_floorl+set}" = set; then
23646   echo $ECHO_N "(cached) $ECHO_C" >&6
23647 else
23648   ac_check_lib_save_LIBS=$LIBS
23649 LIBS="-lm  $LIBS"
23650 if test x$gcc_no_link = xyes; then
23651   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23652 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23653    { (exit 1); exit 1; }; }
23654 fi
23655 cat >conftest.$ac_ext <<_ACEOF
23656 /* confdefs.h.  */
23657 _ACEOF
23658 cat confdefs.h >>conftest.$ac_ext
23659 cat >>conftest.$ac_ext <<_ACEOF
23660 /* end confdefs.h.  */
23661
23662 /* Override any gcc2 internal prototype to avoid an error.  */
23663 #ifdef __cplusplus
23664 extern "C"
23665 #endif
23666 /* We use char because int might match the return type of a gcc2
23667    builtin and then its argument prototype would still apply.  */
23668 char floorl ();
23669 int
23670 main ()
23671 {
23672 floorl ();
23673   ;
23674   return 0;
23675 }
23676 _ACEOF
23677 rm -f conftest.$ac_objext conftest$ac_exeext
23678 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23679   (eval $ac_link) 2>conftest.er1
23680   ac_status=$?
23681   grep -v '^ *+' conftest.er1 >conftest.err
23682   rm -f conftest.er1
23683   cat conftest.err >&5
23684   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23685   (exit $ac_status); } &&
23686          { ac_try='test -z "$ac_c_werror_flag"
23687                          || test ! -s conftest.err'
23688   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23689   (eval $ac_try) 2>&5
23690   ac_status=$?
23691   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23692   (exit $ac_status); }; } &&
23693          { ac_try='test -s conftest$ac_exeext'
23694   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23695   (eval $ac_try) 2>&5
23696   ac_status=$?
23697   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23698   (exit $ac_status); }; }; then
23699   ac_cv_lib_m_floorl=yes
23700 else
23701   echo "$as_me: failed program was:" >&5
23702 sed 's/^/| /' conftest.$ac_ext >&5
23703
23704 ac_cv_lib_m_floorl=no
23705 fi
23706 rm -f conftest.err conftest.$ac_objext \
23707       conftest$ac_exeext conftest.$ac_ext
23708 LIBS=$ac_check_lib_save_LIBS
23709 fi
23710 echo "$as_me:$LINENO: result: $ac_cv_lib_m_floorl" >&5
23711 echo "${ECHO_T}$ac_cv_lib_m_floorl" >&6
23712 if test $ac_cv_lib_m_floorl = yes; then
23713
23714 cat >>confdefs.h <<\_ACEOF
23715 #define HAVE_FLOORL 1
23716 _ACEOF
23717
23718 fi
23719
23720 echo "$as_me:$LINENO: checking for fmodf in -lm" >&5
23721 echo $ECHO_N "checking for fmodf in -lm... $ECHO_C" >&6
23722 if test "${ac_cv_lib_m_fmodf+set}" = set; then
23723   echo $ECHO_N "(cached) $ECHO_C" >&6
23724 else
23725   ac_check_lib_save_LIBS=$LIBS
23726 LIBS="-lm  $LIBS"
23727 if test x$gcc_no_link = xyes; then
23728   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23729 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23730    { (exit 1); exit 1; }; }
23731 fi
23732 cat >conftest.$ac_ext <<_ACEOF
23733 /* confdefs.h.  */
23734 _ACEOF
23735 cat confdefs.h >>conftest.$ac_ext
23736 cat >>conftest.$ac_ext <<_ACEOF
23737 /* end confdefs.h.  */
23738
23739 /* Override any gcc2 internal prototype to avoid an error.  */
23740 #ifdef __cplusplus
23741 extern "C"
23742 #endif
23743 /* We use char because int might match the return type of a gcc2
23744    builtin and then its argument prototype would still apply.  */
23745 char fmodf ();
23746 int
23747 main ()
23748 {
23749 fmodf ();
23750   ;
23751   return 0;
23752 }
23753 _ACEOF
23754 rm -f conftest.$ac_objext conftest$ac_exeext
23755 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23756   (eval $ac_link) 2>conftest.er1
23757   ac_status=$?
23758   grep -v '^ *+' conftest.er1 >conftest.err
23759   rm -f conftest.er1
23760   cat conftest.err >&5
23761   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23762   (exit $ac_status); } &&
23763          { ac_try='test -z "$ac_c_werror_flag"
23764                          || test ! -s conftest.err'
23765   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23766   (eval $ac_try) 2>&5
23767   ac_status=$?
23768   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23769   (exit $ac_status); }; } &&
23770          { ac_try='test -s conftest$ac_exeext'
23771   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23772   (eval $ac_try) 2>&5
23773   ac_status=$?
23774   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23775   (exit $ac_status); }; }; then
23776   ac_cv_lib_m_fmodf=yes
23777 else
23778   echo "$as_me: failed program was:" >&5
23779 sed 's/^/| /' conftest.$ac_ext >&5
23780
23781 ac_cv_lib_m_fmodf=no
23782 fi
23783 rm -f conftest.err conftest.$ac_objext \
23784       conftest$ac_exeext conftest.$ac_ext
23785 LIBS=$ac_check_lib_save_LIBS
23786 fi
23787 echo "$as_me:$LINENO: result: $ac_cv_lib_m_fmodf" >&5
23788 echo "${ECHO_T}$ac_cv_lib_m_fmodf" >&6
23789 if test $ac_cv_lib_m_fmodf = yes; then
23790
23791 cat >>confdefs.h <<\_ACEOF
23792 #define HAVE_FMODF 1
23793 _ACEOF
23794
23795 fi
23796
23797 echo "$as_me:$LINENO: checking for fmod in -lm" >&5
23798 echo $ECHO_N "checking for fmod in -lm... $ECHO_C" >&6
23799 if test "${ac_cv_lib_m_fmod+set}" = set; then
23800   echo $ECHO_N "(cached) $ECHO_C" >&6
23801 else
23802   ac_check_lib_save_LIBS=$LIBS
23803 LIBS="-lm  $LIBS"
23804 if test x$gcc_no_link = xyes; then
23805   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23806 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23807    { (exit 1); exit 1; }; }
23808 fi
23809 cat >conftest.$ac_ext <<_ACEOF
23810 /* confdefs.h.  */
23811 _ACEOF
23812 cat confdefs.h >>conftest.$ac_ext
23813 cat >>conftest.$ac_ext <<_ACEOF
23814 /* end confdefs.h.  */
23815
23816 /* Override any gcc2 internal prototype to avoid an error.  */
23817 #ifdef __cplusplus
23818 extern "C"
23819 #endif
23820 /* We use char because int might match the return type of a gcc2
23821    builtin and then its argument prototype would still apply.  */
23822 char fmod ();
23823 int
23824 main ()
23825 {
23826 fmod ();
23827   ;
23828   return 0;
23829 }
23830 _ACEOF
23831 rm -f conftest.$ac_objext conftest$ac_exeext
23832 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23833   (eval $ac_link) 2>conftest.er1
23834   ac_status=$?
23835   grep -v '^ *+' conftest.er1 >conftest.err
23836   rm -f conftest.er1
23837   cat conftest.err >&5
23838   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23839   (exit $ac_status); } &&
23840          { ac_try='test -z "$ac_c_werror_flag"
23841                          || test ! -s conftest.err'
23842   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23843   (eval $ac_try) 2>&5
23844   ac_status=$?
23845   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23846   (exit $ac_status); }; } &&
23847          { ac_try='test -s conftest$ac_exeext'
23848   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23849   (eval $ac_try) 2>&5
23850   ac_status=$?
23851   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23852   (exit $ac_status); }; }; then
23853   ac_cv_lib_m_fmod=yes
23854 else
23855   echo "$as_me: failed program was:" >&5
23856 sed 's/^/| /' conftest.$ac_ext >&5
23857
23858 ac_cv_lib_m_fmod=no
23859 fi
23860 rm -f conftest.err conftest.$ac_objext \
23861       conftest$ac_exeext conftest.$ac_ext
23862 LIBS=$ac_check_lib_save_LIBS
23863 fi
23864 echo "$as_me:$LINENO: result: $ac_cv_lib_m_fmod" >&5
23865 echo "${ECHO_T}$ac_cv_lib_m_fmod" >&6
23866 if test $ac_cv_lib_m_fmod = yes; then
23867
23868 cat >>confdefs.h <<\_ACEOF
23869 #define HAVE_FMOD 1
23870 _ACEOF
23871
23872 fi
23873
23874 echo "$as_me:$LINENO: checking for fmodl in -lm" >&5
23875 echo $ECHO_N "checking for fmodl in -lm... $ECHO_C" >&6
23876 if test "${ac_cv_lib_m_fmodl+set}" = set; then
23877   echo $ECHO_N "(cached) $ECHO_C" >&6
23878 else
23879   ac_check_lib_save_LIBS=$LIBS
23880 LIBS="-lm  $LIBS"
23881 if test x$gcc_no_link = xyes; then
23882   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23883 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23884    { (exit 1); exit 1; }; }
23885 fi
23886 cat >conftest.$ac_ext <<_ACEOF
23887 /* confdefs.h.  */
23888 _ACEOF
23889 cat confdefs.h >>conftest.$ac_ext
23890 cat >>conftest.$ac_ext <<_ACEOF
23891 /* end confdefs.h.  */
23892
23893 /* Override any gcc2 internal prototype to avoid an error.  */
23894 #ifdef __cplusplus
23895 extern "C"
23896 #endif
23897 /* We use char because int might match the return type of a gcc2
23898    builtin and then its argument prototype would still apply.  */
23899 char fmodl ();
23900 int
23901 main ()
23902 {
23903 fmodl ();
23904   ;
23905   return 0;
23906 }
23907 _ACEOF
23908 rm -f conftest.$ac_objext conftest$ac_exeext
23909 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23910   (eval $ac_link) 2>conftest.er1
23911   ac_status=$?
23912   grep -v '^ *+' conftest.er1 >conftest.err
23913   rm -f conftest.er1
23914   cat conftest.err >&5
23915   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23916   (exit $ac_status); } &&
23917          { ac_try='test -z "$ac_c_werror_flag"
23918                          || test ! -s conftest.err'
23919   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23920   (eval $ac_try) 2>&5
23921   ac_status=$?
23922   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23923   (exit $ac_status); }; } &&
23924          { ac_try='test -s conftest$ac_exeext'
23925   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23926   (eval $ac_try) 2>&5
23927   ac_status=$?
23928   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23929   (exit $ac_status); }; }; then
23930   ac_cv_lib_m_fmodl=yes
23931 else
23932   echo "$as_me: failed program was:" >&5
23933 sed 's/^/| /' conftest.$ac_ext >&5
23934
23935 ac_cv_lib_m_fmodl=no
23936 fi
23937 rm -f conftest.err conftest.$ac_objext \
23938       conftest$ac_exeext conftest.$ac_ext
23939 LIBS=$ac_check_lib_save_LIBS
23940 fi
23941 echo "$as_me:$LINENO: result: $ac_cv_lib_m_fmodl" >&5
23942 echo "${ECHO_T}$ac_cv_lib_m_fmodl" >&6
23943 if test $ac_cv_lib_m_fmodl = yes; then
23944
23945 cat >>confdefs.h <<\_ACEOF
23946 #define HAVE_FMODL 1
23947 _ACEOF
23948
23949 fi
23950
23951 echo "$as_me:$LINENO: checking for frexpf in -lm" >&5
23952 echo $ECHO_N "checking for frexpf in -lm... $ECHO_C" >&6
23953 if test "${ac_cv_lib_m_frexpf+set}" = set; then
23954   echo $ECHO_N "(cached) $ECHO_C" >&6
23955 else
23956   ac_check_lib_save_LIBS=$LIBS
23957 LIBS="-lm  $LIBS"
23958 if test x$gcc_no_link = xyes; then
23959   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23960 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23961    { (exit 1); exit 1; }; }
23962 fi
23963 cat >conftest.$ac_ext <<_ACEOF
23964 /* confdefs.h.  */
23965 _ACEOF
23966 cat confdefs.h >>conftest.$ac_ext
23967 cat >>conftest.$ac_ext <<_ACEOF
23968 /* end confdefs.h.  */
23969
23970 /* Override any gcc2 internal prototype to avoid an error.  */
23971 #ifdef __cplusplus
23972 extern "C"
23973 #endif
23974 /* We use char because int might match the return type of a gcc2
23975    builtin and then its argument prototype would still apply.  */
23976 char frexpf ();
23977 int
23978 main ()
23979 {
23980 frexpf ();
23981   ;
23982   return 0;
23983 }
23984 _ACEOF
23985 rm -f conftest.$ac_objext conftest$ac_exeext
23986 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23987   (eval $ac_link) 2>conftest.er1
23988   ac_status=$?
23989   grep -v '^ *+' conftest.er1 >conftest.err
23990   rm -f conftest.er1
23991   cat conftest.err >&5
23992   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23993   (exit $ac_status); } &&
23994          { ac_try='test -z "$ac_c_werror_flag"
23995                          || test ! -s conftest.err'
23996   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23997   (eval $ac_try) 2>&5
23998   ac_status=$?
23999   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24000   (exit $ac_status); }; } &&
24001          { ac_try='test -s conftest$ac_exeext'
24002   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24003   (eval $ac_try) 2>&5
24004   ac_status=$?
24005   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24006   (exit $ac_status); }; }; then
24007   ac_cv_lib_m_frexpf=yes
24008 else
24009   echo "$as_me: failed program was:" >&5
24010 sed 's/^/| /' conftest.$ac_ext >&5
24011
24012 ac_cv_lib_m_frexpf=no
24013 fi
24014 rm -f conftest.err conftest.$ac_objext \
24015       conftest$ac_exeext conftest.$ac_ext
24016 LIBS=$ac_check_lib_save_LIBS
24017 fi
24018 echo "$as_me:$LINENO: result: $ac_cv_lib_m_frexpf" >&5
24019 echo "${ECHO_T}$ac_cv_lib_m_frexpf" >&6
24020 if test $ac_cv_lib_m_frexpf = yes; then
24021
24022 cat >>confdefs.h <<\_ACEOF
24023 #define HAVE_FREXPF 1
24024 _ACEOF
24025
24026 fi
24027
24028 echo "$as_me:$LINENO: checking for frexp in -lm" >&5
24029 echo $ECHO_N "checking for frexp in -lm... $ECHO_C" >&6
24030 if test "${ac_cv_lib_m_frexp+set}" = set; then
24031   echo $ECHO_N "(cached) $ECHO_C" >&6
24032 else
24033   ac_check_lib_save_LIBS=$LIBS
24034 LIBS="-lm  $LIBS"
24035 if test x$gcc_no_link = xyes; then
24036   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24037 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24038    { (exit 1); exit 1; }; }
24039 fi
24040 cat >conftest.$ac_ext <<_ACEOF
24041 /* confdefs.h.  */
24042 _ACEOF
24043 cat confdefs.h >>conftest.$ac_ext
24044 cat >>conftest.$ac_ext <<_ACEOF
24045 /* end confdefs.h.  */
24046
24047 /* Override any gcc2 internal prototype to avoid an error.  */
24048 #ifdef __cplusplus
24049 extern "C"
24050 #endif
24051 /* We use char because int might match the return type of a gcc2
24052    builtin and then its argument prototype would still apply.  */
24053 char frexp ();
24054 int
24055 main ()
24056 {
24057 frexp ();
24058   ;
24059   return 0;
24060 }
24061 _ACEOF
24062 rm -f conftest.$ac_objext conftest$ac_exeext
24063 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24064   (eval $ac_link) 2>conftest.er1
24065   ac_status=$?
24066   grep -v '^ *+' conftest.er1 >conftest.err
24067   rm -f conftest.er1
24068   cat conftest.err >&5
24069   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24070   (exit $ac_status); } &&
24071          { ac_try='test -z "$ac_c_werror_flag"
24072                          || test ! -s conftest.err'
24073   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24074   (eval $ac_try) 2>&5
24075   ac_status=$?
24076   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24077   (exit $ac_status); }; } &&
24078          { ac_try='test -s conftest$ac_exeext'
24079   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24080   (eval $ac_try) 2>&5
24081   ac_status=$?
24082   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24083   (exit $ac_status); }; }; then
24084   ac_cv_lib_m_frexp=yes
24085 else
24086   echo "$as_me: failed program was:" >&5
24087 sed 's/^/| /' conftest.$ac_ext >&5
24088
24089 ac_cv_lib_m_frexp=no
24090 fi
24091 rm -f conftest.err conftest.$ac_objext \
24092       conftest$ac_exeext conftest.$ac_ext
24093 LIBS=$ac_check_lib_save_LIBS
24094 fi
24095 echo "$as_me:$LINENO: result: $ac_cv_lib_m_frexp" >&5
24096 echo "${ECHO_T}$ac_cv_lib_m_frexp" >&6
24097 if test $ac_cv_lib_m_frexp = yes; then
24098
24099 cat >>confdefs.h <<\_ACEOF
24100 #define HAVE_FREXP 1
24101 _ACEOF
24102
24103 fi
24104
24105 echo "$as_me:$LINENO: checking for frexpl in -lm" >&5
24106 echo $ECHO_N "checking for frexpl in -lm... $ECHO_C" >&6
24107 if test "${ac_cv_lib_m_frexpl+set}" = set; then
24108   echo $ECHO_N "(cached) $ECHO_C" >&6
24109 else
24110   ac_check_lib_save_LIBS=$LIBS
24111 LIBS="-lm  $LIBS"
24112 if test x$gcc_no_link = xyes; then
24113   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24114 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24115    { (exit 1); exit 1; }; }
24116 fi
24117 cat >conftest.$ac_ext <<_ACEOF
24118 /* confdefs.h.  */
24119 _ACEOF
24120 cat confdefs.h >>conftest.$ac_ext
24121 cat >>conftest.$ac_ext <<_ACEOF
24122 /* end confdefs.h.  */
24123
24124 /* Override any gcc2 internal prototype to avoid an error.  */
24125 #ifdef __cplusplus
24126 extern "C"
24127 #endif
24128 /* We use char because int might match the return type of a gcc2
24129    builtin and then its argument prototype would still apply.  */
24130 char frexpl ();
24131 int
24132 main ()
24133 {
24134 frexpl ();
24135   ;
24136   return 0;
24137 }
24138 _ACEOF
24139 rm -f conftest.$ac_objext conftest$ac_exeext
24140 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24141   (eval $ac_link) 2>conftest.er1
24142   ac_status=$?
24143   grep -v '^ *+' conftest.er1 >conftest.err
24144   rm -f conftest.er1
24145   cat conftest.err >&5
24146   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24147   (exit $ac_status); } &&
24148          { ac_try='test -z "$ac_c_werror_flag"
24149                          || test ! -s conftest.err'
24150   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24151   (eval $ac_try) 2>&5
24152   ac_status=$?
24153   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24154   (exit $ac_status); }; } &&
24155          { ac_try='test -s conftest$ac_exeext'
24156   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24157   (eval $ac_try) 2>&5
24158   ac_status=$?
24159   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24160   (exit $ac_status); }; }; then
24161   ac_cv_lib_m_frexpl=yes
24162 else
24163   echo "$as_me: failed program was:" >&5
24164 sed 's/^/| /' conftest.$ac_ext >&5
24165
24166 ac_cv_lib_m_frexpl=no
24167 fi
24168 rm -f conftest.err conftest.$ac_objext \
24169       conftest$ac_exeext conftest.$ac_ext
24170 LIBS=$ac_check_lib_save_LIBS
24171 fi
24172 echo "$as_me:$LINENO: result: $ac_cv_lib_m_frexpl" >&5
24173 echo "${ECHO_T}$ac_cv_lib_m_frexpl" >&6
24174 if test $ac_cv_lib_m_frexpl = yes; then
24175
24176 cat >>confdefs.h <<\_ACEOF
24177 #define HAVE_FREXPL 1
24178 _ACEOF
24179
24180 fi
24181
24182 echo "$as_me:$LINENO: checking for hypotf in -lm" >&5
24183 echo $ECHO_N "checking for hypotf in -lm... $ECHO_C" >&6
24184 if test "${ac_cv_lib_m_hypotf+set}" = set; then
24185   echo $ECHO_N "(cached) $ECHO_C" >&6
24186 else
24187   ac_check_lib_save_LIBS=$LIBS
24188 LIBS="-lm  $LIBS"
24189 if test x$gcc_no_link = xyes; then
24190   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24191 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24192    { (exit 1); exit 1; }; }
24193 fi
24194 cat >conftest.$ac_ext <<_ACEOF
24195 /* confdefs.h.  */
24196 _ACEOF
24197 cat confdefs.h >>conftest.$ac_ext
24198 cat >>conftest.$ac_ext <<_ACEOF
24199 /* end confdefs.h.  */
24200
24201 /* Override any gcc2 internal prototype to avoid an error.  */
24202 #ifdef __cplusplus
24203 extern "C"
24204 #endif
24205 /* We use char because int might match the return type of a gcc2
24206    builtin and then its argument prototype would still apply.  */
24207 char hypotf ();
24208 int
24209 main ()
24210 {
24211 hypotf ();
24212   ;
24213   return 0;
24214 }
24215 _ACEOF
24216 rm -f conftest.$ac_objext conftest$ac_exeext
24217 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24218   (eval $ac_link) 2>conftest.er1
24219   ac_status=$?
24220   grep -v '^ *+' conftest.er1 >conftest.err
24221   rm -f conftest.er1
24222   cat conftest.err >&5
24223   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24224   (exit $ac_status); } &&
24225          { ac_try='test -z "$ac_c_werror_flag"
24226                          || test ! -s conftest.err'
24227   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24228   (eval $ac_try) 2>&5
24229   ac_status=$?
24230   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24231   (exit $ac_status); }; } &&
24232          { ac_try='test -s conftest$ac_exeext'
24233   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24234   (eval $ac_try) 2>&5
24235   ac_status=$?
24236   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24237   (exit $ac_status); }; }; then
24238   ac_cv_lib_m_hypotf=yes
24239 else
24240   echo "$as_me: failed program was:" >&5
24241 sed 's/^/| /' conftest.$ac_ext >&5
24242
24243 ac_cv_lib_m_hypotf=no
24244 fi
24245 rm -f conftest.err conftest.$ac_objext \
24246       conftest$ac_exeext conftest.$ac_ext
24247 LIBS=$ac_check_lib_save_LIBS
24248 fi
24249 echo "$as_me:$LINENO: result: $ac_cv_lib_m_hypotf" >&5
24250 echo "${ECHO_T}$ac_cv_lib_m_hypotf" >&6
24251 if test $ac_cv_lib_m_hypotf = yes; then
24252
24253 cat >>confdefs.h <<\_ACEOF
24254 #define HAVE_HYPOTF 1
24255 _ACEOF
24256
24257 fi
24258
24259 echo "$as_me:$LINENO: checking for hypot in -lm" >&5
24260 echo $ECHO_N "checking for hypot in -lm... $ECHO_C" >&6
24261 if test "${ac_cv_lib_m_hypot+set}" = set; then
24262   echo $ECHO_N "(cached) $ECHO_C" >&6
24263 else
24264   ac_check_lib_save_LIBS=$LIBS
24265 LIBS="-lm  $LIBS"
24266 if test x$gcc_no_link = xyes; then
24267   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24268 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24269    { (exit 1); exit 1; }; }
24270 fi
24271 cat >conftest.$ac_ext <<_ACEOF
24272 /* confdefs.h.  */
24273 _ACEOF
24274 cat confdefs.h >>conftest.$ac_ext
24275 cat >>conftest.$ac_ext <<_ACEOF
24276 /* end confdefs.h.  */
24277
24278 /* Override any gcc2 internal prototype to avoid an error.  */
24279 #ifdef __cplusplus
24280 extern "C"
24281 #endif
24282 /* We use char because int might match the return type of a gcc2
24283    builtin and then its argument prototype would still apply.  */
24284 char hypot ();
24285 int
24286 main ()
24287 {
24288 hypot ();
24289   ;
24290   return 0;
24291 }
24292 _ACEOF
24293 rm -f conftest.$ac_objext conftest$ac_exeext
24294 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24295   (eval $ac_link) 2>conftest.er1
24296   ac_status=$?
24297   grep -v '^ *+' conftest.er1 >conftest.err
24298   rm -f conftest.er1
24299   cat conftest.err >&5
24300   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24301   (exit $ac_status); } &&
24302          { ac_try='test -z "$ac_c_werror_flag"
24303                          || test ! -s conftest.err'
24304   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24305   (eval $ac_try) 2>&5
24306   ac_status=$?
24307   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24308   (exit $ac_status); }; } &&
24309          { ac_try='test -s conftest$ac_exeext'
24310   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24311   (eval $ac_try) 2>&5
24312   ac_status=$?
24313   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24314   (exit $ac_status); }; }; then
24315   ac_cv_lib_m_hypot=yes
24316 else
24317   echo "$as_me: failed program was:" >&5
24318 sed 's/^/| /' conftest.$ac_ext >&5
24319
24320 ac_cv_lib_m_hypot=no
24321 fi
24322 rm -f conftest.err conftest.$ac_objext \
24323       conftest$ac_exeext conftest.$ac_ext
24324 LIBS=$ac_check_lib_save_LIBS
24325 fi
24326 echo "$as_me:$LINENO: result: $ac_cv_lib_m_hypot" >&5
24327 echo "${ECHO_T}$ac_cv_lib_m_hypot" >&6
24328 if test $ac_cv_lib_m_hypot = yes; then
24329
24330 cat >>confdefs.h <<\_ACEOF
24331 #define HAVE_HYPOT 1
24332 _ACEOF
24333
24334 fi
24335
24336 echo "$as_me:$LINENO: checking for hypotl in -lm" >&5
24337 echo $ECHO_N "checking for hypotl in -lm... $ECHO_C" >&6
24338 if test "${ac_cv_lib_m_hypotl+set}" = set; then
24339   echo $ECHO_N "(cached) $ECHO_C" >&6
24340 else
24341   ac_check_lib_save_LIBS=$LIBS
24342 LIBS="-lm  $LIBS"
24343 if test x$gcc_no_link = xyes; then
24344   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24345 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24346    { (exit 1); exit 1; }; }
24347 fi
24348 cat >conftest.$ac_ext <<_ACEOF
24349 /* confdefs.h.  */
24350 _ACEOF
24351 cat confdefs.h >>conftest.$ac_ext
24352 cat >>conftest.$ac_ext <<_ACEOF
24353 /* end confdefs.h.  */
24354
24355 /* Override any gcc2 internal prototype to avoid an error.  */
24356 #ifdef __cplusplus
24357 extern "C"
24358 #endif
24359 /* We use char because int might match the return type of a gcc2
24360    builtin and then its argument prototype would still apply.  */
24361 char hypotl ();
24362 int
24363 main ()
24364 {
24365 hypotl ();
24366   ;
24367   return 0;
24368 }
24369 _ACEOF
24370 rm -f conftest.$ac_objext conftest$ac_exeext
24371 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24372   (eval $ac_link) 2>conftest.er1
24373   ac_status=$?
24374   grep -v '^ *+' conftest.er1 >conftest.err
24375   rm -f conftest.er1
24376   cat conftest.err >&5
24377   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24378   (exit $ac_status); } &&
24379          { ac_try='test -z "$ac_c_werror_flag"
24380                          || test ! -s conftest.err'
24381   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24382   (eval $ac_try) 2>&5
24383   ac_status=$?
24384   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24385   (exit $ac_status); }; } &&
24386          { ac_try='test -s conftest$ac_exeext'
24387   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24388   (eval $ac_try) 2>&5
24389   ac_status=$?
24390   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24391   (exit $ac_status); }; }; then
24392   ac_cv_lib_m_hypotl=yes
24393 else
24394   echo "$as_me: failed program was:" >&5
24395 sed 's/^/| /' conftest.$ac_ext >&5
24396
24397 ac_cv_lib_m_hypotl=no
24398 fi
24399 rm -f conftest.err conftest.$ac_objext \
24400       conftest$ac_exeext conftest.$ac_ext
24401 LIBS=$ac_check_lib_save_LIBS
24402 fi
24403 echo "$as_me:$LINENO: result: $ac_cv_lib_m_hypotl" >&5
24404 echo "${ECHO_T}$ac_cv_lib_m_hypotl" >&6
24405 if test $ac_cv_lib_m_hypotl = yes; then
24406
24407 cat >>confdefs.h <<\_ACEOF
24408 #define HAVE_HYPOTL 1
24409 _ACEOF
24410
24411 fi
24412
24413 echo "$as_me:$LINENO: checking for ldexpf in -lm" >&5
24414 echo $ECHO_N "checking for ldexpf in -lm... $ECHO_C" >&6
24415 if test "${ac_cv_lib_m_ldexpf+set}" = set; then
24416   echo $ECHO_N "(cached) $ECHO_C" >&6
24417 else
24418   ac_check_lib_save_LIBS=$LIBS
24419 LIBS="-lm  $LIBS"
24420 if test x$gcc_no_link = xyes; then
24421   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24422 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24423    { (exit 1); exit 1; }; }
24424 fi
24425 cat >conftest.$ac_ext <<_ACEOF
24426 /* confdefs.h.  */
24427 _ACEOF
24428 cat confdefs.h >>conftest.$ac_ext
24429 cat >>conftest.$ac_ext <<_ACEOF
24430 /* end confdefs.h.  */
24431
24432 /* Override any gcc2 internal prototype to avoid an error.  */
24433 #ifdef __cplusplus
24434 extern "C"
24435 #endif
24436 /* We use char because int might match the return type of a gcc2
24437    builtin and then its argument prototype would still apply.  */
24438 char ldexpf ();
24439 int
24440 main ()
24441 {
24442 ldexpf ();
24443   ;
24444   return 0;
24445 }
24446 _ACEOF
24447 rm -f conftest.$ac_objext conftest$ac_exeext
24448 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24449   (eval $ac_link) 2>conftest.er1
24450   ac_status=$?
24451   grep -v '^ *+' conftest.er1 >conftest.err
24452   rm -f conftest.er1
24453   cat conftest.err >&5
24454   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24455   (exit $ac_status); } &&
24456          { ac_try='test -z "$ac_c_werror_flag"
24457                          || test ! -s conftest.err'
24458   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24459   (eval $ac_try) 2>&5
24460   ac_status=$?
24461   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24462   (exit $ac_status); }; } &&
24463          { ac_try='test -s conftest$ac_exeext'
24464   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24465   (eval $ac_try) 2>&5
24466   ac_status=$?
24467   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24468   (exit $ac_status); }; }; then
24469   ac_cv_lib_m_ldexpf=yes
24470 else
24471   echo "$as_me: failed program was:" >&5
24472 sed 's/^/| /' conftest.$ac_ext >&5
24473
24474 ac_cv_lib_m_ldexpf=no
24475 fi
24476 rm -f conftest.err conftest.$ac_objext \
24477       conftest$ac_exeext conftest.$ac_ext
24478 LIBS=$ac_check_lib_save_LIBS
24479 fi
24480 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ldexpf" >&5
24481 echo "${ECHO_T}$ac_cv_lib_m_ldexpf" >&6
24482 if test $ac_cv_lib_m_ldexpf = yes; then
24483
24484 cat >>confdefs.h <<\_ACEOF
24485 #define HAVE_LDEXPF 1
24486 _ACEOF
24487
24488 fi
24489
24490 echo "$as_me:$LINENO: checking for ldexp in -lm" >&5
24491 echo $ECHO_N "checking for ldexp in -lm... $ECHO_C" >&6
24492 if test "${ac_cv_lib_m_ldexp+set}" = set; then
24493   echo $ECHO_N "(cached) $ECHO_C" >&6
24494 else
24495   ac_check_lib_save_LIBS=$LIBS
24496 LIBS="-lm  $LIBS"
24497 if test x$gcc_no_link = xyes; then
24498   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24499 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24500    { (exit 1); exit 1; }; }
24501 fi
24502 cat >conftest.$ac_ext <<_ACEOF
24503 /* confdefs.h.  */
24504 _ACEOF
24505 cat confdefs.h >>conftest.$ac_ext
24506 cat >>conftest.$ac_ext <<_ACEOF
24507 /* end confdefs.h.  */
24508
24509 /* Override any gcc2 internal prototype to avoid an error.  */
24510 #ifdef __cplusplus
24511 extern "C"
24512 #endif
24513 /* We use char because int might match the return type of a gcc2
24514    builtin and then its argument prototype would still apply.  */
24515 char ldexp ();
24516 int
24517 main ()
24518 {
24519 ldexp ();
24520   ;
24521   return 0;
24522 }
24523 _ACEOF
24524 rm -f conftest.$ac_objext conftest$ac_exeext
24525 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24526   (eval $ac_link) 2>conftest.er1
24527   ac_status=$?
24528   grep -v '^ *+' conftest.er1 >conftest.err
24529   rm -f conftest.er1
24530   cat conftest.err >&5
24531   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24532   (exit $ac_status); } &&
24533          { ac_try='test -z "$ac_c_werror_flag"
24534                          || test ! -s conftest.err'
24535   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24536   (eval $ac_try) 2>&5
24537   ac_status=$?
24538   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24539   (exit $ac_status); }; } &&
24540          { ac_try='test -s conftest$ac_exeext'
24541   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24542   (eval $ac_try) 2>&5
24543   ac_status=$?
24544   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24545   (exit $ac_status); }; }; then
24546   ac_cv_lib_m_ldexp=yes
24547 else
24548   echo "$as_me: failed program was:" >&5
24549 sed 's/^/| /' conftest.$ac_ext >&5
24550
24551 ac_cv_lib_m_ldexp=no
24552 fi
24553 rm -f conftest.err conftest.$ac_objext \
24554       conftest$ac_exeext conftest.$ac_ext
24555 LIBS=$ac_check_lib_save_LIBS
24556 fi
24557 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ldexp" >&5
24558 echo "${ECHO_T}$ac_cv_lib_m_ldexp" >&6
24559 if test $ac_cv_lib_m_ldexp = yes; then
24560
24561 cat >>confdefs.h <<\_ACEOF
24562 #define HAVE_LDEXP 1
24563 _ACEOF
24564
24565 fi
24566
24567 echo "$as_me:$LINENO: checking for ldexpl in -lm" >&5
24568 echo $ECHO_N "checking for ldexpl in -lm... $ECHO_C" >&6
24569 if test "${ac_cv_lib_m_ldexpl+set}" = set; then
24570   echo $ECHO_N "(cached) $ECHO_C" >&6
24571 else
24572   ac_check_lib_save_LIBS=$LIBS
24573 LIBS="-lm  $LIBS"
24574 if test x$gcc_no_link = xyes; then
24575   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24576 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24577    { (exit 1); exit 1; }; }
24578 fi
24579 cat >conftest.$ac_ext <<_ACEOF
24580 /* confdefs.h.  */
24581 _ACEOF
24582 cat confdefs.h >>conftest.$ac_ext
24583 cat >>conftest.$ac_ext <<_ACEOF
24584 /* end confdefs.h.  */
24585
24586 /* Override any gcc2 internal prototype to avoid an error.  */
24587 #ifdef __cplusplus
24588 extern "C"
24589 #endif
24590 /* We use char because int might match the return type of a gcc2
24591    builtin and then its argument prototype would still apply.  */
24592 char ldexpl ();
24593 int
24594 main ()
24595 {
24596 ldexpl ();
24597   ;
24598   return 0;
24599 }
24600 _ACEOF
24601 rm -f conftest.$ac_objext conftest$ac_exeext
24602 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24603   (eval $ac_link) 2>conftest.er1
24604   ac_status=$?
24605   grep -v '^ *+' conftest.er1 >conftest.err
24606   rm -f conftest.er1
24607   cat conftest.err >&5
24608   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24609   (exit $ac_status); } &&
24610          { ac_try='test -z "$ac_c_werror_flag"
24611                          || test ! -s conftest.err'
24612   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24613   (eval $ac_try) 2>&5
24614   ac_status=$?
24615   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24616   (exit $ac_status); }; } &&
24617          { ac_try='test -s conftest$ac_exeext'
24618   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24619   (eval $ac_try) 2>&5
24620   ac_status=$?
24621   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24622   (exit $ac_status); }; }; then
24623   ac_cv_lib_m_ldexpl=yes
24624 else
24625   echo "$as_me: failed program was:" >&5
24626 sed 's/^/| /' conftest.$ac_ext >&5
24627
24628 ac_cv_lib_m_ldexpl=no
24629 fi
24630 rm -f conftest.err conftest.$ac_objext \
24631       conftest$ac_exeext conftest.$ac_ext
24632 LIBS=$ac_check_lib_save_LIBS
24633 fi
24634 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ldexpl" >&5
24635 echo "${ECHO_T}$ac_cv_lib_m_ldexpl" >&6
24636 if test $ac_cv_lib_m_ldexpl = yes; then
24637
24638 cat >>confdefs.h <<\_ACEOF
24639 #define HAVE_LDEXPL 1
24640 _ACEOF
24641
24642 fi
24643
24644 echo "$as_me:$LINENO: checking for logf in -lm" >&5
24645 echo $ECHO_N "checking for logf in -lm... $ECHO_C" >&6
24646 if test "${ac_cv_lib_m_logf+set}" = set; then
24647   echo $ECHO_N "(cached) $ECHO_C" >&6
24648 else
24649   ac_check_lib_save_LIBS=$LIBS
24650 LIBS="-lm  $LIBS"
24651 if test x$gcc_no_link = xyes; then
24652   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24653 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24654    { (exit 1); exit 1; }; }
24655 fi
24656 cat >conftest.$ac_ext <<_ACEOF
24657 /* confdefs.h.  */
24658 _ACEOF
24659 cat confdefs.h >>conftest.$ac_ext
24660 cat >>conftest.$ac_ext <<_ACEOF
24661 /* end confdefs.h.  */
24662
24663 /* Override any gcc2 internal prototype to avoid an error.  */
24664 #ifdef __cplusplus
24665 extern "C"
24666 #endif
24667 /* We use char because int might match the return type of a gcc2
24668    builtin and then its argument prototype would still apply.  */
24669 char logf ();
24670 int
24671 main ()
24672 {
24673 logf ();
24674   ;
24675   return 0;
24676 }
24677 _ACEOF
24678 rm -f conftest.$ac_objext conftest$ac_exeext
24679 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24680   (eval $ac_link) 2>conftest.er1
24681   ac_status=$?
24682   grep -v '^ *+' conftest.er1 >conftest.err
24683   rm -f conftest.er1
24684   cat conftest.err >&5
24685   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24686   (exit $ac_status); } &&
24687          { ac_try='test -z "$ac_c_werror_flag"
24688                          || test ! -s conftest.err'
24689   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24690   (eval $ac_try) 2>&5
24691   ac_status=$?
24692   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24693   (exit $ac_status); }; } &&
24694          { ac_try='test -s conftest$ac_exeext'
24695   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24696   (eval $ac_try) 2>&5
24697   ac_status=$?
24698   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24699   (exit $ac_status); }; }; then
24700   ac_cv_lib_m_logf=yes
24701 else
24702   echo "$as_me: failed program was:" >&5
24703 sed 's/^/| /' conftest.$ac_ext >&5
24704
24705 ac_cv_lib_m_logf=no
24706 fi
24707 rm -f conftest.err conftest.$ac_objext \
24708       conftest$ac_exeext conftest.$ac_ext
24709 LIBS=$ac_check_lib_save_LIBS
24710 fi
24711 echo "$as_me:$LINENO: result: $ac_cv_lib_m_logf" >&5
24712 echo "${ECHO_T}$ac_cv_lib_m_logf" >&6
24713 if test $ac_cv_lib_m_logf = yes; then
24714
24715 cat >>confdefs.h <<\_ACEOF
24716 #define HAVE_LOGF 1
24717 _ACEOF
24718
24719 fi
24720
24721 echo "$as_me:$LINENO: checking for log in -lm" >&5
24722 echo $ECHO_N "checking for log in -lm... $ECHO_C" >&6
24723 if test "${ac_cv_lib_m_log+set}" = set; then
24724   echo $ECHO_N "(cached) $ECHO_C" >&6
24725 else
24726   ac_check_lib_save_LIBS=$LIBS
24727 LIBS="-lm  $LIBS"
24728 if test x$gcc_no_link = xyes; then
24729   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24730 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24731    { (exit 1); exit 1; }; }
24732 fi
24733 cat >conftest.$ac_ext <<_ACEOF
24734 /* confdefs.h.  */
24735 _ACEOF
24736 cat confdefs.h >>conftest.$ac_ext
24737 cat >>conftest.$ac_ext <<_ACEOF
24738 /* end confdefs.h.  */
24739
24740 /* Override any gcc2 internal prototype to avoid an error.  */
24741 #ifdef __cplusplus
24742 extern "C"
24743 #endif
24744 /* We use char because int might match the return type of a gcc2
24745    builtin and then its argument prototype would still apply.  */
24746 char log ();
24747 int
24748 main ()
24749 {
24750 log ();
24751   ;
24752   return 0;
24753 }
24754 _ACEOF
24755 rm -f conftest.$ac_objext conftest$ac_exeext
24756 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24757   (eval $ac_link) 2>conftest.er1
24758   ac_status=$?
24759   grep -v '^ *+' conftest.er1 >conftest.err
24760   rm -f conftest.er1
24761   cat conftest.err >&5
24762   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24763   (exit $ac_status); } &&
24764          { ac_try='test -z "$ac_c_werror_flag"
24765                          || test ! -s conftest.err'
24766   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24767   (eval $ac_try) 2>&5
24768   ac_status=$?
24769   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24770   (exit $ac_status); }; } &&
24771          { ac_try='test -s conftest$ac_exeext'
24772   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24773   (eval $ac_try) 2>&5
24774   ac_status=$?
24775   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24776   (exit $ac_status); }; }; then
24777   ac_cv_lib_m_log=yes
24778 else
24779   echo "$as_me: failed program was:" >&5
24780 sed 's/^/| /' conftest.$ac_ext >&5
24781
24782 ac_cv_lib_m_log=no
24783 fi
24784 rm -f conftest.err conftest.$ac_objext \
24785       conftest$ac_exeext conftest.$ac_ext
24786 LIBS=$ac_check_lib_save_LIBS
24787 fi
24788 echo "$as_me:$LINENO: result: $ac_cv_lib_m_log" >&5
24789 echo "${ECHO_T}$ac_cv_lib_m_log" >&6
24790 if test $ac_cv_lib_m_log = yes; then
24791
24792 cat >>confdefs.h <<\_ACEOF
24793 #define HAVE_LOG 1
24794 _ACEOF
24795
24796 fi
24797
24798 echo "$as_me:$LINENO: checking for logl in -lm" >&5
24799 echo $ECHO_N "checking for logl in -lm... $ECHO_C" >&6
24800 if test "${ac_cv_lib_m_logl+set}" = set; then
24801   echo $ECHO_N "(cached) $ECHO_C" >&6
24802 else
24803   ac_check_lib_save_LIBS=$LIBS
24804 LIBS="-lm  $LIBS"
24805 if test x$gcc_no_link = xyes; then
24806   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24807 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24808    { (exit 1); exit 1; }; }
24809 fi
24810 cat >conftest.$ac_ext <<_ACEOF
24811 /* confdefs.h.  */
24812 _ACEOF
24813 cat confdefs.h >>conftest.$ac_ext
24814 cat >>conftest.$ac_ext <<_ACEOF
24815 /* end confdefs.h.  */
24816
24817 /* Override any gcc2 internal prototype to avoid an error.  */
24818 #ifdef __cplusplus
24819 extern "C"
24820 #endif
24821 /* We use char because int might match the return type of a gcc2
24822    builtin and then its argument prototype would still apply.  */
24823 char logl ();
24824 int
24825 main ()
24826 {
24827 logl ();
24828   ;
24829   return 0;
24830 }
24831 _ACEOF
24832 rm -f conftest.$ac_objext conftest$ac_exeext
24833 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24834   (eval $ac_link) 2>conftest.er1
24835   ac_status=$?
24836   grep -v '^ *+' conftest.er1 >conftest.err
24837   rm -f conftest.er1
24838   cat conftest.err >&5
24839   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24840   (exit $ac_status); } &&
24841          { ac_try='test -z "$ac_c_werror_flag"
24842                          || test ! -s conftest.err'
24843   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24844   (eval $ac_try) 2>&5
24845   ac_status=$?
24846   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24847   (exit $ac_status); }; } &&
24848          { ac_try='test -s conftest$ac_exeext'
24849   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24850   (eval $ac_try) 2>&5
24851   ac_status=$?
24852   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24853   (exit $ac_status); }; }; then
24854   ac_cv_lib_m_logl=yes
24855 else
24856   echo "$as_me: failed program was:" >&5
24857 sed 's/^/| /' conftest.$ac_ext >&5
24858
24859 ac_cv_lib_m_logl=no
24860 fi
24861 rm -f conftest.err conftest.$ac_objext \
24862       conftest$ac_exeext conftest.$ac_ext
24863 LIBS=$ac_check_lib_save_LIBS
24864 fi
24865 echo "$as_me:$LINENO: result: $ac_cv_lib_m_logl" >&5
24866 echo "${ECHO_T}$ac_cv_lib_m_logl" >&6
24867 if test $ac_cv_lib_m_logl = yes; then
24868
24869 cat >>confdefs.h <<\_ACEOF
24870 #define HAVE_LOGL 1
24871 _ACEOF
24872
24873 fi
24874
24875 echo "$as_me:$LINENO: checking for clogf in -lm" >&5
24876 echo $ECHO_N "checking for clogf in -lm... $ECHO_C" >&6
24877 if test "${ac_cv_lib_m_clogf+set}" = set; then
24878   echo $ECHO_N "(cached) $ECHO_C" >&6
24879 else
24880   ac_check_lib_save_LIBS=$LIBS
24881 LIBS="-lm  $LIBS"
24882 if test x$gcc_no_link = xyes; then
24883   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24884 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24885    { (exit 1); exit 1; }; }
24886 fi
24887 cat >conftest.$ac_ext <<_ACEOF
24888 /* confdefs.h.  */
24889 _ACEOF
24890 cat confdefs.h >>conftest.$ac_ext
24891 cat >>conftest.$ac_ext <<_ACEOF
24892 /* end confdefs.h.  */
24893
24894 /* Override any gcc2 internal prototype to avoid an error.  */
24895 #ifdef __cplusplus
24896 extern "C"
24897 #endif
24898 /* We use char because int might match the return type of a gcc2
24899    builtin and then its argument prototype would still apply.  */
24900 char clogf ();
24901 int
24902 main ()
24903 {
24904 clogf ();
24905   ;
24906   return 0;
24907 }
24908 _ACEOF
24909 rm -f conftest.$ac_objext conftest$ac_exeext
24910 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24911   (eval $ac_link) 2>conftest.er1
24912   ac_status=$?
24913   grep -v '^ *+' conftest.er1 >conftest.err
24914   rm -f conftest.er1
24915   cat conftest.err >&5
24916   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24917   (exit $ac_status); } &&
24918          { ac_try='test -z "$ac_c_werror_flag"
24919                          || test ! -s conftest.err'
24920   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24921   (eval $ac_try) 2>&5
24922   ac_status=$?
24923   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24924   (exit $ac_status); }; } &&
24925          { ac_try='test -s conftest$ac_exeext'
24926   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24927   (eval $ac_try) 2>&5
24928   ac_status=$?
24929   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24930   (exit $ac_status); }; }; then
24931   ac_cv_lib_m_clogf=yes
24932 else
24933   echo "$as_me: failed program was:" >&5
24934 sed 's/^/| /' conftest.$ac_ext >&5
24935
24936 ac_cv_lib_m_clogf=no
24937 fi
24938 rm -f conftest.err conftest.$ac_objext \
24939       conftest$ac_exeext conftest.$ac_ext
24940 LIBS=$ac_check_lib_save_LIBS
24941 fi
24942 echo "$as_me:$LINENO: result: $ac_cv_lib_m_clogf" >&5
24943 echo "${ECHO_T}$ac_cv_lib_m_clogf" >&6
24944 if test $ac_cv_lib_m_clogf = yes; then
24945
24946 cat >>confdefs.h <<\_ACEOF
24947 #define HAVE_CLOGF 1
24948 _ACEOF
24949
24950 fi
24951
24952 echo "$as_me:$LINENO: checking for clog in -lm" >&5
24953 echo $ECHO_N "checking for clog in -lm... $ECHO_C" >&6
24954 if test "${ac_cv_lib_m_clog+set}" = set; then
24955   echo $ECHO_N "(cached) $ECHO_C" >&6
24956 else
24957   ac_check_lib_save_LIBS=$LIBS
24958 LIBS="-lm  $LIBS"
24959 if test x$gcc_no_link = xyes; then
24960   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24961 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24962    { (exit 1); exit 1; }; }
24963 fi
24964 cat >conftest.$ac_ext <<_ACEOF
24965 /* confdefs.h.  */
24966 _ACEOF
24967 cat confdefs.h >>conftest.$ac_ext
24968 cat >>conftest.$ac_ext <<_ACEOF
24969 /* end confdefs.h.  */
24970
24971 /* Override any gcc2 internal prototype to avoid an error.  */
24972 #ifdef __cplusplus
24973 extern "C"
24974 #endif
24975 /* We use char because int might match the return type of a gcc2
24976    builtin and then its argument prototype would still apply.  */
24977 char clog ();
24978 int
24979 main ()
24980 {
24981 clog ();
24982   ;
24983   return 0;
24984 }
24985 _ACEOF
24986 rm -f conftest.$ac_objext conftest$ac_exeext
24987 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24988   (eval $ac_link) 2>conftest.er1
24989   ac_status=$?
24990   grep -v '^ *+' conftest.er1 >conftest.err
24991   rm -f conftest.er1
24992   cat conftest.err >&5
24993   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24994   (exit $ac_status); } &&
24995          { ac_try='test -z "$ac_c_werror_flag"
24996                          || test ! -s conftest.err'
24997   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24998   (eval $ac_try) 2>&5
24999   ac_status=$?
25000   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25001   (exit $ac_status); }; } &&
25002          { ac_try='test -s conftest$ac_exeext'
25003   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25004   (eval $ac_try) 2>&5
25005   ac_status=$?
25006   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25007   (exit $ac_status); }; }; then
25008   ac_cv_lib_m_clog=yes
25009 else
25010   echo "$as_me: failed program was:" >&5
25011 sed 's/^/| /' conftest.$ac_ext >&5
25012
25013 ac_cv_lib_m_clog=no
25014 fi
25015 rm -f conftest.err conftest.$ac_objext \
25016       conftest$ac_exeext conftest.$ac_ext
25017 LIBS=$ac_check_lib_save_LIBS
25018 fi
25019 echo "$as_me:$LINENO: result: $ac_cv_lib_m_clog" >&5
25020 echo "${ECHO_T}$ac_cv_lib_m_clog" >&6
25021 if test $ac_cv_lib_m_clog = yes; then
25022
25023 cat >>confdefs.h <<\_ACEOF
25024 #define HAVE_CLOG 1
25025 _ACEOF
25026
25027 fi
25028
25029 echo "$as_me:$LINENO: checking for clogl in -lm" >&5
25030 echo $ECHO_N "checking for clogl in -lm... $ECHO_C" >&6
25031 if test "${ac_cv_lib_m_clogl+set}" = set; then
25032   echo $ECHO_N "(cached) $ECHO_C" >&6
25033 else
25034   ac_check_lib_save_LIBS=$LIBS
25035 LIBS="-lm  $LIBS"
25036 if test x$gcc_no_link = xyes; then
25037   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25038 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25039    { (exit 1); exit 1; }; }
25040 fi
25041 cat >conftest.$ac_ext <<_ACEOF
25042 /* confdefs.h.  */
25043 _ACEOF
25044 cat confdefs.h >>conftest.$ac_ext
25045 cat >>conftest.$ac_ext <<_ACEOF
25046 /* end confdefs.h.  */
25047
25048 /* Override any gcc2 internal prototype to avoid an error.  */
25049 #ifdef __cplusplus
25050 extern "C"
25051 #endif
25052 /* We use char because int might match the return type of a gcc2
25053    builtin and then its argument prototype would still apply.  */
25054 char clogl ();
25055 int
25056 main ()
25057 {
25058 clogl ();
25059   ;
25060   return 0;
25061 }
25062 _ACEOF
25063 rm -f conftest.$ac_objext conftest$ac_exeext
25064 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25065   (eval $ac_link) 2>conftest.er1
25066   ac_status=$?
25067   grep -v '^ *+' conftest.er1 >conftest.err
25068   rm -f conftest.er1
25069   cat conftest.err >&5
25070   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25071   (exit $ac_status); } &&
25072          { ac_try='test -z "$ac_c_werror_flag"
25073                          || test ! -s conftest.err'
25074   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25075   (eval $ac_try) 2>&5
25076   ac_status=$?
25077   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25078   (exit $ac_status); }; } &&
25079          { ac_try='test -s conftest$ac_exeext'
25080   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25081   (eval $ac_try) 2>&5
25082   ac_status=$?
25083   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25084   (exit $ac_status); }; }; then
25085   ac_cv_lib_m_clogl=yes
25086 else
25087   echo "$as_me: failed program was:" >&5
25088 sed 's/^/| /' conftest.$ac_ext >&5
25089
25090 ac_cv_lib_m_clogl=no
25091 fi
25092 rm -f conftest.err conftest.$ac_objext \
25093       conftest$ac_exeext conftest.$ac_ext
25094 LIBS=$ac_check_lib_save_LIBS
25095 fi
25096 echo "$as_me:$LINENO: result: $ac_cv_lib_m_clogl" >&5
25097 echo "${ECHO_T}$ac_cv_lib_m_clogl" >&6
25098 if test $ac_cv_lib_m_clogl = yes; then
25099
25100 cat >>confdefs.h <<\_ACEOF
25101 #define HAVE_CLOGL 1
25102 _ACEOF
25103
25104 fi
25105
25106 echo "$as_me:$LINENO: checking for log10f in -lm" >&5
25107 echo $ECHO_N "checking for log10f in -lm... $ECHO_C" >&6
25108 if test "${ac_cv_lib_m_log10f+set}" = set; then
25109   echo $ECHO_N "(cached) $ECHO_C" >&6
25110 else
25111   ac_check_lib_save_LIBS=$LIBS
25112 LIBS="-lm  $LIBS"
25113 if test x$gcc_no_link = xyes; then
25114   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25115 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25116    { (exit 1); exit 1; }; }
25117 fi
25118 cat >conftest.$ac_ext <<_ACEOF
25119 /* confdefs.h.  */
25120 _ACEOF
25121 cat confdefs.h >>conftest.$ac_ext
25122 cat >>conftest.$ac_ext <<_ACEOF
25123 /* end confdefs.h.  */
25124
25125 /* Override any gcc2 internal prototype to avoid an error.  */
25126 #ifdef __cplusplus
25127 extern "C"
25128 #endif
25129 /* We use char because int might match the return type of a gcc2
25130    builtin and then its argument prototype would still apply.  */
25131 char log10f ();
25132 int
25133 main ()
25134 {
25135 log10f ();
25136   ;
25137   return 0;
25138 }
25139 _ACEOF
25140 rm -f conftest.$ac_objext conftest$ac_exeext
25141 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25142   (eval $ac_link) 2>conftest.er1
25143   ac_status=$?
25144   grep -v '^ *+' conftest.er1 >conftest.err
25145   rm -f conftest.er1
25146   cat conftest.err >&5
25147   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25148   (exit $ac_status); } &&
25149          { ac_try='test -z "$ac_c_werror_flag"
25150                          || test ! -s conftest.err'
25151   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25152   (eval $ac_try) 2>&5
25153   ac_status=$?
25154   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25155   (exit $ac_status); }; } &&
25156          { ac_try='test -s conftest$ac_exeext'
25157   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25158   (eval $ac_try) 2>&5
25159   ac_status=$?
25160   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25161   (exit $ac_status); }; }; then
25162   ac_cv_lib_m_log10f=yes
25163 else
25164   echo "$as_me: failed program was:" >&5
25165 sed 's/^/| /' conftest.$ac_ext >&5
25166
25167 ac_cv_lib_m_log10f=no
25168 fi
25169 rm -f conftest.err conftest.$ac_objext \
25170       conftest$ac_exeext conftest.$ac_ext
25171 LIBS=$ac_check_lib_save_LIBS
25172 fi
25173 echo "$as_me:$LINENO: result: $ac_cv_lib_m_log10f" >&5
25174 echo "${ECHO_T}$ac_cv_lib_m_log10f" >&6
25175 if test $ac_cv_lib_m_log10f = yes; then
25176
25177 cat >>confdefs.h <<\_ACEOF
25178 #define HAVE_LOG10F 1
25179 _ACEOF
25180
25181 fi
25182
25183 echo "$as_me:$LINENO: checking for log10 in -lm" >&5
25184 echo $ECHO_N "checking for log10 in -lm... $ECHO_C" >&6
25185 if test "${ac_cv_lib_m_log10+set}" = set; then
25186   echo $ECHO_N "(cached) $ECHO_C" >&6
25187 else
25188   ac_check_lib_save_LIBS=$LIBS
25189 LIBS="-lm  $LIBS"
25190 if test x$gcc_no_link = xyes; then
25191   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25192 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25193    { (exit 1); exit 1; }; }
25194 fi
25195 cat >conftest.$ac_ext <<_ACEOF
25196 /* confdefs.h.  */
25197 _ACEOF
25198 cat confdefs.h >>conftest.$ac_ext
25199 cat >>conftest.$ac_ext <<_ACEOF
25200 /* end confdefs.h.  */
25201
25202 /* Override any gcc2 internal prototype to avoid an error.  */
25203 #ifdef __cplusplus
25204 extern "C"
25205 #endif
25206 /* We use char because int might match the return type of a gcc2
25207    builtin and then its argument prototype would still apply.  */
25208 char log10 ();
25209 int
25210 main ()
25211 {
25212 log10 ();
25213   ;
25214   return 0;
25215 }
25216 _ACEOF
25217 rm -f conftest.$ac_objext conftest$ac_exeext
25218 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25219   (eval $ac_link) 2>conftest.er1
25220   ac_status=$?
25221   grep -v '^ *+' conftest.er1 >conftest.err
25222   rm -f conftest.er1
25223   cat conftest.err >&5
25224   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25225   (exit $ac_status); } &&
25226          { ac_try='test -z "$ac_c_werror_flag"
25227                          || test ! -s conftest.err'
25228   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25229   (eval $ac_try) 2>&5
25230   ac_status=$?
25231   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25232   (exit $ac_status); }; } &&
25233          { ac_try='test -s conftest$ac_exeext'
25234   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25235   (eval $ac_try) 2>&5
25236   ac_status=$?
25237   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25238   (exit $ac_status); }; }; then
25239   ac_cv_lib_m_log10=yes
25240 else
25241   echo "$as_me: failed program was:" >&5
25242 sed 's/^/| /' conftest.$ac_ext >&5
25243
25244 ac_cv_lib_m_log10=no
25245 fi
25246 rm -f conftest.err conftest.$ac_objext \
25247       conftest$ac_exeext conftest.$ac_ext
25248 LIBS=$ac_check_lib_save_LIBS
25249 fi
25250 echo "$as_me:$LINENO: result: $ac_cv_lib_m_log10" >&5
25251 echo "${ECHO_T}$ac_cv_lib_m_log10" >&6
25252 if test $ac_cv_lib_m_log10 = yes; then
25253
25254 cat >>confdefs.h <<\_ACEOF
25255 #define HAVE_LOG10 1
25256 _ACEOF
25257
25258 fi
25259
25260 echo "$as_me:$LINENO: checking for log10l in -lm" >&5
25261 echo $ECHO_N "checking for log10l in -lm... $ECHO_C" >&6
25262 if test "${ac_cv_lib_m_log10l+set}" = set; then
25263   echo $ECHO_N "(cached) $ECHO_C" >&6
25264 else
25265   ac_check_lib_save_LIBS=$LIBS
25266 LIBS="-lm  $LIBS"
25267 if test x$gcc_no_link = xyes; then
25268   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25269 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25270    { (exit 1); exit 1; }; }
25271 fi
25272 cat >conftest.$ac_ext <<_ACEOF
25273 /* confdefs.h.  */
25274 _ACEOF
25275 cat confdefs.h >>conftest.$ac_ext
25276 cat >>conftest.$ac_ext <<_ACEOF
25277 /* end confdefs.h.  */
25278
25279 /* Override any gcc2 internal prototype to avoid an error.  */
25280 #ifdef __cplusplus
25281 extern "C"
25282 #endif
25283 /* We use char because int might match the return type of a gcc2
25284    builtin and then its argument prototype would still apply.  */
25285 char log10l ();
25286 int
25287 main ()
25288 {
25289 log10l ();
25290   ;
25291   return 0;
25292 }
25293 _ACEOF
25294 rm -f conftest.$ac_objext conftest$ac_exeext
25295 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25296   (eval $ac_link) 2>conftest.er1
25297   ac_status=$?
25298   grep -v '^ *+' conftest.er1 >conftest.err
25299   rm -f conftest.er1
25300   cat conftest.err >&5
25301   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25302   (exit $ac_status); } &&
25303          { ac_try='test -z "$ac_c_werror_flag"
25304                          || test ! -s conftest.err'
25305   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25306   (eval $ac_try) 2>&5
25307   ac_status=$?
25308   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25309   (exit $ac_status); }; } &&
25310          { ac_try='test -s conftest$ac_exeext'
25311   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25312   (eval $ac_try) 2>&5
25313   ac_status=$?
25314   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25315   (exit $ac_status); }; }; then
25316   ac_cv_lib_m_log10l=yes
25317 else
25318   echo "$as_me: failed program was:" >&5
25319 sed 's/^/| /' conftest.$ac_ext >&5
25320
25321 ac_cv_lib_m_log10l=no
25322 fi
25323 rm -f conftest.err conftest.$ac_objext \
25324       conftest$ac_exeext conftest.$ac_ext
25325 LIBS=$ac_check_lib_save_LIBS
25326 fi
25327 echo "$as_me:$LINENO: result: $ac_cv_lib_m_log10l" >&5
25328 echo "${ECHO_T}$ac_cv_lib_m_log10l" >&6
25329 if test $ac_cv_lib_m_log10l = yes; then
25330
25331 cat >>confdefs.h <<\_ACEOF
25332 #define HAVE_LOG10L 1
25333 _ACEOF
25334
25335 fi
25336
25337 echo "$as_me:$LINENO: checking for clog10f in -lm" >&5
25338 echo $ECHO_N "checking for clog10f in -lm... $ECHO_C" >&6
25339 if test "${ac_cv_lib_m_clog10f+set}" = set; then
25340   echo $ECHO_N "(cached) $ECHO_C" >&6
25341 else
25342   ac_check_lib_save_LIBS=$LIBS
25343 LIBS="-lm  $LIBS"
25344 if test x$gcc_no_link = xyes; then
25345   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25346 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25347    { (exit 1); exit 1; }; }
25348 fi
25349 cat >conftest.$ac_ext <<_ACEOF
25350 /* confdefs.h.  */
25351 _ACEOF
25352 cat confdefs.h >>conftest.$ac_ext
25353 cat >>conftest.$ac_ext <<_ACEOF
25354 /* end confdefs.h.  */
25355
25356 /* Override any gcc2 internal prototype to avoid an error.  */
25357 #ifdef __cplusplus
25358 extern "C"
25359 #endif
25360 /* We use char because int might match the return type of a gcc2
25361    builtin and then its argument prototype would still apply.  */
25362 char clog10f ();
25363 int
25364 main ()
25365 {
25366 clog10f ();
25367   ;
25368   return 0;
25369 }
25370 _ACEOF
25371 rm -f conftest.$ac_objext conftest$ac_exeext
25372 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25373   (eval $ac_link) 2>conftest.er1
25374   ac_status=$?
25375   grep -v '^ *+' conftest.er1 >conftest.err
25376   rm -f conftest.er1
25377   cat conftest.err >&5
25378   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25379   (exit $ac_status); } &&
25380          { ac_try='test -z "$ac_c_werror_flag"
25381                          || test ! -s conftest.err'
25382   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25383   (eval $ac_try) 2>&5
25384   ac_status=$?
25385   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25386   (exit $ac_status); }; } &&
25387          { ac_try='test -s conftest$ac_exeext'
25388   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25389   (eval $ac_try) 2>&5
25390   ac_status=$?
25391   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25392   (exit $ac_status); }; }; then
25393   ac_cv_lib_m_clog10f=yes
25394 else
25395   echo "$as_me: failed program was:" >&5
25396 sed 's/^/| /' conftest.$ac_ext >&5
25397
25398 ac_cv_lib_m_clog10f=no
25399 fi
25400 rm -f conftest.err conftest.$ac_objext \
25401       conftest$ac_exeext conftest.$ac_ext
25402 LIBS=$ac_check_lib_save_LIBS
25403 fi
25404 echo "$as_me:$LINENO: result: $ac_cv_lib_m_clog10f" >&5
25405 echo "${ECHO_T}$ac_cv_lib_m_clog10f" >&6
25406 if test $ac_cv_lib_m_clog10f = yes; then
25407
25408 cat >>confdefs.h <<\_ACEOF
25409 #define HAVE_CLOG10F 1
25410 _ACEOF
25411
25412 fi
25413
25414 echo "$as_me:$LINENO: checking for clog10 in -lm" >&5
25415 echo $ECHO_N "checking for clog10 in -lm... $ECHO_C" >&6
25416 if test "${ac_cv_lib_m_clog10+set}" = set; then
25417   echo $ECHO_N "(cached) $ECHO_C" >&6
25418 else
25419   ac_check_lib_save_LIBS=$LIBS
25420 LIBS="-lm  $LIBS"
25421 if test x$gcc_no_link = xyes; then
25422   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25423 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25424    { (exit 1); exit 1; }; }
25425 fi
25426 cat >conftest.$ac_ext <<_ACEOF
25427 /* confdefs.h.  */
25428 _ACEOF
25429 cat confdefs.h >>conftest.$ac_ext
25430 cat >>conftest.$ac_ext <<_ACEOF
25431 /* end confdefs.h.  */
25432
25433 /* Override any gcc2 internal prototype to avoid an error.  */
25434 #ifdef __cplusplus
25435 extern "C"
25436 #endif
25437 /* We use char because int might match the return type of a gcc2
25438    builtin and then its argument prototype would still apply.  */
25439 char clog10 ();
25440 int
25441 main ()
25442 {
25443 clog10 ();
25444   ;
25445   return 0;
25446 }
25447 _ACEOF
25448 rm -f conftest.$ac_objext conftest$ac_exeext
25449 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25450   (eval $ac_link) 2>conftest.er1
25451   ac_status=$?
25452   grep -v '^ *+' conftest.er1 >conftest.err
25453   rm -f conftest.er1
25454   cat conftest.err >&5
25455   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25456   (exit $ac_status); } &&
25457          { ac_try='test -z "$ac_c_werror_flag"
25458                          || test ! -s conftest.err'
25459   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25460   (eval $ac_try) 2>&5
25461   ac_status=$?
25462   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25463   (exit $ac_status); }; } &&
25464          { ac_try='test -s conftest$ac_exeext'
25465   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25466   (eval $ac_try) 2>&5
25467   ac_status=$?
25468   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25469   (exit $ac_status); }; }; then
25470   ac_cv_lib_m_clog10=yes
25471 else
25472   echo "$as_me: failed program was:" >&5
25473 sed 's/^/| /' conftest.$ac_ext >&5
25474
25475 ac_cv_lib_m_clog10=no
25476 fi
25477 rm -f conftest.err conftest.$ac_objext \
25478       conftest$ac_exeext conftest.$ac_ext
25479 LIBS=$ac_check_lib_save_LIBS
25480 fi
25481 echo "$as_me:$LINENO: result: $ac_cv_lib_m_clog10" >&5
25482 echo "${ECHO_T}$ac_cv_lib_m_clog10" >&6
25483 if test $ac_cv_lib_m_clog10 = yes; then
25484
25485 cat >>confdefs.h <<\_ACEOF
25486 #define HAVE_CLOG10 1
25487 _ACEOF
25488
25489 fi
25490
25491 echo "$as_me:$LINENO: checking for clog10l in -lm" >&5
25492 echo $ECHO_N "checking for clog10l in -lm... $ECHO_C" >&6
25493 if test "${ac_cv_lib_m_clog10l+set}" = set; then
25494   echo $ECHO_N "(cached) $ECHO_C" >&6
25495 else
25496   ac_check_lib_save_LIBS=$LIBS
25497 LIBS="-lm  $LIBS"
25498 if test x$gcc_no_link = xyes; then
25499   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25500 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25501    { (exit 1); exit 1; }; }
25502 fi
25503 cat >conftest.$ac_ext <<_ACEOF
25504 /* confdefs.h.  */
25505 _ACEOF
25506 cat confdefs.h >>conftest.$ac_ext
25507 cat >>conftest.$ac_ext <<_ACEOF
25508 /* end confdefs.h.  */
25509
25510 /* Override any gcc2 internal prototype to avoid an error.  */
25511 #ifdef __cplusplus
25512 extern "C"
25513 #endif
25514 /* We use char because int might match the return type of a gcc2
25515    builtin and then its argument prototype would still apply.  */
25516 char clog10l ();
25517 int
25518 main ()
25519 {
25520 clog10l ();
25521   ;
25522   return 0;
25523 }
25524 _ACEOF
25525 rm -f conftest.$ac_objext conftest$ac_exeext
25526 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25527   (eval $ac_link) 2>conftest.er1
25528   ac_status=$?
25529   grep -v '^ *+' conftest.er1 >conftest.err
25530   rm -f conftest.er1
25531   cat conftest.err >&5
25532   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25533   (exit $ac_status); } &&
25534          { ac_try='test -z "$ac_c_werror_flag"
25535                          || test ! -s conftest.err'
25536   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25537   (eval $ac_try) 2>&5
25538   ac_status=$?
25539   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25540   (exit $ac_status); }; } &&
25541          { ac_try='test -s conftest$ac_exeext'
25542   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25543   (eval $ac_try) 2>&5
25544   ac_status=$?
25545   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25546   (exit $ac_status); }; }; then
25547   ac_cv_lib_m_clog10l=yes
25548 else
25549   echo "$as_me: failed program was:" >&5
25550 sed 's/^/| /' conftest.$ac_ext >&5
25551
25552 ac_cv_lib_m_clog10l=no
25553 fi
25554 rm -f conftest.err conftest.$ac_objext \
25555       conftest$ac_exeext conftest.$ac_ext
25556 LIBS=$ac_check_lib_save_LIBS
25557 fi
25558 echo "$as_me:$LINENO: result: $ac_cv_lib_m_clog10l" >&5
25559 echo "${ECHO_T}$ac_cv_lib_m_clog10l" >&6
25560 if test $ac_cv_lib_m_clog10l = yes; then
25561
25562 cat >>confdefs.h <<\_ACEOF
25563 #define HAVE_CLOG10L 1
25564 _ACEOF
25565
25566 fi
25567
25568 echo "$as_me:$LINENO: checking for nextafterf in -lm" >&5
25569 echo $ECHO_N "checking for nextafterf in -lm... $ECHO_C" >&6
25570 if test "${ac_cv_lib_m_nextafterf+set}" = set; then
25571   echo $ECHO_N "(cached) $ECHO_C" >&6
25572 else
25573   ac_check_lib_save_LIBS=$LIBS
25574 LIBS="-lm  $LIBS"
25575 if test x$gcc_no_link = xyes; then
25576   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25577 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25578    { (exit 1); exit 1; }; }
25579 fi
25580 cat >conftest.$ac_ext <<_ACEOF
25581 /* confdefs.h.  */
25582 _ACEOF
25583 cat confdefs.h >>conftest.$ac_ext
25584 cat >>conftest.$ac_ext <<_ACEOF
25585 /* end confdefs.h.  */
25586
25587 /* Override any gcc2 internal prototype to avoid an error.  */
25588 #ifdef __cplusplus
25589 extern "C"
25590 #endif
25591 /* We use char because int might match the return type of a gcc2
25592    builtin and then its argument prototype would still apply.  */
25593 char nextafterf ();
25594 int
25595 main ()
25596 {
25597 nextafterf ();
25598   ;
25599   return 0;
25600 }
25601 _ACEOF
25602 rm -f conftest.$ac_objext conftest$ac_exeext
25603 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25604   (eval $ac_link) 2>conftest.er1
25605   ac_status=$?
25606   grep -v '^ *+' conftest.er1 >conftest.err
25607   rm -f conftest.er1
25608   cat conftest.err >&5
25609   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25610   (exit $ac_status); } &&
25611          { ac_try='test -z "$ac_c_werror_flag"
25612                          || test ! -s conftest.err'
25613   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25614   (eval $ac_try) 2>&5
25615   ac_status=$?
25616   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25617   (exit $ac_status); }; } &&
25618          { ac_try='test -s conftest$ac_exeext'
25619   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25620   (eval $ac_try) 2>&5
25621   ac_status=$?
25622   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25623   (exit $ac_status); }; }; then
25624   ac_cv_lib_m_nextafterf=yes
25625 else
25626   echo "$as_me: failed program was:" >&5
25627 sed 's/^/| /' conftest.$ac_ext >&5
25628
25629 ac_cv_lib_m_nextafterf=no
25630 fi
25631 rm -f conftest.err conftest.$ac_objext \
25632       conftest$ac_exeext conftest.$ac_ext
25633 LIBS=$ac_check_lib_save_LIBS
25634 fi
25635 echo "$as_me:$LINENO: result: $ac_cv_lib_m_nextafterf" >&5
25636 echo "${ECHO_T}$ac_cv_lib_m_nextafterf" >&6
25637 if test $ac_cv_lib_m_nextafterf = yes; then
25638
25639 cat >>confdefs.h <<\_ACEOF
25640 #define HAVE_NEXTAFTERF 1
25641 _ACEOF
25642
25643 fi
25644
25645 echo "$as_me:$LINENO: checking for nextafter in -lm" >&5
25646 echo $ECHO_N "checking for nextafter in -lm... $ECHO_C" >&6
25647 if test "${ac_cv_lib_m_nextafter+set}" = set; then
25648   echo $ECHO_N "(cached) $ECHO_C" >&6
25649 else
25650   ac_check_lib_save_LIBS=$LIBS
25651 LIBS="-lm  $LIBS"
25652 if test x$gcc_no_link = xyes; then
25653   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25654 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25655    { (exit 1); exit 1; }; }
25656 fi
25657 cat >conftest.$ac_ext <<_ACEOF
25658 /* confdefs.h.  */
25659 _ACEOF
25660 cat confdefs.h >>conftest.$ac_ext
25661 cat >>conftest.$ac_ext <<_ACEOF
25662 /* end confdefs.h.  */
25663
25664 /* Override any gcc2 internal prototype to avoid an error.  */
25665 #ifdef __cplusplus
25666 extern "C"
25667 #endif
25668 /* We use char because int might match the return type of a gcc2
25669    builtin and then its argument prototype would still apply.  */
25670 char nextafter ();
25671 int
25672 main ()
25673 {
25674 nextafter ();
25675   ;
25676   return 0;
25677 }
25678 _ACEOF
25679 rm -f conftest.$ac_objext conftest$ac_exeext
25680 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25681   (eval $ac_link) 2>conftest.er1
25682   ac_status=$?
25683   grep -v '^ *+' conftest.er1 >conftest.err
25684   rm -f conftest.er1
25685   cat conftest.err >&5
25686   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25687   (exit $ac_status); } &&
25688          { ac_try='test -z "$ac_c_werror_flag"
25689                          || test ! -s conftest.err'
25690   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25691   (eval $ac_try) 2>&5
25692   ac_status=$?
25693   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25694   (exit $ac_status); }; } &&
25695          { ac_try='test -s conftest$ac_exeext'
25696   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25697   (eval $ac_try) 2>&5
25698   ac_status=$?
25699   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25700   (exit $ac_status); }; }; then
25701   ac_cv_lib_m_nextafter=yes
25702 else
25703   echo "$as_me: failed program was:" >&5
25704 sed 's/^/| /' conftest.$ac_ext >&5
25705
25706 ac_cv_lib_m_nextafter=no
25707 fi
25708 rm -f conftest.err conftest.$ac_objext \
25709       conftest$ac_exeext conftest.$ac_ext
25710 LIBS=$ac_check_lib_save_LIBS
25711 fi
25712 echo "$as_me:$LINENO: result: $ac_cv_lib_m_nextafter" >&5
25713 echo "${ECHO_T}$ac_cv_lib_m_nextafter" >&6
25714 if test $ac_cv_lib_m_nextafter = yes; then
25715
25716 cat >>confdefs.h <<\_ACEOF
25717 #define HAVE_NEXTAFTER 1
25718 _ACEOF
25719
25720 fi
25721
25722 echo "$as_me:$LINENO: checking for nextafterl in -lm" >&5
25723 echo $ECHO_N "checking for nextafterl in -lm... $ECHO_C" >&6
25724 if test "${ac_cv_lib_m_nextafterl+set}" = set; then
25725   echo $ECHO_N "(cached) $ECHO_C" >&6
25726 else
25727   ac_check_lib_save_LIBS=$LIBS
25728 LIBS="-lm  $LIBS"
25729 if test x$gcc_no_link = xyes; then
25730   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25731 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25732    { (exit 1); exit 1; }; }
25733 fi
25734 cat >conftest.$ac_ext <<_ACEOF
25735 /* confdefs.h.  */
25736 _ACEOF
25737 cat confdefs.h >>conftest.$ac_ext
25738 cat >>conftest.$ac_ext <<_ACEOF
25739 /* end confdefs.h.  */
25740
25741 /* Override any gcc2 internal prototype to avoid an error.  */
25742 #ifdef __cplusplus
25743 extern "C"
25744 #endif
25745 /* We use char because int might match the return type of a gcc2
25746    builtin and then its argument prototype would still apply.  */
25747 char nextafterl ();
25748 int
25749 main ()
25750 {
25751 nextafterl ();
25752   ;
25753   return 0;
25754 }
25755 _ACEOF
25756 rm -f conftest.$ac_objext conftest$ac_exeext
25757 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25758   (eval $ac_link) 2>conftest.er1
25759   ac_status=$?
25760   grep -v '^ *+' conftest.er1 >conftest.err
25761   rm -f conftest.er1
25762   cat conftest.err >&5
25763   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25764   (exit $ac_status); } &&
25765          { ac_try='test -z "$ac_c_werror_flag"
25766                          || test ! -s conftest.err'
25767   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25768   (eval $ac_try) 2>&5
25769   ac_status=$?
25770   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25771   (exit $ac_status); }; } &&
25772          { ac_try='test -s conftest$ac_exeext'
25773   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25774   (eval $ac_try) 2>&5
25775   ac_status=$?
25776   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25777   (exit $ac_status); }; }; then
25778   ac_cv_lib_m_nextafterl=yes
25779 else
25780   echo "$as_me: failed program was:" >&5
25781 sed 's/^/| /' conftest.$ac_ext >&5
25782
25783 ac_cv_lib_m_nextafterl=no
25784 fi
25785 rm -f conftest.err conftest.$ac_objext \
25786       conftest$ac_exeext conftest.$ac_ext
25787 LIBS=$ac_check_lib_save_LIBS
25788 fi
25789 echo "$as_me:$LINENO: result: $ac_cv_lib_m_nextafterl" >&5
25790 echo "${ECHO_T}$ac_cv_lib_m_nextafterl" >&6
25791 if test $ac_cv_lib_m_nextafterl = yes; then
25792
25793 cat >>confdefs.h <<\_ACEOF
25794 #define HAVE_NEXTAFTERL 1
25795 _ACEOF
25796
25797 fi
25798
25799 echo "$as_me:$LINENO: checking for powf in -lm" >&5
25800 echo $ECHO_N "checking for powf in -lm... $ECHO_C" >&6
25801 if test "${ac_cv_lib_m_powf+set}" = set; then
25802   echo $ECHO_N "(cached) $ECHO_C" >&6
25803 else
25804   ac_check_lib_save_LIBS=$LIBS
25805 LIBS="-lm  $LIBS"
25806 if test x$gcc_no_link = xyes; then
25807   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25808 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25809    { (exit 1); exit 1; }; }
25810 fi
25811 cat >conftest.$ac_ext <<_ACEOF
25812 /* confdefs.h.  */
25813 _ACEOF
25814 cat confdefs.h >>conftest.$ac_ext
25815 cat >>conftest.$ac_ext <<_ACEOF
25816 /* end confdefs.h.  */
25817
25818 /* Override any gcc2 internal prototype to avoid an error.  */
25819 #ifdef __cplusplus
25820 extern "C"
25821 #endif
25822 /* We use char because int might match the return type of a gcc2
25823    builtin and then its argument prototype would still apply.  */
25824 char powf ();
25825 int
25826 main ()
25827 {
25828 powf ();
25829   ;
25830   return 0;
25831 }
25832 _ACEOF
25833 rm -f conftest.$ac_objext conftest$ac_exeext
25834 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25835   (eval $ac_link) 2>conftest.er1
25836   ac_status=$?
25837   grep -v '^ *+' conftest.er1 >conftest.err
25838   rm -f conftest.er1
25839   cat conftest.err >&5
25840   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25841   (exit $ac_status); } &&
25842          { ac_try='test -z "$ac_c_werror_flag"
25843                          || test ! -s conftest.err'
25844   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25845   (eval $ac_try) 2>&5
25846   ac_status=$?
25847   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25848   (exit $ac_status); }; } &&
25849          { ac_try='test -s conftest$ac_exeext'
25850   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25851   (eval $ac_try) 2>&5
25852   ac_status=$?
25853   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25854   (exit $ac_status); }; }; then
25855   ac_cv_lib_m_powf=yes
25856 else
25857   echo "$as_me: failed program was:" >&5
25858 sed 's/^/| /' conftest.$ac_ext >&5
25859
25860 ac_cv_lib_m_powf=no
25861 fi
25862 rm -f conftest.err conftest.$ac_objext \
25863       conftest$ac_exeext conftest.$ac_ext
25864 LIBS=$ac_check_lib_save_LIBS
25865 fi
25866 echo "$as_me:$LINENO: result: $ac_cv_lib_m_powf" >&5
25867 echo "${ECHO_T}$ac_cv_lib_m_powf" >&6
25868 if test $ac_cv_lib_m_powf = yes; then
25869
25870 cat >>confdefs.h <<\_ACEOF
25871 #define HAVE_POWF 1
25872 _ACEOF
25873
25874 fi
25875
25876 echo "$as_me:$LINENO: checking for pow in -lm" >&5
25877 echo $ECHO_N "checking for pow in -lm... $ECHO_C" >&6
25878 if test "${ac_cv_lib_m_pow+set}" = set; then
25879   echo $ECHO_N "(cached) $ECHO_C" >&6
25880 else
25881   ac_check_lib_save_LIBS=$LIBS
25882 LIBS="-lm  $LIBS"
25883 if test x$gcc_no_link = xyes; then
25884   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25885 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25886    { (exit 1); exit 1; }; }
25887 fi
25888 cat >conftest.$ac_ext <<_ACEOF
25889 /* confdefs.h.  */
25890 _ACEOF
25891 cat confdefs.h >>conftest.$ac_ext
25892 cat >>conftest.$ac_ext <<_ACEOF
25893 /* end confdefs.h.  */
25894
25895 /* Override any gcc2 internal prototype to avoid an error.  */
25896 #ifdef __cplusplus
25897 extern "C"
25898 #endif
25899 /* We use char because int might match the return type of a gcc2
25900    builtin and then its argument prototype would still apply.  */
25901 char pow ();
25902 int
25903 main ()
25904 {
25905 pow ();
25906   ;
25907   return 0;
25908 }
25909 _ACEOF
25910 rm -f conftest.$ac_objext conftest$ac_exeext
25911 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25912   (eval $ac_link) 2>conftest.er1
25913   ac_status=$?
25914   grep -v '^ *+' conftest.er1 >conftest.err
25915   rm -f conftest.er1
25916   cat conftest.err >&5
25917   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25918   (exit $ac_status); } &&
25919          { ac_try='test -z "$ac_c_werror_flag"
25920                          || test ! -s conftest.err'
25921   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25922   (eval $ac_try) 2>&5
25923   ac_status=$?
25924   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25925   (exit $ac_status); }; } &&
25926          { ac_try='test -s conftest$ac_exeext'
25927   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25928   (eval $ac_try) 2>&5
25929   ac_status=$?
25930   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25931   (exit $ac_status); }; }; then
25932   ac_cv_lib_m_pow=yes
25933 else
25934   echo "$as_me: failed program was:" >&5
25935 sed 's/^/| /' conftest.$ac_ext >&5
25936
25937 ac_cv_lib_m_pow=no
25938 fi
25939 rm -f conftest.err conftest.$ac_objext \
25940       conftest$ac_exeext conftest.$ac_ext
25941 LIBS=$ac_check_lib_save_LIBS
25942 fi
25943 echo "$as_me:$LINENO: result: $ac_cv_lib_m_pow" >&5
25944 echo "${ECHO_T}$ac_cv_lib_m_pow" >&6
25945 if test $ac_cv_lib_m_pow = yes; then
25946
25947 cat >>confdefs.h <<\_ACEOF
25948 #define HAVE_POW 1
25949 _ACEOF
25950
25951 fi
25952
25953 echo "$as_me:$LINENO: checking for powl in -lm" >&5
25954 echo $ECHO_N "checking for powl in -lm... $ECHO_C" >&6
25955 if test "${ac_cv_lib_m_powl+set}" = set; then
25956   echo $ECHO_N "(cached) $ECHO_C" >&6
25957 else
25958   ac_check_lib_save_LIBS=$LIBS
25959 LIBS="-lm  $LIBS"
25960 if test x$gcc_no_link = xyes; then
25961   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25962 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25963    { (exit 1); exit 1; }; }
25964 fi
25965 cat >conftest.$ac_ext <<_ACEOF
25966 /* confdefs.h.  */
25967 _ACEOF
25968 cat confdefs.h >>conftest.$ac_ext
25969 cat >>conftest.$ac_ext <<_ACEOF
25970 /* end confdefs.h.  */
25971
25972 /* Override any gcc2 internal prototype to avoid an error.  */
25973 #ifdef __cplusplus
25974 extern "C"
25975 #endif
25976 /* We use char because int might match the return type of a gcc2
25977    builtin and then its argument prototype would still apply.  */
25978 char powl ();
25979 int
25980 main ()
25981 {
25982 powl ();
25983   ;
25984   return 0;
25985 }
25986 _ACEOF
25987 rm -f conftest.$ac_objext conftest$ac_exeext
25988 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25989   (eval $ac_link) 2>conftest.er1
25990   ac_status=$?
25991   grep -v '^ *+' conftest.er1 >conftest.err
25992   rm -f conftest.er1
25993   cat conftest.err >&5
25994   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25995   (exit $ac_status); } &&
25996          { ac_try='test -z "$ac_c_werror_flag"
25997                          || test ! -s conftest.err'
25998   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25999   (eval $ac_try) 2>&5
26000   ac_status=$?
26001   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26002   (exit $ac_status); }; } &&
26003          { ac_try='test -s conftest$ac_exeext'
26004   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26005   (eval $ac_try) 2>&5
26006   ac_status=$?
26007   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26008   (exit $ac_status); }; }; then
26009   ac_cv_lib_m_powl=yes
26010 else
26011   echo "$as_me: failed program was:" >&5
26012 sed 's/^/| /' conftest.$ac_ext >&5
26013
26014 ac_cv_lib_m_powl=no
26015 fi
26016 rm -f conftest.err conftest.$ac_objext \
26017       conftest$ac_exeext conftest.$ac_ext
26018 LIBS=$ac_check_lib_save_LIBS
26019 fi
26020 echo "$as_me:$LINENO: result: $ac_cv_lib_m_powl" >&5
26021 echo "${ECHO_T}$ac_cv_lib_m_powl" >&6
26022 if test $ac_cv_lib_m_powl = yes; then
26023
26024 cat >>confdefs.h <<\_ACEOF
26025 #define HAVE_POWL 1
26026 _ACEOF
26027
26028 fi
26029
26030 echo "$as_me:$LINENO: checking for cpowf in -lm" >&5
26031 echo $ECHO_N "checking for cpowf in -lm... $ECHO_C" >&6
26032 if test "${ac_cv_lib_m_cpowf+set}" = set; then
26033   echo $ECHO_N "(cached) $ECHO_C" >&6
26034 else
26035   ac_check_lib_save_LIBS=$LIBS
26036 LIBS="-lm  $LIBS"
26037 if test x$gcc_no_link = xyes; then
26038   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26039 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26040    { (exit 1); exit 1; }; }
26041 fi
26042 cat >conftest.$ac_ext <<_ACEOF
26043 /* confdefs.h.  */
26044 _ACEOF
26045 cat confdefs.h >>conftest.$ac_ext
26046 cat >>conftest.$ac_ext <<_ACEOF
26047 /* end confdefs.h.  */
26048
26049 /* Override any gcc2 internal prototype to avoid an error.  */
26050 #ifdef __cplusplus
26051 extern "C"
26052 #endif
26053 /* We use char because int might match the return type of a gcc2
26054    builtin and then its argument prototype would still apply.  */
26055 char cpowf ();
26056 int
26057 main ()
26058 {
26059 cpowf ();
26060   ;
26061   return 0;
26062 }
26063 _ACEOF
26064 rm -f conftest.$ac_objext conftest$ac_exeext
26065 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26066   (eval $ac_link) 2>conftest.er1
26067   ac_status=$?
26068   grep -v '^ *+' conftest.er1 >conftest.err
26069   rm -f conftest.er1
26070   cat conftest.err >&5
26071   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26072   (exit $ac_status); } &&
26073          { ac_try='test -z "$ac_c_werror_flag"
26074                          || test ! -s conftest.err'
26075   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26076   (eval $ac_try) 2>&5
26077   ac_status=$?
26078   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26079   (exit $ac_status); }; } &&
26080          { ac_try='test -s conftest$ac_exeext'
26081   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26082   (eval $ac_try) 2>&5
26083   ac_status=$?
26084   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26085   (exit $ac_status); }; }; then
26086   ac_cv_lib_m_cpowf=yes
26087 else
26088   echo "$as_me: failed program was:" >&5
26089 sed 's/^/| /' conftest.$ac_ext >&5
26090
26091 ac_cv_lib_m_cpowf=no
26092 fi
26093 rm -f conftest.err conftest.$ac_objext \
26094       conftest$ac_exeext conftest.$ac_ext
26095 LIBS=$ac_check_lib_save_LIBS
26096 fi
26097 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cpowf" >&5
26098 echo "${ECHO_T}$ac_cv_lib_m_cpowf" >&6
26099 if test $ac_cv_lib_m_cpowf = yes; then
26100
26101 cat >>confdefs.h <<\_ACEOF
26102 #define HAVE_CPOWF 1
26103 _ACEOF
26104
26105 fi
26106
26107 echo "$as_me:$LINENO: checking for cpow in -lm" >&5
26108 echo $ECHO_N "checking for cpow in -lm... $ECHO_C" >&6
26109 if test "${ac_cv_lib_m_cpow+set}" = set; then
26110   echo $ECHO_N "(cached) $ECHO_C" >&6
26111 else
26112   ac_check_lib_save_LIBS=$LIBS
26113 LIBS="-lm  $LIBS"
26114 if test x$gcc_no_link = xyes; then
26115   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26116 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26117    { (exit 1); exit 1; }; }
26118 fi
26119 cat >conftest.$ac_ext <<_ACEOF
26120 /* confdefs.h.  */
26121 _ACEOF
26122 cat confdefs.h >>conftest.$ac_ext
26123 cat >>conftest.$ac_ext <<_ACEOF
26124 /* end confdefs.h.  */
26125
26126 /* Override any gcc2 internal prototype to avoid an error.  */
26127 #ifdef __cplusplus
26128 extern "C"
26129 #endif
26130 /* We use char because int might match the return type of a gcc2
26131    builtin and then its argument prototype would still apply.  */
26132 char cpow ();
26133 int
26134 main ()
26135 {
26136 cpow ();
26137   ;
26138   return 0;
26139 }
26140 _ACEOF
26141 rm -f conftest.$ac_objext conftest$ac_exeext
26142 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26143   (eval $ac_link) 2>conftest.er1
26144   ac_status=$?
26145   grep -v '^ *+' conftest.er1 >conftest.err
26146   rm -f conftest.er1
26147   cat conftest.err >&5
26148   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26149   (exit $ac_status); } &&
26150          { ac_try='test -z "$ac_c_werror_flag"
26151                          || test ! -s conftest.err'
26152   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26153   (eval $ac_try) 2>&5
26154   ac_status=$?
26155   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26156   (exit $ac_status); }; } &&
26157          { ac_try='test -s conftest$ac_exeext'
26158   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26159   (eval $ac_try) 2>&5
26160   ac_status=$?
26161   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26162   (exit $ac_status); }; }; then
26163   ac_cv_lib_m_cpow=yes
26164 else
26165   echo "$as_me: failed program was:" >&5
26166 sed 's/^/| /' conftest.$ac_ext >&5
26167
26168 ac_cv_lib_m_cpow=no
26169 fi
26170 rm -f conftest.err conftest.$ac_objext \
26171       conftest$ac_exeext conftest.$ac_ext
26172 LIBS=$ac_check_lib_save_LIBS
26173 fi
26174 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cpow" >&5
26175 echo "${ECHO_T}$ac_cv_lib_m_cpow" >&6
26176 if test $ac_cv_lib_m_cpow = yes; then
26177
26178 cat >>confdefs.h <<\_ACEOF
26179 #define HAVE_CPOW 1
26180 _ACEOF
26181
26182 fi
26183
26184 echo "$as_me:$LINENO: checking for cpowl in -lm" >&5
26185 echo $ECHO_N "checking for cpowl in -lm... $ECHO_C" >&6
26186 if test "${ac_cv_lib_m_cpowl+set}" = set; then
26187   echo $ECHO_N "(cached) $ECHO_C" >&6
26188 else
26189   ac_check_lib_save_LIBS=$LIBS
26190 LIBS="-lm  $LIBS"
26191 if test x$gcc_no_link = xyes; then
26192   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26193 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26194    { (exit 1); exit 1; }; }
26195 fi
26196 cat >conftest.$ac_ext <<_ACEOF
26197 /* confdefs.h.  */
26198 _ACEOF
26199 cat confdefs.h >>conftest.$ac_ext
26200 cat >>conftest.$ac_ext <<_ACEOF
26201 /* end confdefs.h.  */
26202
26203 /* Override any gcc2 internal prototype to avoid an error.  */
26204 #ifdef __cplusplus
26205 extern "C"
26206 #endif
26207 /* We use char because int might match the return type of a gcc2
26208    builtin and then its argument prototype would still apply.  */
26209 char cpowl ();
26210 int
26211 main ()
26212 {
26213 cpowl ();
26214   ;
26215   return 0;
26216 }
26217 _ACEOF
26218 rm -f conftest.$ac_objext conftest$ac_exeext
26219 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26220   (eval $ac_link) 2>conftest.er1
26221   ac_status=$?
26222   grep -v '^ *+' conftest.er1 >conftest.err
26223   rm -f conftest.er1
26224   cat conftest.err >&5
26225   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26226   (exit $ac_status); } &&
26227          { ac_try='test -z "$ac_c_werror_flag"
26228                          || test ! -s conftest.err'
26229   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26230   (eval $ac_try) 2>&5
26231   ac_status=$?
26232   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26233   (exit $ac_status); }; } &&
26234          { ac_try='test -s conftest$ac_exeext'
26235   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26236   (eval $ac_try) 2>&5
26237   ac_status=$?
26238   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26239   (exit $ac_status); }; }; then
26240   ac_cv_lib_m_cpowl=yes
26241 else
26242   echo "$as_me: failed program was:" >&5
26243 sed 's/^/| /' conftest.$ac_ext >&5
26244
26245 ac_cv_lib_m_cpowl=no
26246 fi
26247 rm -f conftest.err conftest.$ac_objext \
26248       conftest$ac_exeext conftest.$ac_ext
26249 LIBS=$ac_check_lib_save_LIBS
26250 fi
26251 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cpowl" >&5
26252 echo "${ECHO_T}$ac_cv_lib_m_cpowl" >&6
26253 if test $ac_cv_lib_m_cpowl = yes; then
26254
26255 cat >>confdefs.h <<\_ACEOF
26256 #define HAVE_CPOWL 1
26257 _ACEOF
26258
26259 fi
26260
26261 echo "$as_me:$LINENO: checking for roundf in -lm" >&5
26262 echo $ECHO_N "checking for roundf in -lm... $ECHO_C" >&6
26263 if test "${ac_cv_lib_m_roundf+set}" = set; then
26264   echo $ECHO_N "(cached) $ECHO_C" >&6
26265 else
26266   ac_check_lib_save_LIBS=$LIBS
26267 LIBS="-lm  $LIBS"
26268 if test x$gcc_no_link = xyes; then
26269   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26270 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26271    { (exit 1); exit 1; }; }
26272 fi
26273 cat >conftest.$ac_ext <<_ACEOF
26274 /* confdefs.h.  */
26275 _ACEOF
26276 cat confdefs.h >>conftest.$ac_ext
26277 cat >>conftest.$ac_ext <<_ACEOF
26278 /* end confdefs.h.  */
26279
26280 /* Override any gcc2 internal prototype to avoid an error.  */
26281 #ifdef __cplusplus
26282 extern "C"
26283 #endif
26284 /* We use char because int might match the return type of a gcc2
26285    builtin and then its argument prototype would still apply.  */
26286 char roundf ();
26287 int
26288 main ()
26289 {
26290 roundf ();
26291   ;
26292   return 0;
26293 }
26294 _ACEOF
26295 rm -f conftest.$ac_objext conftest$ac_exeext
26296 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26297   (eval $ac_link) 2>conftest.er1
26298   ac_status=$?
26299   grep -v '^ *+' conftest.er1 >conftest.err
26300   rm -f conftest.er1
26301   cat conftest.err >&5
26302   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26303   (exit $ac_status); } &&
26304          { ac_try='test -z "$ac_c_werror_flag"
26305                          || test ! -s conftest.err'
26306   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26307   (eval $ac_try) 2>&5
26308   ac_status=$?
26309   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26310   (exit $ac_status); }; } &&
26311          { ac_try='test -s conftest$ac_exeext'
26312   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26313   (eval $ac_try) 2>&5
26314   ac_status=$?
26315   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26316   (exit $ac_status); }; }; then
26317   ac_cv_lib_m_roundf=yes
26318 else
26319   echo "$as_me: failed program was:" >&5
26320 sed 's/^/| /' conftest.$ac_ext >&5
26321
26322 ac_cv_lib_m_roundf=no
26323 fi
26324 rm -f conftest.err conftest.$ac_objext \
26325       conftest$ac_exeext conftest.$ac_ext
26326 LIBS=$ac_check_lib_save_LIBS
26327 fi
26328 echo "$as_me:$LINENO: result: $ac_cv_lib_m_roundf" >&5
26329 echo "${ECHO_T}$ac_cv_lib_m_roundf" >&6
26330 if test $ac_cv_lib_m_roundf = yes; then
26331
26332 cat >>confdefs.h <<\_ACEOF
26333 #define HAVE_ROUNDF 1
26334 _ACEOF
26335
26336 fi
26337
26338 echo "$as_me:$LINENO: checking for round in -lm" >&5
26339 echo $ECHO_N "checking for round in -lm... $ECHO_C" >&6
26340 if test "${ac_cv_lib_m_round+set}" = set; then
26341   echo $ECHO_N "(cached) $ECHO_C" >&6
26342 else
26343   ac_check_lib_save_LIBS=$LIBS
26344 LIBS="-lm  $LIBS"
26345 if test x$gcc_no_link = xyes; then
26346   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26347 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26348    { (exit 1); exit 1; }; }
26349 fi
26350 cat >conftest.$ac_ext <<_ACEOF
26351 /* confdefs.h.  */
26352 _ACEOF
26353 cat confdefs.h >>conftest.$ac_ext
26354 cat >>conftest.$ac_ext <<_ACEOF
26355 /* end confdefs.h.  */
26356
26357 /* Override any gcc2 internal prototype to avoid an error.  */
26358 #ifdef __cplusplus
26359 extern "C"
26360 #endif
26361 /* We use char because int might match the return type of a gcc2
26362    builtin and then its argument prototype would still apply.  */
26363 char round ();
26364 int
26365 main ()
26366 {
26367 round ();
26368   ;
26369   return 0;
26370 }
26371 _ACEOF
26372 rm -f conftest.$ac_objext conftest$ac_exeext
26373 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26374   (eval $ac_link) 2>conftest.er1
26375   ac_status=$?
26376   grep -v '^ *+' conftest.er1 >conftest.err
26377   rm -f conftest.er1
26378   cat conftest.err >&5
26379   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26380   (exit $ac_status); } &&
26381          { ac_try='test -z "$ac_c_werror_flag"
26382                          || test ! -s conftest.err'
26383   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26384   (eval $ac_try) 2>&5
26385   ac_status=$?
26386   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26387   (exit $ac_status); }; } &&
26388          { ac_try='test -s conftest$ac_exeext'
26389   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26390   (eval $ac_try) 2>&5
26391   ac_status=$?
26392   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26393   (exit $ac_status); }; }; then
26394   ac_cv_lib_m_round=yes
26395 else
26396   echo "$as_me: failed program was:" >&5
26397 sed 's/^/| /' conftest.$ac_ext >&5
26398
26399 ac_cv_lib_m_round=no
26400 fi
26401 rm -f conftest.err conftest.$ac_objext \
26402       conftest$ac_exeext conftest.$ac_ext
26403 LIBS=$ac_check_lib_save_LIBS
26404 fi
26405 echo "$as_me:$LINENO: result: $ac_cv_lib_m_round" >&5
26406 echo "${ECHO_T}$ac_cv_lib_m_round" >&6
26407 if test $ac_cv_lib_m_round = yes; then
26408
26409 cat >>confdefs.h <<\_ACEOF
26410 #define HAVE_ROUND 1
26411 _ACEOF
26412
26413 fi
26414
26415 echo "$as_me:$LINENO: checking for roundl in -lm" >&5
26416 echo $ECHO_N "checking for roundl in -lm... $ECHO_C" >&6
26417 if test "${ac_cv_lib_m_roundl+set}" = set; then
26418   echo $ECHO_N "(cached) $ECHO_C" >&6
26419 else
26420   ac_check_lib_save_LIBS=$LIBS
26421 LIBS="-lm  $LIBS"
26422 if test x$gcc_no_link = xyes; then
26423   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26424 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26425    { (exit 1); exit 1; }; }
26426 fi
26427 cat >conftest.$ac_ext <<_ACEOF
26428 /* confdefs.h.  */
26429 _ACEOF
26430 cat confdefs.h >>conftest.$ac_ext
26431 cat >>conftest.$ac_ext <<_ACEOF
26432 /* end confdefs.h.  */
26433
26434 /* Override any gcc2 internal prototype to avoid an error.  */
26435 #ifdef __cplusplus
26436 extern "C"
26437 #endif
26438 /* We use char because int might match the return type of a gcc2
26439    builtin and then its argument prototype would still apply.  */
26440 char roundl ();
26441 int
26442 main ()
26443 {
26444 roundl ();
26445   ;
26446   return 0;
26447 }
26448 _ACEOF
26449 rm -f conftest.$ac_objext conftest$ac_exeext
26450 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26451   (eval $ac_link) 2>conftest.er1
26452   ac_status=$?
26453   grep -v '^ *+' conftest.er1 >conftest.err
26454   rm -f conftest.er1
26455   cat conftest.err >&5
26456   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26457   (exit $ac_status); } &&
26458          { ac_try='test -z "$ac_c_werror_flag"
26459                          || test ! -s conftest.err'
26460   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26461   (eval $ac_try) 2>&5
26462   ac_status=$?
26463   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26464   (exit $ac_status); }; } &&
26465          { ac_try='test -s conftest$ac_exeext'
26466   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26467   (eval $ac_try) 2>&5
26468   ac_status=$?
26469   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26470   (exit $ac_status); }; }; then
26471   ac_cv_lib_m_roundl=yes
26472 else
26473   echo "$as_me: failed program was:" >&5
26474 sed 's/^/| /' conftest.$ac_ext >&5
26475
26476 ac_cv_lib_m_roundl=no
26477 fi
26478 rm -f conftest.err conftest.$ac_objext \
26479       conftest$ac_exeext conftest.$ac_ext
26480 LIBS=$ac_check_lib_save_LIBS
26481 fi
26482 echo "$as_me:$LINENO: result: $ac_cv_lib_m_roundl" >&5
26483 echo "${ECHO_T}$ac_cv_lib_m_roundl" >&6
26484 if test $ac_cv_lib_m_roundl = yes; then
26485
26486 cat >>confdefs.h <<\_ACEOF
26487 #define HAVE_ROUNDL 1
26488 _ACEOF
26489
26490 fi
26491
26492 echo "$as_me:$LINENO: checking for lroundf in -lm" >&5
26493 echo $ECHO_N "checking for lroundf in -lm... $ECHO_C" >&6
26494 if test "${ac_cv_lib_m_lroundf+set}" = set; then
26495   echo $ECHO_N "(cached) $ECHO_C" >&6
26496 else
26497   ac_check_lib_save_LIBS=$LIBS
26498 LIBS="-lm  $LIBS"
26499 if test x$gcc_no_link = xyes; then
26500   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26501 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26502    { (exit 1); exit 1; }; }
26503 fi
26504 cat >conftest.$ac_ext <<_ACEOF
26505 /* confdefs.h.  */
26506 _ACEOF
26507 cat confdefs.h >>conftest.$ac_ext
26508 cat >>conftest.$ac_ext <<_ACEOF
26509 /* end confdefs.h.  */
26510
26511 /* Override any gcc2 internal prototype to avoid an error.  */
26512 #ifdef __cplusplus
26513 extern "C"
26514 #endif
26515 /* We use char because int might match the return type of a gcc2
26516    builtin and then its argument prototype would still apply.  */
26517 char lroundf ();
26518 int
26519 main ()
26520 {
26521 lroundf ();
26522   ;
26523   return 0;
26524 }
26525 _ACEOF
26526 rm -f conftest.$ac_objext conftest$ac_exeext
26527 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26528   (eval $ac_link) 2>conftest.er1
26529   ac_status=$?
26530   grep -v '^ *+' conftest.er1 >conftest.err
26531   rm -f conftest.er1
26532   cat conftest.err >&5
26533   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26534   (exit $ac_status); } &&
26535          { ac_try='test -z "$ac_c_werror_flag"
26536                          || test ! -s conftest.err'
26537   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26538   (eval $ac_try) 2>&5
26539   ac_status=$?
26540   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26541   (exit $ac_status); }; } &&
26542          { ac_try='test -s conftest$ac_exeext'
26543   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26544   (eval $ac_try) 2>&5
26545   ac_status=$?
26546   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26547   (exit $ac_status); }; }; then
26548   ac_cv_lib_m_lroundf=yes
26549 else
26550   echo "$as_me: failed program was:" >&5
26551 sed 's/^/| /' conftest.$ac_ext >&5
26552
26553 ac_cv_lib_m_lroundf=no
26554 fi
26555 rm -f conftest.err conftest.$ac_objext \
26556       conftest$ac_exeext conftest.$ac_ext
26557 LIBS=$ac_check_lib_save_LIBS
26558 fi
26559 echo "$as_me:$LINENO: result: $ac_cv_lib_m_lroundf" >&5
26560 echo "${ECHO_T}$ac_cv_lib_m_lroundf" >&6
26561 if test $ac_cv_lib_m_lroundf = yes; then
26562
26563 cat >>confdefs.h <<\_ACEOF
26564 #define HAVE_LROUNDF 1
26565 _ACEOF
26566
26567 fi
26568
26569 echo "$as_me:$LINENO: checking for lround in -lm" >&5
26570 echo $ECHO_N "checking for lround in -lm... $ECHO_C" >&6
26571 if test "${ac_cv_lib_m_lround+set}" = set; then
26572   echo $ECHO_N "(cached) $ECHO_C" >&6
26573 else
26574   ac_check_lib_save_LIBS=$LIBS
26575 LIBS="-lm  $LIBS"
26576 if test x$gcc_no_link = xyes; then
26577   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26578 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26579    { (exit 1); exit 1; }; }
26580 fi
26581 cat >conftest.$ac_ext <<_ACEOF
26582 /* confdefs.h.  */
26583 _ACEOF
26584 cat confdefs.h >>conftest.$ac_ext
26585 cat >>conftest.$ac_ext <<_ACEOF
26586 /* end confdefs.h.  */
26587
26588 /* Override any gcc2 internal prototype to avoid an error.  */
26589 #ifdef __cplusplus
26590 extern "C"
26591 #endif
26592 /* We use char because int might match the return type of a gcc2
26593    builtin and then its argument prototype would still apply.  */
26594 char lround ();
26595 int
26596 main ()
26597 {
26598 lround ();
26599   ;
26600   return 0;
26601 }
26602 _ACEOF
26603 rm -f conftest.$ac_objext conftest$ac_exeext
26604 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26605   (eval $ac_link) 2>conftest.er1
26606   ac_status=$?
26607   grep -v '^ *+' conftest.er1 >conftest.err
26608   rm -f conftest.er1
26609   cat conftest.err >&5
26610   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26611   (exit $ac_status); } &&
26612          { ac_try='test -z "$ac_c_werror_flag"
26613                          || test ! -s conftest.err'
26614   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26615   (eval $ac_try) 2>&5
26616   ac_status=$?
26617   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26618   (exit $ac_status); }; } &&
26619          { ac_try='test -s conftest$ac_exeext'
26620   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26621   (eval $ac_try) 2>&5
26622   ac_status=$?
26623   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26624   (exit $ac_status); }; }; then
26625   ac_cv_lib_m_lround=yes
26626 else
26627   echo "$as_me: failed program was:" >&5
26628 sed 's/^/| /' conftest.$ac_ext >&5
26629
26630 ac_cv_lib_m_lround=no
26631 fi
26632 rm -f conftest.err conftest.$ac_objext \
26633       conftest$ac_exeext conftest.$ac_ext
26634 LIBS=$ac_check_lib_save_LIBS
26635 fi
26636 echo "$as_me:$LINENO: result: $ac_cv_lib_m_lround" >&5
26637 echo "${ECHO_T}$ac_cv_lib_m_lround" >&6
26638 if test $ac_cv_lib_m_lround = yes; then
26639
26640 cat >>confdefs.h <<\_ACEOF
26641 #define HAVE_LROUND 1
26642 _ACEOF
26643
26644 fi
26645
26646 echo "$as_me:$LINENO: checking for lroundl in -lm" >&5
26647 echo $ECHO_N "checking for lroundl in -lm... $ECHO_C" >&6
26648 if test "${ac_cv_lib_m_lroundl+set}" = set; then
26649   echo $ECHO_N "(cached) $ECHO_C" >&6
26650 else
26651   ac_check_lib_save_LIBS=$LIBS
26652 LIBS="-lm  $LIBS"
26653 if test x$gcc_no_link = xyes; then
26654   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26655 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26656    { (exit 1); exit 1; }; }
26657 fi
26658 cat >conftest.$ac_ext <<_ACEOF
26659 /* confdefs.h.  */
26660 _ACEOF
26661 cat confdefs.h >>conftest.$ac_ext
26662 cat >>conftest.$ac_ext <<_ACEOF
26663 /* end confdefs.h.  */
26664
26665 /* Override any gcc2 internal prototype to avoid an error.  */
26666 #ifdef __cplusplus
26667 extern "C"
26668 #endif
26669 /* We use char because int might match the return type of a gcc2
26670    builtin and then its argument prototype would still apply.  */
26671 char lroundl ();
26672 int
26673 main ()
26674 {
26675 lroundl ();
26676   ;
26677   return 0;
26678 }
26679 _ACEOF
26680 rm -f conftest.$ac_objext conftest$ac_exeext
26681 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26682   (eval $ac_link) 2>conftest.er1
26683   ac_status=$?
26684   grep -v '^ *+' conftest.er1 >conftest.err
26685   rm -f conftest.er1
26686   cat conftest.err >&5
26687   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26688   (exit $ac_status); } &&
26689          { ac_try='test -z "$ac_c_werror_flag"
26690                          || test ! -s conftest.err'
26691   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26692   (eval $ac_try) 2>&5
26693   ac_status=$?
26694   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26695   (exit $ac_status); }; } &&
26696          { ac_try='test -s conftest$ac_exeext'
26697   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26698   (eval $ac_try) 2>&5
26699   ac_status=$?
26700   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26701   (exit $ac_status); }; }; then
26702   ac_cv_lib_m_lroundl=yes
26703 else
26704   echo "$as_me: failed program was:" >&5
26705 sed 's/^/| /' conftest.$ac_ext >&5
26706
26707 ac_cv_lib_m_lroundl=no
26708 fi
26709 rm -f conftest.err conftest.$ac_objext \
26710       conftest$ac_exeext conftest.$ac_ext
26711 LIBS=$ac_check_lib_save_LIBS
26712 fi
26713 echo "$as_me:$LINENO: result: $ac_cv_lib_m_lroundl" >&5
26714 echo "${ECHO_T}$ac_cv_lib_m_lroundl" >&6
26715 if test $ac_cv_lib_m_lroundl = yes; then
26716
26717 cat >>confdefs.h <<\_ACEOF
26718 #define HAVE_LROUNDL 1
26719 _ACEOF
26720
26721 fi
26722
26723 echo "$as_me:$LINENO: checking for llroundf in -lm" >&5
26724 echo $ECHO_N "checking for llroundf in -lm... $ECHO_C" >&6
26725 if test "${ac_cv_lib_m_llroundf+set}" = set; then
26726   echo $ECHO_N "(cached) $ECHO_C" >&6
26727 else
26728   ac_check_lib_save_LIBS=$LIBS
26729 LIBS="-lm  $LIBS"
26730 if test x$gcc_no_link = xyes; then
26731   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26732 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26733    { (exit 1); exit 1; }; }
26734 fi
26735 cat >conftest.$ac_ext <<_ACEOF
26736 /* confdefs.h.  */
26737 _ACEOF
26738 cat confdefs.h >>conftest.$ac_ext
26739 cat >>conftest.$ac_ext <<_ACEOF
26740 /* end confdefs.h.  */
26741
26742 /* Override any gcc2 internal prototype to avoid an error.  */
26743 #ifdef __cplusplus
26744 extern "C"
26745 #endif
26746 /* We use char because int might match the return type of a gcc2
26747    builtin and then its argument prototype would still apply.  */
26748 char llroundf ();
26749 int
26750 main ()
26751 {
26752 llroundf ();
26753   ;
26754   return 0;
26755 }
26756 _ACEOF
26757 rm -f conftest.$ac_objext conftest$ac_exeext
26758 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26759   (eval $ac_link) 2>conftest.er1
26760   ac_status=$?
26761   grep -v '^ *+' conftest.er1 >conftest.err
26762   rm -f conftest.er1
26763   cat conftest.err >&5
26764   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26765   (exit $ac_status); } &&
26766          { ac_try='test -z "$ac_c_werror_flag"
26767                          || test ! -s conftest.err'
26768   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26769   (eval $ac_try) 2>&5
26770   ac_status=$?
26771   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26772   (exit $ac_status); }; } &&
26773          { ac_try='test -s conftest$ac_exeext'
26774   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26775   (eval $ac_try) 2>&5
26776   ac_status=$?
26777   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26778   (exit $ac_status); }; }; then
26779   ac_cv_lib_m_llroundf=yes
26780 else
26781   echo "$as_me: failed program was:" >&5
26782 sed 's/^/| /' conftest.$ac_ext >&5
26783
26784 ac_cv_lib_m_llroundf=no
26785 fi
26786 rm -f conftest.err conftest.$ac_objext \
26787       conftest$ac_exeext conftest.$ac_ext
26788 LIBS=$ac_check_lib_save_LIBS
26789 fi
26790 echo "$as_me:$LINENO: result: $ac_cv_lib_m_llroundf" >&5
26791 echo "${ECHO_T}$ac_cv_lib_m_llroundf" >&6
26792 if test $ac_cv_lib_m_llroundf = yes; then
26793
26794 cat >>confdefs.h <<\_ACEOF
26795 #define HAVE_LLROUNDF 1
26796 _ACEOF
26797
26798 fi
26799
26800 echo "$as_me:$LINENO: checking for llround in -lm" >&5
26801 echo $ECHO_N "checking for llround in -lm... $ECHO_C" >&6
26802 if test "${ac_cv_lib_m_llround+set}" = set; then
26803   echo $ECHO_N "(cached) $ECHO_C" >&6
26804 else
26805   ac_check_lib_save_LIBS=$LIBS
26806 LIBS="-lm  $LIBS"
26807 if test x$gcc_no_link = xyes; then
26808   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26809 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26810    { (exit 1); exit 1; }; }
26811 fi
26812 cat >conftest.$ac_ext <<_ACEOF
26813 /* confdefs.h.  */
26814 _ACEOF
26815 cat confdefs.h >>conftest.$ac_ext
26816 cat >>conftest.$ac_ext <<_ACEOF
26817 /* end confdefs.h.  */
26818
26819 /* Override any gcc2 internal prototype to avoid an error.  */
26820 #ifdef __cplusplus
26821 extern "C"
26822 #endif
26823 /* We use char because int might match the return type of a gcc2
26824    builtin and then its argument prototype would still apply.  */
26825 char llround ();
26826 int
26827 main ()
26828 {
26829 llround ();
26830   ;
26831   return 0;
26832 }
26833 _ACEOF
26834 rm -f conftest.$ac_objext conftest$ac_exeext
26835 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26836   (eval $ac_link) 2>conftest.er1
26837   ac_status=$?
26838   grep -v '^ *+' conftest.er1 >conftest.err
26839   rm -f conftest.er1
26840   cat conftest.err >&5
26841   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26842   (exit $ac_status); } &&
26843          { ac_try='test -z "$ac_c_werror_flag"
26844                          || test ! -s conftest.err'
26845   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26846   (eval $ac_try) 2>&5
26847   ac_status=$?
26848   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26849   (exit $ac_status); }; } &&
26850          { ac_try='test -s conftest$ac_exeext'
26851   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26852   (eval $ac_try) 2>&5
26853   ac_status=$?
26854   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26855   (exit $ac_status); }; }; then
26856   ac_cv_lib_m_llround=yes
26857 else
26858   echo "$as_me: failed program was:" >&5
26859 sed 's/^/| /' conftest.$ac_ext >&5
26860
26861 ac_cv_lib_m_llround=no
26862 fi
26863 rm -f conftest.err conftest.$ac_objext \
26864       conftest$ac_exeext conftest.$ac_ext
26865 LIBS=$ac_check_lib_save_LIBS
26866 fi
26867 echo "$as_me:$LINENO: result: $ac_cv_lib_m_llround" >&5
26868 echo "${ECHO_T}$ac_cv_lib_m_llround" >&6
26869 if test $ac_cv_lib_m_llround = yes; then
26870
26871 cat >>confdefs.h <<\_ACEOF
26872 #define HAVE_LLROUND 1
26873 _ACEOF
26874
26875 fi
26876
26877 echo "$as_me:$LINENO: checking for llroundl in -lm" >&5
26878 echo $ECHO_N "checking for llroundl in -lm... $ECHO_C" >&6
26879 if test "${ac_cv_lib_m_llroundl+set}" = set; then
26880   echo $ECHO_N "(cached) $ECHO_C" >&6
26881 else
26882   ac_check_lib_save_LIBS=$LIBS
26883 LIBS="-lm  $LIBS"
26884 if test x$gcc_no_link = xyes; then
26885   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26886 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26887    { (exit 1); exit 1; }; }
26888 fi
26889 cat >conftest.$ac_ext <<_ACEOF
26890 /* confdefs.h.  */
26891 _ACEOF
26892 cat confdefs.h >>conftest.$ac_ext
26893 cat >>conftest.$ac_ext <<_ACEOF
26894 /* end confdefs.h.  */
26895
26896 /* Override any gcc2 internal prototype to avoid an error.  */
26897 #ifdef __cplusplus
26898 extern "C"
26899 #endif
26900 /* We use char because int might match the return type of a gcc2
26901    builtin and then its argument prototype would still apply.  */
26902 char llroundl ();
26903 int
26904 main ()
26905 {
26906 llroundl ();
26907   ;
26908   return 0;
26909 }
26910 _ACEOF
26911 rm -f conftest.$ac_objext conftest$ac_exeext
26912 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26913   (eval $ac_link) 2>conftest.er1
26914   ac_status=$?
26915   grep -v '^ *+' conftest.er1 >conftest.err
26916   rm -f conftest.er1
26917   cat conftest.err >&5
26918   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26919   (exit $ac_status); } &&
26920          { ac_try='test -z "$ac_c_werror_flag"
26921                          || test ! -s conftest.err'
26922   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26923   (eval $ac_try) 2>&5
26924   ac_status=$?
26925   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26926   (exit $ac_status); }; } &&
26927          { ac_try='test -s conftest$ac_exeext'
26928   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26929   (eval $ac_try) 2>&5
26930   ac_status=$?
26931   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26932   (exit $ac_status); }; }; then
26933   ac_cv_lib_m_llroundl=yes
26934 else
26935   echo "$as_me: failed program was:" >&5
26936 sed 's/^/| /' conftest.$ac_ext >&5
26937
26938 ac_cv_lib_m_llroundl=no
26939 fi
26940 rm -f conftest.err conftest.$ac_objext \
26941       conftest$ac_exeext conftest.$ac_ext
26942 LIBS=$ac_check_lib_save_LIBS
26943 fi
26944 echo "$as_me:$LINENO: result: $ac_cv_lib_m_llroundl" >&5
26945 echo "${ECHO_T}$ac_cv_lib_m_llroundl" >&6
26946 if test $ac_cv_lib_m_llroundl = yes; then
26947
26948 cat >>confdefs.h <<\_ACEOF
26949 #define HAVE_LLROUNDL 1
26950 _ACEOF
26951
26952 fi
26953
26954 echo "$as_me:$LINENO: checking for scalbnf in -lm" >&5
26955 echo $ECHO_N "checking for scalbnf in -lm... $ECHO_C" >&6
26956 if test "${ac_cv_lib_m_scalbnf+set}" = set; then
26957   echo $ECHO_N "(cached) $ECHO_C" >&6
26958 else
26959   ac_check_lib_save_LIBS=$LIBS
26960 LIBS="-lm  $LIBS"
26961 if test x$gcc_no_link = xyes; then
26962   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26963 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26964    { (exit 1); exit 1; }; }
26965 fi
26966 cat >conftest.$ac_ext <<_ACEOF
26967 /* confdefs.h.  */
26968 _ACEOF
26969 cat confdefs.h >>conftest.$ac_ext
26970 cat >>conftest.$ac_ext <<_ACEOF
26971 /* end confdefs.h.  */
26972
26973 /* Override any gcc2 internal prototype to avoid an error.  */
26974 #ifdef __cplusplus
26975 extern "C"
26976 #endif
26977 /* We use char because int might match the return type of a gcc2
26978    builtin and then its argument prototype would still apply.  */
26979 char scalbnf ();
26980 int
26981 main ()
26982 {
26983 scalbnf ();
26984   ;
26985   return 0;
26986 }
26987 _ACEOF
26988 rm -f conftest.$ac_objext conftest$ac_exeext
26989 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26990   (eval $ac_link) 2>conftest.er1
26991   ac_status=$?
26992   grep -v '^ *+' conftest.er1 >conftest.err
26993   rm -f conftest.er1
26994   cat conftest.err >&5
26995   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26996   (exit $ac_status); } &&
26997          { ac_try='test -z "$ac_c_werror_flag"
26998                          || test ! -s conftest.err'
26999   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27000   (eval $ac_try) 2>&5
27001   ac_status=$?
27002   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27003   (exit $ac_status); }; } &&
27004          { ac_try='test -s conftest$ac_exeext'
27005   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27006   (eval $ac_try) 2>&5
27007   ac_status=$?
27008   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27009   (exit $ac_status); }; }; then
27010   ac_cv_lib_m_scalbnf=yes
27011 else
27012   echo "$as_me: failed program was:" >&5
27013 sed 's/^/| /' conftest.$ac_ext >&5
27014
27015 ac_cv_lib_m_scalbnf=no
27016 fi
27017 rm -f conftest.err conftest.$ac_objext \
27018       conftest$ac_exeext conftest.$ac_ext
27019 LIBS=$ac_check_lib_save_LIBS
27020 fi
27021 echo "$as_me:$LINENO: result: $ac_cv_lib_m_scalbnf" >&5
27022 echo "${ECHO_T}$ac_cv_lib_m_scalbnf" >&6
27023 if test $ac_cv_lib_m_scalbnf = yes; then
27024
27025 cat >>confdefs.h <<\_ACEOF
27026 #define HAVE_SCALBNF 1
27027 _ACEOF
27028
27029 fi
27030
27031 echo "$as_me:$LINENO: checking for scalbn in -lm" >&5
27032 echo $ECHO_N "checking for scalbn in -lm... $ECHO_C" >&6
27033 if test "${ac_cv_lib_m_scalbn+set}" = set; then
27034   echo $ECHO_N "(cached) $ECHO_C" >&6
27035 else
27036   ac_check_lib_save_LIBS=$LIBS
27037 LIBS="-lm  $LIBS"
27038 if test x$gcc_no_link = xyes; then
27039   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27040 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27041    { (exit 1); exit 1; }; }
27042 fi
27043 cat >conftest.$ac_ext <<_ACEOF
27044 /* confdefs.h.  */
27045 _ACEOF
27046 cat confdefs.h >>conftest.$ac_ext
27047 cat >>conftest.$ac_ext <<_ACEOF
27048 /* end confdefs.h.  */
27049
27050 /* Override any gcc2 internal prototype to avoid an error.  */
27051 #ifdef __cplusplus
27052 extern "C"
27053 #endif
27054 /* We use char because int might match the return type of a gcc2
27055    builtin and then its argument prototype would still apply.  */
27056 char scalbn ();
27057 int
27058 main ()
27059 {
27060 scalbn ();
27061   ;
27062   return 0;
27063 }
27064 _ACEOF
27065 rm -f conftest.$ac_objext conftest$ac_exeext
27066 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27067   (eval $ac_link) 2>conftest.er1
27068   ac_status=$?
27069   grep -v '^ *+' conftest.er1 >conftest.err
27070   rm -f conftest.er1
27071   cat conftest.err >&5
27072   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27073   (exit $ac_status); } &&
27074          { ac_try='test -z "$ac_c_werror_flag"
27075                          || test ! -s conftest.err'
27076   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27077   (eval $ac_try) 2>&5
27078   ac_status=$?
27079   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27080   (exit $ac_status); }; } &&
27081          { ac_try='test -s conftest$ac_exeext'
27082   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27083   (eval $ac_try) 2>&5
27084   ac_status=$?
27085   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27086   (exit $ac_status); }; }; then
27087   ac_cv_lib_m_scalbn=yes
27088 else
27089   echo "$as_me: failed program was:" >&5
27090 sed 's/^/| /' conftest.$ac_ext >&5
27091
27092 ac_cv_lib_m_scalbn=no
27093 fi
27094 rm -f conftest.err conftest.$ac_objext \
27095       conftest$ac_exeext conftest.$ac_ext
27096 LIBS=$ac_check_lib_save_LIBS
27097 fi
27098 echo "$as_me:$LINENO: result: $ac_cv_lib_m_scalbn" >&5
27099 echo "${ECHO_T}$ac_cv_lib_m_scalbn" >&6
27100 if test $ac_cv_lib_m_scalbn = yes; then
27101
27102 cat >>confdefs.h <<\_ACEOF
27103 #define HAVE_SCALBN 1
27104 _ACEOF
27105
27106 fi
27107
27108 echo "$as_me:$LINENO: checking for scalbnl in -lm" >&5
27109 echo $ECHO_N "checking for scalbnl in -lm... $ECHO_C" >&6
27110 if test "${ac_cv_lib_m_scalbnl+set}" = set; then
27111   echo $ECHO_N "(cached) $ECHO_C" >&6
27112 else
27113   ac_check_lib_save_LIBS=$LIBS
27114 LIBS="-lm  $LIBS"
27115 if test x$gcc_no_link = xyes; then
27116   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27117 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27118    { (exit 1); exit 1; }; }
27119 fi
27120 cat >conftest.$ac_ext <<_ACEOF
27121 /* confdefs.h.  */
27122 _ACEOF
27123 cat confdefs.h >>conftest.$ac_ext
27124 cat >>conftest.$ac_ext <<_ACEOF
27125 /* end confdefs.h.  */
27126
27127 /* Override any gcc2 internal prototype to avoid an error.  */
27128 #ifdef __cplusplus
27129 extern "C"
27130 #endif
27131 /* We use char because int might match the return type of a gcc2
27132    builtin and then its argument prototype would still apply.  */
27133 char scalbnl ();
27134 int
27135 main ()
27136 {
27137 scalbnl ();
27138   ;
27139   return 0;
27140 }
27141 _ACEOF
27142 rm -f conftest.$ac_objext conftest$ac_exeext
27143 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27144   (eval $ac_link) 2>conftest.er1
27145   ac_status=$?
27146   grep -v '^ *+' conftest.er1 >conftest.err
27147   rm -f conftest.er1
27148   cat conftest.err >&5
27149   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27150   (exit $ac_status); } &&
27151          { ac_try='test -z "$ac_c_werror_flag"
27152                          || test ! -s conftest.err'
27153   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27154   (eval $ac_try) 2>&5
27155   ac_status=$?
27156   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27157   (exit $ac_status); }; } &&
27158          { ac_try='test -s conftest$ac_exeext'
27159   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27160   (eval $ac_try) 2>&5
27161   ac_status=$?
27162   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27163   (exit $ac_status); }; }; then
27164   ac_cv_lib_m_scalbnl=yes
27165 else
27166   echo "$as_me: failed program was:" >&5
27167 sed 's/^/| /' conftest.$ac_ext >&5
27168
27169 ac_cv_lib_m_scalbnl=no
27170 fi
27171 rm -f conftest.err conftest.$ac_objext \
27172       conftest$ac_exeext conftest.$ac_ext
27173 LIBS=$ac_check_lib_save_LIBS
27174 fi
27175 echo "$as_me:$LINENO: result: $ac_cv_lib_m_scalbnl" >&5
27176 echo "${ECHO_T}$ac_cv_lib_m_scalbnl" >&6
27177 if test $ac_cv_lib_m_scalbnl = yes; then
27178
27179 cat >>confdefs.h <<\_ACEOF
27180 #define HAVE_SCALBNL 1
27181 _ACEOF
27182
27183 fi
27184
27185 echo "$as_me:$LINENO: checking for sinf in -lm" >&5
27186 echo $ECHO_N "checking for sinf in -lm... $ECHO_C" >&6
27187 if test "${ac_cv_lib_m_sinf+set}" = set; then
27188   echo $ECHO_N "(cached) $ECHO_C" >&6
27189 else
27190   ac_check_lib_save_LIBS=$LIBS
27191 LIBS="-lm  $LIBS"
27192 if test x$gcc_no_link = xyes; then
27193   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27194 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27195    { (exit 1); exit 1; }; }
27196 fi
27197 cat >conftest.$ac_ext <<_ACEOF
27198 /* confdefs.h.  */
27199 _ACEOF
27200 cat confdefs.h >>conftest.$ac_ext
27201 cat >>conftest.$ac_ext <<_ACEOF
27202 /* end confdefs.h.  */
27203
27204 /* Override any gcc2 internal prototype to avoid an error.  */
27205 #ifdef __cplusplus
27206 extern "C"
27207 #endif
27208 /* We use char because int might match the return type of a gcc2
27209    builtin and then its argument prototype would still apply.  */
27210 char sinf ();
27211 int
27212 main ()
27213 {
27214 sinf ();
27215   ;
27216   return 0;
27217 }
27218 _ACEOF
27219 rm -f conftest.$ac_objext conftest$ac_exeext
27220 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27221   (eval $ac_link) 2>conftest.er1
27222   ac_status=$?
27223   grep -v '^ *+' conftest.er1 >conftest.err
27224   rm -f conftest.er1
27225   cat conftest.err >&5
27226   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27227   (exit $ac_status); } &&
27228          { ac_try='test -z "$ac_c_werror_flag"
27229                          || test ! -s conftest.err'
27230   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27231   (eval $ac_try) 2>&5
27232   ac_status=$?
27233   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27234   (exit $ac_status); }; } &&
27235          { ac_try='test -s conftest$ac_exeext'
27236   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27237   (eval $ac_try) 2>&5
27238   ac_status=$?
27239   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27240   (exit $ac_status); }; }; then
27241   ac_cv_lib_m_sinf=yes
27242 else
27243   echo "$as_me: failed program was:" >&5
27244 sed 's/^/| /' conftest.$ac_ext >&5
27245
27246 ac_cv_lib_m_sinf=no
27247 fi
27248 rm -f conftest.err conftest.$ac_objext \
27249       conftest$ac_exeext conftest.$ac_ext
27250 LIBS=$ac_check_lib_save_LIBS
27251 fi
27252 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sinf" >&5
27253 echo "${ECHO_T}$ac_cv_lib_m_sinf" >&6
27254 if test $ac_cv_lib_m_sinf = yes; then
27255
27256 cat >>confdefs.h <<\_ACEOF
27257 #define HAVE_SINF 1
27258 _ACEOF
27259
27260 fi
27261
27262 echo "$as_me:$LINENO: checking for sin in -lm" >&5
27263 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
27264 if test "${ac_cv_lib_m_sin+set}" = set; then
27265   echo $ECHO_N "(cached) $ECHO_C" >&6
27266 else
27267   ac_check_lib_save_LIBS=$LIBS
27268 LIBS="-lm  $LIBS"
27269 if test x$gcc_no_link = xyes; then
27270   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27271 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27272    { (exit 1); exit 1; }; }
27273 fi
27274 cat >conftest.$ac_ext <<_ACEOF
27275 /* confdefs.h.  */
27276 _ACEOF
27277 cat confdefs.h >>conftest.$ac_ext
27278 cat >>conftest.$ac_ext <<_ACEOF
27279 /* end confdefs.h.  */
27280
27281 /* Override any gcc2 internal prototype to avoid an error.  */
27282 #ifdef __cplusplus
27283 extern "C"
27284 #endif
27285 /* We use char because int might match the return type of a gcc2
27286    builtin and then its argument prototype would still apply.  */
27287 char sin ();
27288 int
27289 main ()
27290 {
27291 sin ();
27292   ;
27293   return 0;
27294 }
27295 _ACEOF
27296 rm -f conftest.$ac_objext conftest$ac_exeext
27297 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27298   (eval $ac_link) 2>conftest.er1
27299   ac_status=$?
27300   grep -v '^ *+' conftest.er1 >conftest.err
27301   rm -f conftest.er1
27302   cat conftest.err >&5
27303   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27304   (exit $ac_status); } &&
27305          { ac_try='test -z "$ac_c_werror_flag"
27306                          || test ! -s conftest.err'
27307   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27308   (eval $ac_try) 2>&5
27309   ac_status=$?
27310   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27311   (exit $ac_status); }; } &&
27312          { ac_try='test -s conftest$ac_exeext'
27313   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27314   (eval $ac_try) 2>&5
27315   ac_status=$?
27316   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27317   (exit $ac_status); }; }; then
27318   ac_cv_lib_m_sin=yes
27319 else
27320   echo "$as_me: failed program was:" >&5
27321 sed 's/^/| /' conftest.$ac_ext >&5
27322
27323 ac_cv_lib_m_sin=no
27324 fi
27325 rm -f conftest.err conftest.$ac_objext \
27326       conftest$ac_exeext conftest.$ac_ext
27327 LIBS=$ac_check_lib_save_LIBS
27328 fi
27329 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
27330 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
27331 if test $ac_cv_lib_m_sin = yes; then
27332
27333 cat >>confdefs.h <<\_ACEOF
27334 #define HAVE_SIN 1
27335 _ACEOF
27336
27337 fi
27338
27339 echo "$as_me:$LINENO: checking for sinl in -lm" >&5
27340 echo $ECHO_N "checking for sinl in -lm... $ECHO_C" >&6
27341 if test "${ac_cv_lib_m_sinl+set}" = set; then
27342   echo $ECHO_N "(cached) $ECHO_C" >&6
27343 else
27344   ac_check_lib_save_LIBS=$LIBS
27345 LIBS="-lm  $LIBS"
27346 if test x$gcc_no_link = xyes; then
27347   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27348 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27349    { (exit 1); exit 1; }; }
27350 fi
27351 cat >conftest.$ac_ext <<_ACEOF
27352 /* confdefs.h.  */
27353 _ACEOF
27354 cat confdefs.h >>conftest.$ac_ext
27355 cat >>conftest.$ac_ext <<_ACEOF
27356 /* end confdefs.h.  */
27357
27358 /* Override any gcc2 internal prototype to avoid an error.  */
27359 #ifdef __cplusplus
27360 extern "C"
27361 #endif
27362 /* We use char because int might match the return type of a gcc2
27363    builtin and then its argument prototype would still apply.  */
27364 char sinl ();
27365 int
27366 main ()
27367 {
27368 sinl ();
27369   ;
27370   return 0;
27371 }
27372 _ACEOF
27373 rm -f conftest.$ac_objext conftest$ac_exeext
27374 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27375   (eval $ac_link) 2>conftest.er1
27376   ac_status=$?
27377   grep -v '^ *+' conftest.er1 >conftest.err
27378   rm -f conftest.er1
27379   cat conftest.err >&5
27380   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27381   (exit $ac_status); } &&
27382          { ac_try='test -z "$ac_c_werror_flag"
27383                          || test ! -s conftest.err'
27384   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27385   (eval $ac_try) 2>&5
27386   ac_status=$?
27387   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27388   (exit $ac_status); }; } &&
27389          { ac_try='test -s conftest$ac_exeext'
27390   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27391   (eval $ac_try) 2>&5
27392   ac_status=$?
27393   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27394   (exit $ac_status); }; }; then
27395   ac_cv_lib_m_sinl=yes
27396 else
27397   echo "$as_me: failed program was:" >&5
27398 sed 's/^/| /' conftest.$ac_ext >&5
27399
27400 ac_cv_lib_m_sinl=no
27401 fi
27402 rm -f conftest.err conftest.$ac_objext \
27403       conftest$ac_exeext conftest.$ac_ext
27404 LIBS=$ac_check_lib_save_LIBS
27405 fi
27406 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sinl" >&5
27407 echo "${ECHO_T}$ac_cv_lib_m_sinl" >&6
27408 if test $ac_cv_lib_m_sinl = yes; then
27409
27410 cat >>confdefs.h <<\_ACEOF
27411 #define HAVE_SINL 1
27412 _ACEOF
27413
27414 fi
27415
27416 echo "$as_me:$LINENO: checking for csinf in -lm" >&5
27417 echo $ECHO_N "checking for csinf in -lm... $ECHO_C" >&6
27418 if test "${ac_cv_lib_m_csinf+set}" = set; then
27419   echo $ECHO_N "(cached) $ECHO_C" >&6
27420 else
27421   ac_check_lib_save_LIBS=$LIBS
27422 LIBS="-lm  $LIBS"
27423 if test x$gcc_no_link = xyes; then
27424   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27425 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27426    { (exit 1); exit 1; }; }
27427 fi
27428 cat >conftest.$ac_ext <<_ACEOF
27429 /* confdefs.h.  */
27430 _ACEOF
27431 cat confdefs.h >>conftest.$ac_ext
27432 cat >>conftest.$ac_ext <<_ACEOF
27433 /* end confdefs.h.  */
27434
27435 /* Override any gcc2 internal prototype to avoid an error.  */
27436 #ifdef __cplusplus
27437 extern "C"
27438 #endif
27439 /* We use char because int might match the return type of a gcc2
27440    builtin and then its argument prototype would still apply.  */
27441 char csinf ();
27442 int
27443 main ()
27444 {
27445 csinf ();
27446   ;
27447   return 0;
27448 }
27449 _ACEOF
27450 rm -f conftest.$ac_objext conftest$ac_exeext
27451 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27452   (eval $ac_link) 2>conftest.er1
27453   ac_status=$?
27454   grep -v '^ *+' conftest.er1 >conftest.err
27455   rm -f conftest.er1
27456   cat conftest.err >&5
27457   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27458   (exit $ac_status); } &&
27459          { ac_try='test -z "$ac_c_werror_flag"
27460                          || test ! -s conftest.err'
27461   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27462   (eval $ac_try) 2>&5
27463   ac_status=$?
27464   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27465   (exit $ac_status); }; } &&
27466          { ac_try='test -s conftest$ac_exeext'
27467   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27468   (eval $ac_try) 2>&5
27469   ac_status=$?
27470   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27471   (exit $ac_status); }; }; then
27472   ac_cv_lib_m_csinf=yes
27473 else
27474   echo "$as_me: failed program was:" >&5
27475 sed 's/^/| /' conftest.$ac_ext >&5
27476
27477 ac_cv_lib_m_csinf=no
27478 fi
27479 rm -f conftest.err conftest.$ac_objext \
27480       conftest$ac_exeext conftest.$ac_ext
27481 LIBS=$ac_check_lib_save_LIBS
27482 fi
27483 echo "$as_me:$LINENO: result: $ac_cv_lib_m_csinf" >&5
27484 echo "${ECHO_T}$ac_cv_lib_m_csinf" >&6
27485 if test $ac_cv_lib_m_csinf = yes; then
27486
27487 cat >>confdefs.h <<\_ACEOF
27488 #define HAVE_CSINF 1
27489 _ACEOF
27490
27491 fi
27492
27493 echo "$as_me:$LINENO: checking for csin in -lm" >&5
27494 echo $ECHO_N "checking for csin in -lm... $ECHO_C" >&6
27495 if test "${ac_cv_lib_m_csin+set}" = set; then
27496   echo $ECHO_N "(cached) $ECHO_C" >&6
27497 else
27498   ac_check_lib_save_LIBS=$LIBS
27499 LIBS="-lm  $LIBS"
27500 if test x$gcc_no_link = xyes; then
27501   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27502 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27503    { (exit 1); exit 1; }; }
27504 fi
27505 cat >conftest.$ac_ext <<_ACEOF
27506 /* confdefs.h.  */
27507 _ACEOF
27508 cat confdefs.h >>conftest.$ac_ext
27509 cat >>conftest.$ac_ext <<_ACEOF
27510 /* end confdefs.h.  */
27511
27512 /* Override any gcc2 internal prototype to avoid an error.  */
27513 #ifdef __cplusplus
27514 extern "C"
27515 #endif
27516 /* We use char because int might match the return type of a gcc2
27517    builtin and then its argument prototype would still apply.  */
27518 char csin ();
27519 int
27520 main ()
27521 {
27522 csin ();
27523   ;
27524   return 0;
27525 }
27526 _ACEOF
27527 rm -f conftest.$ac_objext conftest$ac_exeext
27528 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27529   (eval $ac_link) 2>conftest.er1
27530   ac_status=$?
27531   grep -v '^ *+' conftest.er1 >conftest.err
27532   rm -f conftest.er1
27533   cat conftest.err >&5
27534   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27535   (exit $ac_status); } &&
27536          { ac_try='test -z "$ac_c_werror_flag"
27537                          || test ! -s conftest.err'
27538   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27539   (eval $ac_try) 2>&5
27540   ac_status=$?
27541   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27542   (exit $ac_status); }; } &&
27543          { ac_try='test -s conftest$ac_exeext'
27544   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27545   (eval $ac_try) 2>&5
27546   ac_status=$?
27547   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27548   (exit $ac_status); }; }; then
27549   ac_cv_lib_m_csin=yes
27550 else
27551   echo "$as_me: failed program was:" >&5
27552 sed 's/^/| /' conftest.$ac_ext >&5
27553
27554 ac_cv_lib_m_csin=no
27555 fi
27556 rm -f conftest.err conftest.$ac_objext \
27557       conftest$ac_exeext conftest.$ac_ext
27558 LIBS=$ac_check_lib_save_LIBS
27559 fi
27560 echo "$as_me:$LINENO: result: $ac_cv_lib_m_csin" >&5
27561 echo "${ECHO_T}$ac_cv_lib_m_csin" >&6
27562 if test $ac_cv_lib_m_csin = yes; then
27563
27564 cat >>confdefs.h <<\_ACEOF
27565 #define HAVE_CSIN 1
27566 _ACEOF
27567
27568 fi
27569
27570 echo "$as_me:$LINENO: checking for csinl in -lm" >&5
27571 echo $ECHO_N "checking for csinl in -lm... $ECHO_C" >&6
27572 if test "${ac_cv_lib_m_csinl+set}" = set; then
27573   echo $ECHO_N "(cached) $ECHO_C" >&6
27574 else
27575   ac_check_lib_save_LIBS=$LIBS
27576 LIBS="-lm  $LIBS"
27577 if test x$gcc_no_link = xyes; then
27578   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27579 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27580    { (exit 1); exit 1; }; }
27581 fi
27582 cat >conftest.$ac_ext <<_ACEOF
27583 /* confdefs.h.  */
27584 _ACEOF
27585 cat confdefs.h >>conftest.$ac_ext
27586 cat >>conftest.$ac_ext <<_ACEOF
27587 /* end confdefs.h.  */
27588
27589 /* Override any gcc2 internal prototype to avoid an error.  */
27590 #ifdef __cplusplus
27591 extern "C"
27592 #endif
27593 /* We use char because int might match the return type of a gcc2
27594    builtin and then its argument prototype would still apply.  */
27595 char csinl ();
27596 int
27597 main ()
27598 {
27599 csinl ();
27600   ;
27601   return 0;
27602 }
27603 _ACEOF
27604 rm -f conftest.$ac_objext conftest$ac_exeext
27605 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27606   (eval $ac_link) 2>conftest.er1
27607   ac_status=$?
27608   grep -v '^ *+' conftest.er1 >conftest.err
27609   rm -f conftest.er1
27610   cat conftest.err >&5
27611   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27612   (exit $ac_status); } &&
27613          { ac_try='test -z "$ac_c_werror_flag"
27614                          || test ! -s conftest.err'
27615   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27616   (eval $ac_try) 2>&5
27617   ac_status=$?
27618   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27619   (exit $ac_status); }; } &&
27620          { ac_try='test -s conftest$ac_exeext'
27621   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27622   (eval $ac_try) 2>&5
27623   ac_status=$?
27624   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27625   (exit $ac_status); }; }; then
27626   ac_cv_lib_m_csinl=yes
27627 else
27628   echo "$as_me: failed program was:" >&5
27629 sed 's/^/| /' conftest.$ac_ext >&5
27630
27631 ac_cv_lib_m_csinl=no
27632 fi
27633 rm -f conftest.err conftest.$ac_objext \
27634       conftest$ac_exeext conftest.$ac_ext
27635 LIBS=$ac_check_lib_save_LIBS
27636 fi
27637 echo "$as_me:$LINENO: result: $ac_cv_lib_m_csinl" >&5
27638 echo "${ECHO_T}$ac_cv_lib_m_csinl" >&6
27639 if test $ac_cv_lib_m_csinl = yes; then
27640
27641 cat >>confdefs.h <<\_ACEOF
27642 #define HAVE_CSINL 1
27643 _ACEOF
27644
27645 fi
27646
27647 echo "$as_me:$LINENO: checking for sinhf in -lm" >&5
27648 echo $ECHO_N "checking for sinhf in -lm... $ECHO_C" >&6
27649 if test "${ac_cv_lib_m_sinhf+set}" = set; then
27650   echo $ECHO_N "(cached) $ECHO_C" >&6
27651 else
27652   ac_check_lib_save_LIBS=$LIBS
27653 LIBS="-lm  $LIBS"
27654 if test x$gcc_no_link = xyes; then
27655   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27656 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27657    { (exit 1); exit 1; }; }
27658 fi
27659 cat >conftest.$ac_ext <<_ACEOF
27660 /* confdefs.h.  */
27661 _ACEOF
27662 cat confdefs.h >>conftest.$ac_ext
27663 cat >>conftest.$ac_ext <<_ACEOF
27664 /* end confdefs.h.  */
27665
27666 /* Override any gcc2 internal prototype to avoid an error.  */
27667 #ifdef __cplusplus
27668 extern "C"
27669 #endif
27670 /* We use char because int might match the return type of a gcc2
27671    builtin and then its argument prototype would still apply.  */
27672 char sinhf ();
27673 int
27674 main ()
27675 {
27676 sinhf ();
27677   ;
27678   return 0;
27679 }
27680 _ACEOF
27681 rm -f conftest.$ac_objext conftest$ac_exeext
27682 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27683   (eval $ac_link) 2>conftest.er1
27684   ac_status=$?
27685   grep -v '^ *+' conftest.er1 >conftest.err
27686   rm -f conftest.er1
27687   cat conftest.err >&5
27688   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27689   (exit $ac_status); } &&
27690          { ac_try='test -z "$ac_c_werror_flag"
27691                          || test ! -s conftest.err'
27692   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27693   (eval $ac_try) 2>&5
27694   ac_status=$?
27695   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27696   (exit $ac_status); }; } &&
27697          { ac_try='test -s conftest$ac_exeext'
27698   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27699   (eval $ac_try) 2>&5
27700   ac_status=$?
27701   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27702   (exit $ac_status); }; }; then
27703   ac_cv_lib_m_sinhf=yes
27704 else
27705   echo "$as_me: failed program was:" >&5
27706 sed 's/^/| /' conftest.$ac_ext >&5
27707
27708 ac_cv_lib_m_sinhf=no
27709 fi
27710 rm -f conftest.err conftest.$ac_objext \
27711       conftest$ac_exeext conftest.$ac_ext
27712 LIBS=$ac_check_lib_save_LIBS
27713 fi
27714 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sinhf" >&5
27715 echo "${ECHO_T}$ac_cv_lib_m_sinhf" >&6
27716 if test $ac_cv_lib_m_sinhf = yes; then
27717
27718 cat >>confdefs.h <<\_ACEOF
27719 #define HAVE_SINHF 1
27720 _ACEOF
27721
27722 fi
27723
27724 echo "$as_me:$LINENO: checking for sinh in -lm" >&5
27725 echo $ECHO_N "checking for sinh in -lm... $ECHO_C" >&6
27726 if test "${ac_cv_lib_m_sinh+set}" = set; then
27727   echo $ECHO_N "(cached) $ECHO_C" >&6
27728 else
27729   ac_check_lib_save_LIBS=$LIBS
27730 LIBS="-lm  $LIBS"
27731 if test x$gcc_no_link = xyes; then
27732   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27733 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27734    { (exit 1); exit 1; }; }
27735 fi
27736 cat >conftest.$ac_ext <<_ACEOF
27737 /* confdefs.h.  */
27738 _ACEOF
27739 cat confdefs.h >>conftest.$ac_ext
27740 cat >>conftest.$ac_ext <<_ACEOF
27741 /* end confdefs.h.  */
27742
27743 /* Override any gcc2 internal prototype to avoid an error.  */
27744 #ifdef __cplusplus
27745 extern "C"
27746 #endif
27747 /* We use char because int might match the return type of a gcc2
27748    builtin and then its argument prototype would still apply.  */
27749 char sinh ();
27750 int
27751 main ()
27752 {
27753 sinh ();
27754   ;
27755   return 0;
27756 }
27757 _ACEOF
27758 rm -f conftest.$ac_objext conftest$ac_exeext
27759 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27760   (eval $ac_link) 2>conftest.er1
27761   ac_status=$?
27762   grep -v '^ *+' conftest.er1 >conftest.err
27763   rm -f conftest.er1
27764   cat conftest.err >&5
27765   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27766   (exit $ac_status); } &&
27767          { ac_try='test -z "$ac_c_werror_flag"
27768                          || test ! -s conftest.err'
27769   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27770   (eval $ac_try) 2>&5
27771   ac_status=$?
27772   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27773   (exit $ac_status); }; } &&
27774          { ac_try='test -s conftest$ac_exeext'
27775   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27776   (eval $ac_try) 2>&5
27777   ac_status=$?
27778   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27779   (exit $ac_status); }; }; then
27780   ac_cv_lib_m_sinh=yes
27781 else
27782   echo "$as_me: failed program was:" >&5
27783 sed 's/^/| /' conftest.$ac_ext >&5
27784
27785 ac_cv_lib_m_sinh=no
27786 fi
27787 rm -f conftest.err conftest.$ac_objext \
27788       conftest$ac_exeext conftest.$ac_ext
27789 LIBS=$ac_check_lib_save_LIBS
27790 fi
27791 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sinh" >&5
27792 echo "${ECHO_T}$ac_cv_lib_m_sinh" >&6
27793 if test $ac_cv_lib_m_sinh = yes; then
27794
27795 cat >>confdefs.h <<\_ACEOF
27796 #define HAVE_SINH 1
27797 _ACEOF
27798
27799 fi
27800
27801 echo "$as_me:$LINENO: checking for sinhl in -lm" >&5
27802 echo $ECHO_N "checking for sinhl in -lm... $ECHO_C" >&6
27803 if test "${ac_cv_lib_m_sinhl+set}" = set; then
27804   echo $ECHO_N "(cached) $ECHO_C" >&6
27805 else
27806   ac_check_lib_save_LIBS=$LIBS
27807 LIBS="-lm  $LIBS"
27808 if test x$gcc_no_link = xyes; then
27809   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27810 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27811    { (exit 1); exit 1; }; }
27812 fi
27813 cat >conftest.$ac_ext <<_ACEOF
27814 /* confdefs.h.  */
27815 _ACEOF
27816 cat confdefs.h >>conftest.$ac_ext
27817 cat >>conftest.$ac_ext <<_ACEOF
27818 /* end confdefs.h.  */
27819
27820 /* Override any gcc2 internal prototype to avoid an error.  */
27821 #ifdef __cplusplus
27822 extern "C"
27823 #endif
27824 /* We use char because int might match the return type of a gcc2
27825    builtin and then its argument prototype would still apply.  */
27826 char sinhl ();
27827 int
27828 main ()
27829 {
27830 sinhl ();
27831   ;
27832   return 0;
27833 }
27834 _ACEOF
27835 rm -f conftest.$ac_objext conftest$ac_exeext
27836 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27837   (eval $ac_link) 2>conftest.er1
27838   ac_status=$?
27839   grep -v '^ *+' conftest.er1 >conftest.err
27840   rm -f conftest.er1
27841   cat conftest.err >&5
27842   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27843   (exit $ac_status); } &&
27844          { ac_try='test -z "$ac_c_werror_flag"
27845                          || test ! -s conftest.err'
27846   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27847   (eval $ac_try) 2>&5
27848   ac_status=$?
27849   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27850   (exit $ac_status); }; } &&
27851          { ac_try='test -s conftest$ac_exeext'
27852   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27853   (eval $ac_try) 2>&5
27854   ac_status=$?
27855   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27856   (exit $ac_status); }; }; then
27857   ac_cv_lib_m_sinhl=yes
27858 else
27859   echo "$as_me: failed program was:" >&5
27860 sed 's/^/| /' conftest.$ac_ext >&5
27861
27862 ac_cv_lib_m_sinhl=no
27863 fi
27864 rm -f conftest.err conftest.$ac_objext \
27865       conftest$ac_exeext conftest.$ac_ext
27866 LIBS=$ac_check_lib_save_LIBS
27867 fi
27868 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sinhl" >&5
27869 echo "${ECHO_T}$ac_cv_lib_m_sinhl" >&6
27870 if test $ac_cv_lib_m_sinhl = yes; then
27871
27872 cat >>confdefs.h <<\_ACEOF
27873 #define HAVE_SINHL 1
27874 _ACEOF
27875
27876 fi
27877
27878 echo "$as_me:$LINENO: checking for csinhf in -lm" >&5
27879 echo $ECHO_N "checking for csinhf in -lm... $ECHO_C" >&6
27880 if test "${ac_cv_lib_m_csinhf+set}" = set; then
27881   echo $ECHO_N "(cached) $ECHO_C" >&6
27882 else
27883   ac_check_lib_save_LIBS=$LIBS
27884 LIBS="-lm  $LIBS"
27885 if test x$gcc_no_link = xyes; then
27886   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27887 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27888    { (exit 1); exit 1; }; }
27889 fi
27890 cat >conftest.$ac_ext <<_ACEOF
27891 /* confdefs.h.  */
27892 _ACEOF
27893 cat confdefs.h >>conftest.$ac_ext
27894 cat >>conftest.$ac_ext <<_ACEOF
27895 /* end confdefs.h.  */
27896
27897 /* Override any gcc2 internal prototype to avoid an error.  */
27898 #ifdef __cplusplus
27899 extern "C"
27900 #endif
27901 /* We use char because int might match the return type of a gcc2
27902    builtin and then its argument prototype would still apply.  */
27903 char csinhf ();
27904 int
27905 main ()
27906 {
27907 csinhf ();
27908   ;
27909   return 0;
27910 }
27911 _ACEOF
27912 rm -f conftest.$ac_objext conftest$ac_exeext
27913 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27914   (eval $ac_link) 2>conftest.er1
27915   ac_status=$?
27916   grep -v '^ *+' conftest.er1 >conftest.err
27917   rm -f conftest.er1
27918   cat conftest.err >&5
27919   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27920   (exit $ac_status); } &&
27921          { ac_try='test -z "$ac_c_werror_flag"
27922                          || test ! -s conftest.err'
27923   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27924   (eval $ac_try) 2>&5
27925   ac_status=$?
27926   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27927   (exit $ac_status); }; } &&
27928          { ac_try='test -s conftest$ac_exeext'
27929   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27930   (eval $ac_try) 2>&5
27931   ac_status=$?
27932   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27933   (exit $ac_status); }; }; then
27934   ac_cv_lib_m_csinhf=yes
27935 else
27936   echo "$as_me: failed program was:" >&5
27937 sed 's/^/| /' conftest.$ac_ext >&5
27938
27939 ac_cv_lib_m_csinhf=no
27940 fi
27941 rm -f conftest.err conftest.$ac_objext \
27942       conftest$ac_exeext conftest.$ac_ext
27943 LIBS=$ac_check_lib_save_LIBS
27944 fi
27945 echo "$as_me:$LINENO: result: $ac_cv_lib_m_csinhf" >&5
27946 echo "${ECHO_T}$ac_cv_lib_m_csinhf" >&6
27947 if test $ac_cv_lib_m_csinhf = yes; then
27948
27949 cat >>confdefs.h <<\_ACEOF
27950 #define HAVE_CSINHF 1
27951 _ACEOF
27952
27953 fi
27954
27955 echo "$as_me:$LINENO: checking for csinh in -lm" >&5
27956 echo $ECHO_N "checking for csinh in -lm... $ECHO_C" >&6
27957 if test "${ac_cv_lib_m_csinh+set}" = set; then
27958   echo $ECHO_N "(cached) $ECHO_C" >&6
27959 else
27960   ac_check_lib_save_LIBS=$LIBS
27961 LIBS="-lm  $LIBS"
27962 if test x$gcc_no_link = xyes; then
27963   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27964 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27965    { (exit 1); exit 1; }; }
27966 fi
27967 cat >conftest.$ac_ext <<_ACEOF
27968 /* confdefs.h.  */
27969 _ACEOF
27970 cat confdefs.h >>conftest.$ac_ext
27971 cat >>conftest.$ac_ext <<_ACEOF
27972 /* end confdefs.h.  */
27973
27974 /* Override any gcc2 internal prototype to avoid an error.  */
27975 #ifdef __cplusplus
27976 extern "C"
27977 #endif
27978 /* We use char because int might match the return type of a gcc2
27979    builtin and then its argument prototype would still apply.  */
27980 char csinh ();
27981 int
27982 main ()
27983 {
27984 csinh ();
27985   ;
27986   return 0;
27987 }
27988 _ACEOF
27989 rm -f conftest.$ac_objext conftest$ac_exeext
27990 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27991   (eval $ac_link) 2>conftest.er1
27992   ac_status=$?
27993   grep -v '^ *+' conftest.er1 >conftest.err
27994   rm -f conftest.er1
27995   cat conftest.err >&5
27996   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27997   (exit $ac_status); } &&
27998          { ac_try='test -z "$ac_c_werror_flag"
27999                          || test ! -s conftest.err'
28000   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28001   (eval $ac_try) 2>&5
28002   ac_status=$?
28003   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28004   (exit $ac_status); }; } &&
28005          { ac_try='test -s conftest$ac_exeext'
28006   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28007   (eval $ac_try) 2>&5
28008   ac_status=$?
28009   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28010   (exit $ac_status); }; }; then
28011   ac_cv_lib_m_csinh=yes
28012 else
28013   echo "$as_me: failed program was:" >&5
28014 sed 's/^/| /' conftest.$ac_ext >&5
28015
28016 ac_cv_lib_m_csinh=no
28017 fi
28018 rm -f conftest.err conftest.$ac_objext \
28019       conftest$ac_exeext conftest.$ac_ext
28020 LIBS=$ac_check_lib_save_LIBS
28021 fi
28022 echo "$as_me:$LINENO: result: $ac_cv_lib_m_csinh" >&5
28023 echo "${ECHO_T}$ac_cv_lib_m_csinh" >&6
28024 if test $ac_cv_lib_m_csinh = yes; then
28025
28026 cat >>confdefs.h <<\_ACEOF
28027 #define HAVE_CSINH 1
28028 _ACEOF
28029
28030 fi
28031
28032 echo "$as_me:$LINENO: checking for csinhl in -lm" >&5
28033 echo $ECHO_N "checking for csinhl in -lm... $ECHO_C" >&6
28034 if test "${ac_cv_lib_m_csinhl+set}" = set; then
28035   echo $ECHO_N "(cached) $ECHO_C" >&6
28036 else
28037   ac_check_lib_save_LIBS=$LIBS
28038 LIBS="-lm  $LIBS"
28039 if test x$gcc_no_link = xyes; then
28040   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28041 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28042    { (exit 1); exit 1; }; }
28043 fi
28044 cat >conftest.$ac_ext <<_ACEOF
28045 /* confdefs.h.  */
28046 _ACEOF
28047 cat confdefs.h >>conftest.$ac_ext
28048 cat >>conftest.$ac_ext <<_ACEOF
28049 /* end confdefs.h.  */
28050
28051 /* Override any gcc2 internal prototype to avoid an error.  */
28052 #ifdef __cplusplus
28053 extern "C"
28054 #endif
28055 /* We use char because int might match the return type of a gcc2
28056    builtin and then its argument prototype would still apply.  */
28057 char csinhl ();
28058 int
28059 main ()
28060 {
28061 csinhl ();
28062   ;
28063   return 0;
28064 }
28065 _ACEOF
28066 rm -f conftest.$ac_objext conftest$ac_exeext
28067 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28068   (eval $ac_link) 2>conftest.er1
28069   ac_status=$?
28070   grep -v '^ *+' conftest.er1 >conftest.err
28071   rm -f conftest.er1
28072   cat conftest.err >&5
28073   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28074   (exit $ac_status); } &&
28075          { ac_try='test -z "$ac_c_werror_flag"
28076                          || test ! -s conftest.err'
28077   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28078   (eval $ac_try) 2>&5
28079   ac_status=$?
28080   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28081   (exit $ac_status); }; } &&
28082          { ac_try='test -s conftest$ac_exeext'
28083   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28084   (eval $ac_try) 2>&5
28085   ac_status=$?
28086   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28087   (exit $ac_status); }; }; then
28088   ac_cv_lib_m_csinhl=yes
28089 else
28090   echo "$as_me: failed program was:" >&5
28091 sed 's/^/| /' conftest.$ac_ext >&5
28092
28093 ac_cv_lib_m_csinhl=no
28094 fi
28095 rm -f conftest.err conftest.$ac_objext \
28096       conftest$ac_exeext conftest.$ac_ext
28097 LIBS=$ac_check_lib_save_LIBS
28098 fi
28099 echo "$as_me:$LINENO: result: $ac_cv_lib_m_csinhl" >&5
28100 echo "${ECHO_T}$ac_cv_lib_m_csinhl" >&6
28101 if test $ac_cv_lib_m_csinhl = yes; then
28102
28103 cat >>confdefs.h <<\_ACEOF
28104 #define HAVE_CSINHL 1
28105 _ACEOF
28106
28107 fi
28108
28109 echo "$as_me:$LINENO: checking for sqrtf in -lm" >&5
28110 echo $ECHO_N "checking for sqrtf in -lm... $ECHO_C" >&6
28111 if test "${ac_cv_lib_m_sqrtf+set}" = set; then
28112   echo $ECHO_N "(cached) $ECHO_C" >&6
28113 else
28114   ac_check_lib_save_LIBS=$LIBS
28115 LIBS="-lm  $LIBS"
28116 if test x$gcc_no_link = xyes; then
28117   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28118 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28119    { (exit 1); exit 1; }; }
28120 fi
28121 cat >conftest.$ac_ext <<_ACEOF
28122 /* confdefs.h.  */
28123 _ACEOF
28124 cat confdefs.h >>conftest.$ac_ext
28125 cat >>conftest.$ac_ext <<_ACEOF
28126 /* end confdefs.h.  */
28127
28128 /* Override any gcc2 internal prototype to avoid an error.  */
28129 #ifdef __cplusplus
28130 extern "C"
28131 #endif
28132 /* We use char because int might match the return type of a gcc2
28133    builtin and then its argument prototype would still apply.  */
28134 char sqrtf ();
28135 int
28136 main ()
28137 {
28138 sqrtf ();
28139   ;
28140   return 0;
28141 }
28142 _ACEOF
28143 rm -f conftest.$ac_objext conftest$ac_exeext
28144 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28145   (eval $ac_link) 2>conftest.er1
28146   ac_status=$?
28147   grep -v '^ *+' conftest.er1 >conftest.err
28148   rm -f conftest.er1
28149   cat conftest.err >&5
28150   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28151   (exit $ac_status); } &&
28152          { ac_try='test -z "$ac_c_werror_flag"
28153                          || test ! -s conftest.err'
28154   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28155   (eval $ac_try) 2>&5
28156   ac_status=$?
28157   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28158   (exit $ac_status); }; } &&
28159          { ac_try='test -s conftest$ac_exeext'
28160   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28161   (eval $ac_try) 2>&5
28162   ac_status=$?
28163   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28164   (exit $ac_status); }; }; then
28165   ac_cv_lib_m_sqrtf=yes
28166 else
28167   echo "$as_me: failed program was:" >&5
28168 sed 's/^/| /' conftest.$ac_ext >&5
28169
28170 ac_cv_lib_m_sqrtf=no
28171 fi
28172 rm -f conftest.err conftest.$ac_objext \
28173       conftest$ac_exeext conftest.$ac_ext
28174 LIBS=$ac_check_lib_save_LIBS
28175 fi
28176 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sqrtf" >&5
28177 echo "${ECHO_T}$ac_cv_lib_m_sqrtf" >&6
28178 if test $ac_cv_lib_m_sqrtf = yes; then
28179
28180 cat >>confdefs.h <<\_ACEOF
28181 #define HAVE_SQRTF 1
28182 _ACEOF
28183
28184 fi
28185
28186 echo "$as_me:$LINENO: checking for sqrt in -lm" >&5
28187 echo $ECHO_N "checking for sqrt in -lm... $ECHO_C" >&6
28188 if test "${ac_cv_lib_m_sqrt+set}" = set; then
28189   echo $ECHO_N "(cached) $ECHO_C" >&6
28190 else
28191   ac_check_lib_save_LIBS=$LIBS
28192 LIBS="-lm  $LIBS"
28193 if test x$gcc_no_link = xyes; then
28194   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28195 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28196    { (exit 1); exit 1; }; }
28197 fi
28198 cat >conftest.$ac_ext <<_ACEOF
28199 /* confdefs.h.  */
28200 _ACEOF
28201 cat confdefs.h >>conftest.$ac_ext
28202 cat >>conftest.$ac_ext <<_ACEOF
28203 /* end confdefs.h.  */
28204
28205 /* Override any gcc2 internal prototype to avoid an error.  */
28206 #ifdef __cplusplus
28207 extern "C"
28208 #endif
28209 /* We use char because int might match the return type of a gcc2
28210    builtin and then its argument prototype would still apply.  */
28211 char sqrt ();
28212 int
28213 main ()
28214 {
28215 sqrt ();
28216   ;
28217   return 0;
28218 }
28219 _ACEOF
28220 rm -f conftest.$ac_objext conftest$ac_exeext
28221 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28222   (eval $ac_link) 2>conftest.er1
28223   ac_status=$?
28224   grep -v '^ *+' conftest.er1 >conftest.err
28225   rm -f conftest.er1
28226   cat conftest.err >&5
28227   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28228   (exit $ac_status); } &&
28229          { ac_try='test -z "$ac_c_werror_flag"
28230                          || test ! -s conftest.err'
28231   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28232   (eval $ac_try) 2>&5
28233   ac_status=$?
28234   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28235   (exit $ac_status); }; } &&
28236          { ac_try='test -s conftest$ac_exeext'
28237   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28238   (eval $ac_try) 2>&5
28239   ac_status=$?
28240   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28241   (exit $ac_status); }; }; then
28242   ac_cv_lib_m_sqrt=yes
28243 else
28244   echo "$as_me: failed program was:" >&5
28245 sed 's/^/| /' conftest.$ac_ext >&5
28246
28247 ac_cv_lib_m_sqrt=no
28248 fi
28249 rm -f conftest.err conftest.$ac_objext \
28250       conftest$ac_exeext conftest.$ac_ext
28251 LIBS=$ac_check_lib_save_LIBS
28252 fi
28253 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sqrt" >&5
28254 echo "${ECHO_T}$ac_cv_lib_m_sqrt" >&6
28255 if test $ac_cv_lib_m_sqrt = yes; then
28256
28257 cat >>confdefs.h <<\_ACEOF
28258 #define HAVE_SQRT 1
28259 _ACEOF
28260
28261 fi
28262
28263 echo "$as_me:$LINENO: checking for sqrtl in -lm" >&5
28264 echo $ECHO_N "checking for sqrtl in -lm... $ECHO_C" >&6
28265 if test "${ac_cv_lib_m_sqrtl+set}" = set; then
28266   echo $ECHO_N "(cached) $ECHO_C" >&6
28267 else
28268   ac_check_lib_save_LIBS=$LIBS
28269 LIBS="-lm  $LIBS"
28270 if test x$gcc_no_link = xyes; then
28271   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28272 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28273    { (exit 1); exit 1; }; }
28274 fi
28275 cat >conftest.$ac_ext <<_ACEOF
28276 /* confdefs.h.  */
28277 _ACEOF
28278 cat confdefs.h >>conftest.$ac_ext
28279 cat >>conftest.$ac_ext <<_ACEOF
28280 /* end confdefs.h.  */
28281
28282 /* Override any gcc2 internal prototype to avoid an error.  */
28283 #ifdef __cplusplus
28284 extern "C"
28285 #endif
28286 /* We use char because int might match the return type of a gcc2
28287    builtin and then its argument prototype would still apply.  */
28288 char sqrtl ();
28289 int
28290 main ()
28291 {
28292 sqrtl ();
28293   ;
28294   return 0;
28295 }
28296 _ACEOF
28297 rm -f conftest.$ac_objext conftest$ac_exeext
28298 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28299   (eval $ac_link) 2>conftest.er1
28300   ac_status=$?
28301   grep -v '^ *+' conftest.er1 >conftest.err
28302   rm -f conftest.er1
28303   cat conftest.err >&5
28304   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28305   (exit $ac_status); } &&
28306          { ac_try='test -z "$ac_c_werror_flag"
28307                          || test ! -s conftest.err'
28308   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28309   (eval $ac_try) 2>&5
28310   ac_status=$?
28311   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28312   (exit $ac_status); }; } &&
28313          { ac_try='test -s conftest$ac_exeext'
28314   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28315   (eval $ac_try) 2>&5
28316   ac_status=$?
28317   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28318   (exit $ac_status); }; }; then
28319   ac_cv_lib_m_sqrtl=yes
28320 else
28321   echo "$as_me: failed program was:" >&5
28322 sed 's/^/| /' conftest.$ac_ext >&5
28323
28324 ac_cv_lib_m_sqrtl=no
28325 fi
28326 rm -f conftest.err conftest.$ac_objext \
28327       conftest$ac_exeext conftest.$ac_ext
28328 LIBS=$ac_check_lib_save_LIBS
28329 fi
28330 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sqrtl" >&5
28331 echo "${ECHO_T}$ac_cv_lib_m_sqrtl" >&6
28332 if test $ac_cv_lib_m_sqrtl = yes; then
28333
28334 cat >>confdefs.h <<\_ACEOF
28335 #define HAVE_SQRTL 1
28336 _ACEOF
28337
28338 fi
28339
28340 echo "$as_me:$LINENO: checking for csqrtf in -lm" >&5
28341 echo $ECHO_N "checking for csqrtf in -lm... $ECHO_C" >&6
28342 if test "${ac_cv_lib_m_csqrtf+set}" = set; then
28343   echo $ECHO_N "(cached) $ECHO_C" >&6
28344 else
28345   ac_check_lib_save_LIBS=$LIBS
28346 LIBS="-lm  $LIBS"
28347 if test x$gcc_no_link = xyes; then
28348   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28349 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28350    { (exit 1); exit 1; }; }
28351 fi
28352 cat >conftest.$ac_ext <<_ACEOF
28353 /* confdefs.h.  */
28354 _ACEOF
28355 cat confdefs.h >>conftest.$ac_ext
28356 cat >>conftest.$ac_ext <<_ACEOF
28357 /* end confdefs.h.  */
28358
28359 /* Override any gcc2 internal prototype to avoid an error.  */
28360 #ifdef __cplusplus
28361 extern "C"
28362 #endif
28363 /* We use char because int might match the return type of a gcc2
28364    builtin and then its argument prototype would still apply.  */
28365 char csqrtf ();
28366 int
28367 main ()
28368 {
28369 csqrtf ();
28370   ;
28371   return 0;
28372 }
28373 _ACEOF
28374 rm -f conftest.$ac_objext conftest$ac_exeext
28375 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28376   (eval $ac_link) 2>conftest.er1
28377   ac_status=$?
28378   grep -v '^ *+' conftest.er1 >conftest.err
28379   rm -f conftest.er1
28380   cat conftest.err >&5
28381   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28382   (exit $ac_status); } &&
28383          { ac_try='test -z "$ac_c_werror_flag"
28384                          || test ! -s conftest.err'
28385   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28386   (eval $ac_try) 2>&5
28387   ac_status=$?
28388   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28389   (exit $ac_status); }; } &&
28390          { ac_try='test -s conftest$ac_exeext'
28391   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28392   (eval $ac_try) 2>&5
28393   ac_status=$?
28394   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28395   (exit $ac_status); }; }; then
28396   ac_cv_lib_m_csqrtf=yes
28397 else
28398   echo "$as_me: failed program was:" >&5
28399 sed 's/^/| /' conftest.$ac_ext >&5
28400
28401 ac_cv_lib_m_csqrtf=no
28402 fi
28403 rm -f conftest.err conftest.$ac_objext \
28404       conftest$ac_exeext conftest.$ac_ext
28405 LIBS=$ac_check_lib_save_LIBS
28406 fi
28407 echo "$as_me:$LINENO: result: $ac_cv_lib_m_csqrtf" >&5
28408 echo "${ECHO_T}$ac_cv_lib_m_csqrtf" >&6
28409 if test $ac_cv_lib_m_csqrtf = yes; then
28410
28411 cat >>confdefs.h <<\_ACEOF
28412 #define HAVE_CSQRTF 1
28413 _ACEOF
28414
28415 fi
28416
28417 echo "$as_me:$LINENO: checking for csqrt in -lm" >&5
28418 echo $ECHO_N "checking for csqrt in -lm... $ECHO_C" >&6
28419 if test "${ac_cv_lib_m_csqrt+set}" = set; then
28420   echo $ECHO_N "(cached) $ECHO_C" >&6
28421 else
28422   ac_check_lib_save_LIBS=$LIBS
28423 LIBS="-lm  $LIBS"
28424 if test x$gcc_no_link = xyes; then
28425   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28426 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28427    { (exit 1); exit 1; }; }
28428 fi
28429 cat >conftest.$ac_ext <<_ACEOF
28430 /* confdefs.h.  */
28431 _ACEOF
28432 cat confdefs.h >>conftest.$ac_ext
28433 cat >>conftest.$ac_ext <<_ACEOF
28434 /* end confdefs.h.  */
28435
28436 /* Override any gcc2 internal prototype to avoid an error.  */
28437 #ifdef __cplusplus
28438 extern "C"
28439 #endif
28440 /* We use char because int might match the return type of a gcc2
28441    builtin and then its argument prototype would still apply.  */
28442 char csqrt ();
28443 int
28444 main ()
28445 {
28446 csqrt ();
28447   ;
28448   return 0;
28449 }
28450 _ACEOF
28451 rm -f conftest.$ac_objext conftest$ac_exeext
28452 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28453   (eval $ac_link) 2>conftest.er1
28454   ac_status=$?
28455   grep -v '^ *+' conftest.er1 >conftest.err
28456   rm -f conftest.er1
28457   cat conftest.err >&5
28458   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28459   (exit $ac_status); } &&
28460          { ac_try='test -z "$ac_c_werror_flag"
28461                          || test ! -s conftest.err'
28462   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28463   (eval $ac_try) 2>&5
28464   ac_status=$?
28465   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28466   (exit $ac_status); }; } &&
28467          { ac_try='test -s conftest$ac_exeext'
28468   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28469   (eval $ac_try) 2>&5
28470   ac_status=$?
28471   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28472   (exit $ac_status); }; }; then
28473   ac_cv_lib_m_csqrt=yes
28474 else
28475   echo "$as_me: failed program was:" >&5
28476 sed 's/^/| /' conftest.$ac_ext >&5
28477
28478 ac_cv_lib_m_csqrt=no
28479 fi
28480 rm -f conftest.err conftest.$ac_objext \
28481       conftest$ac_exeext conftest.$ac_ext
28482 LIBS=$ac_check_lib_save_LIBS
28483 fi
28484 echo "$as_me:$LINENO: result: $ac_cv_lib_m_csqrt" >&5
28485 echo "${ECHO_T}$ac_cv_lib_m_csqrt" >&6
28486 if test $ac_cv_lib_m_csqrt = yes; then
28487
28488 cat >>confdefs.h <<\_ACEOF
28489 #define HAVE_CSQRT 1
28490 _ACEOF
28491
28492 fi
28493
28494 echo "$as_me:$LINENO: checking for csqrtl in -lm" >&5
28495 echo $ECHO_N "checking for csqrtl in -lm... $ECHO_C" >&6
28496 if test "${ac_cv_lib_m_csqrtl+set}" = set; then
28497   echo $ECHO_N "(cached) $ECHO_C" >&6
28498 else
28499   ac_check_lib_save_LIBS=$LIBS
28500 LIBS="-lm  $LIBS"
28501 if test x$gcc_no_link = xyes; then
28502   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28503 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28504    { (exit 1); exit 1; }; }
28505 fi
28506 cat >conftest.$ac_ext <<_ACEOF
28507 /* confdefs.h.  */
28508 _ACEOF
28509 cat confdefs.h >>conftest.$ac_ext
28510 cat >>conftest.$ac_ext <<_ACEOF
28511 /* end confdefs.h.  */
28512
28513 /* Override any gcc2 internal prototype to avoid an error.  */
28514 #ifdef __cplusplus
28515 extern "C"
28516 #endif
28517 /* We use char because int might match the return type of a gcc2
28518    builtin and then its argument prototype would still apply.  */
28519 char csqrtl ();
28520 int
28521 main ()
28522 {
28523 csqrtl ();
28524   ;
28525   return 0;
28526 }
28527 _ACEOF
28528 rm -f conftest.$ac_objext conftest$ac_exeext
28529 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28530   (eval $ac_link) 2>conftest.er1
28531   ac_status=$?
28532   grep -v '^ *+' conftest.er1 >conftest.err
28533   rm -f conftest.er1
28534   cat conftest.err >&5
28535   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28536   (exit $ac_status); } &&
28537          { ac_try='test -z "$ac_c_werror_flag"
28538                          || test ! -s conftest.err'
28539   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28540   (eval $ac_try) 2>&5
28541   ac_status=$?
28542   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28543   (exit $ac_status); }; } &&
28544          { ac_try='test -s conftest$ac_exeext'
28545   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28546   (eval $ac_try) 2>&5
28547   ac_status=$?
28548   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28549   (exit $ac_status); }; }; then
28550   ac_cv_lib_m_csqrtl=yes
28551 else
28552   echo "$as_me: failed program was:" >&5
28553 sed 's/^/| /' conftest.$ac_ext >&5
28554
28555 ac_cv_lib_m_csqrtl=no
28556 fi
28557 rm -f conftest.err conftest.$ac_objext \
28558       conftest$ac_exeext conftest.$ac_ext
28559 LIBS=$ac_check_lib_save_LIBS
28560 fi
28561 echo "$as_me:$LINENO: result: $ac_cv_lib_m_csqrtl" >&5
28562 echo "${ECHO_T}$ac_cv_lib_m_csqrtl" >&6
28563 if test $ac_cv_lib_m_csqrtl = yes; then
28564
28565 cat >>confdefs.h <<\_ACEOF
28566 #define HAVE_CSQRTL 1
28567 _ACEOF
28568
28569 fi
28570
28571 echo "$as_me:$LINENO: checking for tanf in -lm" >&5
28572 echo $ECHO_N "checking for tanf in -lm... $ECHO_C" >&6
28573 if test "${ac_cv_lib_m_tanf+set}" = set; then
28574   echo $ECHO_N "(cached) $ECHO_C" >&6
28575 else
28576   ac_check_lib_save_LIBS=$LIBS
28577 LIBS="-lm  $LIBS"
28578 if test x$gcc_no_link = xyes; then
28579   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28580 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28581    { (exit 1); exit 1; }; }
28582 fi
28583 cat >conftest.$ac_ext <<_ACEOF
28584 /* confdefs.h.  */
28585 _ACEOF
28586 cat confdefs.h >>conftest.$ac_ext
28587 cat >>conftest.$ac_ext <<_ACEOF
28588 /* end confdefs.h.  */
28589
28590 /* Override any gcc2 internal prototype to avoid an error.  */
28591 #ifdef __cplusplus
28592 extern "C"
28593 #endif
28594 /* We use char because int might match the return type of a gcc2
28595    builtin and then its argument prototype would still apply.  */
28596 char tanf ();
28597 int
28598 main ()
28599 {
28600 tanf ();
28601   ;
28602   return 0;
28603 }
28604 _ACEOF
28605 rm -f conftest.$ac_objext conftest$ac_exeext
28606 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28607   (eval $ac_link) 2>conftest.er1
28608   ac_status=$?
28609   grep -v '^ *+' conftest.er1 >conftest.err
28610   rm -f conftest.er1
28611   cat conftest.err >&5
28612   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28613   (exit $ac_status); } &&
28614          { ac_try='test -z "$ac_c_werror_flag"
28615                          || test ! -s conftest.err'
28616   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28617   (eval $ac_try) 2>&5
28618   ac_status=$?
28619   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28620   (exit $ac_status); }; } &&
28621          { ac_try='test -s conftest$ac_exeext'
28622   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28623   (eval $ac_try) 2>&5
28624   ac_status=$?
28625   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28626   (exit $ac_status); }; }; then
28627   ac_cv_lib_m_tanf=yes
28628 else
28629   echo "$as_me: failed program was:" >&5
28630 sed 's/^/| /' conftest.$ac_ext >&5
28631
28632 ac_cv_lib_m_tanf=no
28633 fi
28634 rm -f conftest.err conftest.$ac_objext \
28635       conftest$ac_exeext conftest.$ac_ext
28636 LIBS=$ac_check_lib_save_LIBS
28637 fi
28638 echo "$as_me:$LINENO: result: $ac_cv_lib_m_tanf" >&5
28639 echo "${ECHO_T}$ac_cv_lib_m_tanf" >&6
28640 if test $ac_cv_lib_m_tanf = yes; then
28641
28642 cat >>confdefs.h <<\_ACEOF
28643 #define HAVE_TANF 1
28644 _ACEOF
28645
28646 fi
28647
28648 echo "$as_me:$LINENO: checking for tan in -lm" >&5
28649 echo $ECHO_N "checking for tan in -lm... $ECHO_C" >&6
28650 if test "${ac_cv_lib_m_tan+set}" = set; then
28651   echo $ECHO_N "(cached) $ECHO_C" >&6
28652 else
28653   ac_check_lib_save_LIBS=$LIBS
28654 LIBS="-lm  $LIBS"
28655 if test x$gcc_no_link = xyes; then
28656   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28657 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28658    { (exit 1); exit 1; }; }
28659 fi
28660 cat >conftest.$ac_ext <<_ACEOF
28661 /* confdefs.h.  */
28662 _ACEOF
28663 cat confdefs.h >>conftest.$ac_ext
28664 cat >>conftest.$ac_ext <<_ACEOF
28665 /* end confdefs.h.  */
28666
28667 /* Override any gcc2 internal prototype to avoid an error.  */
28668 #ifdef __cplusplus
28669 extern "C"
28670 #endif
28671 /* We use char because int might match the return type of a gcc2
28672    builtin and then its argument prototype would still apply.  */
28673 char tan ();
28674 int
28675 main ()
28676 {
28677 tan ();
28678   ;
28679   return 0;
28680 }
28681 _ACEOF
28682 rm -f conftest.$ac_objext conftest$ac_exeext
28683 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28684   (eval $ac_link) 2>conftest.er1
28685   ac_status=$?
28686   grep -v '^ *+' conftest.er1 >conftest.err
28687   rm -f conftest.er1
28688   cat conftest.err >&5
28689   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28690   (exit $ac_status); } &&
28691          { ac_try='test -z "$ac_c_werror_flag"
28692                          || test ! -s conftest.err'
28693   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28694   (eval $ac_try) 2>&5
28695   ac_status=$?
28696   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28697   (exit $ac_status); }; } &&
28698          { ac_try='test -s conftest$ac_exeext'
28699   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28700   (eval $ac_try) 2>&5
28701   ac_status=$?
28702   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28703   (exit $ac_status); }; }; then
28704   ac_cv_lib_m_tan=yes
28705 else
28706   echo "$as_me: failed program was:" >&5
28707 sed 's/^/| /' conftest.$ac_ext >&5
28708
28709 ac_cv_lib_m_tan=no
28710 fi
28711 rm -f conftest.err conftest.$ac_objext \
28712       conftest$ac_exeext conftest.$ac_ext
28713 LIBS=$ac_check_lib_save_LIBS
28714 fi
28715 echo "$as_me:$LINENO: result: $ac_cv_lib_m_tan" >&5
28716 echo "${ECHO_T}$ac_cv_lib_m_tan" >&6
28717 if test $ac_cv_lib_m_tan = yes; then
28718
28719 cat >>confdefs.h <<\_ACEOF
28720 #define HAVE_TAN 1
28721 _ACEOF
28722
28723 fi
28724
28725 echo "$as_me:$LINENO: checking for tanl in -lm" >&5
28726 echo $ECHO_N "checking for tanl in -lm... $ECHO_C" >&6
28727 if test "${ac_cv_lib_m_tanl+set}" = set; then
28728   echo $ECHO_N "(cached) $ECHO_C" >&6
28729 else
28730   ac_check_lib_save_LIBS=$LIBS
28731 LIBS="-lm  $LIBS"
28732 if test x$gcc_no_link = xyes; then
28733   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28734 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28735    { (exit 1); exit 1; }; }
28736 fi
28737 cat >conftest.$ac_ext <<_ACEOF
28738 /* confdefs.h.  */
28739 _ACEOF
28740 cat confdefs.h >>conftest.$ac_ext
28741 cat >>conftest.$ac_ext <<_ACEOF
28742 /* end confdefs.h.  */
28743
28744 /* Override any gcc2 internal prototype to avoid an error.  */
28745 #ifdef __cplusplus
28746 extern "C"
28747 #endif
28748 /* We use char because int might match the return type of a gcc2
28749    builtin and then its argument prototype would still apply.  */
28750 char tanl ();
28751 int
28752 main ()
28753 {
28754 tanl ();
28755   ;
28756   return 0;
28757 }
28758 _ACEOF
28759 rm -f conftest.$ac_objext conftest$ac_exeext
28760 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28761   (eval $ac_link) 2>conftest.er1
28762   ac_status=$?
28763   grep -v '^ *+' conftest.er1 >conftest.err
28764   rm -f conftest.er1
28765   cat conftest.err >&5
28766   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28767   (exit $ac_status); } &&
28768          { ac_try='test -z "$ac_c_werror_flag"
28769                          || test ! -s conftest.err'
28770   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28771   (eval $ac_try) 2>&5
28772   ac_status=$?
28773   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28774   (exit $ac_status); }; } &&
28775          { ac_try='test -s conftest$ac_exeext'
28776   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28777   (eval $ac_try) 2>&5
28778   ac_status=$?
28779   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28780   (exit $ac_status); }; }; then
28781   ac_cv_lib_m_tanl=yes
28782 else
28783   echo "$as_me: failed program was:" >&5
28784 sed 's/^/| /' conftest.$ac_ext >&5
28785
28786 ac_cv_lib_m_tanl=no
28787 fi
28788 rm -f conftest.err conftest.$ac_objext \
28789       conftest$ac_exeext conftest.$ac_ext
28790 LIBS=$ac_check_lib_save_LIBS
28791 fi
28792 echo "$as_me:$LINENO: result: $ac_cv_lib_m_tanl" >&5
28793 echo "${ECHO_T}$ac_cv_lib_m_tanl" >&6
28794 if test $ac_cv_lib_m_tanl = yes; then
28795
28796 cat >>confdefs.h <<\_ACEOF
28797 #define HAVE_TANL 1
28798 _ACEOF
28799
28800 fi
28801
28802 echo "$as_me:$LINENO: checking for ctanf in -lm" >&5
28803 echo $ECHO_N "checking for ctanf in -lm... $ECHO_C" >&6
28804 if test "${ac_cv_lib_m_ctanf+set}" = set; then
28805   echo $ECHO_N "(cached) $ECHO_C" >&6
28806 else
28807   ac_check_lib_save_LIBS=$LIBS
28808 LIBS="-lm  $LIBS"
28809 if test x$gcc_no_link = xyes; then
28810   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28811 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28812    { (exit 1); exit 1; }; }
28813 fi
28814 cat >conftest.$ac_ext <<_ACEOF
28815 /* confdefs.h.  */
28816 _ACEOF
28817 cat confdefs.h >>conftest.$ac_ext
28818 cat >>conftest.$ac_ext <<_ACEOF
28819 /* end confdefs.h.  */
28820
28821 /* Override any gcc2 internal prototype to avoid an error.  */
28822 #ifdef __cplusplus
28823 extern "C"
28824 #endif
28825 /* We use char because int might match the return type of a gcc2
28826    builtin and then its argument prototype would still apply.  */
28827 char ctanf ();
28828 int
28829 main ()
28830 {
28831 ctanf ();
28832   ;
28833   return 0;
28834 }
28835 _ACEOF
28836 rm -f conftest.$ac_objext conftest$ac_exeext
28837 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28838   (eval $ac_link) 2>conftest.er1
28839   ac_status=$?
28840   grep -v '^ *+' conftest.er1 >conftest.err
28841   rm -f conftest.er1
28842   cat conftest.err >&5
28843   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28844   (exit $ac_status); } &&
28845          { ac_try='test -z "$ac_c_werror_flag"
28846                          || test ! -s conftest.err'
28847   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28848   (eval $ac_try) 2>&5
28849   ac_status=$?
28850   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28851   (exit $ac_status); }; } &&
28852          { ac_try='test -s conftest$ac_exeext'
28853   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28854   (eval $ac_try) 2>&5
28855   ac_status=$?
28856   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28857   (exit $ac_status); }; }; then
28858   ac_cv_lib_m_ctanf=yes
28859 else
28860   echo "$as_me: failed program was:" >&5
28861 sed 's/^/| /' conftest.$ac_ext >&5
28862
28863 ac_cv_lib_m_ctanf=no
28864 fi
28865 rm -f conftest.err conftest.$ac_objext \
28866       conftest$ac_exeext conftest.$ac_ext
28867 LIBS=$ac_check_lib_save_LIBS
28868 fi
28869 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ctanf" >&5
28870 echo "${ECHO_T}$ac_cv_lib_m_ctanf" >&6
28871 if test $ac_cv_lib_m_ctanf = yes; then
28872
28873 cat >>confdefs.h <<\_ACEOF
28874 #define HAVE_CTANF 1
28875 _ACEOF
28876
28877 fi
28878
28879 echo "$as_me:$LINENO: checking for ctan in -lm" >&5
28880 echo $ECHO_N "checking for ctan in -lm... $ECHO_C" >&6
28881 if test "${ac_cv_lib_m_ctan+set}" = set; then
28882   echo $ECHO_N "(cached) $ECHO_C" >&6
28883 else
28884   ac_check_lib_save_LIBS=$LIBS
28885 LIBS="-lm  $LIBS"
28886 if test x$gcc_no_link = xyes; then
28887   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28888 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28889    { (exit 1); exit 1; }; }
28890 fi
28891 cat >conftest.$ac_ext <<_ACEOF
28892 /* confdefs.h.  */
28893 _ACEOF
28894 cat confdefs.h >>conftest.$ac_ext
28895 cat >>conftest.$ac_ext <<_ACEOF
28896 /* end confdefs.h.  */
28897
28898 /* Override any gcc2 internal prototype to avoid an error.  */
28899 #ifdef __cplusplus
28900 extern "C"
28901 #endif
28902 /* We use char because int might match the return type of a gcc2
28903    builtin and then its argument prototype would still apply.  */
28904 char ctan ();
28905 int
28906 main ()
28907 {
28908 ctan ();
28909   ;
28910   return 0;
28911 }
28912 _ACEOF
28913 rm -f conftest.$ac_objext conftest$ac_exeext
28914 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28915   (eval $ac_link) 2>conftest.er1
28916   ac_status=$?
28917   grep -v '^ *+' conftest.er1 >conftest.err
28918   rm -f conftest.er1
28919   cat conftest.err >&5
28920   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28921   (exit $ac_status); } &&
28922          { ac_try='test -z "$ac_c_werror_flag"
28923                          || test ! -s conftest.err'
28924   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28925   (eval $ac_try) 2>&5
28926   ac_status=$?
28927   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28928   (exit $ac_status); }; } &&
28929          { ac_try='test -s conftest$ac_exeext'
28930   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28931   (eval $ac_try) 2>&5
28932   ac_status=$?
28933   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28934   (exit $ac_status); }; }; then
28935   ac_cv_lib_m_ctan=yes
28936 else
28937   echo "$as_me: failed program was:" >&5
28938 sed 's/^/| /' conftest.$ac_ext >&5
28939
28940 ac_cv_lib_m_ctan=no
28941 fi
28942 rm -f conftest.err conftest.$ac_objext \
28943       conftest$ac_exeext conftest.$ac_ext
28944 LIBS=$ac_check_lib_save_LIBS
28945 fi
28946 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ctan" >&5
28947 echo "${ECHO_T}$ac_cv_lib_m_ctan" >&6
28948 if test $ac_cv_lib_m_ctan = yes; then
28949
28950 cat >>confdefs.h <<\_ACEOF
28951 #define HAVE_CTAN 1
28952 _ACEOF
28953
28954 fi
28955
28956 echo "$as_me:$LINENO: checking for ctanl in -lm" >&5
28957 echo $ECHO_N "checking for ctanl in -lm... $ECHO_C" >&6
28958 if test "${ac_cv_lib_m_ctanl+set}" = set; then
28959   echo $ECHO_N "(cached) $ECHO_C" >&6
28960 else
28961   ac_check_lib_save_LIBS=$LIBS
28962 LIBS="-lm  $LIBS"
28963 if test x$gcc_no_link = xyes; then
28964   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28965 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28966    { (exit 1); exit 1; }; }
28967 fi
28968 cat >conftest.$ac_ext <<_ACEOF
28969 /* confdefs.h.  */
28970 _ACEOF
28971 cat confdefs.h >>conftest.$ac_ext
28972 cat >>conftest.$ac_ext <<_ACEOF
28973 /* end confdefs.h.  */
28974
28975 /* Override any gcc2 internal prototype to avoid an error.  */
28976 #ifdef __cplusplus
28977 extern "C"
28978 #endif
28979 /* We use char because int might match the return type of a gcc2
28980    builtin and then its argument prototype would still apply.  */
28981 char ctanl ();
28982 int
28983 main ()
28984 {
28985 ctanl ();
28986   ;
28987   return 0;
28988 }
28989 _ACEOF
28990 rm -f conftest.$ac_objext conftest$ac_exeext
28991 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28992   (eval $ac_link) 2>conftest.er1
28993   ac_status=$?
28994   grep -v '^ *+' conftest.er1 >conftest.err
28995   rm -f conftest.er1
28996   cat conftest.err >&5
28997   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28998   (exit $ac_status); } &&
28999          { ac_try='test -z "$ac_c_werror_flag"
29000                          || test ! -s conftest.err'
29001   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29002   (eval $ac_try) 2>&5
29003   ac_status=$?
29004   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29005   (exit $ac_status); }; } &&
29006          { ac_try='test -s conftest$ac_exeext'
29007   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29008   (eval $ac_try) 2>&5
29009   ac_status=$?
29010   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29011   (exit $ac_status); }; }; then
29012   ac_cv_lib_m_ctanl=yes
29013 else
29014   echo "$as_me: failed program was:" >&5
29015 sed 's/^/| /' conftest.$ac_ext >&5
29016
29017 ac_cv_lib_m_ctanl=no
29018 fi
29019 rm -f conftest.err conftest.$ac_objext \
29020       conftest$ac_exeext conftest.$ac_ext
29021 LIBS=$ac_check_lib_save_LIBS
29022 fi
29023 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ctanl" >&5
29024 echo "${ECHO_T}$ac_cv_lib_m_ctanl" >&6
29025 if test $ac_cv_lib_m_ctanl = yes; then
29026
29027 cat >>confdefs.h <<\_ACEOF
29028 #define HAVE_CTANL 1
29029 _ACEOF
29030
29031 fi
29032
29033 echo "$as_me:$LINENO: checking for tanhf in -lm" >&5
29034 echo $ECHO_N "checking for tanhf in -lm... $ECHO_C" >&6
29035 if test "${ac_cv_lib_m_tanhf+set}" = set; then
29036   echo $ECHO_N "(cached) $ECHO_C" >&6
29037 else
29038   ac_check_lib_save_LIBS=$LIBS
29039 LIBS="-lm  $LIBS"
29040 if test x$gcc_no_link = xyes; then
29041   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29042 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29043    { (exit 1); exit 1; }; }
29044 fi
29045 cat >conftest.$ac_ext <<_ACEOF
29046 /* confdefs.h.  */
29047 _ACEOF
29048 cat confdefs.h >>conftest.$ac_ext
29049 cat >>conftest.$ac_ext <<_ACEOF
29050 /* end confdefs.h.  */
29051
29052 /* Override any gcc2 internal prototype to avoid an error.  */
29053 #ifdef __cplusplus
29054 extern "C"
29055 #endif
29056 /* We use char because int might match the return type of a gcc2
29057    builtin and then its argument prototype would still apply.  */
29058 char tanhf ();
29059 int
29060 main ()
29061 {
29062 tanhf ();
29063   ;
29064   return 0;
29065 }
29066 _ACEOF
29067 rm -f conftest.$ac_objext conftest$ac_exeext
29068 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29069   (eval $ac_link) 2>conftest.er1
29070   ac_status=$?
29071   grep -v '^ *+' conftest.er1 >conftest.err
29072   rm -f conftest.er1
29073   cat conftest.err >&5
29074   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29075   (exit $ac_status); } &&
29076          { ac_try='test -z "$ac_c_werror_flag"
29077                          || test ! -s conftest.err'
29078   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29079   (eval $ac_try) 2>&5
29080   ac_status=$?
29081   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29082   (exit $ac_status); }; } &&
29083          { ac_try='test -s conftest$ac_exeext'
29084   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29085   (eval $ac_try) 2>&5
29086   ac_status=$?
29087   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29088   (exit $ac_status); }; }; then
29089   ac_cv_lib_m_tanhf=yes
29090 else
29091   echo "$as_me: failed program was:" >&5
29092 sed 's/^/| /' conftest.$ac_ext >&5
29093
29094 ac_cv_lib_m_tanhf=no
29095 fi
29096 rm -f conftest.err conftest.$ac_objext \
29097       conftest$ac_exeext conftest.$ac_ext
29098 LIBS=$ac_check_lib_save_LIBS
29099 fi
29100 echo "$as_me:$LINENO: result: $ac_cv_lib_m_tanhf" >&5
29101 echo "${ECHO_T}$ac_cv_lib_m_tanhf" >&6
29102 if test $ac_cv_lib_m_tanhf = yes; then
29103
29104 cat >>confdefs.h <<\_ACEOF
29105 #define HAVE_TANHF 1
29106 _ACEOF
29107
29108 fi
29109
29110 echo "$as_me:$LINENO: checking for tanh in -lm" >&5
29111 echo $ECHO_N "checking for tanh in -lm... $ECHO_C" >&6
29112 if test "${ac_cv_lib_m_tanh+set}" = set; then
29113   echo $ECHO_N "(cached) $ECHO_C" >&6
29114 else
29115   ac_check_lib_save_LIBS=$LIBS
29116 LIBS="-lm  $LIBS"
29117 if test x$gcc_no_link = xyes; then
29118   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29119 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29120    { (exit 1); exit 1; }; }
29121 fi
29122 cat >conftest.$ac_ext <<_ACEOF
29123 /* confdefs.h.  */
29124 _ACEOF
29125 cat confdefs.h >>conftest.$ac_ext
29126 cat >>conftest.$ac_ext <<_ACEOF
29127 /* end confdefs.h.  */
29128
29129 /* Override any gcc2 internal prototype to avoid an error.  */
29130 #ifdef __cplusplus
29131 extern "C"
29132 #endif
29133 /* We use char because int might match the return type of a gcc2
29134    builtin and then its argument prototype would still apply.  */
29135 char tanh ();
29136 int
29137 main ()
29138 {
29139 tanh ();
29140   ;
29141   return 0;
29142 }
29143 _ACEOF
29144 rm -f conftest.$ac_objext conftest$ac_exeext
29145 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29146   (eval $ac_link) 2>conftest.er1
29147   ac_status=$?
29148   grep -v '^ *+' conftest.er1 >conftest.err
29149   rm -f conftest.er1
29150   cat conftest.err >&5
29151   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29152   (exit $ac_status); } &&
29153          { ac_try='test -z "$ac_c_werror_flag"
29154                          || test ! -s conftest.err'
29155   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29156   (eval $ac_try) 2>&5
29157   ac_status=$?
29158   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29159   (exit $ac_status); }; } &&
29160          { ac_try='test -s conftest$ac_exeext'
29161   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29162   (eval $ac_try) 2>&5
29163   ac_status=$?
29164   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29165   (exit $ac_status); }; }; then
29166   ac_cv_lib_m_tanh=yes
29167 else
29168   echo "$as_me: failed program was:" >&5
29169 sed 's/^/| /' conftest.$ac_ext >&5
29170
29171 ac_cv_lib_m_tanh=no
29172 fi
29173 rm -f conftest.err conftest.$ac_objext \
29174       conftest$ac_exeext conftest.$ac_ext
29175 LIBS=$ac_check_lib_save_LIBS
29176 fi
29177 echo "$as_me:$LINENO: result: $ac_cv_lib_m_tanh" >&5
29178 echo "${ECHO_T}$ac_cv_lib_m_tanh" >&6
29179 if test $ac_cv_lib_m_tanh = yes; then
29180
29181 cat >>confdefs.h <<\_ACEOF
29182 #define HAVE_TANH 1
29183 _ACEOF
29184
29185 fi
29186
29187 echo "$as_me:$LINENO: checking for tanhl in -lm" >&5
29188 echo $ECHO_N "checking for tanhl in -lm... $ECHO_C" >&6
29189 if test "${ac_cv_lib_m_tanhl+set}" = set; then
29190   echo $ECHO_N "(cached) $ECHO_C" >&6
29191 else
29192   ac_check_lib_save_LIBS=$LIBS
29193 LIBS="-lm  $LIBS"
29194 if test x$gcc_no_link = xyes; then
29195   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29196 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29197    { (exit 1); exit 1; }; }
29198 fi
29199 cat >conftest.$ac_ext <<_ACEOF
29200 /* confdefs.h.  */
29201 _ACEOF
29202 cat confdefs.h >>conftest.$ac_ext
29203 cat >>conftest.$ac_ext <<_ACEOF
29204 /* end confdefs.h.  */
29205
29206 /* Override any gcc2 internal prototype to avoid an error.  */
29207 #ifdef __cplusplus
29208 extern "C"
29209 #endif
29210 /* We use char because int might match the return type of a gcc2
29211    builtin and then its argument prototype would still apply.  */
29212 char tanhl ();
29213 int
29214 main ()
29215 {
29216 tanhl ();
29217   ;
29218   return 0;
29219 }
29220 _ACEOF
29221 rm -f conftest.$ac_objext conftest$ac_exeext
29222 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29223   (eval $ac_link) 2>conftest.er1
29224   ac_status=$?
29225   grep -v '^ *+' conftest.er1 >conftest.err
29226   rm -f conftest.er1
29227   cat conftest.err >&5
29228   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29229   (exit $ac_status); } &&
29230          { ac_try='test -z "$ac_c_werror_flag"
29231                          || test ! -s conftest.err'
29232   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29233   (eval $ac_try) 2>&5
29234   ac_status=$?
29235   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29236   (exit $ac_status); }; } &&
29237          { ac_try='test -s conftest$ac_exeext'
29238   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29239   (eval $ac_try) 2>&5
29240   ac_status=$?
29241   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29242   (exit $ac_status); }; }; then
29243   ac_cv_lib_m_tanhl=yes
29244 else
29245   echo "$as_me: failed program was:" >&5
29246 sed 's/^/| /' conftest.$ac_ext >&5
29247
29248 ac_cv_lib_m_tanhl=no
29249 fi
29250 rm -f conftest.err conftest.$ac_objext \
29251       conftest$ac_exeext conftest.$ac_ext
29252 LIBS=$ac_check_lib_save_LIBS
29253 fi
29254 echo "$as_me:$LINENO: result: $ac_cv_lib_m_tanhl" >&5
29255 echo "${ECHO_T}$ac_cv_lib_m_tanhl" >&6
29256 if test $ac_cv_lib_m_tanhl = yes; then
29257
29258 cat >>confdefs.h <<\_ACEOF
29259 #define HAVE_TANHL 1
29260 _ACEOF
29261
29262 fi
29263
29264 echo "$as_me:$LINENO: checking for ctanhf in -lm" >&5
29265 echo $ECHO_N "checking for ctanhf in -lm... $ECHO_C" >&6
29266 if test "${ac_cv_lib_m_ctanhf+set}" = set; then
29267   echo $ECHO_N "(cached) $ECHO_C" >&6
29268 else
29269   ac_check_lib_save_LIBS=$LIBS
29270 LIBS="-lm  $LIBS"
29271 if test x$gcc_no_link = xyes; then
29272   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29273 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29274    { (exit 1); exit 1; }; }
29275 fi
29276 cat >conftest.$ac_ext <<_ACEOF
29277 /* confdefs.h.  */
29278 _ACEOF
29279 cat confdefs.h >>conftest.$ac_ext
29280 cat >>conftest.$ac_ext <<_ACEOF
29281 /* end confdefs.h.  */
29282
29283 /* Override any gcc2 internal prototype to avoid an error.  */
29284 #ifdef __cplusplus
29285 extern "C"
29286 #endif
29287 /* We use char because int might match the return type of a gcc2
29288    builtin and then its argument prototype would still apply.  */
29289 char ctanhf ();
29290 int
29291 main ()
29292 {
29293 ctanhf ();
29294   ;
29295   return 0;
29296 }
29297 _ACEOF
29298 rm -f conftest.$ac_objext conftest$ac_exeext
29299 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29300   (eval $ac_link) 2>conftest.er1
29301   ac_status=$?
29302   grep -v '^ *+' conftest.er1 >conftest.err
29303   rm -f conftest.er1
29304   cat conftest.err >&5
29305   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29306   (exit $ac_status); } &&
29307          { ac_try='test -z "$ac_c_werror_flag"
29308                          || test ! -s conftest.err'
29309   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29310   (eval $ac_try) 2>&5
29311   ac_status=$?
29312   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29313   (exit $ac_status); }; } &&
29314          { ac_try='test -s conftest$ac_exeext'
29315   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29316   (eval $ac_try) 2>&5
29317   ac_status=$?
29318   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29319   (exit $ac_status); }; }; then
29320   ac_cv_lib_m_ctanhf=yes
29321 else
29322   echo "$as_me: failed program was:" >&5
29323 sed 's/^/| /' conftest.$ac_ext >&5
29324
29325 ac_cv_lib_m_ctanhf=no
29326 fi
29327 rm -f conftest.err conftest.$ac_objext \
29328       conftest$ac_exeext conftest.$ac_ext
29329 LIBS=$ac_check_lib_save_LIBS
29330 fi
29331 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ctanhf" >&5
29332 echo "${ECHO_T}$ac_cv_lib_m_ctanhf" >&6
29333 if test $ac_cv_lib_m_ctanhf = yes; then
29334
29335 cat >>confdefs.h <<\_ACEOF
29336 #define HAVE_CTANHF 1
29337 _ACEOF
29338
29339 fi
29340
29341 echo "$as_me:$LINENO: checking for ctanh in -lm" >&5
29342 echo $ECHO_N "checking for ctanh in -lm... $ECHO_C" >&6
29343 if test "${ac_cv_lib_m_ctanh+set}" = set; then
29344   echo $ECHO_N "(cached) $ECHO_C" >&6
29345 else
29346   ac_check_lib_save_LIBS=$LIBS
29347 LIBS="-lm  $LIBS"
29348 if test x$gcc_no_link = xyes; then
29349   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29350 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29351    { (exit 1); exit 1; }; }
29352 fi
29353 cat >conftest.$ac_ext <<_ACEOF
29354 /* confdefs.h.  */
29355 _ACEOF
29356 cat confdefs.h >>conftest.$ac_ext
29357 cat >>conftest.$ac_ext <<_ACEOF
29358 /* end confdefs.h.  */
29359
29360 /* Override any gcc2 internal prototype to avoid an error.  */
29361 #ifdef __cplusplus
29362 extern "C"
29363 #endif
29364 /* We use char because int might match the return type of a gcc2
29365    builtin and then its argument prototype would still apply.  */
29366 char ctanh ();
29367 int
29368 main ()
29369 {
29370 ctanh ();
29371   ;
29372   return 0;
29373 }
29374 _ACEOF
29375 rm -f conftest.$ac_objext conftest$ac_exeext
29376 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29377   (eval $ac_link) 2>conftest.er1
29378   ac_status=$?
29379   grep -v '^ *+' conftest.er1 >conftest.err
29380   rm -f conftest.er1
29381   cat conftest.err >&5
29382   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29383   (exit $ac_status); } &&
29384          { ac_try='test -z "$ac_c_werror_flag"
29385                          || test ! -s conftest.err'
29386   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29387   (eval $ac_try) 2>&5
29388   ac_status=$?
29389   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29390   (exit $ac_status); }; } &&
29391          { ac_try='test -s conftest$ac_exeext'
29392   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29393   (eval $ac_try) 2>&5
29394   ac_status=$?
29395   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29396   (exit $ac_status); }; }; then
29397   ac_cv_lib_m_ctanh=yes
29398 else
29399   echo "$as_me: failed program was:" >&5
29400 sed 's/^/| /' conftest.$ac_ext >&5
29401
29402 ac_cv_lib_m_ctanh=no
29403 fi
29404 rm -f conftest.err conftest.$ac_objext \
29405       conftest$ac_exeext conftest.$ac_ext
29406 LIBS=$ac_check_lib_save_LIBS
29407 fi
29408 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ctanh" >&5
29409 echo "${ECHO_T}$ac_cv_lib_m_ctanh" >&6
29410 if test $ac_cv_lib_m_ctanh = yes; then
29411
29412 cat >>confdefs.h <<\_ACEOF
29413 #define HAVE_CTANH 1
29414 _ACEOF
29415
29416 fi
29417
29418 echo "$as_me:$LINENO: checking for ctanhl in -lm" >&5
29419 echo $ECHO_N "checking for ctanhl in -lm... $ECHO_C" >&6
29420 if test "${ac_cv_lib_m_ctanhl+set}" = set; then
29421   echo $ECHO_N "(cached) $ECHO_C" >&6
29422 else
29423   ac_check_lib_save_LIBS=$LIBS
29424 LIBS="-lm  $LIBS"
29425 if test x$gcc_no_link = xyes; then
29426   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29427 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29428    { (exit 1); exit 1; }; }
29429 fi
29430 cat >conftest.$ac_ext <<_ACEOF
29431 /* confdefs.h.  */
29432 _ACEOF
29433 cat confdefs.h >>conftest.$ac_ext
29434 cat >>conftest.$ac_ext <<_ACEOF
29435 /* end confdefs.h.  */
29436
29437 /* Override any gcc2 internal prototype to avoid an error.  */
29438 #ifdef __cplusplus
29439 extern "C"
29440 #endif
29441 /* We use char because int might match the return type of a gcc2
29442    builtin and then its argument prototype would still apply.  */
29443 char ctanhl ();
29444 int
29445 main ()
29446 {
29447 ctanhl ();
29448   ;
29449   return 0;
29450 }
29451 _ACEOF
29452 rm -f conftest.$ac_objext conftest$ac_exeext
29453 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29454   (eval $ac_link) 2>conftest.er1
29455   ac_status=$?
29456   grep -v '^ *+' conftest.er1 >conftest.err
29457   rm -f conftest.er1
29458   cat conftest.err >&5
29459   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29460   (exit $ac_status); } &&
29461          { ac_try='test -z "$ac_c_werror_flag"
29462                          || test ! -s conftest.err'
29463   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29464   (eval $ac_try) 2>&5
29465   ac_status=$?
29466   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29467   (exit $ac_status); }; } &&
29468          { ac_try='test -s conftest$ac_exeext'
29469   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29470   (eval $ac_try) 2>&5
29471   ac_status=$?
29472   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29473   (exit $ac_status); }; }; then
29474   ac_cv_lib_m_ctanhl=yes
29475 else
29476   echo "$as_me: failed program was:" >&5
29477 sed 's/^/| /' conftest.$ac_ext >&5
29478
29479 ac_cv_lib_m_ctanhl=no
29480 fi
29481 rm -f conftest.err conftest.$ac_objext \
29482       conftest$ac_exeext conftest.$ac_ext
29483 LIBS=$ac_check_lib_save_LIBS
29484 fi
29485 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ctanhl" >&5
29486 echo "${ECHO_T}$ac_cv_lib_m_ctanhl" >&6
29487 if test $ac_cv_lib_m_ctanhl = yes; then
29488
29489 cat >>confdefs.h <<\_ACEOF
29490 #define HAVE_CTANHL 1
29491 _ACEOF
29492
29493 fi
29494
29495 echo "$as_me:$LINENO: checking for truncf in -lm" >&5
29496 echo $ECHO_N "checking for truncf in -lm... $ECHO_C" >&6
29497 if test "${ac_cv_lib_m_truncf+set}" = set; then
29498   echo $ECHO_N "(cached) $ECHO_C" >&6
29499 else
29500   ac_check_lib_save_LIBS=$LIBS
29501 LIBS="-lm  $LIBS"
29502 if test x$gcc_no_link = xyes; then
29503   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29504 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29505    { (exit 1); exit 1; }; }
29506 fi
29507 cat >conftest.$ac_ext <<_ACEOF
29508 /* confdefs.h.  */
29509 _ACEOF
29510 cat confdefs.h >>conftest.$ac_ext
29511 cat >>conftest.$ac_ext <<_ACEOF
29512 /* end confdefs.h.  */
29513
29514 /* Override any gcc2 internal prototype to avoid an error.  */
29515 #ifdef __cplusplus
29516 extern "C"
29517 #endif
29518 /* We use char because int might match the return type of a gcc2
29519    builtin and then its argument prototype would still apply.  */
29520 char truncf ();
29521 int
29522 main ()
29523 {
29524 truncf ();
29525   ;
29526   return 0;
29527 }
29528 _ACEOF
29529 rm -f conftest.$ac_objext conftest$ac_exeext
29530 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29531   (eval $ac_link) 2>conftest.er1
29532   ac_status=$?
29533   grep -v '^ *+' conftest.er1 >conftest.err
29534   rm -f conftest.er1
29535   cat conftest.err >&5
29536   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29537   (exit $ac_status); } &&
29538          { ac_try='test -z "$ac_c_werror_flag"
29539                          || test ! -s conftest.err'
29540   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29541   (eval $ac_try) 2>&5
29542   ac_status=$?
29543   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29544   (exit $ac_status); }; } &&
29545          { ac_try='test -s conftest$ac_exeext'
29546   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29547   (eval $ac_try) 2>&5
29548   ac_status=$?
29549   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29550   (exit $ac_status); }; }; then
29551   ac_cv_lib_m_truncf=yes
29552 else
29553   echo "$as_me: failed program was:" >&5
29554 sed 's/^/| /' conftest.$ac_ext >&5
29555
29556 ac_cv_lib_m_truncf=no
29557 fi
29558 rm -f conftest.err conftest.$ac_objext \
29559       conftest$ac_exeext conftest.$ac_ext
29560 LIBS=$ac_check_lib_save_LIBS
29561 fi
29562 echo "$as_me:$LINENO: result: $ac_cv_lib_m_truncf" >&5
29563 echo "${ECHO_T}$ac_cv_lib_m_truncf" >&6
29564 if test $ac_cv_lib_m_truncf = yes; then
29565
29566 cat >>confdefs.h <<\_ACEOF
29567 #define HAVE_TRUNCF 1
29568 _ACEOF
29569
29570 fi
29571
29572 echo "$as_me:$LINENO: checking for trunc in -lm" >&5
29573 echo $ECHO_N "checking for trunc in -lm... $ECHO_C" >&6
29574 if test "${ac_cv_lib_m_trunc+set}" = set; then
29575   echo $ECHO_N "(cached) $ECHO_C" >&6
29576 else
29577   ac_check_lib_save_LIBS=$LIBS
29578 LIBS="-lm  $LIBS"
29579 if test x$gcc_no_link = xyes; then
29580   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29581 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29582    { (exit 1); exit 1; }; }
29583 fi
29584 cat >conftest.$ac_ext <<_ACEOF
29585 /* confdefs.h.  */
29586 _ACEOF
29587 cat confdefs.h >>conftest.$ac_ext
29588 cat >>conftest.$ac_ext <<_ACEOF
29589 /* end confdefs.h.  */
29590
29591 /* Override any gcc2 internal prototype to avoid an error.  */
29592 #ifdef __cplusplus
29593 extern "C"
29594 #endif
29595 /* We use char because int might match the return type of a gcc2
29596    builtin and then its argument prototype would still apply.  */
29597 char trunc ();
29598 int
29599 main ()
29600 {
29601 trunc ();
29602   ;
29603   return 0;
29604 }
29605 _ACEOF
29606 rm -f conftest.$ac_objext conftest$ac_exeext
29607 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29608   (eval $ac_link) 2>conftest.er1
29609   ac_status=$?
29610   grep -v '^ *+' conftest.er1 >conftest.err
29611   rm -f conftest.er1
29612   cat conftest.err >&5
29613   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29614   (exit $ac_status); } &&
29615          { ac_try='test -z "$ac_c_werror_flag"
29616                          || test ! -s conftest.err'
29617   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29618   (eval $ac_try) 2>&5
29619   ac_status=$?
29620   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29621   (exit $ac_status); }; } &&
29622          { ac_try='test -s conftest$ac_exeext'
29623   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29624   (eval $ac_try) 2>&5
29625   ac_status=$?
29626   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29627   (exit $ac_status); }; }; then
29628   ac_cv_lib_m_trunc=yes
29629 else
29630   echo "$as_me: failed program was:" >&5
29631 sed 's/^/| /' conftest.$ac_ext >&5
29632
29633 ac_cv_lib_m_trunc=no
29634 fi
29635 rm -f conftest.err conftest.$ac_objext \
29636       conftest$ac_exeext conftest.$ac_ext
29637 LIBS=$ac_check_lib_save_LIBS
29638 fi
29639 echo "$as_me:$LINENO: result: $ac_cv_lib_m_trunc" >&5
29640 echo "${ECHO_T}$ac_cv_lib_m_trunc" >&6
29641 if test $ac_cv_lib_m_trunc = yes; then
29642
29643 cat >>confdefs.h <<\_ACEOF
29644 #define HAVE_TRUNC 1
29645 _ACEOF
29646
29647 fi
29648
29649 echo "$as_me:$LINENO: checking for truncl in -lm" >&5
29650 echo $ECHO_N "checking for truncl in -lm... $ECHO_C" >&6
29651 if test "${ac_cv_lib_m_truncl+set}" = set; then
29652   echo $ECHO_N "(cached) $ECHO_C" >&6
29653 else
29654   ac_check_lib_save_LIBS=$LIBS
29655 LIBS="-lm  $LIBS"
29656 if test x$gcc_no_link = xyes; then
29657   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29658 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29659    { (exit 1); exit 1; }; }
29660 fi
29661 cat >conftest.$ac_ext <<_ACEOF
29662 /* confdefs.h.  */
29663 _ACEOF
29664 cat confdefs.h >>conftest.$ac_ext
29665 cat >>conftest.$ac_ext <<_ACEOF
29666 /* end confdefs.h.  */
29667
29668 /* Override any gcc2 internal prototype to avoid an error.  */
29669 #ifdef __cplusplus
29670 extern "C"
29671 #endif
29672 /* We use char because int might match the return type of a gcc2
29673    builtin and then its argument prototype would still apply.  */
29674 char truncl ();
29675 int
29676 main ()
29677 {
29678 truncl ();
29679   ;
29680   return 0;
29681 }
29682 _ACEOF
29683 rm -f conftest.$ac_objext conftest$ac_exeext
29684 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29685   (eval $ac_link) 2>conftest.er1
29686   ac_status=$?
29687   grep -v '^ *+' conftest.er1 >conftest.err
29688   rm -f conftest.er1
29689   cat conftest.err >&5
29690   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29691   (exit $ac_status); } &&
29692          { ac_try='test -z "$ac_c_werror_flag"
29693                          || test ! -s conftest.err'
29694   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29695   (eval $ac_try) 2>&5
29696   ac_status=$?
29697   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29698   (exit $ac_status); }; } &&
29699          { ac_try='test -s conftest$ac_exeext'
29700   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29701   (eval $ac_try) 2>&5
29702   ac_status=$?
29703   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29704   (exit $ac_status); }; }; then
29705   ac_cv_lib_m_truncl=yes
29706 else
29707   echo "$as_me: failed program was:" >&5
29708 sed 's/^/| /' conftest.$ac_ext >&5
29709
29710 ac_cv_lib_m_truncl=no
29711 fi
29712 rm -f conftest.err conftest.$ac_objext \
29713       conftest$ac_exeext conftest.$ac_ext
29714 LIBS=$ac_check_lib_save_LIBS
29715 fi
29716 echo "$as_me:$LINENO: result: $ac_cv_lib_m_truncl" >&5
29717 echo "${ECHO_T}$ac_cv_lib_m_truncl" >&6
29718 if test $ac_cv_lib_m_truncl = yes; then
29719
29720 cat >>confdefs.h <<\_ACEOF
29721 #define HAVE_TRUNCL 1
29722 _ACEOF
29723
29724 fi
29725
29726 echo "$as_me:$LINENO: checking for erff in -lm" >&5
29727 echo $ECHO_N "checking for erff in -lm... $ECHO_C" >&6
29728 if test "${ac_cv_lib_m_erff+set}" = set; then
29729   echo $ECHO_N "(cached) $ECHO_C" >&6
29730 else
29731   ac_check_lib_save_LIBS=$LIBS
29732 LIBS="-lm  $LIBS"
29733 if test x$gcc_no_link = xyes; then
29734   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29735 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29736    { (exit 1); exit 1; }; }
29737 fi
29738 cat >conftest.$ac_ext <<_ACEOF
29739 /* confdefs.h.  */
29740 _ACEOF
29741 cat confdefs.h >>conftest.$ac_ext
29742 cat >>conftest.$ac_ext <<_ACEOF
29743 /* end confdefs.h.  */
29744
29745 /* Override any gcc2 internal prototype to avoid an error.  */
29746 #ifdef __cplusplus
29747 extern "C"
29748 #endif
29749 /* We use char because int might match the return type of a gcc2
29750    builtin and then its argument prototype would still apply.  */
29751 char erff ();
29752 int
29753 main ()
29754 {
29755 erff ();
29756   ;
29757   return 0;
29758 }
29759 _ACEOF
29760 rm -f conftest.$ac_objext conftest$ac_exeext
29761 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29762   (eval $ac_link) 2>conftest.er1
29763   ac_status=$?
29764   grep -v '^ *+' conftest.er1 >conftest.err
29765   rm -f conftest.er1
29766   cat conftest.err >&5
29767   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29768   (exit $ac_status); } &&
29769          { ac_try='test -z "$ac_c_werror_flag"
29770                          || test ! -s conftest.err'
29771   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29772   (eval $ac_try) 2>&5
29773   ac_status=$?
29774   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29775   (exit $ac_status); }; } &&
29776          { ac_try='test -s conftest$ac_exeext'
29777   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29778   (eval $ac_try) 2>&5
29779   ac_status=$?
29780   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29781   (exit $ac_status); }; }; then
29782   ac_cv_lib_m_erff=yes
29783 else
29784   echo "$as_me: failed program was:" >&5
29785 sed 's/^/| /' conftest.$ac_ext >&5
29786
29787 ac_cv_lib_m_erff=no
29788 fi
29789 rm -f conftest.err conftest.$ac_objext \
29790       conftest$ac_exeext conftest.$ac_ext
29791 LIBS=$ac_check_lib_save_LIBS
29792 fi
29793 echo "$as_me:$LINENO: result: $ac_cv_lib_m_erff" >&5
29794 echo "${ECHO_T}$ac_cv_lib_m_erff" >&6
29795 if test $ac_cv_lib_m_erff = yes; then
29796
29797 cat >>confdefs.h <<\_ACEOF
29798 #define HAVE_ERFF 1
29799 _ACEOF
29800
29801 fi
29802
29803 echo "$as_me:$LINENO: checking for erf in -lm" >&5
29804 echo $ECHO_N "checking for erf in -lm... $ECHO_C" >&6
29805 if test "${ac_cv_lib_m_erf+set}" = set; then
29806   echo $ECHO_N "(cached) $ECHO_C" >&6
29807 else
29808   ac_check_lib_save_LIBS=$LIBS
29809 LIBS="-lm  $LIBS"
29810 if test x$gcc_no_link = xyes; then
29811   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29812 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29813    { (exit 1); exit 1; }; }
29814 fi
29815 cat >conftest.$ac_ext <<_ACEOF
29816 /* confdefs.h.  */
29817 _ACEOF
29818 cat confdefs.h >>conftest.$ac_ext
29819 cat >>conftest.$ac_ext <<_ACEOF
29820 /* end confdefs.h.  */
29821
29822 /* Override any gcc2 internal prototype to avoid an error.  */
29823 #ifdef __cplusplus
29824 extern "C"
29825 #endif
29826 /* We use char because int might match the return type of a gcc2
29827    builtin and then its argument prototype would still apply.  */
29828 char erf ();
29829 int
29830 main ()
29831 {
29832 erf ();
29833   ;
29834   return 0;
29835 }
29836 _ACEOF
29837 rm -f conftest.$ac_objext conftest$ac_exeext
29838 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29839   (eval $ac_link) 2>conftest.er1
29840   ac_status=$?
29841   grep -v '^ *+' conftest.er1 >conftest.err
29842   rm -f conftest.er1
29843   cat conftest.err >&5
29844   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29845   (exit $ac_status); } &&
29846          { ac_try='test -z "$ac_c_werror_flag"
29847                          || test ! -s conftest.err'
29848   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29849   (eval $ac_try) 2>&5
29850   ac_status=$?
29851   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29852   (exit $ac_status); }; } &&
29853          { ac_try='test -s conftest$ac_exeext'
29854   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29855   (eval $ac_try) 2>&5
29856   ac_status=$?
29857   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29858   (exit $ac_status); }; }; then
29859   ac_cv_lib_m_erf=yes
29860 else
29861   echo "$as_me: failed program was:" >&5
29862 sed 's/^/| /' conftest.$ac_ext >&5
29863
29864 ac_cv_lib_m_erf=no
29865 fi
29866 rm -f conftest.err conftest.$ac_objext \
29867       conftest$ac_exeext conftest.$ac_ext
29868 LIBS=$ac_check_lib_save_LIBS
29869 fi
29870 echo "$as_me:$LINENO: result: $ac_cv_lib_m_erf" >&5
29871 echo "${ECHO_T}$ac_cv_lib_m_erf" >&6
29872 if test $ac_cv_lib_m_erf = yes; then
29873
29874 cat >>confdefs.h <<\_ACEOF
29875 #define HAVE_ERF 1
29876 _ACEOF
29877
29878 fi
29879
29880 echo "$as_me:$LINENO: checking for erfl in -lm" >&5
29881 echo $ECHO_N "checking for erfl in -lm... $ECHO_C" >&6
29882 if test "${ac_cv_lib_m_erfl+set}" = set; then
29883   echo $ECHO_N "(cached) $ECHO_C" >&6
29884 else
29885   ac_check_lib_save_LIBS=$LIBS
29886 LIBS="-lm  $LIBS"
29887 if test x$gcc_no_link = xyes; then
29888   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29889 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29890    { (exit 1); exit 1; }; }
29891 fi
29892 cat >conftest.$ac_ext <<_ACEOF
29893 /* confdefs.h.  */
29894 _ACEOF
29895 cat confdefs.h >>conftest.$ac_ext
29896 cat >>conftest.$ac_ext <<_ACEOF
29897 /* end confdefs.h.  */
29898
29899 /* Override any gcc2 internal prototype to avoid an error.  */
29900 #ifdef __cplusplus
29901 extern "C"
29902 #endif
29903 /* We use char because int might match the return type of a gcc2
29904    builtin and then its argument prototype would still apply.  */
29905 char erfl ();
29906 int
29907 main ()
29908 {
29909 erfl ();
29910   ;
29911   return 0;
29912 }
29913 _ACEOF
29914 rm -f conftest.$ac_objext conftest$ac_exeext
29915 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29916   (eval $ac_link) 2>conftest.er1
29917   ac_status=$?
29918   grep -v '^ *+' conftest.er1 >conftest.err
29919   rm -f conftest.er1
29920   cat conftest.err >&5
29921   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29922   (exit $ac_status); } &&
29923          { ac_try='test -z "$ac_c_werror_flag"
29924                          || test ! -s conftest.err'
29925   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29926   (eval $ac_try) 2>&5
29927   ac_status=$?
29928   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29929   (exit $ac_status); }; } &&
29930          { ac_try='test -s conftest$ac_exeext'
29931   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29932   (eval $ac_try) 2>&5
29933   ac_status=$?
29934   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29935   (exit $ac_status); }; }; then
29936   ac_cv_lib_m_erfl=yes
29937 else
29938   echo "$as_me: failed program was:" >&5
29939 sed 's/^/| /' conftest.$ac_ext >&5
29940
29941 ac_cv_lib_m_erfl=no
29942 fi
29943 rm -f conftest.err conftest.$ac_objext \
29944       conftest$ac_exeext conftest.$ac_ext
29945 LIBS=$ac_check_lib_save_LIBS
29946 fi
29947 echo "$as_me:$LINENO: result: $ac_cv_lib_m_erfl" >&5
29948 echo "${ECHO_T}$ac_cv_lib_m_erfl" >&6
29949 if test $ac_cv_lib_m_erfl = yes; then
29950
29951 cat >>confdefs.h <<\_ACEOF
29952 #define HAVE_ERFL 1
29953 _ACEOF
29954
29955 fi
29956
29957 echo "$as_me:$LINENO: checking for erfcf in -lm" >&5
29958 echo $ECHO_N "checking for erfcf in -lm... $ECHO_C" >&6
29959 if test "${ac_cv_lib_m_erfcf+set}" = set; then
29960   echo $ECHO_N "(cached) $ECHO_C" >&6
29961 else
29962   ac_check_lib_save_LIBS=$LIBS
29963 LIBS="-lm  $LIBS"
29964 if test x$gcc_no_link = xyes; then
29965   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29966 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29967    { (exit 1); exit 1; }; }
29968 fi
29969 cat >conftest.$ac_ext <<_ACEOF
29970 /* confdefs.h.  */
29971 _ACEOF
29972 cat confdefs.h >>conftest.$ac_ext
29973 cat >>conftest.$ac_ext <<_ACEOF
29974 /* end confdefs.h.  */
29975
29976 /* Override any gcc2 internal prototype to avoid an error.  */
29977 #ifdef __cplusplus
29978 extern "C"
29979 #endif
29980 /* We use char because int might match the return type of a gcc2
29981    builtin and then its argument prototype would still apply.  */
29982 char erfcf ();
29983 int
29984 main ()
29985 {
29986 erfcf ();
29987   ;
29988   return 0;
29989 }
29990 _ACEOF
29991 rm -f conftest.$ac_objext conftest$ac_exeext
29992 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29993   (eval $ac_link) 2>conftest.er1
29994   ac_status=$?
29995   grep -v '^ *+' conftest.er1 >conftest.err
29996   rm -f conftest.er1
29997   cat conftest.err >&5
29998   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29999   (exit $ac_status); } &&
30000          { ac_try='test -z "$ac_c_werror_flag"
30001                          || test ! -s conftest.err'
30002   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30003   (eval $ac_try) 2>&5
30004   ac_status=$?
30005   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30006   (exit $ac_status); }; } &&
30007          { ac_try='test -s conftest$ac_exeext'
30008   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30009   (eval $ac_try) 2>&5
30010   ac_status=$?
30011   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30012   (exit $ac_status); }; }; then
30013   ac_cv_lib_m_erfcf=yes
30014 else
30015   echo "$as_me: failed program was:" >&5
30016 sed 's/^/| /' conftest.$ac_ext >&5
30017
30018 ac_cv_lib_m_erfcf=no
30019 fi
30020 rm -f conftest.err conftest.$ac_objext \
30021       conftest$ac_exeext conftest.$ac_ext
30022 LIBS=$ac_check_lib_save_LIBS
30023 fi
30024 echo "$as_me:$LINENO: result: $ac_cv_lib_m_erfcf" >&5
30025 echo "${ECHO_T}$ac_cv_lib_m_erfcf" >&6
30026 if test $ac_cv_lib_m_erfcf = yes; then
30027
30028 cat >>confdefs.h <<\_ACEOF
30029 #define HAVE_ERFCF 1
30030 _ACEOF
30031
30032 fi
30033
30034 echo "$as_me:$LINENO: checking for erfc in -lm" >&5
30035 echo $ECHO_N "checking for erfc in -lm... $ECHO_C" >&6
30036 if test "${ac_cv_lib_m_erfc+set}" = set; then
30037   echo $ECHO_N "(cached) $ECHO_C" >&6
30038 else
30039   ac_check_lib_save_LIBS=$LIBS
30040 LIBS="-lm  $LIBS"
30041 if test x$gcc_no_link = xyes; then
30042   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30043 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30044    { (exit 1); exit 1; }; }
30045 fi
30046 cat >conftest.$ac_ext <<_ACEOF
30047 /* confdefs.h.  */
30048 _ACEOF
30049 cat confdefs.h >>conftest.$ac_ext
30050 cat >>conftest.$ac_ext <<_ACEOF
30051 /* end confdefs.h.  */
30052
30053 /* Override any gcc2 internal prototype to avoid an error.  */
30054 #ifdef __cplusplus
30055 extern "C"
30056 #endif
30057 /* We use char because int might match the return type of a gcc2
30058    builtin and then its argument prototype would still apply.  */
30059 char erfc ();
30060 int
30061 main ()
30062 {
30063 erfc ();
30064   ;
30065   return 0;
30066 }
30067 _ACEOF
30068 rm -f conftest.$ac_objext conftest$ac_exeext
30069 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30070   (eval $ac_link) 2>conftest.er1
30071   ac_status=$?
30072   grep -v '^ *+' conftest.er1 >conftest.err
30073   rm -f conftest.er1
30074   cat conftest.err >&5
30075   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30076   (exit $ac_status); } &&
30077          { ac_try='test -z "$ac_c_werror_flag"
30078                          || test ! -s conftest.err'
30079   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30080   (eval $ac_try) 2>&5
30081   ac_status=$?
30082   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30083   (exit $ac_status); }; } &&
30084          { ac_try='test -s conftest$ac_exeext'
30085   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30086   (eval $ac_try) 2>&5
30087   ac_status=$?
30088   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30089   (exit $ac_status); }; }; then
30090   ac_cv_lib_m_erfc=yes
30091 else
30092   echo "$as_me: failed program was:" >&5
30093 sed 's/^/| /' conftest.$ac_ext >&5
30094
30095 ac_cv_lib_m_erfc=no
30096 fi
30097 rm -f conftest.err conftest.$ac_objext \
30098       conftest$ac_exeext conftest.$ac_ext
30099 LIBS=$ac_check_lib_save_LIBS
30100 fi
30101 echo "$as_me:$LINENO: result: $ac_cv_lib_m_erfc" >&5
30102 echo "${ECHO_T}$ac_cv_lib_m_erfc" >&6
30103 if test $ac_cv_lib_m_erfc = yes; then
30104
30105 cat >>confdefs.h <<\_ACEOF
30106 #define HAVE_ERFC 1
30107 _ACEOF
30108
30109 fi
30110
30111 echo "$as_me:$LINENO: checking for erfcl in -lm" >&5
30112 echo $ECHO_N "checking for erfcl in -lm... $ECHO_C" >&6
30113 if test "${ac_cv_lib_m_erfcl+set}" = set; then
30114   echo $ECHO_N "(cached) $ECHO_C" >&6
30115 else
30116   ac_check_lib_save_LIBS=$LIBS
30117 LIBS="-lm  $LIBS"
30118 if test x$gcc_no_link = xyes; then
30119   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30120 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30121    { (exit 1); exit 1; }; }
30122 fi
30123 cat >conftest.$ac_ext <<_ACEOF
30124 /* confdefs.h.  */
30125 _ACEOF
30126 cat confdefs.h >>conftest.$ac_ext
30127 cat >>conftest.$ac_ext <<_ACEOF
30128 /* end confdefs.h.  */
30129
30130 /* Override any gcc2 internal prototype to avoid an error.  */
30131 #ifdef __cplusplus
30132 extern "C"
30133 #endif
30134 /* We use char because int might match the return type of a gcc2
30135    builtin and then its argument prototype would still apply.  */
30136 char erfcl ();
30137 int
30138 main ()
30139 {
30140 erfcl ();
30141   ;
30142   return 0;
30143 }
30144 _ACEOF
30145 rm -f conftest.$ac_objext conftest$ac_exeext
30146 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30147   (eval $ac_link) 2>conftest.er1
30148   ac_status=$?
30149   grep -v '^ *+' conftest.er1 >conftest.err
30150   rm -f conftest.er1
30151   cat conftest.err >&5
30152   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30153   (exit $ac_status); } &&
30154          { ac_try='test -z "$ac_c_werror_flag"
30155                          || test ! -s conftest.err'
30156   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30157   (eval $ac_try) 2>&5
30158   ac_status=$?
30159   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30160   (exit $ac_status); }; } &&
30161          { ac_try='test -s conftest$ac_exeext'
30162   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30163   (eval $ac_try) 2>&5
30164   ac_status=$?
30165   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30166   (exit $ac_status); }; }; then
30167   ac_cv_lib_m_erfcl=yes
30168 else
30169   echo "$as_me: failed program was:" >&5
30170 sed 's/^/| /' conftest.$ac_ext >&5
30171
30172 ac_cv_lib_m_erfcl=no
30173 fi
30174 rm -f conftest.err conftest.$ac_objext \
30175       conftest$ac_exeext conftest.$ac_ext
30176 LIBS=$ac_check_lib_save_LIBS
30177 fi
30178 echo "$as_me:$LINENO: result: $ac_cv_lib_m_erfcl" >&5
30179 echo "${ECHO_T}$ac_cv_lib_m_erfcl" >&6
30180 if test $ac_cv_lib_m_erfcl = yes; then
30181
30182 cat >>confdefs.h <<\_ACEOF
30183 #define HAVE_ERFCL 1
30184 _ACEOF
30185
30186 fi
30187
30188 echo "$as_me:$LINENO: checking for j0f in -lm" >&5
30189 echo $ECHO_N "checking for j0f in -lm... $ECHO_C" >&6
30190 if test "${ac_cv_lib_m_j0f+set}" = set; then
30191   echo $ECHO_N "(cached) $ECHO_C" >&6
30192 else
30193   ac_check_lib_save_LIBS=$LIBS
30194 LIBS="-lm  $LIBS"
30195 if test x$gcc_no_link = xyes; then
30196   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30197 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30198    { (exit 1); exit 1; }; }
30199 fi
30200 cat >conftest.$ac_ext <<_ACEOF
30201 /* confdefs.h.  */
30202 _ACEOF
30203 cat confdefs.h >>conftest.$ac_ext
30204 cat >>conftest.$ac_ext <<_ACEOF
30205 /* end confdefs.h.  */
30206
30207 /* Override any gcc2 internal prototype to avoid an error.  */
30208 #ifdef __cplusplus
30209 extern "C"
30210 #endif
30211 /* We use char because int might match the return type of a gcc2
30212    builtin and then its argument prototype would still apply.  */
30213 char j0f ();
30214 int
30215 main ()
30216 {
30217 j0f ();
30218   ;
30219   return 0;
30220 }
30221 _ACEOF
30222 rm -f conftest.$ac_objext conftest$ac_exeext
30223 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30224   (eval $ac_link) 2>conftest.er1
30225   ac_status=$?
30226   grep -v '^ *+' conftest.er1 >conftest.err
30227   rm -f conftest.er1
30228   cat conftest.err >&5
30229   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30230   (exit $ac_status); } &&
30231          { ac_try='test -z "$ac_c_werror_flag"
30232                          || test ! -s conftest.err'
30233   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30234   (eval $ac_try) 2>&5
30235   ac_status=$?
30236   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30237   (exit $ac_status); }; } &&
30238          { ac_try='test -s conftest$ac_exeext'
30239   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30240   (eval $ac_try) 2>&5
30241   ac_status=$?
30242   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30243   (exit $ac_status); }; }; then
30244   ac_cv_lib_m_j0f=yes
30245 else
30246   echo "$as_me: failed program was:" >&5
30247 sed 's/^/| /' conftest.$ac_ext >&5
30248
30249 ac_cv_lib_m_j0f=no
30250 fi
30251 rm -f conftest.err conftest.$ac_objext \
30252       conftest$ac_exeext conftest.$ac_ext
30253 LIBS=$ac_check_lib_save_LIBS
30254 fi
30255 echo "$as_me:$LINENO: result: $ac_cv_lib_m_j0f" >&5
30256 echo "${ECHO_T}$ac_cv_lib_m_j0f" >&6
30257 if test $ac_cv_lib_m_j0f = yes; then
30258
30259 cat >>confdefs.h <<\_ACEOF
30260 #define HAVE_J0F 1
30261 _ACEOF
30262
30263 fi
30264
30265 echo "$as_me:$LINENO: checking for j0 in -lm" >&5
30266 echo $ECHO_N "checking for j0 in -lm... $ECHO_C" >&6
30267 if test "${ac_cv_lib_m_j0+set}" = set; then
30268   echo $ECHO_N "(cached) $ECHO_C" >&6
30269 else
30270   ac_check_lib_save_LIBS=$LIBS
30271 LIBS="-lm  $LIBS"
30272 if test x$gcc_no_link = xyes; then
30273   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30274 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30275    { (exit 1); exit 1; }; }
30276 fi
30277 cat >conftest.$ac_ext <<_ACEOF
30278 /* confdefs.h.  */
30279 _ACEOF
30280 cat confdefs.h >>conftest.$ac_ext
30281 cat >>conftest.$ac_ext <<_ACEOF
30282 /* end confdefs.h.  */
30283
30284 /* Override any gcc2 internal prototype to avoid an error.  */
30285 #ifdef __cplusplus
30286 extern "C"
30287 #endif
30288 /* We use char because int might match the return type of a gcc2
30289    builtin and then its argument prototype would still apply.  */
30290 char j0 ();
30291 int
30292 main ()
30293 {
30294 j0 ();
30295   ;
30296   return 0;
30297 }
30298 _ACEOF
30299 rm -f conftest.$ac_objext conftest$ac_exeext
30300 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30301   (eval $ac_link) 2>conftest.er1
30302   ac_status=$?
30303   grep -v '^ *+' conftest.er1 >conftest.err
30304   rm -f conftest.er1
30305   cat conftest.err >&5
30306   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30307   (exit $ac_status); } &&
30308          { ac_try='test -z "$ac_c_werror_flag"
30309                          || test ! -s conftest.err'
30310   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30311   (eval $ac_try) 2>&5
30312   ac_status=$?
30313   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30314   (exit $ac_status); }; } &&
30315          { ac_try='test -s conftest$ac_exeext'
30316   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30317   (eval $ac_try) 2>&5
30318   ac_status=$?
30319   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30320   (exit $ac_status); }; }; then
30321   ac_cv_lib_m_j0=yes
30322 else
30323   echo "$as_me: failed program was:" >&5
30324 sed 's/^/| /' conftest.$ac_ext >&5
30325
30326 ac_cv_lib_m_j0=no
30327 fi
30328 rm -f conftest.err conftest.$ac_objext \
30329       conftest$ac_exeext conftest.$ac_ext
30330 LIBS=$ac_check_lib_save_LIBS
30331 fi
30332 echo "$as_me:$LINENO: result: $ac_cv_lib_m_j0" >&5
30333 echo "${ECHO_T}$ac_cv_lib_m_j0" >&6
30334 if test $ac_cv_lib_m_j0 = yes; then
30335
30336 cat >>confdefs.h <<\_ACEOF
30337 #define HAVE_J0 1
30338 _ACEOF
30339
30340 fi
30341
30342 echo "$as_me:$LINENO: checking for j0l in -lm" >&5
30343 echo $ECHO_N "checking for j0l in -lm... $ECHO_C" >&6
30344 if test "${ac_cv_lib_m_j0l+set}" = set; then
30345   echo $ECHO_N "(cached) $ECHO_C" >&6
30346 else
30347   ac_check_lib_save_LIBS=$LIBS
30348 LIBS="-lm  $LIBS"
30349 if test x$gcc_no_link = xyes; then
30350   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30351 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30352    { (exit 1); exit 1; }; }
30353 fi
30354 cat >conftest.$ac_ext <<_ACEOF
30355 /* confdefs.h.  */
30356 _ACEOF
30357 cat confdefs.h >>conftest.$ac_ext
30358 cat >>conftest.$ac_ext <<_ACEOF
30359 /* end confdefs.h.  */
30360
30361 /* Override any gcc2 internal prototype to avoid an error.  */
30362 #ifdef __cplusplus
30363 extern "C"
30364 #endif
30365 /* We use char because int might match the return type of a gcc2
30366    builtin and then its argument prototype would still apply.  */
30367 char j0l ();
30368 int
30369 main ()
30370 {
30371 j0l ();
30372   ;
30373   return 0;
30374 }
30375 _ACEOF
30376 rm -f conftest.$ac_objext conftest$ac_exeext
30377 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30378   (eval $ac_link) 2>conftest.er1
30379   ac_status=$?
30380   grep -v '^ *+' conftest.er1 >conftest.err
30381   rm -f conftest.er1
30382   cat conftest.err >&5
30383   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30384   (exit $ac_status); } &&
30385          { ac_try='test -z "$ac_c_werror_flag"
30386                          || test ! -s conftest.err'
30387   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30388   (eval $ac_try) 2>&5
30389   ac_status=$?
30390   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30391   (exit $ac_status); }; } &&
30392          { ac_try='test -s conftest$ac_exeext'
30393   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30394   (eval $ac_try) 2>&5
30395   ac_status=$?
30396   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30397   (exit $ac_status); }; }; then
30398   ac_cv_lib_m_j0l=yes
30399 else
30400   echo "$as_me: failed program was:" >&5
30401 sed 's/^/| /' conftest.$ac_ext >&5
30402
30403 ac_cv_lib_m_j0l=no
30404 fi
30405 rm -f conftest.err conftest.$ac_objext \
30406       conftest$ac_exeext conftest.$ac_ext
30407 LIBS=$ac_check_lib_save_LIBS
30408 fi
30409 echo "$as_me:$LINENO: result: $ac_cv_lib_m_j0l" >&5
30410 echo "${ECHO_T}$ac_cv_lib_m_j0l" >&6
30411 if test $ac_cv_lib_m_j0l = yes; then
30412
30413 cat >>confdefs.h <<\_ACEOF
30414 #define HAVE_J0L 1
30415 _ACEOF
30416
30417 fi
30418
30419 echo "$as_me:$LINENO: checking for j1f in -lm" >&5
30420 echo $ECHO_N "checking for j1f in -lm... $ECHO_C" >&6
30421 if test "${ac_cv_lib_m_j1f+set}" = set; then
30422   echo $ECHO_N "(cached) $ECHO_C" >&6
30423 else
30424   ac_check_lib_save_LIBS=$LIBS
30425 LIBS="-lm  $LIBS"
30426 if test x$gcc_no_link = xyes; then
30427   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30428 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30429    { (exit 1); exit 1; }; }
30430 fi
30431 cat >conftest.$ac_ext <<_ACEOF
30432 /* confdefs.h.  */
30433 _ACEOF
30434 cat confdefs.h >>conftest.$ac_ext
30435 cat >>conftest.$ac_ext <<_ACEOF
30436 /* end confdefs.h.  */
30437
30438 /* Override any gcc2 internal prototype to avoid an error.  */
30439 #ifdef __cplusplus
30440 extern "C"
30441 #endif
30442 /* We use char because int might match the return type of a gcc2
30443    builtin and then its argument prototype would still apply.  */
30444 char j1f ();
30445 int
30446 main ()
30447 {
30448 j1f ();
30449   ;
30450   return 0;
30451 }
30452 _ACEOF
30453 rm -f conftest.$ac_objext conftest$ac_exeext
30454 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30455   (eval $ac_link) 2>conftest.er1
30456   ac_status=$?
30457   grep -v '^ *+' conftest.er1 >conftest.err
30458   rm -f conftest.er1
30459   cat conftest.err >&5
30460   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30461   (exit $ac_status); } &&
30462          { ac_try='test -z "$ac_c_werror_flag"
30463                          || test ! -s conftest.err'
30464   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30465   (eval $ac_try) 2>&5
30466   ac_status=$?
30467   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30468   (exit $ac_status); }; } &&
30469          { ac_try='test -s conftest$ac_exeext'
30470   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30471   (eval $ac_try) 2>&5
30472   ac_status=$?
30473   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30474   (exit $ac_status); }; }; then
30475   ac_cv_lib_m_j1f=yes
30476 else
30477   echo "$as_me: failed program was:" >&5
30478 sed 's/^/| /' conftest.$ac_ext >&5
30479
30480 ac_cv_lib_m_j1f=no
30481 fi
30482 rm -f conftest.err conftest.$ac_objext \
30483       conftest$ac_exeext conftest.$ac_ext
30484 LIBS=$ac_check_lib_save_LIBS
30485 fi
30486 echo "$as_me:$LINENO: result: $ac_cv_lib_m_j1f" >&5
30487 echo "${ECHO_T}$ac_cv_lib_m_j1f" >&6
30488 if test $ac_cv_lib_m_j1f = yes; then
30489
30490 cat >>confdefs.h <<\_ACEOF
30491 #define HAVE_J1F 1
30492 _ACEOF
30493
30494 fi
30495
30496 echo "$as_me:$LINENO: checking for j1 in -lm" >&5
30497 echo $ECHO_N "checking for j1 in -lm... $ECHO_C" >&6
30498 if test "${ac_cv_lib_m_j1+set}" = set; then
30499   echo $ECHO_N "(cached) $ECHO_C" >&6
30500 else
30501   ac_check_lib_save_LIBS=$LIBS
30502 LIBS="-lm  $LIBS"
30503 if test x$gcc_no_link = xyes; then
30504   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30505 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30506    { (exit 1); exit 1; }; }
30507 fi
30508 cat >conftest.$ac_ext <<_ACEOF
30509 /* confdefs.h.  */
30510 _ACEOF
30511 cat confdefs.h >>conftest.$ac_ext
30512 cat >>conftest.$ac_ext <<_ACEOF
30513 /* end confdefs.h.  */
30514
30515 /* Override any gcc2 internal prototype to avoid an error.  */
30516 #ifdef __cplusplus
30517 extern "C"
30518 #endif
30519 /* We use char because int might match the return type of a gcc2
30520    builtin and then its argument prototype would still apply.  */
30521 char j1 ();
30522 int
30523 main ()
30524 {
30525 j1 ();
30526   ;
30527   return 0;
30528 }
30529 _ACEOF
30530 rm -f conftest.$ac_objext conftest$ac_exeext
30531 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30532   (eval $ac_link) 2>conftest.er1
30533   ac_status=$?
30534   grep -v '^ *+' conftest.er1 >conftest.err
30535   rm -f conftest.er1
30536   cat conftest.err >&5
30537   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30538   (exit $ac_status); } &&
30539          { ac_try='test -z "$ac_c_werror_flag"
30540                          || test ! -s conftest.err'
30541   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30542   (eval $ac_try) 2>&5
30543   ac_status=$?
30544   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30545   (exit $ac_status); }; } &&
30546          { ac_try='test -s conftest$ac_exeext'
30547   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30548   (eval $ac_try) 2>&5
30549   ac_status=$?
30550   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30551   (exit $ac_status); }; }; then
30552   ac_cv_lib_m_j1=yes
30553 else
30554   echo "$as_me: failed program was:" >&5
30555 sed 's/^/| /' conftest.$ac_ext >&5
30556
30557 ac_cv_lib_m_j1=no
30558 fi
30559 rm -f conftest.err conftest.$ac_objext \
30560       conftest$ac_exeext conftest.$ac_ext
30561 LIBS=$ac_check_lib_save_LIBS
30562 fi
30563 echo "$as_me:$LINENO: result: $ac_cv_lib_m_j1" >&5
30564 echo "${ECHO_T}$ac_cv_lib_m_j1" >&6
30565 if test $ac_cv_lib_m_j1 = yes; then
30566
30567 cat >>confdefs.h <<\_ACEOF
30568 #define HAVE_J1 1
30569 _ACEOF
30570
30571 fi
30572
30573 echo "$as_me:$LINENO: checking for j1l in -lm" >&5
30574 echo $ECHO_N "checking for j1l in -lm... $ECHO_C" >&6
30575 if test "${ac_cv_lib_m_j1l+set}" = set; then
30576   echo $ECHO_N "(cached) $ECHO_C" >&6
30577 else
30578   ac_check_lib_save_LIBS=$LIBS
30579 LIBS="-lm  $LIBS"
30580 if test x$gcc_no_link = xyes; then
30581   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30582 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30583    { (exit 1); exit 1; }; }
30584 fi
30585 cat >conftest.$ac_ext <<_ACEOF
30586 /* confdefs.h.  */
30587 _ACEOF
30588 cat confdefs.h >>conftest.$ac_ext
30589 cat >>conftest.$ac_ext <<_ACEOF
30590 /* end confdefs.h.  */
30591
30592 /* Override any gcc2 internal prototype to avoid an error.  */
30593 #ifdef __cplusplus
30594 extern "C"
30595 #endif
30596 /* We use char because int might match the return type of a gcc2
30597    builtin and then its argument prototype would still apply.  */
30598 char j1l ();
30599 int
30600 main ()
30601 {
30602 j1l ();
30603   ;
30604   return 0;
30605 }
30606 _ACEOF
30607 rm -f conftest.$ac_objext conftest$ac_exeext
30608 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30609   (eval $ac_link) 2>conftest.er1
30610   ac_status=$?
30611   grep -v '^ *+' conftest.er1 >conftest.err
30612   rm -f conftest.er1
30613   cat conftest.err >&5
30614   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30615   (exit $ac_status); } &&
30616          { ac_try='test -z "$ac_c_werror_flag"
30617                          || test ! -s conftest.err'
30618   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30619   (eval $ac_try) 2>&5
30620   ac_status=$?
30621   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30622   (exit $ac_status); }; } &&
30623          { ac_try='test -s conftest$ac_exeext'
30624   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30625   (eval $ac_try) 2>&5
30626   ac_status=$?
30627   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30628   (exit $ac_status); }; }; then
30629   ac_cv_lib_m_j1l=yes
30630 else
30631   echo "$as_me: failed program was:" >&5
30632 sed 's/^/| /' conftest.$ac_ext >&5
30633
30634 ac_cv_lib_m_j1l=no
30635 fi
30636 rm -f conftest.err conftest.$ac_objext \
30637       conftest$ac_exeext conftest.$ac_ext
30638 LIBS=$ac_check_lib_save_LIBS
30639 fi
30640 echo "$as_me:$LINENO: result: $ac_cv_lib_m_j1l" >&5
30641 echo "${ECHO_T}$ac_cv_lib_m_j1l" >&6
30642 if test $ac_cv_lib_m_j1l = yes; then
30643
30644 cat >>confdefs.h <<\_ACEOF
30645 #define HAVE_J1L 1
30646 _ACEOF
30647
30648 fi
30649
30650 echo "$as_me:$LINENO: checking for jnf in -lm" >&5
30651 echo $ECHO_N "checking for jnf in -lm... $ECHO_C" >&6
30652 if test "${ac_cv_lib_m_jnf+set}" = set; then
30653   echo $ECHO_N "(cached) $ECHO_C" >&6
30654 else
30655   ac_check_lib_save_LIBS=$LIBS
30656 LIBS="-lm  $LIBS"
30657 if test x$gcc_no_link = xyes; then
30658   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30659 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30660    { (exit 1); exit 1; }; }
30661 fi
30662 cat >conftest.$ac_ext <<_ACEOF
30663 /* confdefs.h.  */
30664 _ACEOF
30665 cat confdefs.h >>conftest.$ac_ext
30666 cat >>conftest.$ac_ext <<_ACEOF
30667 /* end confdefs.h.  */
30668
30669 /* Override any gcc2 internal prototype to avoid an error.  */
30670 #ifdef __cplusplus
30671 extern "C"
30672 #endif
30673 /* We use char because int might match the return type of a gcc2
30674    builtin and then its argument prototype would still apply.  */
30675 char jnf ();
30676 int
30677 main ()
30678 {
30679 jnf ();
30680   ;
30681   return 0;
30682 }
30683 _ACEOF
30684 rm -f conftest.$ac_objext conftest$ac_exeext
30685 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30686   (eval $ac_link) 2>conftest.er1
30687   ac_status=$?
30688   grep -v '^ *+' conftest.er1 >conftest.err
30689   rm -f conftest.er1
30690   cat conftest.err >&5
30691   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30692   (exit $ac_status); } &&
30693          { ac_try='test -z "$ac_c_werror_flag"
30694                          || test ! -s conftest.err'
30695   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30696   (eval $ac_try) 2>&5
30697   ac_status=$?
30698   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30699   (exit $ac_status); }; } &&
30700          { ac_try='test -s conftest$ac_exeext'
30701   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30702   (eval $ac_try) 2>&5
30703   ac_status=$?
30704   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30705   (exit $ac_status); }; }; then
30706   ac_cv_lib_m_jnf=yes
30707 else
30708   echo "$as_me: failed program was:" >&5
30709 sed 's/^/| /' conftest.$ac_ext >&5
30710
30711 ac_cv_lib_m_jnf=no
30712 fi
30713 rm -f conftest.err conftest.$ac_objext \
30714       conftest$ac_exeext conftest.$ac_ext
30715 LIBS=$ac_check_lib_save_LIBS
30716 fi
30717 echo "$as_me:$LINENO: result: $ac_cv_lib_m_jnf" >&5
30718 echo "${ECHO_T}$ac_cv_lib_m_jnf" >&6
30719 if test $ac_cv_lib_m_jnf = yes; then
30720
30721 cat >>confdefs.h <<\_ACEOF
30722 #define HAVE_JNF 1
30723 _ACEOF
30724
30725 fi
30726
30727 echo "$as_me:$LINENO: checking for jn in -lm" >&5
30728 echo $ECHO_N "checking for jn in -lm... $ECHO_C" >&6
30729 if test "${ac_cv_lib_m_jn+set}" = set; then
30730   echo $ECHO_N "(cached) $ECHO_C" >&6
30731 else
30732   ac_check_lib_save_LIBS=$LIBS
30733 LIBS="-lm  $LIBS"
30734 if test x$gcc_no_link = xyes; then
30735   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30736 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30737    { (exit 1); exit 1; }; }
30738 fi
30739 cat >conftest.$ac_ext <<_ACEOF
30740 /* confdefs.h.  */
30741 _ACEOF
30742 cat confdefs.h >>conftest.$ac_ext
30743 cat >>conftest.$ac_ext <<_ACEOF
30744 /* end confdefs.h.  */
30745
30746 /* Override any gcc2 internal prototype to avoid an error.  */
30747 #ifdef __cplusplus
30748 extern "C"
30749 #endif
30750 /* We use char because int might match the return type of a gcc2
30751    builtin and then its argument prototype would still apply.  */
30752 char jn ();
30753 int
30754 main ()
30755 {
30756 jn ();
30757   ;
30758   return 0;
30759 }
30760 _ACEOF
30761 rm -f conftest.$ac_objext conftest$ac_exeext
30762 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30763   (eval $ac_link) 2>conftest.er1
30764   ac_status=$?
30765   grep -v '^ *+' conftest.er1 >conftest.err
30766   rm -f conftest.er1
30767   cat conftest.err >&5
30768   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30769   (exit $ac_status); } &&
30770          { ac_try='test -z "$ac_c_werror_flag"
30771                          || test ! -s conftest.err'
30772   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30773   (eval $ac_try) 2>&5
30774   ac_status=$?
30775   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30776   (exit $ac_status); }; } &&
30777          { ac_try='test -s conftest$ac_exeext'
30778   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30779   (eval $ac_try) 2>&5
30780   ac_status=$?
30781   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30782   (exit $ac_status); }; }; then
30783   ac_cv_lib_m_jn=yes
30784 else
30785   echo "$as_me: failed program was:" >&5
30786 sed 's/^/| /' conftest.$ac_ext >&5
30787
30788 ac_cv_lib_m_jn=no
30789 fi
30790 rm -f conftest.err conftest.$ac_objext \
30791       conftest$ac_exeext conftest.$ac_ext
30792 LIBS=$ac_check_lib_save_LIBS
30793 fi
30794 echo "$as_me:$LINENO: result: $ac_cv_lib_m_jn" >&5
30795 echo "${ECHO_T}$ac_cv_lib_m_jn" >&6
30796 if test $ac_cv_lib_m_jn = yes; then
30797
30798 cat >>confdefs.h <<\_ACEOF
30799 #define HAVE_JN 1
30800 _ACEOF
30801
30802 fi
30803
30804 echo "$as_me:$LINENO: checking for jnl in -lm" >&5
30805 echo $ECHO_N "checking for jnl in -lm... $ECHO_C" >&6
30806 if test "${ac_cv_lib_m_jnl+set}" = set; then
30807   echo $ECHO_N "(cached) $ECHO_C" >&6
30808 else
30809   ac_check_lib_save_LIBS=$LIBS
30810 LIBS="-lm  $LIBS"
30811 if test x$gcc_no_link = xyes; then
30812   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30813 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30814    { (exit 1); exit 1; }; }
30815 fi
30816 cat >conftest.$ac_ext <<_ACEOF
30817 /* confdefs.h.  */
30818 _ACEOF
30819 cat confdefs.h >>conftest.$ac_ext
30820 cat >>conftest.$ac_ext <<_ACEOF
30821 /* end confdefs.h.  */
30822
30823 /* Override any gcc2 internal prototype to avoid an error.  */
30824 #ifdef __cplusplus
30825 extern "C"
30826 #endif
30827 /* We use char because int might match the return type of a gcc2
30828    builtin and then its argument prototype would still apply.  */
30829 char jnl ();
30830 int
30831 main ()
30832 {
30833 jnl ();
30834   ;
30835   return 0;
30836 }
30837 _ACEOF
30838 rm -f conftest.$ac_objext conftest$ac_exeext
30839 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30840   (eval $ac_link) 2>conftest.er1
30841   ac_status=$?
30842   grep -v '^ *+' conftest.er1 >conftest.err
30843   rm -f conftest.er1
30844   cat conftest.err >&5
30845   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30846   (exit $ac_status); } &&
30847          { ac_try='test -z "$ac_c_werror_flag"
30848                          || test ! -s conftest.err'
30849   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30850   (eval $ac_try) 2>&5
30851   ac_status=$?
30852   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30853   (exit $ac_status); }; } &&
30854          { ac_try='test -s conftest$ac_exeext'
30855   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30856   (eval $ac_try) 2>&5
30857   ac_status=$?
30858   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30859   (exit $ac_status); }; }; then
30860   ac_cv_lib_m_jnl=yes
30861 else
30862   echo "$as_me: failed program was:" >&5
30863 sed 's/^/| /' conftest.$ac_ext >&5
30864
30865 ac_cv_lib_m_jnl=no
30866 fi
30867 rm -f conftest.err conftest.$ac_objext \
30868       conftest$ac_exeext conftest.$ac_ext
30869 LIBS=$ac_check_lib_save_LIBS
30870 fi
30871 echo "$as_me:$LINENO: result: $ac_cv_lib_m_jnl" >&5
30872 echo "${ECHO_T}$ac_cv_lib_m_jnl" >&6
30873 if test $ac_cv_lib_m_jnl = yes; then
30874
30875 cat >>confdefs.h <<\_ACEOF
30876 #define HAVE_JNL 1
30877 _ACEOF
30878
30879 fi
30880
30881 echo "$as_me:$LINENO: checking for y0f in -lm" >&5
30882 echo $ECHO_N "checking for y0f in -lm... $ECHO_C" >&6
30883 if test "${ac_cv_lib_m_y0f+set}" = set; then
30884   echo $ECHO_N "(cached) $ECHO_C" >&6
30885 else
30886   ac_check_lib_save_LIBS=$LIBS
30887 LIBS="-lm  $LIBS"
30888 if test x$gcc_no_link = xyes; then
30889   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30890 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30891    { (exit 1); exit 1; }; }
30892 fi
30893 cat >conftest.$ac_ext <<_ACEOF
30894 /* confdefs.h.  */
30895 _ACEOF
30896 cat confdefs.h >>conftest.$ac_ext
30897 cat >>conftest.$ac_ext <<_ACEOF
30898 /* end confdefs.h.  */
30899
30900 /* Override any gcc2 internal prototype to avoid an error.  */
30901 #ifdef __cplusplus
30902 extern "C"
30903 #endif
30904 /* We use char because int might match the return type of a gcc2
30905    builtin and then its argument prototype would still apply.  */
30906 char y0f ();
30907 int
30908 main ()
30909 {
30910 y0f ();
30911   ;
30912   return 0;
30913 }
30914 _ACEOF
30915 rm -f conftest.$ac_objext conftest$ac_exeext
30916 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30917   (eval $ac_link) 2>conftest.er1
30918   ac_status=$?
30919   grep -v '^ *+' conftest.er1 >conftest.err
30920   rm -f conftest.er1
30921   cat conftest.err >&5
30922   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30923   (exit $ac_status); } &&
30924          { ac_try='test -z "$ac_c_werror_flag"
30925                          || test ! -s conftest.err'
30926   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30927   (eval $ac_try) 2>&5
30928   ac_status=$?
30929   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30930   (exit $ac_status); }; } &&
30931          { ac_try='test -s conftest$ac_exeext'
30932   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30933   (eval $ac_try) 2>&5
30934   ac_status=$?
30935   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30936   (exit $ac_status); }; }; then
30937   ac_cv_lib_m_y0f=yes
30938 else
30939   echo "$as_me: failed program was:" >&5
30940 sed 's/^/| /' conftest.$ac_ext >&5
30941
30942 ac_cv_lib_m_y0f=no
30943 fi
30944 rm -f conftest.err conftest.$ac_objext \
30945       conftest$ac_exeext conftest.$ac_ext
30946 LIBS=$ac_check_lib_save_LIBS
30947 fi
30948 echo "$as_me:$LINENO: result: $ac_cv_lib_m_y0f" >&5
30949 echo "${ECHO_T}$ac_cv_lib_m_y0f" >&6
30950 if test $ac_cv_lib_m_y0f = yes; then
30951
30952 cat >>confdefs.h <<\_ACEOF
30953 #define HAVE_Y0F 1
30954 _ACEOF
30955
30956 fi
30957
30958 echo "$as_me:$LINENO: checking for y0 in -lm" >&5
30959 echo $ECHO_N "checking for y0 in -lm... $ECHO_C" >&6
30960 if test "${ac_cv_lib_m_y0+set}" = set; then
30961   echo $ECHO_N "(cached) $ECHO_C" >&6
30962 else
30963   ac_check_lib_save_LIBS=$LIBS
30964 LIBS="-lm  $LIBS"
30965 if test x$gcc_no_link = xyes; then
30966   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30967 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30968    { (exit 1); exit 1; }; }
30969 fi
30970 cat >conftest.$ac_ext <<_ACEOF
30971 /* confdefs.h.  */
30972 _ACEOF
30973 cat confdefs.h >>conftest.$ac_ext
30974 cat >>conftest.$ac_ext <<_ACEOF
30975 /* end confdefs.h.  */
30976
30977 /* Override any gcc2 internal prototype to avoid an error.  */
30978 #ifdef __cplusplus
30979 extern "C"
30980 #endif
30981 /* We use char because int might match the return type of a gcc2
30982    builtin and then its argument prototype would still apply.  */
30983 char y0 ();
30984 int
30985 main ()
30986 {
30987 y0 ();
30988   ;
30989   return 0;
30990 }
30991 _ACEOF
30992 rm -f conftest.$ac_objext conftest$ac_exeext
30993 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30994   (eval $ac_link) 2>conftest.er1
30995   ac_status=$?
30996   grep -v '^ *+' conftest.er1 >conftest.err
30997   rm -f conftest.er1
30998   cat conftest.err >&5
30999   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31000   (exit $ac_status); } &&
31001          { ac_try='test -z "$ac_c_werror_flag"
31002                          || test ! -s conftest.err'
31003   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31004   (eval $ac_try) 2>&5
31005   ac_status=$?
31006   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31007   (exit $ac_status); }; } &&
31008          { ac_try='test -s conftest$ac_exeext'
31009   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31010   (eval $ac_try) 2>&5
31011   ac_status=$?
31012   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31013   (exit $ac_status); }; }; then
31014   ac_cv_lib_m_y0=yes
31015 else
31016   echo "$as_me: failed program was:" >&5
31017 sed 's/^/| /' conftest.$ac_ext >&5
31018
31019 ac_cv_lib_m_y0=no
31020 fi
31021 rm -f conftest.err conftest.$ac_objext \
31022       conftest$ac_exeext conftest.$ac_ext
31023 LIBS=$ac_check_lib_save_LIBS
31024 fi
31025 echo "$as_me:$LINENO: result: $ac_cv_lib_m_y0" >&5
31026 echo "${ECHO_T}$ac_cv_lib_m_y0" >&6
31027 if test $ac_cv_lib_m_y0 = yes; then
31028
31029 cat >>confdefs.h <<\_ACEOF
31030 #define HAVE_Y0 1
31031 _ACEOF
31032
31033 fi
31034
31035 echo "$as_me:$LINENO: checking for y0l in -lm" >&5
31036 echo $ECHO_N "checking for y0l in -lm... $ECHO_C" >&6
31037 if test "${ac_cv_lib_m_y0l+set}" = set; then
31038   echo $ECHO_N "(cached) $ECHO_C" >&6
31039 else
31040   ac_check_lib_save_LIBS=$LIBS
31041 LIBS="-lm  $LIBS"
31042 if test x$gcc_no_link = xyes; then
31043   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31044 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31045    { (exit 1); exit 1; }; }
31046 fi
31047 cat >conftest.$ac_ext <<_ACEOF
31048 /* confdefs.h.  */
31049 _ACEOF
31050 cat confdefs.h >>conftest.$ac_ext
31051 cat >>conftest.$ac_ext <<_ACEOF
31052 /* end confdefs.h.  */
31053
31054 /* Override any gcc2 internal prototype to avoid an error.  */
31055 #ifdef __cplusplus
31056 extern "C"
31057 #endif
31058 /* We use char because int might match the return type of a gcc2
31059    builtin and then its argument prototype would still apply.  */
31060 char y0l ();
31061 int
31062 main ()
31063 {
31064 y0l ();
31065   ;
31066   return 0;
31067 }
31068 _ACEOF
31069 rm -f conftest.$ac_objext conftest$ac_exeext
31070 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31071   (eval $ac_link) 2>conftest.er1
31072   ac_status=$?
31073   grep -v '^ *+' conftest.er1 >conftest.err
31074   rm -f conftest.er1
31075   cat conftest.err >&5
31076   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31077   (exit $ac_status); } &&
31078          { ac_try='test -z "$ac_c_werror_flag"
31079                          || test ! -s conftest.err'
31080   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31081   (eval $ac_try) 2>&5
31082   ac_status=$?
31083   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31084   (exit $ac_status); }; } &&
31085          { ac_try='test -s conftest$ac_exeext'
31086   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31087   (eval $ac_try) 2>&5
31088   ac_status=$?
31089   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31090   (exit $ac_status); }; }; then
31091   ac_cv_lib_m_y0l=yes
31092 else
31093   echo "$as_me: failed program was:" >&5
31094 sed 's/^/| /' conftest.$ac_ext >&5
31095
31096 ac_cv_lib_m_y0l=no
31097 fi
31098 rm -f conftest.err conftest.$ac_objext \
31099       conftest$ac_exeext conftest.$ac_ext
31100 LIBS=$ac_check_lib_save_LIBS
31101 fi
31102 echo "$as_me:$LINENO: result: $ac_cv_lib_m_y0l" >&5
31103 echo "${ECHO_T}$ac_cv_lib_m_y0l" >&6
31104 if test $ac_cv_lib_m_y0l = yes; then
31105
31106 cat >>confdefs.h <<\_ACEOF
31107 #define HAVE_Y0L 1
31108 _ACEOF
31109
31110 fi
31111
31112 echo "$as_me:$LINENO: checking for y1f in -lm" >&5
31113 echo $ECHO_N "checking for y1f in -lm... $ECHO_C" >&6
31114 if test "${ac_cv_lib_m_y1f+set}" = set; then
31115   echo $ECHO_N "(cached) $ECHO_C" >&6
31116 else
31117   ac_check_lib_save_LIBS=$LIBS
31118 LIBS="-lm  $LIBS"
31119 if test x$gcc_no_link = xyes; then
31120   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31121 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31122    { (exit 1); exit 1; }; }
31123 fi
31124 cat >conftest.$ac_ext <<_ACEOF
31125 /* confdefs.h.  */
31126 _ACEOF
31127 cat confdefs.h >>conftest.$ac_ext
31128 cat >>conftest.$ac_ext <<_ACEOF
31129 /* end confdefs.h.  */
31130
31131 /* Override any gcc2 internal prototype to avoid an error.  */
31132 #ifdef __cplusplus
31133 extern "C"
31134 #endif
31135 /* We use char because int might match the return type of a gcc2
31136    builtin and then its argument prototype would still apply.  */
31137 char y1f ();
31138 int
31139 main ()
31140 {
31141 y1f ();
31142   ;
31143   return 0;
31144 }
31145 _ACEOF
31146 rm -f conftest.$ac_objext conftest$ac_exeext
31147 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31148   (eval $ac_link) 2>conftest.er1
31149   ac_status=$?
31150   grep -v '^ *+' conftest.er1 >conftest.err
31151   rm -f conftest.er1
31152   cat conftest.err >&5
31153   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31154   (exit $ac_status); } &&
31155          { ac_try='test -z "$ac_c_werror_flag"
31156                          || test ! -s conftest.err'
31157   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31158   (eval $ac_try) 2>&5
31159   ac_status=$?
31160   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31161   (exit $ac_status); }; } &&
31162          { ac_try='test -s conftest$ac_exeext'
31163   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31164   (eval $ac_try) 2>&5
31165   ac_status=$?
31166   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31167   (exit $ac_status); }; }; then
31168   ac_cv_lib_m_y1f=yes
31169 else
31170   echo "$as_me: failed program was:" >&5
31171 sed 's/^/| /' conftest.$ac_ext >&5
31172
31173 ac_cv_lib_m_y1f=no
31174 fi
31175 rm -f conftest.err conftest.$ac_objext \
31176       conftest$ac_exeext conftest.$ac_ext
31177 LIBS=$ac_check_lib_save_LIBS
31178 fi
31179 echo "$as_me:$LINENO: result: $ac_cv_lib_m_y1f" >&5
31180 echo "${ECHO_T}$ac_cv_lib_m_y1f" >&6
31181 if test $ac_cv_lib_m_y1f = yes; then
31182
31183 cat >>confdefs.h <<\_ACEOF
31184 #define HAVE_Y1F 1
31185 _ACEOF
31186
31187 fi
31188
31189 echo "$as_me:$LINENO: checking for y1 in -lm" >&5
31190 echo $ECHO_N "checking for y1 in -lm... $ECHO_C" >&6
31191 if test "${ac_cv_lib_m_y1+set}" = set; then
31192   echo $ECHO_N "(cached) $ECHO_C" >&6
31193 else
31194   ac_check_lib_save_LIBS=$LIBS
31195 LIBS="-lm  $LIBS"
31196 if test x$gcc_no_link = xyes; then
31197   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31198 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31199    { (exit 1); exit 1; }; }
31200 fi
31201 cat >conftest.$ac_ext <<_ACEOF
31202 /* confdefs.h.  */
31203 _ACEOF
31204 cat confdefs.h >>conftest.$ac_ext
31205 cat >>conftest.$ac_ext <<_ACEOF
31206 /* end confdefs.h.  */
31207
31208 /* Override any gcc2 internal prototype to avoid an error.  */
31209 #ifdef __cplusplus
31210 extern "C"
31211 #endif
31212 /* We use char because int might match the return type of a gcc2
31213    builtin and then its argument prototype would still apply.  */
31214 char y1 ();
31215 int
31216 main ()
31217 {
31218 y1 ();
31219   ;
31220   return 0;
31221 }
31222 _ACEOF
31223 rm -f conftest.$ac_objext conftest$ac_exeext
31224 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31225   (eval $ac_link) 2>conftest.er1
31226   ac_status=$?
31227   grep -v '^ *+' conftest.er1 >conftest.err
31228   rm -f conftest.er1
31229   cat conftest.err >&5
31230   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31231   (exit $ac_status); } &&
31232          { ac_try='test -z "$ac_c_werror_flag"
31233                          || test ! -s conftest.err'
31234   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31235   (eval $ac_try) 2>&5
31236   ac_status=$?
31237   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31238   (exit $ac_status); }; } &&
31239          { ac_try='test -s conftest$ac_exeext'
31240   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31241   (eval $ac_try) 2>&5
31242   ac_status=$?
31243   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31244   (exit $ac_status); }; }; then
31245   ac_cv_lib_m_y1=yes
31246 else
31247   echo "$as_me: failed program was:" >&5
31248 sed 's/^/| /' conftest.$ac_ext >&5
31249
31250 ac_cv_lib_m_y1=no
31251 fi
31252 rm -f conftest.err conftest.$ac_objext \
31253       conftest$ac_exeext conftest.$ac_ext
31254 LIBS=$ac_check_lib_save_LIBS
31255 fi
31256 echo "$as_me:$LINENO: result: $ac_cv_lib_m_y1" >&5
31257 echo "${ECHO_T}$ac_cv_lib_m_y1" >&6
31258 if test $ac_cv_lib_m_y1 = yes; then
31259
31260 cat >>confdefs.h <<\_ACEOF
31261 #define HAVE_Y1 1
31262 _ACEOF
31263
31264 fi
31265
31266 echo "$as_me:$LINENO: checking for y1l in -lm" >&5
31267 echo $ECHO_N "checking for y1l in -lm... $ECHO_C" >&6
31268 if test "${ac_cv_lib_m_y1l+set}" = set; then
31269   echo $ECHO_N "(cached) $ECHO_C" >&6
31270 else
31271   ac_check_lib_save_LIBS=$LIBS
31272 LIBS="-lm  $LIBS"
31273 if test x$gcc_no_link = xyes; then
31274   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31275 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31276    { (exit 1); exit 1; }; }
31277 fi
31278 cat >conftest.$ac_ext <<_ACEOF
31279 /* confdefs.h.  */
31280 _ACEOF
31281 cat confdefs.h >>conftest.$ac_ext
31282 cat >>conftest.$ac_ext <<_ACEOF
31283 /* end confdefs.h.  */
31284
31285 /* Override any gcc2 internal prototype to avoid an error.  */
31286 #ifdef __cplusplus
31287 extern "C"
31288 #endif
31289 /* We use char because int might match the return type of a gcc2
31290    builtin and then its argument prototype would still apply.  */
31291 char y1l ();
31292 int
31293 main ()
31294 {
31295 y1l ();
31296   ;
31297   return 0;
31298 }
31299 _ACEOF
31300 rm -f conftest.$ac_objext conftest$ac_exeext
31301 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31302   (eval $ac_link) 2>conftest.er1
31303   ac_status=$?
31304   grep -v '^ *+' conftest.er1 >conftest.err
31305   rm -f conftest.er1
31306   cat conftest.err >&5
31307   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31308   (exit $ac_status); } &&
31309          { ac_try='test -z "$ac_c_werror_flag"
31310                          || test ! -s conftest.err'
31311   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31312   (eval $ac_try) 2>&5
31313   ac_status=$?
31314   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31315   (exit $ac_status); }; } &&
31316          { ac_try='test -s conftest$ac_exeext'
31317   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31318   (eval $ac_try) 2>&5
31319   ac_status=$?
31320   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31321   (exit $ac_status); }; }; then
31322   ac_cv_lib_m_y1l=yes
31323 else
31324   echo "$as_me: failed program was:" >&5
31325 sed 's/^/| /' conftest.$ac_ext >&5
31326
31327 ac_cv_lib_m_y1l=no
31328 fi
31329 rm -f conftest.err conftest.$ac_objext \
31330       conftest$ac_exeext conftest.$ac_ext
31331 LIBS=$ac_check_lib_save_LIBS
31332 fi
31333 echo "$as_me:$LINENO: result: $ac_cv_lib_m_y1l" >&5
31334 echo "${ECHO_T}$ac_cv_lib_m_y1l" >&6
31335 if test $ac_cv_lib_m_y1l = yes; then
31336
31337 cat >>confdefs.h <<\_ACEOF
31338 #define HAVE_Y1L 1
31339 _ACEOF
31340
31341 fi
31342
31343 echo "$as_me:$LINENO: checking for ynf in -lm" >&5
31344 echo $ECHO_N "checking for ynf in -lm... $ECHO_C" >&6
31345 if test "${ac_cv_lib_m_ynf+set}" = set; then
31346   echo $ECHO_N "(cached) $ECHO_C" >&6
31347 else
31348   ac_check_lib_save_LIBS=$LIBS
31349 LIBS="-lm  $LIBS"
31350 if test x$gcc_no_link = xyes; then
31351   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31352 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31353    { (exit 1); exit 1; }; }
31354 fi
31355 cat >conftest.$ac_ext <<_ACEOF
31356 /* confdefs.h.  */
31357 _ACEOF
31358 cat confdefs.h >>conftest.$ac_ext
31359 cat >>conftest.$ac_ext <<_ACEOF
31360 /* end confdefs.h.  */
31361
31362 /* Override any gcc2 internal prototype to avoid an error.  */
31363 #ifdef __cplusplus
31364 extern "C"
31365 #endif
31366 /* We use char because int might match the return type of a gcc2
31367    builtin and then its argument prototype would still apply.  */
31368 char ynf ();
31369 int
31370 main ()
31371 {
31372 ynf ();
31373   ;
31374   return 0;
31375 }
31376 _ACEOF
31377 rm -f conftest.$ac_objext conftest$ac_exeext
31378 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31379   (eval $ac_link) 2>conftest.er1
31380   ac_status=$?
31381   grep -v '^ *+' conftest.er1 >conftest.err
31382   rm -f conftest.er1
31383   cat conftest.err >&5
31384   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31385   (exit $ac_status); } &&
31386          { ac_try='test -z "$ac_c_werror_flag"
31387                          || test ! -s conftest.err'
31388   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31389   (eval $ac_try) 2>&5
31390   ac_status=$?
31391   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31392   (exit $ac_status); }; } &&
31393          { ac_try='test -s conftest$ac_exeext'
31394   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31395   (eval $ac_try) 2>&5
31396   ac_status=$?
31397   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31398   (exit $ac_status); }; }; then
31399   ac_cv_lib_m_ynf=yes
31400 else
31401   echo "$as_me: failed program was:" >&5
31402 sed 's/^/| /' conftest.$ac_ext >&5
31403
31404 ac_cv_lib_m_ynf=no
31405 fi
31406 rm -f conftest.err conftest.$ac_objext \
31407       conftest$ac_exeext conftest.$ac_ext
31408 LIBS=$ac_check_lib_save_LIBS
31409 fi
31410 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ynf" >&5
31411 echo "${ECHO_T}$ac_cv_lib_m_ynf" >&6
31412 if test $ac_cv_lib_m_ynf = yes; then
31413
31414 cat >>confdefs.h <<\_ACEOF
31415 #define HAVE_YNF 1
31416 _ACEOF
31417
31418 fi
31419
31420 echo "$as_me:$LINENO: checking for yn in -lm" >&5
31421 echo $ECHO_N "checking for yn in -lm... $ECHO_C" >&6
31422 if test "${ac_cv_lib_m_yn+set}" = set; then
31423   echo $ECHO_N "(cached) $ECHO_C" >&6
31424 else
31425   ac_check_lib_save_LIBS=$LIBS
31426 LIBS="-lm  $LIBS"
31427 if test x$gcc_no_link = xyes; then
31428   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31429 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31430    { (exit 1); exit 1; }; }
31431 fi
31432 cat >conftest.$ac_ext <<_ACEOF
31433 /* confdefs.h.  */
31434 _ACEOF
31435 cat confdefs.h >>conftest.$ac_ext
31436 cat >>conftest.$ac_ext <<_ACEOF
31437 /* end confdefs.h.  */
31438
31439 /* Override any gcc2 internal prototype to avoid an error.  */
31440 #ifdef __cplusplus
31441 extern "C"
31442 #endif
31443 /* We use char because int might match the return type of a gcc2
31444    builtin and then its argument prototype would still apply.  */
31445 char yn ();
31446 int
31447 main ()
31448 {
31449 yn ();
31450   ;
31451   return 0;
31452 }
31453 _ACEOF
31454 rm -f conftest.$ac_objext conftest$ac_exeext
31455 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31456   (eval $ac_link) 2>conftest.er1
31457   ac_status=$?
31458   grep -v '^ *+' conftest.er1 >conftest.err
31459   rm -f conftest.er1
31460   cat conftest.err >&5
31461   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31462   (exit $ac_status); } &&
31463          { ac_try='test -z "$ac_c_werror_flag"
31464                          || test ! -s conftest.err'
31465   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31466   (eval $ac_try) 2>&5
31467   ac_status=$?
31468   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31469   (exit $ac_status); }; } &&
31470          { ac_try='test -s conftest$ac_exeext'
31471   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31472   (eval $ac_try) 2>&5
31473   ac_status=$?
31474   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31475   (exit $ac_status); }; }; then
31476   ac_cv_lib_m_yn=yes
31477 else
31478   echo "$as_me: failed program was:" >&5
31479 sed 's/^/| /' conftest.$ac_ext >&5
31480
31481 ac_cv_lib_m_yn=no
31482 fi
31483 rm -f conftest.err conftest.$ac_objext \
31484       conftest$ac_exeext conftest.$ac_ext
31485 LIBS=$ac_check_lib_save_LIBS
31486 fi
31487 echo "$as_me:$LINENO: result: $ac_cv_lib_m_yn" >&5
31488 echo "${ECHO_T}$ac_cv_lib_m_yn" >&6
31489 if test $ac_cv_lib_m_yn = yes; then
31490
31491 cat >>confdefs.h <<\_ACEOF
31492 #define HAVE_YN 1
31493 _ACEOF
31494
31495 fi
31496
31497 echo "$as_me:$LINENO: checking for ynl in -lm" >&5
31498 echo $ECHO_N "checking for ynl in -lm... $ECHO_C" >&6
31499 if test "${ac_cv_lib_m_ynl+set}" = set; then
31500   echo $ECHO_N "(cached) $ECHO_C" >&6
31501 else
31502   ac_check_lib_save_LIBS=$LIBS
31503 LIBS="-lm  $LIBS"
31504 if test x$gcc_no_link = xyes; then
31505   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31506 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31507    { (exit 1); exit 1; }; }
31508 fi
31509 cat >conftest.$ac_ext <<_ACEOF
31510 /* confdefs.h.  */
31511 _ACEOF
31512 cat confdefs.h >>conftest.$ac_ext
31513 cat >>conftest.$ac_ext <<_ACEOF
31514 /* end confdefs.h.  */
31515
31516 /* Override any gcc2 internal prototype to avoid an error.  */
31517 #ifdef __cplusplus
31518 extern "C"
31519 #endif
31520 /* We use char because int might match the return type of a gcc2
31521    builtin and then its argument prototype would still apply.  */
31522 char ynl ();
31523 int
31524 main ()
31525 {
31526 ynl ();
31527   ;
31528   return 0;
31529 }
31530 _ACEOF
31531 rm -f conftest.$ac_objext conftest$ac_exeext
31532 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31533   (eval $ac_link) 2>conftest.er1
31534   ac_status=$?
31535   grep -v '^ *+' conftest.er1 >conftest.err
31536   rm -f conftest.er1
31537   cat conftest.err >&5
31538   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31539   (exit $ac_status); } &&
31540          { ac_try='test -z "$ac_c_werror_flag"
31541                          || test ! -s conftest.err'
31542   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31543   (eval $ac_try) 2>&5
31544   ac_status=$?
31545   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31546   (exit $ac_status); }; } &&
31547          { ac_try='test -s conftest$ac_exeext'
31548   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31549   (eval $ac_try) 2>&5
31550   ac_status=$?
31551   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31552   (exit $ac_status); }; }; then
31553   ac_cv_lib_m_ynl=yes
31554 else
31555   echo "$as_me: failed program was:" >&5
31556 sed 's/^/| /' conftest.$ac_ext >&5
31557
31558 ac_cv_lib_m_ynl=no
31559 fi
31560 rm -f conftest.err conftest.$ac_objext \
31561       conftest$ac_exeext conftest.$ac_ext
31562 LIBS=$ac_check_lib_save_LIBS
31563 fi
31564 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ynl" >&5
31565 echo "${ECHO_T}$ac_cv_lib_m_ynl" >&6
31566 if test $ac_cv_lib_m_ynl = yes; then
31567
31568 cat >>confdefs.h <<\_ACEOF
31569 #define HAVE_YNL 1
31570 _ACEOF
31571
31572 fi
31573
31574 echo "$as_me:$LINENO: checking for tgamma in -lm" >&5
31575 echo $ECHO_N "checking for tgamma in -lm... $ECHO_C" >&6
31576 if test "${ac_cv_lib_m_tgamma+set}" = set; then
31577   echo $ECHO_N "(cached) $ECHO_C" >&6
31578 else
31579   ac_check_lib_save_LIBS=$LIBS
31580 LIBS="-lm  $LIBS"
31581 if test x$gcc_no_link = xyes; then
31582   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31583 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31584    { (exit 1); exit 1; }; }
31585 fi
31586 cat >conftest.$ac_ext <<_ACEOF
31587 /* confdefs.h.  */
31588 _ACEOF
31589 cat confdefs.h >>conftest.$ac_ext
31590 cat >>conftest.$ac_ext <<_ACEOF
31591 /* end confdefs.h.  */
31592
31593 /* Override any gcc2 internal prototype to avoid an error.  */
31594 #ifdef __cplusplus
31595 extern "C"
31596 #endif
31597 /* We use char because int might match the return type of a gcc2
31598    builtin and then its argument prototype would still apply.  */
31599 char tgamma ();
31600 int
31601 main ()
31602 {
31603 tgamma ();
31604   ;
31605   return 0;
31606 }
31607 _ACEOF
31608 rm -f conftest.$ac_objext conftest$ac_exeext
31609 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31610   (eval $ac_link) 2>conftest.er1
31611   ac_status=$?
31612   grep -v '^ *+' conftest.er1 >conftest.err
31613   rm -f conftest.er1
31614   cat conftest.err >&5
31615   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31616   (exit $ac_status); } &&
31617          { ac_try='test -z "$ac_c_werror_flag"
31618                          || test ! -s conftest.err'
31619   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31620   (eval $ac_try) 2>&5
31621   ac_status=$?
31622   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31623   (exit $ac_status); }; } &&
31624          { ac_try='test -s conftest$ac_exeext'
31625   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31626   (eval $ac_try) 2>&5
31627   ac_status=$?
31628   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31629   (exit $ac_status); }; }; then
31630   ac_cv_lib_m_tgamma=yes
31631 else
31632   echo "$as_me: failed program was:" >&5
31633 sed 's/^/| /' conftest.$ac_ext >&5
31634
31635 ac_cv_lib_m_tgamma=no
31636 fi
31637 rm -f conftest.err conftest.$ac_objext \
31638       conftest$ac_exeext conftest.$ac_ext
31639 LIBS=$ac_check_lib_save_LIBS
31640 fi
31641 echo "$as_me:$LINENO: result: $ac_cv_lib_m_tgamma" >&5
31642 echo "${ECHO_T}$ac_cv_lib_m_tgamma" >&6
31643 if test $ac_cv_lib_m_tgamma = yes; then
31644
31645 cat >>confdefs.h <<\_ACEOF
31646 #define HAVE_TGAMMA 1
31647 _ACEOF
31648
31649 fi
31650
31651 echo "$as_me:$LINENO: checking for tgammaf in -lm" >&5
31652 echo $ECHO_N "checking for tgammaf in -lm... $ECHO_C" >&6
31653 if test "${ac_cv_lib_m_tgammaf+set}" = set; then
31654   echo $ECHO_N "(cached) $ECHO_C" >&6
31655 else
31656   ac_check_lib_save_LIBS=$LIBS
31657 LIBS="-lm  $LIBS"
31658 if test x$gcc_no_link = xyes; then
31659   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31660 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31661    { (exit 1); exit 1; }; }
31662 fi
31663 cat >conftest.$ac_ext <<_ACEOF
31664 /* confdefs.h.  */
31665 _ACEOF
31666 cat confdefs.h >>conftest.$ac_ext
31667 cat >>conftest.$ac_ext <<_ACEOF
31668 /* end confdefs.h.  */
31669
31670 /* Override any gcc2 internal prototype to avoid an error.  */
31671 #ifdef __cplusplus
31672 extern "C"
31673 #endif
31674 /* We use char because int might match the return type of a gcc2
31675    builtin and then its argument prototype would still apply.  */
31676 char tgammaf ();
31677 int
31678 main ()
31679 {
31680 tgammaf ();
31681   ;
31682   return 0;
31683 }
31684 _ACEOF
31685 rm -f conftest.$ac_objext conftest$ac_exeext
31686 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31687   (eval $ac_link) 2>conftest.er1
31688   ac_status=$?
31689   grep -v '^ *+' conftest.er1 >conftest.err
31690   rm -f conftest.er1
31691   cat conftest.err >&5
31692   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31693   (exit $ac_status); } &&
31694          { ac_try='test -z "$ac_c_werror_flag"
31695                          || test ! -s conftest.err'
31696   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31697   (eval $ac_try) 2>&5
31698   ac_status=$?
31699   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31700   (exit $ac_status); }; } &&
31701          { ac_try='test -s conftest$ac_exeext'
31702   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31703   (eval $ac_try) 2>&5
31704   ac_status=$?
31705   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31706   (exit $ac_status); }; }; then
31707   ac_cv_lib_m_tgammaf=yes
31708 else
31709   echo "$as_me: failed program was:" >&5
31710 sed 's/^/| /' conftest.$ac_ext >&5
31711
31712 ac_cv_lib_m_tgammaf=no
31713 fi
31714 rm -f conftest.err conftest.$ac_objext \
31715       conftest$ac_exeext conftest.$ac_ext
31716 LIBS=$ac_check_lib_save_LIBS
31717 fi
31718 echo "$as_me:$LINENO: result: $ac_cv_lib_m_tgammaf" >&5
31719 echo "${ECHO_T}$ac_cv_lib_m_tgammaf" >&6
31720 if test $ac_cv_lib_m_tgammaf = yes; then
31721
31722 cat >>confdefs.h <<\_ACEOF
31723 #define HAVE_TGAMMAF 1
31724 _ACEOF
31725
31726 fi
31727
31728 echo "$as_me:$LINENO: checking for tgammal in -lm" >&5
31729 echo $ECHO_N "checking for tgammal in -lm... $ECHO_C" >&6
31730 if test "${ac_cv_lib_m_tgammal+set}" = set; then
31731   echo $ECHO_N "(cached) $ECHO_C" >&6
31732 else
31733   ac_check_lib_save_LIBS=$LIBS
31734 LIBS="-lm  $LIBS"
31735 if test x$gcc_no_link = xyes; then
31736   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31737 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31738    { (exit 1); exit 1; }; }
31739 fi
31740 cat >conftest.$ac_ext <<_ACEOF
31741 /* confdefs.h.  */
31742 _ACEOF
31743 cat confdefs.h >>conftest.$ac_ext
31744 cat >>conftest.$ac_ext <<_ACEOF
31745 /* end confdefs.h.  */
31746
31747 /* Override any gcc2 internal prototype to avoid an error.  */
31748 #ifdef __cplusplus
31749 extern "C"
31750 #endif
31751 /* We use char because int might match the return type of a gcc2
31752    builtin and then its argument prototype would still apply.  */
31753 char tgammal ();
31754 int
31755 main ()
31756 {
31757 tgammal ();
31758   ;
31759   return 0;
31760 }
31761 _ACEOF
31762 rm -f conftest.$ac_objext conftest$ac_exeext
31763 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31764   (eval $ac_link) 2>conftest.er1
31765   ac_status=$?
31766   grep -v '^ *+' conftest.er1 >conftest.err
31767   rm -f conftest.er1
31768   cat conftest.err >&5
31769   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31770   (exit $ac_status); } &&
31771          { ac_try='test -z "$ac_c_werror_flag"
31772                          || test ! -s conftest.err'
31773   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31774   (eval $ac_try) 2>&5
31775   ac_status=$?
31776   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31777   (exit $ac_status); }; } &&
31778          { ac_try='test -s conftest$ac_exeext'
31779   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31780   (eval $ac_try) 2>&5
31781   ac_status=$?
31782   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31783   (exit $ac_status); }; }; then
31784   ac_cv_lib_m_tgammal=yes
31785 else
31786   echo "$as_me: failed program was:" >&5
31787 sed 's/^/| /' conftest.$ac_ext >&5
31788
31789 ac_cv_lib_m_tgammal=no
31790 fi
31791 rm -f conftest.err conftest.$ac_objext \
31792       conftest$ac_exeext conftest.$ac_ext
31793 LIBS=$ac_check_lib_save_LIBS
31794 fi
31795 echo "$as_me:$LINENO: result: $ac_cv_lib_m_tgammal" >&5
31796 echo "${ECHO_T}$ac_cv_lib_m_tgammal" >&6
31797 if test $ac_cv_lib_m_tgammal = yes; then
31798
31799 cat >>confdefs.h <<\_ACEOF
31800 #define HAVE_TGAMMAL 1
31801 _ACEOF
31802
31803 fi
31804
31805 echo "$as_me:$LINENO: checking for lgamma in -lm" >&5
31806 echo $ECHO_N "checking for lgamma in -lm... $ECHO_C" >&6
31807 if test "${ac_cv_lib_m_lgamma+set}" = set; then
31808   echo $ECHO_N "(cached) $ECHO_C" >&6
31809 else
31810   ac_check_lib_save_LIBS=$LIBS
31811 LIBS="-lm  $LIBS"
31812 if test x$gcc_no_link = xyes; then
31813   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31814 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31815    { (exit 1); exit 1; }; }
31816 fi
31817 cat >conftest.$ac_ext <<_ACEOF
31818 /* confdefs.h.  */
31819 _ACEOF
31820 cat confdefs.h >>conftest.$ac_ext
31821 cat >>conftest.$ac_ext <<_ACEOF
31822 /* end confdefs.h.  */
31823
31824 /* Override any gcc2 internal prototype to avoid an error.  */
31825 #ifdef __cplusplus
31826 extern "C"
31827 #endif
31828 /* We use char because int might match the return type of a gcc2
31829    builtin and then its argument prototype would still apply.  */
31830 char lgamma ();
31831 int
31832 main ()
31833 {
31834 lgamma ();
31835   ;
31836   return 0;
31837 }
31838 _ACEOF
31839 rm -f conftest.$ac_objext conftest$ac_exeext
31840 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31841   (eval $ac_link) 2>conftest.er1
31842   ac_status=$?
31843   grep -v '^ *+' conftest.er1 >conftest.err
31844   rm -f conftest.er1
31845   cat conftest.err >&5
31846   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31847   (exit $ac_status); } &&
31848          { ac_try='test -z "$ac_c_werror_flag"
31849                          || test ! -s conftest.err'
31850   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31851   (eval $ac_try) 2>&5
31852   ac_status=$?
31853   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31854   (exit $ac_status); }; } &&
31855          { ac_try='test -s conftest$ac_exeext'
31856   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31857   (eval $ac_try) 2>&5
31858   ac_status=$?
31859   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31860   (exit $ac_status); }; }; then
31861   ac_cv_lib_m_lgamma=yes
31862 else
31863   echo "$as_me: failed program was:" >&5
31864 sed 's/^/| /' conftest.$ac_ext >&5
31865
31866 ac_cv_lib_m_lgamma=no
31867 fi
31868 rm -f conftest.err conftest.$ac_objext \
31869       conftest$ac_exeext conftest.$ac_ext
31870 LIBS=$ac_check_lib_save_LIBS
31871 fi
31872 echo "$as_me:$LINENO: result: $ac_cv_lib_m_lgamma" >&5
31873 echo "${ECHO_T}$ac_cv_lib_m_lgamma" >&6
31874 if test $ac_cv_lib_m_lgamma = yes; then
31875
31876 cat >>confdefs.h <<\_ACEOF
31877 #define HAVE_LGAMMA 1
31878 _ACEOF
31879
31880 fi
31881
31882 echo "$as_me:$LINENO: checking for lgammaf in -lm" >&5
31883 echo $ECHO_N "checking for lgammaf in -lm... $ECHO_C" >&6
31884 if test "${ac_cv_lib_m_lgammaf+set}" = set; then
31885   echo $ECHO_N "(cached) $ECHO_C" >&6
31886 else
31887   ac_check_lib_save_LIBS=$LIBS
31888 LIBS="-lm  $LIBS"
31889 if test x$gcc_no_link = xyes; then
31890   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31891 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31892    { (exit 1); exit 1; }; }
31893 fi
31894 cat >conftest.$ac_ext <<_ACEOF
31895 /* confdefs.h.  */
31896 _ACEOF
31897 cat confdefs.h >>conftest.$ac_ext
31898 cat >>conftest.$ac_ext <<_ACEOF
31899 /* end confdefs.h.  */
31900
31901 /* Override any gcc2 internal prototype to avoid an error.  */
31902 #ifdef __cplusplus
31903 extern "C"
31904 #endif
31905 /* We use char because int might match the return type of a gcc2
31906    builtin and then its argument prototype would still apply.  */
31907 char lgammaf ();
31908 int
31909 main ()
31910 {
31911 lgammaf ();
31912   ;
31913   return 0;
31914 }
31915 _ACEOF
31916 rm -f conftest.$ac_objext conftest$ac_exeext
31917 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31918   (eval $ac_link) 2>conftest.er1
31919   ac_status=$?
31920   grep -v '^ *+' conftest.er1 >conftest.err
31921   rm -f conftest.er1
31922   cat conftest.err >&5
31923   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31924   (exit $ac_status); } &&
31925          { ac_try='test -z "$ac_c_werror_flag"
31926                          || test ! -s conftest.err'
31927   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31928   (eval $ac_try) 2>&5
31929   ac_status=$?
31930   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31931   (exit $ac_status); }; } &&
31932          { ac_try='test -s conftest$ac_exeext'
31933   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31934   (eval $ac_try) 2>&5
31935   ac_status=$?
31936   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31937   (exit $ac_status); }; }; then
31938   ac_cv_lib_m_lgammaf=yes
31939 else
31940   echo "$as_me: failed program was:" >&5
31941 sed 's/^/| /' conftest.$ac_ext >&5
31942
31943 ac_cv_lib_m_lgammaf=no
31944 fi
31945 rm -f conftest.err conftest.$ac_objext \
31946       conftest$ac_exeext conftest.$ac_ext
31947 LIBS=$ac_check_lib_save_LIBS
31948 fi
31949 echo "$as_me:$LINENO: result: $ac_cv_lib_m_lgammaf" >&5
31950 echo "${ECHO_T}$ac_cv_lib_m_lgammaf" >&6
31951 if test $ac_cv_lib_m_lgammaf = yes; then
31952
31953 cat >>confdefs.h <<\_ACEOF
31954 #define HAVE_LGAMMAF 1
31955 _ACEOF
31956
31957 fi
31958
31959 echo "$as_me:$LINENO: checking for lgammal in -lm" >&5
31960 echo $ECHO_N "checking for lgammal in -lm... $ECHO_C" >&6
31961 if test "${ac_cv_lib_m_lgammal+set}" = set; then
31962   echo $ECHO_N "(cached) $ECHO_C" >&6
31963 else
31964   ac_check_lib_save_LIBS=$LIBS
31965 LIBS="-lm  $LIBS"
31966 if test x$gcc_no_link = xyes; then
31967   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31968 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31969    { (exit 1); exit 1; }; }
31970 fi
31971 cat >conftest.$ac_ext <<_ACEOF
31972 /* confdefs.h.  */
31973 _ACEOF
31974 cat confdefs.h >>conftest.$ac_ext
31975 cat >>conftest.$ac_ext <<_ACEOF
31976 /* end confdefs.h.  */
31977
31978 /* Override any gcc2 internal prototype to avoid an error.  */
31979 #ifdef __cplusplus
31980 extern "C"
31981 #endif
31982 /* We use char because int might match the return type of a gcc2
31983    builtin and then its argument prototype would still apply.  */
31984 char lgammal ();
31985 int
31986 main ()
31987 {
31988 lgammal ();
31989   ;
31990   return 0;
31991 }
31992 _ACEOF
31993 rm -f conftest.$ac_objext conftest$ac_exeext
31994 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31995   (eval $ac_link) 2>conftest.er1
31996   ac_status=$?
31997   grep -v '^ *+' conftest.er1 >conftest.err
31998   rm -f conftest.er1
31999   cat conftest.err >&5
32000   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32001   (exit $ac_status); } &&
32002          { ac_try='test -z "$ac_c_werror_flag"
32003                          || test ! -s conftest.err'
32004   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32005   (eval $ac_try) 2>&5
32006   ac_status=$?
32007   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32008   (exit $ac_status); }; } &&
32009          { ac_try='test -s conftest$ac_exeext'
32010   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32011   (eval $ac_try) 2>&5
32012   ac_status=$?
32013   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32014   (exit $ac_status); }; }; then
32015   ac_cv_lib_m_lgammal=yes
32016 else
32017   echo "$as_me: failed program was:" >&5
32018 sed 's/^/| /' conftest.$ac_ext >&5
32019
32020 ac_cv_lib_m_lgammal=no
32021 fi
32022 rm -f conftest.err conftest.$ac_objext \
32023       conftest$ac_exeext conftest.$ac_ext
32024 LIBS=$ac_check_lib_save_LIBS
32025 fi
32026 echo "$as_me:$LINENO: result: $ac_cv_lib_m_lgammal" >&5
32027 echo "${ECHO_T}$ac_cv_lib_m_lgammal" >&6
32028 if test $ac_cv_lib_m_lgammal = yes; then
32029
32030 cat >>confdefs.h <<\_ACEOF
32031 #define HAVE_LGAMMAL 1
32032 _ACEOF
32033
32034 fi
32035
32036
32037 # On AIX, clog is present in libm as __clog
32038 echo "$as_me:$LINENO: checking for __clog in -lm" >&5
32039 echo $ECHO_N "checking for __clog in -lm... $ECHO_C" >&6
32040 if test "${ac_cv_lib_m___clog+set}" = set; then
32041   echo $ECHO_N "(cached) $ECHO_C" >&6
32042 else
32043   ac_check_lib_save_LIBS=$LIBS
32044 LIBS="-lm  $LIBS"
32045 if test x$gcc_no_link = xyes; then
32046   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32047 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32048    { (exit 1); exit 1; }; }
32049 fi
32050 cat >conftest.$ac_ext <<_ACEOF
32051 /* confdefs.h.  */
32052 _ACEOF
32053 cat confdefs.h >>conftest.$ac_ext
32054 cat >>conftest.$ac_ext <<_ACEOF
32055 /* end confdefs.h.  */
32056
32057 /* Override any gcc2 internal prototype to avoid an error.  */
32058 #ifdef __cplusplus
32059 extern "C"
32060 #endif
32061 /* We use char because int might match the return type of a gcc2
32062    builtin and then its argument prototype would still apply.  */
32063 char __clog ();
32064 int
32065 main ()
32066 {
32067 __clog ();
32068   ;
32069   return 0;
32070 }
32071 _ACEOF
32072 rm -f conftest.$ac_objext conftest$ac_exeext
32073 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32074   (eval $ac_link) 2>conftest.er1
32075   ac_status=$?
32076   grep -v '^ *+' conftest.er1 >conftest.err
32077   rm -f conftest.er1
32078   cat conftest.err >&5
32079   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32080   (exit $ac_status); } &&
32081          { ac_try='test -z "$ac_c_werror_flag"
32082                          || test ! -s conftest.err'
32083   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32084   (eval $ac_try) 2>&5
32085   ac_status=$?
32086   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32087   (exit $ac_status); }; } &&
32088          { ac_try='test -s conftest$ac_exeext'
32089   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32090   (eval $ac_try) 2>&5
32091   ac_status=$?
32092   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32093   (exit $ac_status); }; }; then
32094   ac_cv_lib_m___clog=yes
32095 else
32096   echo "$as_me: failed program was:" >&5
32097 sed 's/^/| /' conftest.$ac_ext >&5
32098
32099 ac_cv_lib_m___clog=no
32100 fi
32101 rm -f conftest.err conftest.$ac_objext \
32102       conftest$ac_exeext conftest.$ac_ext
32103 LIBS=$ac_check_lib_save_LIBS
32104 fi
32105 echo "$as_me:$LINENO: result: $ac_cv_lib_m___clog" >&5
32106 echo "${ECHO_T}$ac_cv_lib_m___clog" >&6
32107 if test $ac_cv_lib_m___clog = yes; then
32108
32109 cat >>confdefs.h <<\_ACEOF
32110 #define HAVE_CLOG 1
32111 _ACEOF
32112
32113 fi
32114
32115
32116 # Check for a isfinite macro that works on long doubles.
32117
32118   echo "$as_me:$LINENO: checking whether isfinite is broken" >&5
32119 echo $ECHO_N "checking whether isfinite is broken... $ECHO_C" >&6
32120 if test "${libgfor_cv_have_broken_isfinite+set}" = set; then
32121   echo $ECHO_N "(cached) $ECHO_C" >&6
32122 else
32123
32124   libgfor_check_for_broken_isfinite_save_LIBS=$LIBS
32125   LIBS="$LIBS -lm"
32126   if test "$cross_compiling" = yes; then
32127
32128 case "${target}" in
32129   hppa*-*-hpux*) libgfor_cv_have_broken_isfinite=yes ;;
32130   *) libgfor_cv_have_broken_isfinite=no ;;
32131 esac
32132 else
32133   cat >conftest.$ac_ext <<_ACEOF
32134 /* confdefs.h.  */
32135 _ACEOF
32136 cat confdefs.h >>conftest.$ac_ext
32137 cat >>conftest.$ac_ext <<_ACEOF
32138 /* end confdefs.h.  */
32139
32140 #include <math.h>
32141 #include <float.h>
32142 int main ()
32143 {
32144 #ifdef isfinite
32145 #ifdef LDBL_MAX
32146   if (!isfinite(LDBL_MAX)) return 1;
32147 #endif
32148 #ifdef DBL_MAX
32149   if (!isfinite(DBL_MAX)) return 1;
32150 #endif
32151 #endif
32152 return 0;
32153 }
32154 _ACEOF
32155 rm -f conftest$ac_exeext
32156 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32157   (eval $ac_link) 2>&5
32158   ac_status=$?
32159   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32160   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
32161   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32162   (eval $ac_try) 2>&5
32163   ac_status=$?
32164   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32165   (exit $ac_status); }; }; then
32166   libgfor_cv_have_broken_isfinite=no
32167 else
32168   echo "$as_me: program exited with status $ac_status" >&5
32169 echo "$as_me: failed program was:" >&5
32170 sed 's/^/| /' conftest.$ac_ext >&5
32171
32172 ( exit $ac_status )
32173 libgfor_cv_have_broken_isfinite=yes
32174 fi
32175 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
32176 fi
32177   LIBS=$libgfor_check_for_broken_isfinite_save_LIBS
32178 fi
32179 echo "$as_me:$LINENO: result: $libgfor_cv_have_broken_isfinite" >&5
32180 echo "${ECHO_T}$libgfor_cv_have_broken_isfinite" >&6
32181 if test x"$libgfor_cv_have_broken_isfinite" = xyes; then
32182
32183 cat >>confdefs.h <<\_ACEOF
32184 #define HAVE_BROKEN_ISFINITE 1
32185 _ACEOF
32186
32187 fi
32188
32189 # Check for a isnan macro that works on long doubles.
32190
32191   echo "$as_me:$LINENO: checking whether isnan is broken" >&5
32192 echo $ECHO_N "checking whether isnan is broken... $ECHO_C" >&6
32193 if test "${libgfor_cv_have_broken_isnan+set}" = set; then
32194   echo $ECHO_N "(cached) $ECHO_C" >&6
32195 else
32196
32197   libgfor_check_for_broken_isnan_save_LIBS=$LIBS
32198   LIBS="$LIBS -lm"
32199   if test "$cross_compiling" = yes; then
32200
32201 case "${target}" in
32202   hppa*-*-hpux*) libgfor_cv_have_broken_isnan=yes ;;
32203   *) libgfor_cv_have_broken_isnan=no ;;
32204 esac
32205 else
32206   cat >conftest.$ac_ext <<_ACEOF
32207 /* confdefs.h.  */
32208 _ACEOF
32209 cat confdefs.h >>conftest.$ac_ext
32210 cat >>conftest.$ac_ext <<_ACEOF
32211 /* end confdefs.h.  */
32212
32213 #include <math.h>
32214 #include <float.h>
32215 int main ()
32216 {
32217 #ifdef isnan
32218 #ifdef LDBL_MAX
32219   {
32220     long double x;
32221     x = __builtin_nanl ("");
32222     if (!isnan(x)) return 1;
32223     if (isnan(LDBL_MAX)) return 1;
32224 #ifdef NAN
32225     x = (long double) NAN;
32226     if (!isnan(x)) return 1;
32227 #endif
32228   }
32229 #endif
32230 #ifdef DBL_MAX
32231   {
32232     double y;
32233     y = __builtin_nan ("");
32234     if (!isnan(y)) return 1;
32235     if (isnan(DBL_MAX)) return 1;
32236 #ifdef NAN
32237     y = (double) NAN;
32238     if (!isnan(y)) return 1;
32239 #endif
32240   }
32241 #endif
32242 #endif
32243 return 0;
32244 }
32245 _ACEOF
32246 rm -f conftest$ac_exeext
32247 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32248   (eval $ac_link) 2>&5
32249   ac_status=$?
32250   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32251   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
32252   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32253   (eval $ac_try) 2>&5
32254   ac_status=$?
32255   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32256   (exit $ac_status); }; }; then
32257   libgfor_cv_have_broken_isnan=no
32258 else
32259   echo "$as_me: program exited with status $ac_status" >&5
32260 echo "$as_me: failed program was:" >&5
32261 sed 's/^/| /' conftest.$ac_ext >&5
32262
32263 ( exit $ac_status )
32264 libgfor_cv_have_broken_isnan=yes
32265 fi
32266 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
32267 fi
32268   LIBS=$libgfor_check_for_broken_isnan_save_LIBS
32269 fi
32270 echo "$as_me:$LINENO: result: $libgfor_cv_have_broken_isnan" >&5
32271 echo "${ECHO_T}$libgfor_cv_have_broken_isnan" >&6
32272 if test x"$libgfor_cv_have_broken_isnan" = xyes; then
32273
32274 cat >>confdefs.h <<\_ACEOF
32275 #define HAVE_BROKEN_ISNAN 1
32276 _ACEOF
32277
32278 fi
32279
32280 # Check for a fpclassify macro that works on long doubles.
32281
32282   echo "$as_me:$LINENO: checking whether fpclassify is broken" >&5
32283 echo $ECHO_N "checking whether fpclassify is broken... $ECHO_C" >&6
32284 if test "${libgfor_cv_have_broken_fpclassify+set}" = set; then
32285   echo $ECHO_N "(cached) $ECHO_C" >&6
32286 else
32287
32288   libgfor_check_for_broken_fpclassify_save_LIBS=$LIBS
32289   LIBS="$LIBS -lm"
32290   if test "$cross_compiling" = yes; then
32291
32292 case "${target}" in
32293   hppa*-*-hpux*) libgfor_cv_have_broken_fpclassify=yes ;;
32294   *) libgfor_cv_have_broken_fpclassify=no ;;
32295 esac
32296 else
32297   cat >conftest.$ac_ext <<_ACEOF
32298 /* confdefs.h.  */
32299 _ACEOF
32300 cat confdefs.h >>conftest.$ac_ext
32301 cat >>conftest.$ac_ext <<_ACEOF
32302 /* end confdefs.h.  */
32303
32304 #include <math.h>
32305 #include <float.h>
32306 int main ()
32307 {
32308 #ifdef fpclassify
32309 #ifdef LDBL_MAX
32310         if (fpclassify(LDBL_MAX) == FP_NAN
32311             || fpclassify(LDBL_MAX) == FP_INFINITE) return 1;
32312 #endif
32313 #ifdef DBL_MAX
32314         if (fpclassify(DBL_MAX) == FP_NAN
32315             || fpclassify(DBL_MAX) == FP_INFINITE) return 1;
32316 #endif
32317 #endif
32318 return 0;
32319 }
32320 _ACEOF
32321 rm -f conftest$ac_exeext
32322 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32323   (eval $ac_link) 2>&5
32324   ac_status=$?
32325   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32326   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
32327   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32328   (eval $ac_try) 2>&5
32329   ac_status=$?
32330   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32331   (exit $ac_status); }; }; then
32332   libgfor_cv_have_broken_fpclassify=no
32333 else
32334   echo "$as_me: program exited with status $ac_status" >&5
32335 echo "$as_me: failed program was:" >&5
32336 sed 's/^/| /' conftest.$ac_ext >&5
32337
32338 ( exit $ac_status )
32339 libgfor_cv_have_broken_fpclassify=yes
32340 fi
32341 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
32342 fi
32343   LIBS=$libgfor_check_for_broken_fpclassify_save_LIBS
32344 fi
32345 echo "$as_me:$LINENO: result: $libgfor_cv_have_broken_fpclassify" >&5
32346 echo "${ECHO_T}$libgfor_cv_have_broken_fpclassify" >&6
32347 if test x"$libgfor_cv_have_broken_fpclassify" = xyes; then
32348
32349 cat >>confdefs.h <<\_ACEOF
32350 #define HAVE_BROKEN_FPCLASSIFY 1
32351 _ACEOF
32352
32353 fi
32354
32355 # Check whether the system has a working stat()
32356
32357   echo "$as_me:$LINENO: checking whether the target stat is reliable" >&5
32358 echo $ECHO_N "checking whether the target stat is reliable... $ECHO_C" >&6
32359 if test "${libgfor_cv_have_working_stat+set}" = set; then
32360   echo $ECHO_N "(cached) $ECHO_C" >&6
32361 else
32362
32363   if test "$cross_compiling" = yes; then
32364
32365 case "${target}" in
32366   *mingw*) libgfor_cv_have_working_stat=no ;;
32367   *) libgfor_cv_have_working_stat=yes;;
32368 esac
32369 else
32370   cat >conftest.$ac_ext <<_ACEOF
32371 /* confdefs.h.  */
32372 _ACEOF
32373 cat confdefs.h >>conftest.$ac_ext
32374 cat >>conftest.$ac_ext <<_ACEOF
32375 /* end confdefs.h.  */
32376
32377 #include <stdio.h>
32378 #include <sys/types.h>
32379 #include <sys/stat.h>
32380 #include <unistd.h>
32381
32382 int main ()
32383 {
32384   FILE *f, *g;
32385   struct stat st1, st2;
32386
32387   f = fopen ("foo", "w");
32388   g = fopen ("bar", "w");
32389   if (stat ("foo", &st1) != 0 || stat ("bar", &st2))
32390     return 1;
32391   if (st1.st_dev == st2.st_dev && st1.st_ino == st2.st_ino)
32392     return 1;
32393   fclose(f);
32394   fclose(g);
32395   return 0;
32396 }
32397 _ACEOF
32398 rm -f conftest$ac_exeext
32399 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32400   (eval $ac_link) 2>&5
32401   ac_status=$?
32402   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32403   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
32404   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32405   (eval $ac_try) 2>&5
32406   ac_status=$?
32407   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32408   (exit $ac_status); }; }; then
32409   libgfor_cv_have_working_stat=yes
32410 else
32411   echo "$as_me: program exited with status $ac_status" >&5
32412 echo "$as_me: failed program was:" >&5
32413 sed 's/^/| /' conftest.$ac_ext >&5
32414
32415 ( exit $ac_status )
32416 libgfor_cv_have_working_stat=no
32417 fi
32418 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
32419 fi
32420 fi
32421 echo "$as_me:$LINENO: result: $libgfor_cv_have_working_stat" >&5
32422 echo "${ECHO_T}$libgfor_cv_have_working_stat" >&6
32423 if test x"$libgfor_cv_have_working_stat" = xyes; then
32424
32425 cat >>confdefs.h <<\_ACEOF
32426 #define HAVE_WORKING_STAT 1
32427 _ACEOF
32428
32429 fi
32430
32431 # Check whether __mingw_snprintf() is present
32432
32433   echo "$as_me:$LINENO: checking whether __mingw_snprintf is present" >&5
32434 echo $ECHO_N "checking whether __mingw_snprintf is present... $ECHO_C" >&6
32435 if test "${libgfor_cv_have_mingw_snprintf+set}" = set; then
32436   echo $ECHO_N "(cached) $ECHO_C" >&6
32437 else
32438
32439     if test x$gcc_no_link = xyes; then
32440   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32441 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32442    { (exit 1); exit 1; }; }
32443 fi
32444 cat >conftest.$ac_ext <<_ACEOF
32445 /* confdefs.h.  */
32446 _ACEOF
32447 cat confdefs.h >>conftest.$ac_ext
32448 cat >>conftest.$ac_ext <<_ACEOF
32449 /* end confdefs.h.  */
32450
32451 #include <stdio.h>
32452 extern int __mingw_snprintf (char *, size_t, const char *, ...);
32453
32454 int
32455 main ()
32456 {
32457
32458 __mingw_snprintf (NULL, 0, "%d\n", 1);
32459
32460   ;
32461   return 0;
32462 }
32463 _ACEOF
32464 rm -f conftest.$ac_objext conftest$ac_exeext
32465 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32466   (eval $ac_link) 2>conftest.er1
32467   ac_status=$?
32468   grep -v '^ *+' conftest.er1 >conftest.err
32469   rm -f conftest.er1
32470   cat conftest.err >&5
32471   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32472   (exit $ac_status); } &&
32473          { ac_try='test -z "$ac_c_werror_flag"
32474                          || test ! -s conftest.err'
32475   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32476   (eval $ac_try) 2>&5
32477   ac_status=$?
32478   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32479   (exit $ac_status); }; } &&
32480          { ac_try='test -s conftest$ac_exeext'
32481   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32482   (eval $ac_try) 2>&5
32483   ac_status=$?
32484   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32485   (exit $ac_status); }; }; then
32486   eval "libgfor_cv_have_mingw_snprintf=yes"
32487 else
32488   echo "$as_me: failed program was:" >&5
32489 sed 's/^/| /' conftest.$ac_ext >&5
32490
32491 eval "libgfor_cv_have_mingw_snprintf=no"
32492 fi
32493 rm -f conftest.err conftest.$ac_objext \
32494       conftest$ac_exeext conftest.$ac_ext
32495
32496 fi
32497 echo "$as_me:$LINENO: result: $libgfor_cv_have_mingw_snprintf" >&5
32498 echo "${ECHO_T}$libgfor_cv_have_mingw_snprintf" >&6
32499   if test x"$libgfor_cv_have_mingw_snprintf" = xyes; then
32500
32501 cat >>confdefs.h <<\_ACEOF
32502 #define HAVE_MINGW_SNPRINTF 1
32503 _ACEOF
32504
32505   fi
32506
32507
32508 # Check for GNU libc feenableexcept
32509 echo "$as_me:$LINENO: checking for feenableexcept in -lm" >&5
32510 echo $ECHO_N "checking for feenableexcept in -lm... $ECHO_C" >&6
32511 if test "${ac_cv_lib_m_feenableexcept+set}" = set; then
32512   echo $ECHO_N "(cached) $ECHO_C" >&6
32513 else
32514   ac_check_lib_save_LIBS=$LIBS
32515 LIBS="-lm  $LIBS"
32516 if test x$gcc_no_link = xyes; then
32517   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32518 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32519    { (exit 1); exit 1; }; }
32520 fi
32521 cat >conftest.$ac_ext <<_ACEOF
32522 /* confdefs.h.  */
32523 _ACEOF
32524 cat confdefs.h >>conftest.$ac_ext
32525 cat >>conftest.$ac_ext <<_ACEOF
32526 /* end confdefs.h.  */
32527
32528 /* Override any gcc2 internal prototype to avoid an error.  */
32529 #ifdef __cplusplus
32530 extern "C"
32531 #endif
32532 /* We use char because int might match the return type of a gcc2
32533    builtin and then its argument prototype would still apply.  */
32534 char feenableexcept ();
32535 int
32536 main ()
32537 {
32538 feenableexcept ();
32539   ;
32540   return 0;
32541 }
32542 _ACEOF
32543 rm -f conftest.$ac_objext conftest$ac_exeext
32544 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32545   (eval $ac_link) 2>conftest.er1
32546   ac_status=$?
32547   grep -v '^ *+' conftest.er1 >conftest.err
32548   rm -f conftest.er1
32549   cat conftest.err >&5
32550   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32551   (exit $ac_status); } &&
32552          { ac_try='test -z "$ac_c_werror_flag"
32553                          || test ! -s conftest.err'
32554   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32555   (eval $ac_try) 2>&5
32556   ac_status=$?
32557   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32558   (exit $ac_status); }; } &&
32559          { ac_try='test -s conftest$ac_exeext'
32560   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32561   (eval $ac_try) 2>&5
32562   ac_status=$?
32563   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32564   (exit $ac_status); }; }; then
32565   ac_cv_lib_m_feenableexcept=yes
32566 else
32567   echo "$as_me: failed program was:" >&5
32568 sed 's/^/| /' conftest.$ac_ext >&5
32569
32570 ac_cv_lib_m_feenableexcept=no
32571 fi
32572 rm -f conftest.err conftest.$ac_objext \
32573       conftest$ac_exeext conftest.$ac_ext
32574 LIBS=$ac_check_lib_save_LIBS
32575 fi
32576 echo "$as_me:$LINENO: result: $ac_cv_lib_m_feenableexcept" >&5
32577 echo "${ECHO_T}$ac_cv_lib_m_feenableexcept" >&6
32578 if test $ac_cv_lib_m_feenableexcept = yes; then
32579   have_feenableexcept=yes
32580 cat >>confdefs.h <<\_ACEOF
32581 #define HAVE_FEENABLEEXCEPT 1
32582 _ACEOF
32583
32584 fi
32585
32586
32587 # Check for SysV fpsetmask
32588
32589   echo "$as_me:$LINENO: checking whether fpsetmask is present" >&5
32590 echo $ECHO_N "checking whether fpsetmask is present... $ECHO_C" >&6
32591 if test "${libgfor_cv_have_fpsetmask+set}" = set; then
32592   echo $ECHO_N "(cached) $ECHO_C" >&6
32593 else
32594
32595     if test x$gcc_no_link = xyes; then
32596   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32597 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32598    { (exit 1); exit 1; }; }
32599 fi
32600 cat >conftest.$ac_ext <<_ACEOF
32601 /* confdefs.h.  */
32602 _ACEOF
32603 cat confdefs.h >>conftest.$ac_ext
32604 cat >>conftest.$ac_ext <<_ACEOF
32605 /* end confdefs.h.  */
32606
32607 #if HAVE_FLOATINGPOINT_H
32608 # include <floatingpoint.h>
32609 #endif /* HAVE_FLOATINGPOINT_H */
32610 #if HAVE_IEEEFP_H
32611 # include <ieeefp.h>
32612 #endif /* HAVE_IEEEFP_H */
32613 int
32614 main ()
32615 {
32616 fpsetmask(0);
32617   ;
32618   return 0;
32619 }
32620 _ACEOF
32621 rm -f conftest.$ac_objext conftest$ac_exeext
32622 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32623   (eval $ac_link) 2>conftest.er1
32624   ac_status=$?
32625   grep -v '^ *+' conftest.er1 >conftest.err
32626   rm -f conftest.er1
32627   cat conftest.err >&5
32628   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32629   (exit $ac_status); } &&
32630          { ac_try='test -z "$ac_c_werror_flag"
32631                          || test ! -s conftest.err'
32632   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32633   (eval $ac_try) 2>&5
32634   ac_status=$?
32635   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32636   (exit $ac_status); }; } &&
32637          { ac_try='test -s conftest$ac_exeext'
32638   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32639   (eval $ac_try) 2>&5
32640   ac_status=$?
32641   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32642   (exit $ac_status); }; }; then
32643   eval "libgfor_cv_have_fpsetmask=yes"
32644 else
32645   echo "$as_me: failed program was:" >&5
32646 sed 's/^/| /' conftest.$ac_ext >&5
32647
32648 eval "libgfor_cv_have_fpsetmask=no"
32649 fi
32650 rm -f conftest.err conftest.$ac_objext \
32651       conftest$ac_exeext conftest.$ac_ext
32652
32653 fi
32654 echo "$as_me:$LINENO: result: $libgfor_cv_have_fpsetmask" >&5
32655 echo "${ECHO_T}$libgfor_cv_have_fpsetmask" >&6
32656   if test x"$libgfor_cv_have_fpsetmask" = xyes; then
32657
32658 cat >>confdefs.h <<\_ACEOF
32659 #define HAVE_FPSETMASK 1
32660 _ACEOF
32661
32662   fi
32663
32664
32665 # Check for AIX fp_trap and fp_enable
32666 echo "$as_me:$LINENO: checking for fp_trap" >&5
32667 echo $ECHO_N "checking for fp_trap... $ECHO_C" >&6
32668 if test "${ac_cv_func_fp_trap+set}" = set; then
32669   echo $ECHO_N "(cached) $ECHO_C" >&6
32670 else
32671   if test x$gcc_no_link = xyes; then
32672   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32673 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32674    { (exit 1); exit 1; }; }
32675 fi
32676 cat >conftest.$ac_ext <<_ACEOF
32677 /* confdefs.h.  */
32678 _ACEOF
32679 cat confdefs.h >>conftest.$ac_ext
32680 cat >>conftest.$ac_ext <<_ACEOF
32681 /* end confdefs.h.  */
32682 /* Define fp_trap to an innocuous variant, in case <limits.h> declares fp_trap.
32683    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
32684 #define fp_trap innocuous_fp_trap
32685
32686 /* System header to define __stub macros and hopefully few prototypes,
32687     which can conflict with char fp_trap (); below.
32688     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32689     <limits.h> exists even on freestanding compilers.  */
32690
32691 #ifdef __STDC__
32692 # include <limits.h>
32693 #else
32694 # include <assert.h>
32695 #endif
32696
32697 #undef fp_trap
32698
32699 /* Override any gcc2 internal prototype to avoid an error.  */
32700 #ifdef __cplusplus
32701 extern "C"
32702 {
32703 #endif
32704 /* We use char because int might match the return type of a gcc2
32705    builtin and then its argument prototype would still apply.  */
32706 char fp_trap ();
32707 /* The GNU C library defines this for functions which it implements
32708     to always fail with ENOSYS.  Some functions are actually named
32709     something starting with __ and the normal name is an alias.  */
32710 #if defined (__stub_fp_trap) || defined (__stub___fp_trap)
32711 choke me
32712 #else
32713 char (*f) () = fp_trap;
32714 #endif
32715 #ifdef __cplusplus
32716 }
32717 #endif
32718
32719 int
32720 main ()
32721 {
32722 return f != fp_trap;
32723   ;
32724   return 0;
32725 }
32726 _ACEOF
32727 rm -f conftest.$ac_objext conftest$ac_exeext
32728 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32729   (eval $ac_link) 2>conftest.er1
32730   ac_status=$?
32731   grep -v '^ *+' conftest.er1 >conftest.err
32732   rm -f conftest.er1
32733   cat conftest.err >&5
32734   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32735   (exit $ac_status); } &&
32736          { ac_try='test -z "$ac_c_werror_flag"
32737                          || test ! -s conftest.err'
32738   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32739   (eval $ac_try) 2>&5
32740   ac_status=$?
32741   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32742   (exit $ac_status); }; } &&
32743          { ac_try='test -s conftest$ac_exeext'
32744   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32745   (eval $ac_try) 2>&5
32746   ac_status=$?
32747   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32748   (exit $ac_status); }; }; then
32749   ac_cv_func_fp_trap=yes
32750 else
32751   echo "$as_me: failed program was:" >&5
32752 sed 's/^/| /' conftest.$ac_ext >&5
32753
32754 ac_cv_func_fp_trap=no
32755 fi
32756 rm -f conftest.err conftest.$ac_objext \
32757       conftest$ac_exeext conftest.$ac_ext
32758 fi
32759 echo "$as_me:$LINENO: result: $ac_cv_func_fp_trap" >&5
32760 echo "${ECHO_T}$ac_cv_func_fp_trap" >&6
32761 if test $ac_cv_func_fp_trap = yes; then
32762   have_fp_trap=yes
32763 cat >>confdefs.h <<\_ACEOF
32764 #define HAVE_FP_TRAP 1
32765 _ACEOF
32766
32767 fi
32768
32769 echo "$as_me:$LINENO: checking for fp_enable" >&5
32770 echo $ECHO_N "checking for fp_enable... $ECHO_C" >&6
32771 if test "${ac_cv_func_fp_enable+set}" = set; then
32772   echo $ECHO_N "(cached) $ECHO_C" >&6
32773 else
32774   if test x$gcc_no_link = xyes; then
32775   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32776 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32777    { (exit 1); exit 1; }; }
32778 fi
32779 cat >conftest.$ac_ext <<_ACEOF
32780 /* confdefs.h.  */
32781 _ACEOF
32782 cat confdefs.h >>conftest.$ac_ext
32783 cat >>conftest.$ac_ext <<_ACEOF
32784 /* end confdefs.h.  */
32785 /* Define fp_enable to an innocuous variant, in case <limits.h> declares fp_enable.
32786    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
32787 #define fp_enable innocuous_fp_enable
32788
32789 /* System header to define __stub macros and hopefully few prototypes,
32790     which can conflict with char fp_enable (); below.
32791     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32792     <limits.h> exists even on freestanding compilers.  */
32793
32794 #ifdef __STDC__
32795 # include <limits.h>
32796 #else
32797 # include <assert.h>
32798 #endif
32799
32800 #undef fp_enable
32801
32802 /* Override any gcc2 internal prototype to avoid an error.  */
32803 #ifdef __cplusplus
32804 extern "C"
32805 {
32806 #endif
32807 /* We use char because int might match the return type of a gcc2
32808    builtin and then its argument prototype would still apply.  */
32809 char fp_enable ();
32810 /* The GNU C library defines this for functions which it implements
32811     to always fail with ENOSYS.  Some functions are actually named
32812     something starting with __ and the normal name is an alias.  */
32813 #if defined (__stub_fp_enable) || defined (__stub___fp_enable)
32814 choke me
32815 #else
32816 char (*f) () = fp_enable;
32817 #endif
32818 #ifdef __cplusplus
32819 }
32820 #endif
32821
32822 int
32823 main ()
32824 {
32825 return f != fp_enable;
32826   ;
32827   return 0;
32828 }
32829 _ACEOF
32830 rm -f conftest.$ac_objext conftest$ac_exeext
32831 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32832   (eval $ac_link) 2>conftest.er1
32833   ac_status=$?
32834   grep -v '^ *+' conftest.er1 >conftest.err
32835   rm -f conftest.er1
32836   cat conftest.err >&5
32837   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32838   (exit $ac_status); } &&
32839          { ac_try='test -z "$ac_c_werror_flag"
32840                          || test ! -s conftest.err'
32841   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32842   (eval $ac_try) 2>&5
32843   ac_status=$?
32844   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32845   (exit $ac_status); }; } &&
32846          { ac_try='test -s conftest$ac_exeext'
32847   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32848   (eval $ac_try) 2>&5
32849   ac_status=$?
32850   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32851   (exit $ac_status); }; }; then
32852   ac_cv_func_fp_enable=yes
32853 else
32854   echo "$as_me: failed program was:" >&5
32855 sed 's/^/| /' conftest.$ac_ext >&5
32856
32857 ac_cv_func_fp_enable=no
32858 fi
32859 rm -f conftest.err conftest.$ac_objext \
32860       conftest$ac_exeext conftest.$ac_ext
32861 fi
32862 echo "$as_me:$LINENO: result: $ac_cv_func_fp_enable" >&5
32863 echo "${ECHO_T}$ac_cv_func_fp_enable" >&6
32864 if test $ac_cv_func_fp_enable = yes; then
32865   have_fp_enable=yes
32866 cat >>confdefs.h <<\_ACEOF
32867 #define HAVE_FP_ENABLE 1
32868 _ACEOF
32869
32870 fi
32871
32872
32873 # Runs configure.host to set up necessary host-dependent shell variables.
32874 # We then display a message about it, and propagate them through the
32875 # build chain.
32876 . ${srcdir}/configure.host
32877 { echo "$as_me:$LINENO: FPU dependent file will be ${fpu_host}.h" >&5
32878 echo "$as_me: FPU dependent file will be ${fpu_host}.h" >&6;}
32879 FPU_HOST_HEADER=config/${fpu_host}.h
32880
32881
32882 # Check out attribute support.
32883
32884   echo "$as_me:$LINENO: checking whether the target supports hidden visibility" >&5
32885 echo $ECHO_N "checking whether the target supports hidden visibility... $ECHO_C" >&6
32886 if test "${libgfor_cv_have_attribute_visibility+set}" = set; then
32887   echo $ECHO_N "(cached) $ECHO_C" >&6
32888 else
32889
32890   save_CFLAGS="$CFLAGS"
32891   CFLAGS="$CFLAGS -Werror"
32892   cat >conftest.$ac_ext <<_ACEOF
32893 /* confdefs.h.  */
32894 _ACEOF
32895 cat confdefs.h >>conftest.$ac_ext
32896 cat >>conftest.$ac_ext <<_ACEOF
32897 /* end confdefs.h.  */
32898 void __attribute__((visibility("hidden"))) foo(void) { }
32899 int
32900 main ()
32901 {
32902
32903   ;
32904   return 0;
32905 }
32906 _ACEOF
32907 rm -f conftest.$ac_objext
32908 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32909   (eval $ac_compile) 2>conftest.er1
32910   ac_status=$?
32911   grep -v '^ *+' conftest.er1 >conftest.err
32912   rm -f conftest.er1
32913   cat conftest.err >&5
32914   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32915   (exit $ac_status); } &&
32916          { ac_try='test -z "$ac_c_werror_flag"
32917                          || test ! -s conftest.err'
32918   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32919   (eval $ac_try) 2>&5
32920   ac_status=$?
32921   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32922   (exit $ac_status); }; } &&
32923          { ac_try='test -s conftest.$ac_objext'
32924   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32925   (eval $ac_try) 2>&5
32926   ac_status=$?
32927   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32928   (exit $ac_status); }; }; then
32929   libgfor_cv_have_attribute_visibility=yes
32930 else
32931   echo "$as_me: failed program was:" >&5
32932 sed 's/^/| /' conftest.$ac_ext >&5
32933
32934 libgfor_cv_have_attribute_visibility=no
32935 fi
32936 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32937   CFLAGS="$save_CFLAGS"
32938 fi
32939 echo "$as_me:$LINENO: result: $libgfor_cv_have_attribute_visibility" >&5
32940 echo "${ECHO_T}$libgfor_cv_have_attribute_visibility" >&6
32941   if test $libgfor_cv_have_attribute_visibility = yes; then
32942
32943 cat >>confdefs.h <<\_ACEOF
32944 #define HAVE_ATTRIBUTE_VISIBILITY 1
32945 _ACEOF
32946
32947   fi
32948
32949   echo "$as_me:$LINENO: checking whether the target supports dllexport" >&5
32950 echo $ECHO_N "checking whether the target supports dllexport... $ECHO_C" >&6
32951 if test "${libgfor_cv_have_attribute_dllexport+set}" = set; then
32952   echo $ECHO_N "(cached) $ECHO_C" >&6
32953 else
32954
32955   save_CFLAGS="$CFLAGS"
32956   CFLAGS="$CFLAGS -Werror"
32957   cat >conftest.$ac_ext <<_ACEOF
32958 /* confdefs.h.  */
32959 _ACEOF
32960 cat confdefs.h >>conftest.$ac_ext
32961 cat >>conftest.$ac_ext <<_ACEOF
32962 /* end confdefs.h.  */
32963 void __attribute__((dllexport)) foo(void) { }
32964 int
32965 main ()
32966 {
32967
32968   ;
32969   return 0;
32970 }
32971 _ACEOF
32972 rm -f conftest.$ac_objext
32973 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32974   (eval $ac_compile) 2>conftest.er1
32975   ac_status=$?
32976   grep -v '^ *+' conftest.er1 >conftest.err
32977   rm -f conftest.er1
32978   cat conftest.err >&5
32979   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32980   (exit $ac_status); } &&
32981          { ac_try='test -z "$ac_c_werror_flag"
32982                          || test ! -s conftest.err'
32983   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32984   (eval $ac_try) 2>&5
32985   ac_status=$?
32986   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32987   (exit $ac_status); }; } &&
32988          { ac_try='test -s conftest.$ac_objext'
32989   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32990   (eval $ac_try) 2>&5
32991   ac_status=$?
32992   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32993   (exit $ac_status); }; }; then
32994   libgfor_cv_have_attribute_dllexport=yes
32995 else
32996   echo "$as_me: failed program was:" >&5
32997 sed 's/^/| /' conftest.$ac_ext >&5
32998
32999 libgfor_cv_have_attribute_dllexport=no
33000 fi
33001 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33002   CFLAGS="$save_CFLAGS"
33003 fi
33004 echo "$as_me:$LINENO: result: $libgfor_cv_have_attribute_dllexport" >&5
33005 echo "${ECHO_T}$libgfor_cv_have_attribute_dllexport" >&6
33006   if test $libgfor_cv_have_attribute_dllexport = yes; then
33007
33008 cat >>confdefs.h <<\_ACEOF
33009 #define HAVE_ATTRIBUTE_DLLEXPORT 1
33010 _ACEOF
33011
33012   fi
33013
33014   echo "$as_me:$LINENO: checking whether the target supports symbol aliases" >&5
33015 echo $ECHO_N "checking whether the target supports symbol aliases... $ECHO_C" >&6
33016 if test "${libgfor_cv_have_attribute_alias+set}" = set; then
33017   echo $ECHO_N "(cached) $ECHO_C" >&6
33018 else
33019
33020   if test x$gcc_no_link = xyes; then
33021   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33022 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33023    { (exit 1); exit 1; }; }
33024 fi
33025 cat >conftest.$ac_ext <<_ACEOF
33026 /* confdefs.h.  */
33027 _ACEOF
33028 cat confdefs.h >>conftest.$ac_ext
33029 cat >>conftest.$ac_ext <<_ACEOF
33030 /* end confdefs.h.  */
33031
33032 void foo(void) { }
33033 extern void bar(void) __attribute__((alias("foo")));
33034 int
33035 main ()
33036 {
33037 bar();
33038   ;
33039   return 0;
33040 }
33041 _ACEOF
33042 rm -f conftest.$ac_objext conftest$ac_exeext
33043 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33044   (eval $ac_link) 2>conftest.er1
33045   ac_status=$?
33046   grep -v '^ *+' conftest.er1 >conftest.err
33047   rm -f conftest.er1
33048   cat conftest.err >&5
33049   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33050   (exit $ac_status); } &&
33051          { ac_try='test -z "$ac_c_werror_flag"
33052                          || test ! -s conftest.err'
33053   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33054   (eval $ac_try) 2>&5
33055   ac_status=$?
33056   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33057   (exit $ac_status); }; } &&
33058          { ac_try='test -s conftest$ac_exeext'
33059   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33060   (eval $ac_try) 2>&5
33061   ac_status=$?
33062   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33063   (exit $ac_status); }; }; then
33064   libgfor_cv_have_attribute_alias=yes
33065 else
33066   echo "$as_me: failed program was:" >&5
33067 sed 's/^/| /' conftest.$ac_ext >&5
33068
33069 libgfor_cv_have_attribute_alias=no
33070 fi
33071 rm -f conftest.err conftest.$ac_objext \
33072       conftest$ac_exeext conftest.$ac_ext
33073 fi
33074 echo "$as_me:$LINENO: result: $libgfor_cv_have_attribute_alias" >&5
33075 echo "${ECHO_T}$libgfor_cv_have_attribute_alias" >&6
33076   if test $libgfor_cv_have_attribute_alias = yes; then
33077
33078 cat >>confdefs.h <<\_ACEOF
33079 #define HAVE_ATTRIBUTE_ALIAS 1
33080 _ACEOF
33081
33082   fi
33083
33084 # Check out sync builtins support.
33085
33086   echo "$as_me:$LINENO: checking whether the target supports __sync_fetch_and_add" >&5
33087 echo $ECHO_N "checking whether the target supports __sync_fetch_and_add... $ECHO_C" >&6
33088 if test "${libgfor_cv_have_sync_fetch_and_add+set}" = set; then
33089   echo $ECHO_N "(cached) $ECHO_C" >&6
33090 else
33091
33092   if test x$gcc_no_link = xyes; then
33093   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33094 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33095    { (exit 1); exit 1; }; }
33096 fi
33097 cat >conftest.$ac_ext <<_ACEOF
33098 /* confdefs.h.  */
33099 _ACEOF
33100 cat confdefs.h >>conftest.$ac_ext
33101 cat >>conftest.$ac_ext <<_ACEOF
33102 /* end confdefs.h.  */
33103 int foovar = 0;
33104 int
33105 main ()
33106 {
33107
33108 if (foovar <= 0) return __sync_fetch_and_add (&foovar, 1);
33109 if (foovar > 10) return __sync_add_and_fetch (&foovar, -1);
33110   ;
33111   return 0;
33112 }
33113 _ACEOF
33114 rm -f conftest.$ac_objext conftest$ac_exeext
33115 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33116   (eval $ac_link) 2>conftest.er1
33117   ac_status=$?
33118   grep -v '^ *+' conftest.er1 >conftest.err
33119   rm -f conftest.er1
33120   cat conftest.err >&5
33121   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33122   (exit $ac_status); } &&
33123          { ac_try='test -z "$ac_c_werror_flag"
33124                          || test ! -s conftest.err'
33125   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33126   (eval $ac_try) 2>&5
33127   ac_status=$?
33128   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33129   (exit $ac_status); }; } &&
33130          { ac_try='test -s conftest$ac_exeext'
33131   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33132   (eval $ac_try) 2>&5
33133   ac_status=$?
33134   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33135   (exit $ac_status); }; }; then
33136   libgfor_cv_have_sync_fetch_and_add=yes
33137 else
33138   echo "$as_me: failed program was:" >&5
33139 sed 's/^/| /' conftest.$ac_ext >&5
33140
33141 libgfor_cv_have_sync_fetch_and_add=no
33142 fi
33143 rm -f conftest.err conftest.$ac_objext \
33144       conftest$ac_exeext conftest.$ac_ext
33145 fi
33146 echo "$as_me:$LINENO: result: $libgfor_cv_have_sync_fetch_and_add" >&5
33147 echo "${ECHO_T}$libgfor_cv_have_sync_fetch_and_add" >&6
33148   if test $libgfor_cv_have_sync_fetch_and_add = yes; then
33149
33150 cat >>confdefs.h <<\_ACEOF
33151 #define HAVE_SYNC_FETCH_AND_ADD 1
33152 _ACEOF
33153
33154   fi
33155
33156 # Check out thread support.
33157
33158   echo "$as_me:$LINENO: checking configured target thread model" >&5
33159 echo $ECHO_N "checking configured target thread model... $ECHO_C" >&6
33160 if test "${libgfor_cv_target_thread_file+set}" = set; then
33161   echo $ECHO_N "(cached) $ECHO_C" >&6
33162 else
33163
33164 libgfor_cv_target_thread_file=`$CC -v 2>&1 | sed -n 's/^Thread model: //p'`
33165 fi
33166 echo "$as_me:$LINENO: result: $libgfor_cv_target_thread_file" >&5
33167 echo "${ECHO_T}$libgfor_cv_target_thread_file" >&6
33168
33169   if test $libgfor_cv_target_thread_file != single; then
33170
33171 cat >>confdefs.h <<\_ACEOF
33172 #define HAVE_GTHR_DEFAULT 1
33173 _ACEOF
33174
33175   fi
33176
33177 # Check out #pragma weak.
33178
33179   echo "$as_me:$LINENO: checking whether pragma weak works" >&5
33180 echo $ECHO_N "checking whether pragma weak works... $ECHO_C" >&6
33181 if test "${libgfor_cv_have_pragma_weak+set}" = set; then
33182   echo $ECHO_N "(cached) $ECHO_C" >&6
33183 else
33184
33185   gfor_save_CFLAGS="$CFLAGS"
33186   CFLAGS="$CFLAGS -Wunknown-pragmas"
33187   cat >conftest.$ac_ext <<_ACEOF
33188 /* confdefs.h.  */
33189 _ACEOF
33190 cat confdefs.h >>conftest.$ac_ext
33191 cat >>conftest.$ac_ext <<_ACEOF
33192 /* end confdefs.h.  */
33193 void foo (void);
33194 #pragma weak foo
33195 int
33196 main ()
33197 {
33198 if (foo) foo ();
33199   ;
33200   return 0;
33201 }
33202 _ACEOF
33203 rm -f conftest.$ac_objext
33204 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33205   (eval $ac_compile) 2>conftest.er1
33206   ac_status=$?
33207   grep -v '^ *+' conftest.er1 >conftest.err
33208   rm -f conftest.er1
33209   cat conftest.err >&5
33210   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33211   (exit $ac_status); } &&
33212          { ac_try='test -z "$ac_c_werror_flag"
33213                          || test ! -s conftest.err'
33214   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33215   (eval $ac_try) 2>&5
33216   ac_status=$?
33217   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33218   (exit $ac_status); }; } &&
33219          { ac_try='test -s conftest.$ac_objext'
33220   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33221   (eval $ac_try) 2>&5
33222   ac_status=$?
33223   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33224   (exit $ac_status); }; }; then
33225   libgfor_cv_have_pragma_weak=yes
33226 else
33227   echo "$as_me: failed program was:" >&5
33228 sed 's/^/| /' conftest.$ac_ext >&5
33229
33230 libgfor_cv_have_pragma_weak=no
33231 fi
33232 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33233 fi
33234 echo "$as_me:$LINENO: result: $libgfor_cv_have_pragma_weak" >&5
33235 echo "${ECHO_T}$libgfor_cv_have_pragma_weak" >&6
33236   if test $libgfor_cv_have_pragma_weak = yes; then
33237
33238 cat >>confdefs.h <<\_ACEOF
33239 #define SUPPORTS_WEAK 1
33240 _ACEOF
33241
33242   fi
33243   case "$host" in
33244     *-*-darwin* | *-*-hpux* | *-*-cygwin* | *-*-mingw* )
33245
33246 cat >>confdefs.h <<\_ACEOF
33247 #define GTHREAD_USE_WEAK 0
33248 _ACEOF
33249
33250       ;;
33251   esac
33252
33253 # Various other checks on target
33254
33255   echo "$as_me:$LINENO: checking whether the target can unlink an open file" >&5
33256 echo $ECHO_N "checking whether the target can unlink an open file... $ECHO_C" >&6
33257 if test "${libgfor_cv_have_unlink_open_file+set}" = set; then
33258   echo $ECHO_N "(cached) $ECHO_C" >&6
33259 else
33260
33261   if test "$cross_compiling" = yes; then
33262
33263 case "${target}" in
33264   *mingw*) libgfor_cv_have_unlink_open_file=no ;;
33265   *) libgfor_cv_have_unlink_open_file=yes;;
33266 esac
33267 else
33268   cat >conftest.$ac_ext <<_ACEOF
33269 /* confdefs.h.  */
33270 _ACEOF
33271 cat confdefs.h >>conftest.$ac_ext
33272 cat >>conftest.$ac_ext <<_ACEOF
33273 /* end confdefs.h.  */
33274
33275 #include <errno.h>
33276 #include <fcntl.h>
33277 #include <unistd.h>
33278 #include <sys/stat.h>
33279
33280 int main ()
33281 {
33282   int fd;
33283
33284   fd = open ("testfile", O_RDWR | O_CREAT, S_IWRITE | S_IREAD);
33285   if (fd <= 0)
33286     return 0;
33287   if (unlink ("testfile") == -1)
33288     return 1;
33289   write (fd, "This is a test\n", 15);
33290   close (fd);
33291
33292   if (open ("testfile", O_RDONLY, S_IWRITE | S_IREAD) == -1 && errno == ENOENT)
33293     return 0;
33294   else
33295     return 1;
33296 }
33297 _ACEOF
33298 rm -f conftest$ac_exeext
33299 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33300   (eval $ac_link) 2>&5
33301   ac_status=$?
33302   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33303   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
33304   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33305   (eval $ac_try) 2>&5
33306   ac_status=$?
33307   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33308   (exit $ac_status); }; }; then
33309   libgfor_cv_have_unlink_open_file=yes
33310 else
33311   echo "$as_me: program exited with status $ac_status" >&5
33312 echo "$as_me: failed program was:" >&5
33313 sed 's/^/| /' conftest.$ac_ext >&5
33314
33315 ( exit $ac_status )
33316 libgfor_cv_have_unlink_open_file=no
33317 fi
33318 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
33319 fi
33320 fi
33321 echo "$as_me:$LINENO: result: $libgfor_cv_have_unlink_open_file" >&5
33322 echo "${ECHO_T}$libgfor_cv_have_unlink_open_file" >&6
33323 if test x"$libgfor_cv_have_unlink_open_file" = xyes; then
33324
33325 cat >>confdefs.h <<\_ACEOF
33326 #define HAVE_UNLINK_OPEN_FILE 1
33327 _ACEOF
33328
33329 fi
33330
33331 # Check whether line terminator is LF or CRLF
33332
33333   echo "$as_me:$LINENO: checking whether the target has CRLF as line terminator" >&5
33334 echo $ECHO_N "checking whether the target has CRLF as line terminator... $ECHO_C" >&6
33335 if test "${libgfor_cv_have_crlf+set}" = set; then
33336   echo $ECHO_N "(cached) $ECHO_C" >&6
33337 else
33338
33339   if test "$cross_compiling" = yes; then
33340
33341 case "${target}" in
33342   *mingw*) libgfor_cv_have_crlf=yes ;;
33343   *) libgfor_cv_have_crlf=no;;
33344 esac
33345 else
33346   cat >conftest.$ac_ext <<_ACEOF
33347 /* confdefs.h.  */
33348 _ACEOF
33349 cat confdefs.h >>conftest.$ac_ext
33350 cat >>conftest.$ac_ext <<_ACEOF
33351 /* end confdefs.h.  */
33352
33353 /* This test program should exit with status 0 if system uses a CRLF as
33354    line terminator, and status 1 otherwise.
33355    Since it is used to check for mingw systems, and should return 0 in any
33356    other case, in case of a failure we will not use CRLF.  */
33357 #include <sys/stat.h>
33358 #include <stdlib.h>
33359 #include <fcntl.h>
33360 #include <stdio.h>
33361
33362 int main ()
33363 {
33364 #ifndef O_BINARY
33365   exit(1);
33366 #else
33367   int fd, bytes;
33368   char buff[5];
33369
33370   fd = open ("foo", O_WRONLY | O_CREAT | O_TRUNC, S_IRWXU);
33371   if (fd < 0)
33372     exit(1);
33373   if (write (fd, "\n", 1) < 0)
33374     perror ("write");
33375
33376   close (fd);
33377
33378   if ((fd = open ("foo", O_RDONLY | O_BINARY, S_IRWXU)) < 0)
33379     exit(1);
33380   bytes = read (fd, buff, 5);
33381   if (bytes == 2 && buff[0] == '\r' && buff[1] == '\n')
33382     exit(0);
33383   else
33384     exit(1);
33385 #endif
33386 }
33387 _ACEOF
33388 rm -f conftest$ac_exeext
33389 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33390   (eval $ac_link) 2>&5
33391   ac_status=$?
33392   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33393   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
33394   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33395   (eval $ac_try) 2>&5
33396   ac_status=$?
33397   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33398   (exit $ac_status); }; }; then
33399   libgfor_cv_have_crlf=yes
33400 else
33401   echo "$as_me: program exited with status $ac_status" >&5
33402 echo "$as_me: failed program was:" >&5
33403 sed 's/^/| /' conftest.$ac_ext >&5
33404
33405 ( exit $ac_status )
33406 libgfor_cv_have_crlf=no
33407 fi
33408 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
33409 fi
33410 fi
33411 echo "$as_me:$LINENO: result: $libgfor_cv_have_crlf" >&5
33412 echo "${ECHO_T}$libgfor_cv_have_crlf" >&6
33413 if test x"$libgfor_cv_have_crlf" = xyes; then
33414
33415 cat >>confdefs.h <<\_ACEOF
33416 #define HAVE_CRLF 1
33417 _ACEOF
33418
33419 fi
33420
33421 cat >confcache <<\_ACEOF
33422 # This file is a shell script that caches the results of configure
33423 # tests run on this system so they can be shared between configure
33424 # scripts and configure runs, see configure's option --config-cache.
33425 # It is not useful on other systems.  If it contains results you don't
33426 # want to keep, you may remove or edit it.
33427 #
33428 # config.status only pays attention to the cache file if you give it
33429 # the --recheck option to rerun configure.
33430 #
33431 # `ac_cv_env_foo' variables (set or unset) will be overridden when
33432 # loading this file, other *unset* `ac_cv_foo' will be assigned the
33433 # following values.
33434
33435 _ACEOF
33436
33437 # The following way of writing the cache mishandles newlines in values,
33438 # but we know of no workaround that is simple, portable, and efficient.
33439 # So, don't put newlines in cache variables' values.
33440 # Ultrix sh set writes to stderr and can't be redirected directly,
33441 # and sets the high bit in the cache file unless we assign to the vars.
33442 {
33443   (set) 2>&1 |
33444     case `(ac_space=' '; set | grep ac_space) 2>&1` in
33445     *ac_space=\ *)
33446       # `set' does not quote correctly, so add quotes (double-quote
33447       # substitution turns \\\\ into \\, and sed turns \\ into \).
33448       sed -n \
33449         "s/'/'\\\\''/g;
33450           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
33451       ;;
33452     *)
33453       # `set' quotes correctly as required by POSIX, so do not add quotes.
33454       sed -n \
33455         "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
33456       ;;
33457     esac;
33458 } |
33459   sed '
33460      t clear
33461      : clear
33462      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
33463      t end
33464      /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
33465      : end' >>confcache
33466 if diff $cache_file confcache >/dev/null 2>&1; then :; else
33467   if test -w $cache_file; then
33468     test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
33469     cat confcache >$cache_file
33470   else
33471     echo "not updating unwritable cache $cache_file"
33472   fi
33473 fi
33474 rm -f confcache
33475
33476 if test ${multilib} = yes; then
33477   multilib_arg="--enable-multilib"
33478 else
33479   multilib_arg=
33480 fi
33481
33482 # Write our Makefile.
33483           ac_config_files="$ac_config_files Makefile"
33484
33485 cat >confcache <<\_ACEOF
33486 # This file is a shell script that caches the results of configure
33487 # tests run on this system so they can be shared between configure
33488 # scripts and configure runs, see configure's option --config-cache.
33489 # It is not useful on other systems.  If it contains results you don't
33490 # want to keep, you may remove or edit it.
33491 #
33492 # config.status only pays attention to the cache file if you give it
33493 # the --recheck option to rerun configure.
33494 #
33495 # `ac_cv_env_foo' variables (set or unset) will be overridden when
33496 # loading this file, other *unset* `ac_cv_foo' will be assigned the
33497 # following values.
33498
33499 _ACEOF
33500
33501 # The following way of writing the cache mishandles newlines in values,
33502 # but we know of no workaround that is simple, portable, and efficient.
33503 # So, don't put newlines in cache variables' values.
33504 # Ultrix sh set writes to stderr and can't be redirected directly,
33505 # and sets the high bit in the cache file unless we assign to the vars.
33506 {
33507   (set) 2>&1 |
33508     case `(ac_space=' '; set | grep ac_space) 2>&1` in
33509     *ac_space=\ *)
33510       # `set' does not quote correctly, so add quotes (double-quote
33511       # substitution turns \\\\ into \\, and sed turns \\ into \).
33512       sed -n \
33513         "s/'/'\\\\''/g;
33514           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
33515       ;;
33516     *)
33517       # `set' quotes correctly as required by POSIX, so do not add quotes.
33518       sed -n \
33519         "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
33520       ;;
33521     esac;
33522 } |
33523   sed '
33524      t clear
33525      : clear
33526      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
33527      t end
33528      /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
33529      : end' >>confcache
33530 if diff $cache_file confcache >/dev/null 2>&1; then :; else
33531   if test -w $cache_file; then
33532     test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
33533     cat confcache >$cache_file
33534   else
33535     echo "not updating unwritable cache $cache_file"
33536   fi
33537 fi
33538 rm -f confcache
33539
33540 test "x$prefix" = xNONE && prefix=$ac_default_prefix
33541 # Let make expand exec_prefix.
33542 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
33543
33544 # VPATH may cause trouble with some makes, so we remove $(srcdir),
33545 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
33546 # trailing colons and then remove the whole line if VPATH becomes empty
33547 # (actually we leave an empty line to preserve line numbers).
33548 if test "x$srcdir" = x.; then
33549   ac_vpsub='/^[  ]*VPATH[        ]*=/{
33550 s/:*\$(srcdir):*/:/;
33551 s/:*\${srcdir}:*/:/;
33552 s/:*@srcdir@:*/:/;
33553 s/^\([^=]*=[     ]*\):*/\1/;
33554 s/:*$//;
33555 s/^[^=]*=[       ]*$//;
33556 }'
33557 fi
33558
33559 DEFS=-DHAVE_CONFIG_H
33560
33561 ac_libobjs=
33562 ac_ltlibobjs=
33563 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
33564   # 1. Remove the extension, and $U if already installed.
33565   ac_i=`echo "$ac_i" |
33566          sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
33567   # 2. Add them.
33568   ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
33569   ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
33570 done
33571 LIBOBJS=$ac_libobjs
33572
33573 LTLIBOBJS=$ac_ltlibobjs
33574
33575
33576 if test -z "${onestep_TRUE}" && test -z "${onestep_FALSE}"; then
33577   { { echo "$as_me:$LINENO: error: conditional \"onestep\" was never defined.
33578 Usually this means the macro was only invoked conditionally." >&5
33579 echo "$as_me: error: conditional \"onestep\" was never defined.
33580 Usually this means the macro was only invoked conditionally." >&2;}
33581    { (exit 1); exit 1; }; }
33582 fi
33583 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
33584   { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
33585 Usually this means the macro was only invoked conditionally." >&5
33586 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
33587 Usually this means the macro was only invoked conditionally." >&2;}
33588    { (exit 1); exit 1; }; }
33589 fi
33590 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
33591   { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
33592 Usually this means the macro was only invoked conditionally." >&5
33593 echo "$as_me: error: conditional \"AMDEP\" was never defined.
33594 Usually this means the macro was only invoked conditionally." >&2;}
33595    { (exit 1); exit 1; }; }
33596 fi
33597 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
33598   { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
33599 Usually this means the macro was only invoked conditionally." >&5
33600 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
33601 Usually this means the macro was only invoked conditionally." >&2;}
33602    { (exit 1); exit 1; }; }
33603 fi
33604 if test -z "${LIBGFOR_USE_SYMVER_TRUE}" && test -z "${LIBGFOR_USE_SYMVER_FALSE}"; then
33605   { { echo "$as_me:$LINENO: error: conditional \"LIBGFOR_USE_SYMVER\" was never defined.
33606 Usually this means the macro was only invoked conditionally." >&5
33607 echo "$as_me: error: conditional \"LIBGFOR_USE_SYMVER\" was never defined.
33608 Usually this means the macro was only invoked conditionally." >&2;}
33609    { (exit 1); exit 1; }; }
33610 fi
33611
33612 : ${CONFIG_STATUS=./config.status}
33613 ac_clean_files_save=$ac_clean_files
33614 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
33615 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
33616 echo "$as_me: creating $CONFIG_STATUS" >&6;}
33617 cat >$CONFIG_STATUS <<_ACEOF
33618 #! $SHELL
33619 # Generated by $as_me.
33620 # Run this file to recreate the current configuration.
33621 # Compiler output produced by configure, useful for debugging
33622 # configure, is in config.log if it exists.
33623
33624 debug=false
33625 ac_cs_recheck=false
33626 ac_cs_silent=false
33627 SHELL=\${CONFIG_SHELL-$SHELL}
33628 _ACEOF
33629
33630 cat >>$CONFIG_STATUS <<\_ACEOF
33631 ## --------------------- ##
33632 ## M4sh Initialization.  ##
33633 ## --------------------- ##
33634
33635 # Be Bourne compatible
33636 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
33637   emulate sh
33638   NULLCMD=:
33639   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
33640   # is contrary to our usage.  Disable this feature.
33641   alias -g '${1+"$@"}'='"$@"'
33642 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
33643   set -o posix
33644 fi
33645 DUALCASE=1; export DUALCASE # for MKS sh
33646
33647 # Support unset when possible.
33648 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
33649   as_unset=unset
33650 else
33651   as_unset=false
33652 fi
33653
33654
33655 # Work around bugs in pre-3.0 UWIN ksh.
33656 $as_unset ENV MAIL MAILPATH
33657 PS1='$ '
33658 PS2='> '
33659 PS4='+ '
33660
33661 # NLS nuisances.
33662 for as_var in \
33663   LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
33664   LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
33665   LC_TELEPHONE LC_TIME
33666 do
33667   if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
33668     eval $as_var=C; export $as_var
33669   else
33670     $as_unset $as_var
33671   fi
33672 done
33673
33674 # Required to use basename.
33675 if expr a : '\(a\)' >/dev/null 2>&1; then
33676   as_expr=expr
33677 else
33678   as_expr=false
33679 fi
33680
33681 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
33682   as_basename=basename
33683 else
33684   as_basename=false
33685 fi
33686
33687
33688 # Name of the executable.
33689 as_me=`$as_basename "$0" ||
33690 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
33691          X"$0" : 'X\(//\)$' \| \
33692          X"$0" : 'X\(/\)$' \| \
33693          .     : '\(.\)' 2>/dev/null ||
33694 echo X/"$0" |
33695     sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
33696           /^X\/\(\/\/\)$/{ s//\1/; q; }
33697           /^X\/\(\/\).*/{ s//\1/; q; }
33698           s/.*/./; q'`
33699
33700
33701 # PATH needs CR, and LINENO needs CR and PATH.
33702 # Avoid depending upon Character Ranges.
33703 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
33704 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
33705 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
33706 as_cr_digits='0123456789'
33707 as_cr_alnum=$as_cr_Letters$as_cr_digits
33708
33709 # The user is always right.
33710 if test "${PATH_SEPARATOR+set}" != set; then
33711   echo "#! /bin/sh" >conf$$.sh
33712   echo  "exit 0"   >>conf$$.sh
33713   chmod +x conf$$.sh
33714   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
33715     PATH_SEPARATOR=';'
33716   else
33717     PATH_SEPARATOR=:
33718   fi
33719   rm -f conf$$.sh
33720 fi
33721
33722
33723   as_lineno_1=$LINENO
33724   as_lineno_2=$LINENO
33725   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
33726   test "x$as_lineno_1" != "x$as_lineno_2" &&
33727   test "x$as_lineno_3"  = "x$as_lineno_2"  || {
33728   # Find who we are.  Look in the path if we contain no path at all
33729   # relative or not.
33730   case $0 in
33731     *[\\/]* ) as_myself=$0 ;;
33732     *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33733 for as_dir in $PATH
33734 do
33735   IFS=$as_save_IFS
33736   test -z "$as_dir" && as_dir=.
33737   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
33738 done
33739
33740        ;;
33741   esac
33742   # We did not find ourselves, most probably we were run as `sh COMMAND'
33743   # in which case we are not to be found in the path.
33744   if test "x$as_myself" = x; then
33745     as_myself=$0
33746   fi
33747   if test ! -f "$as_myself"; then
33748     { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
33749 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
33750    { (exit 1); exit 1; }; }
33751   fi
33752   case $CONFIG_SHELL in
33753   '')
33754     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33755 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
33756 do
33757   IFS=$as_save_IFS
33758   test -z "$as_dir" && as_dir=.
33759   for as_base in sh bash ksh sh5; do
33760          case $as_dir in
33761          /*)
33762            if ("$as_dir/$as_base" -c '
33763   as_lineno_1=$LINENO
33764   as_lineno_2=$LINENO
33765   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
33766   test "x$as_lineno_1" != "x$as_lineno_2" &&
33767   test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
33768              $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
33769              $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
33770              CONFIG_SHELL=$as_dir/$as_base
33771              export CONFIG_SHELL
33772              exec "$CONFIG_SHELL" "$0" ${1+"$@"}
33773            fi;;
33774          esac
33775        done
33776 done
33777 ;;
33778   esac
33779
33780   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
33781   # uniformly replaced by the line number.  The first 'sed' inserts a
33782   # line-number line before each line; the second 'sed' does the real
33783   # work.  The second script uses 'N' to pair each line-number line
33784   # with the numbered line, and appends trailing '-' during
33785   # substitution so that $LINENO is not a special case at line end.
33786   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
33787   # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
33788   sed '=' <$as_myself |
33789     sed '
33790       N
33791       s,$,-,
33792       : loop
33793       s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
33794       t loop
33795       s,-$,,
33796       s,^['$as_cr_digits']*\n,,
33797     ' >$as_me.lineno &&
33798   chmod +x $as_me.lineno ||
33799     { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
33800 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
33801    { (exit 1); exit 1; }; }
33802
33803   # Don't try to exec as it changes $[0], causing all sort of problems
33804   # (the dirname of $[0] is not the place where we might find the
33805   # original and so on.  Autoconf is especially sensible to this).
33806   . ./$as_me.lineno
33807   # Exit status is that of the last command.
33808   exit
33809 }
33810
33811
33812 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
33813   *c*,-n*) ECHO_N= ECHO_C='
33814 ' ECHO_T='      ' ;;
33815   *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
33816   *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
33817 esac
33818
33819 if expr a : '\(a\)' >/dev/null 2>&1; then
33820   as_expr=expr
33821 else
33822   as_expr=false
33823 fi
33824
33825 rm -f conf$$ conf$$.exe conf$$.file
33826 echo >conf$$.file
33827 if ln -s conf$$.file conf$$ 2>/dev/null; then
33828   # We could just check for DJGPP; but this test a) works b) is more generic
33829   # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
33830   if test -f conf$$.exe; then
33831     # Don't use ln at all; we don't have any links
33832     as_ln_s='cp -p'
33833   else
33834     as_ln_s='ln -s'
33835   fi
33836 elif ln conf$$.file conf$$ 2>/dev/null; then
33837   as_ln_s=ln
33838 else
33839   as_ln_s='cp -p'
33840 fi
33841 rm -f conf$$ conf$$.exe conf$$.file
33842
33843 if mkdir -p . 2>/dev/null; then
33844   as_mkdir_p=:
33845 else
33846   test -d ./-p && rmdir ./-p
33847   as_mkdir_p=false
33848 fi
33849
33850 as_executable_p="test -f"
33851
33852 # Sed expression to map a string onto a valid CPP name.
33853 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
33854
33855 # Sed expression to map a string onto a valid variable name.
33856 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
33857
33858
33859 # IFS
33860 # We need space, tab and new line, in precisely that order.
33861 as_nl='
33862 '
33863 IFS="   $as_nl"
33864
33865 # CDPATH.
33866 $as_unset CDPATH
33867
33868 exec 6>&1
33869
33870 # Open the log real soon, to keep \$[0] and so on meaningful, and to
33871 # report actual input values of CONFIG_FILES etc. instead of their
33872 # values after options handling.  Logging --version etc. is OK.
33873 exec 5>>config.log
33874 {
33875   echo
33876   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
33877 ## Running $as_me. ##
33878 _ASBOX
33879 } >&5
33880 cat >&5 <<_CSEOF
33881
33882 This file was extended by GNU Fortran Runtime Library $as_me 0.3, which was
33883 generated by GNU Autoconf 2.59.  Invocation command line was
33884
33885   CONFIG_FILES    = $CONFIG_FILES
33886   CONFIG_HEADERS  = $CONFIG_HEADERS
33887   CONFIG_LINKS    = $CONFIG_LINKS
33888   CONFIG_COMMANDS = $CONFIG_COMMANDS
33889   $ $0 $@
33890
33891 _CSEOF
33892 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
33893 echo >&5
33894 _ACEOF
33895
33896 # Files that config.status was made for.
33897 if test -n "$ac_config_files"; then
33898   echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
33899 fi
33900
33901 if test -n "$ac_config_headers"; then
33902   echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
33903 fi
33904
33905 if test -n "$ac_config_links"; then
33906   echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
33907 fi
33908
33909 if test -n "$ac_config_commands"; then
33910   echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
33911 fi
33912
33913 cat >>$CONFIG_STATUS <<\_ACEOF
33914
33915 ac_cs_usage="\
33916 \`$as_me' instantiates files from templates according to the
33917 current configuration.
33918
33919 Usage: $0 [OPTIONS] [FILE]...
33920
33921   -h, --help       print this help, then exit
33922   -V, --version    print version number, then exit
33923   -q, --quiet      do not print progress messages
33924   -d, --debug      don't remove temporary files
33925       --recheck    update $as_me by reconfiguring in the same conditions
33926   --file=FILE[:TEMPLATE]
33927                    instantiate the configuration file FILE
33928   --header=FILE[:TEMPLATE]
33929                    instantiate the configuration header FILE
33930
33931 Configuration files:
33932 $config_files
33933
33934 Configuration headers:
33935 $config_headers
33936
33937 Configuration commands:
33938 $config_commands
33939
33940 Report bugs to <bug-autoconf@gnu.org>."
33941 _ACEOF
33942
33943 cat >>$CONFIG_STATUS <<_ACEOF
33944 ac_cs_version="\\
33945 GNU Fortran Runtime Library config.status 0.3
33946 configured by $0, generated by GNU Autoconf 2.59,
33947   with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
33948
33949 Copyright (C) 2003 Free Software Foundation, Inc.
33950 This config.status script is free software; the Free Software Foundation
33951 gives unlimited permission to copy, distribute and modify it."
33952 srcdir=$srcdir
33953 INSTALL="$INSTALL"
33954 _ACEOF
33955
33956 cat >>$CONFIG_STATUS <<\_ACEOF
33957 # If no file are specified by the user, then we need to provide default
33958 # value.  By we need to know if files were specified by the user.
33959 ac_need_defaults=:
33960 while test $# != 0
33961 do
33962   case $1 in
33963   --*=*)
33964     ac_option=`expr "x$1" : 'x\([^=]*\)='`
33965     ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
33966     ac_shift=:
33967     ;;
33968   -*)
33969     ac_option=$1
33970     ac_optarg=$2
33971     ac_shift=shift
33972     ;;
33973   *) # This is not an option, so the user has probably given explicit
33974      # arguments.
33975      ac_option=$1
33976      ac_need_defaults=false;;
33977   esac
33978
33979   case $ac_option in
33980   # Handling of the options.
33981 _ACEOF
33982 cat >>$CONFIG_STATUS <<\_ACEOF
33983   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
33984     ac_cs_recheck=: ;;
33985   --version | --vers* | -V )
33986     echo "$ac_cs_version"; exit 0 ;;
33987   --he | --h)
33988     # Conflict between --help and --header
33989     { { echo "$as_me:$LINENO: error: ambiguous option: $1
33990 Try \`$0 --help' for more information." >&5
33991 echo "$as_me: error: ambiguous option: $1
33992 Try \`$0 --help' for more information." >&2;}
33993    { (exit 1); exit 1; }; };;
33994   --help | --hel | -h )
33995     echo "$ac_cs_usage"; exit 0 ;;
33996   --debug | --d* | -d )
33997     debug=: ;;
33998   --file | --fil | --fi | --f )
33999     $ac_shift
34000     CONFIG_FILES="$CONFIG_FILES $ac_optarg"
34001     ac_need_defaults=false;;
34002   --header | --heade | --head | --hea )
34003     $ac_shift
34004     CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
34005     ac_need_defaults=false;;
34006   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
34007   | -silent | --silent | --silen | --sile | --sil | --si | --s)
34008     ac_cs_silent=: ;;
34009
34010   # This is an error.
34011   -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
34012 Try \`$0 --help' for more information." >&5
34013 echo "$as_me: error: unrecognized option: $1
34014 Try \`$0 --help' for more information." >&2;}
34015    { (exit 1); exit 1; }; } ;;
34016
34017   *) ac_config_targets="$ac_config_targets $1" ;;
34018
34019   esac
34020   shift
34021 done
34022
34023 ac_configure_extra_args=
34024
34025 if $ac_cs_silent; then
34026   exec 6>/dev/null
34027   ac_configure_extra_args="$ac_configure_extra_args --silent"
34028 fi
34029
34030 _ACEOF
34031 cat >>$CONFIG_STATUS <<_ACEOF
34032 if \$ac_cs_recheck; then
34033   echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
34034   exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
34035 fi
34036
34037 _ACEOF
34038
34039 cat >>$CONFIG_STATUS <<_ACEOF
34040 #
34041 # INIT-COMMANDS section.
34042 #
34043
34044
34045 srcdir="$srcdir"
34046 host="$host"
34047 target="$target"
34048 with_multisubdir="$with_multisubdir"
34049 with_multisrctop="$with_multisrctop"
34050 with_target_subdir="$with_target_subdir"
34051 ac_configure_args="${multilib_arg} ${ac_configure_args}"
34052 multi_basedir="$multi_basedir"
34053 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
34054 CC="$CC"
34055 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
34056
34057
34058 # The HP-UX ksh and POSIX shell print the target directory to stdout
34059 # if CDPATH is set.
34060 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
34061
34062 sed_quote_subst='$sed_quote_subst'
34063 double_quote_subst='$double_quote_subst'
34064 delay_variable_subst='$delay_variable_subst'
34065 macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
34066 macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
34067 enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
34068 enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
34069 pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
34070 enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
34071 host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
34072 host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
34073 host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
34074 build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
34075 build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
34076 build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
34077 SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
34078 Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
34079 GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
34080 EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
34081 FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
34082 LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
34083 NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
34084 LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
34085 max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
34086 ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
34087 exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
34088 lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
34089 lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
34090 lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
34091 reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
34092 reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
34093 deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
34094 file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
34095 AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
34096 AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
34097 STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
34098 RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
34099 old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
34100 old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
34101 old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
34102 CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
34103 CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
34104 compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
34105 GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
34106 lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
34107 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
34108 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address" | $Xsed -e "$delay_single_quote_subst"`'
34109 objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
34110 SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
34111 ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
34112 MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
34113 lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
34114 lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
34115 lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
34116 lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
34117 lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
34118 need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
34119 libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
34120 shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
34121 extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
34122 archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
34123 enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
34124 export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
34125 whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
34126 compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
34127 old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
34128 old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
34129 archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
34130 archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
34131 module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
34132 module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
34133 with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
34134 allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
34135 no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
34136 hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
34137 hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
34138 hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
34139 hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
34140 hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
34141 hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
34142 hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
34143 hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
34144 inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
34145 link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
34146 fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
34147 always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
34148 export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
34149 exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
34150 include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
34151 prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
34152 file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
34153 variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
34154 need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
34155 need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
34156 version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
34157 runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
34158 shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
34159 shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
34160 libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
34161 library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
34162 soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
34163 postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
34164 postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
34165 finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
34166 finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
34167 hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
34168 sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
34169 sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
34170 hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
34171 enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
34172 enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
34173 enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
34174 old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
34175 striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
34176 predep_objects='`$ECHO "X$predep_objects" | $Xsed -e "$delay_single_quote_subst"`'
34177 postdep_objects='`$ECHO "X$postdep_objects" | $Xsed -e "$delay_single_quote_subst"`'
34178 predeps='`$ECHO "X$predeps" | $Xsed -e "$delay_single_quote_subst"`'
34179 postdeps='`$ECHO "X$postdeps" | $Xsed -e "$delay_single_quote_subst"`'
34180 compiler_lib_search_path='`$ECHO "X$compiler_lib_search_path" | $Xsed -e "$delay_single_quote_subst"`'
34181 LD_FC='`$ECHO "X$LD_FC" | $Xsed -e "$delay_single_quote_subst"`'
34182 old_archive_cmds_FC='`$ECHO "X$old_archive_cmds_FC" | $Xsed -e "$delay_single_quote_subst"`'
34183 compiler_FC='`$ECHO "X$compiler_FC" | $Xsed -e "$delay_single_quote_subst"`'
34184 GCC_FC='`$ECHO "X$GCC_FC" | $Xsed -e "$delay_single_quote_subst"`'
34185 lt_prog_compiler_no_builtin_flag_FC='`$ECHO "X$lt_prog_compiler_no_builtin_flag_FC" | $Xsed -e "$delay_single_quote_subst"`'
34186 lt_prog_compiler_wl_FC='`$ECHO "X$lt_prog_compiler_wl_FC" | $Xsed -e "$delay_single_quote_subst"`'
34187 lt_prog_compiler_pic_FC='`$ECHO "X$lt_prog_compiler_pic_FC" | $Xsed -e "$delay_single_quote_subst"`'
34188 lt_prog_compiler_static_FC='`$ECHO "X$lt_prog_compiler_static_FC" | $Xsed -e "$delay_single_quote_subst"`'
34189 lt_cv_prog_compiler_c_o_FC='`$ECHO "X$lt_cv_prog_compiler_c_o_FC" | $Xsed -e "$delay_single_quote_subst"`'
34190 archive_cmds_need_lc_FC='`$ECHO "X$archive_cmds_need_lc_FC" | $Xsed -e "$delay_single_quote_subst"`'
34191 enable_shared_with_static_runtimes_FC='`$ECHO "X$enable_shared_with_static_runtimes_FC" | $Xsed -e "$delay_single_quote_subst"`'
34192 export_dynamic_flag_spec_FC='`$ECHO "X$export_dynamic_flag_spec_FC" | $Xsed -e "$delay_single_quote_subst"`'
34193 whole_archive_flag_spec_FC='`$ECHO "X$whole_archive_flag_spec_FC" | $Xsed -e "$delay_single_quote_subst"`'
34194 compiler_needs_object_FC='`$ECHO "X$compiler_needs_object_FC" | $Xsed -e "$delay_single_quote_subst"`'
34195 old_archive_from_new_cmds_FC='`$ECHO "X$old_archive_from_new_cmds_FC" | $Xsed -e "$delay_single_quote_subst"`'
34196 old_archive_from_expsyms_cmds_FC='`$ECHO "X$old_archive_from_expsyms_cmds_FC" | $Xsed -e "$delay_single_quote_subst"`'
34197 archive_cmds_FC='`$ECHO "X$archive_cmds_FC" | $Xsed -e "$delay_single_quote_subst"`'
34198 archive_expsym_cmds_FC='`$ECHO "X$archive_expsym_cmds_FC" | $Xsed -e "$delay_single_quote_subst"`'
34199 module_cmds_FC='`$ECHO "X$module_cmds_FC" | $Xsed -e "$delay_single_quote_subst"`'
34200 module_expsym_cmds_FC='`$ECHO "X$module_expsym_cmds_FC" | $Xsed -e "$delay_single_quote_subst"`'
34201 with_gnu_ld_FC='`$ECHO "X$with_gnu_ld_FC" | $Xsed -e "$delay_single_quote_subst"`'
34202 allow_undefined_flag_FC='`$ECHO "X$allow_undefined_flag_FC" | $Xsed -e "$delay_single_quote_subst"`'
34203 no_undefined_flag_FC='`$ECHO "X$no_undefined_flag_FC" | $Xsed -e "$delay_single_quote_subst"`'
34204 hardcode_libdir_flag_spec_FC='`$ECHO "X$hardcode_libdir_flag_spec_FC" | $Xsed -e "$delay_single_quote_subst"`'
34205 hardcode_libdir_flag_spec_ld_FC='`$ECHO "X$hardcode_libdir_flag_spec_ld_FC" | $Xsed -e "$delay_single_quote_subst"`'
34206 hardcode_libdir_separator_FC='`$ECHO "X$hardcode_libdir_separator_FC" | $Xsed -e "$delay_single_quote_subst"`'
34207 hardcode_direct_FC='`$ECHO "X$hardcode_direct_FC" | $Xsed -e "$delay_single_quote_subst"`'
34208 hardcode_direct_absolute_FC='`$ECHO "X$hardcode_direct_absolute_FC" | $Xsed -e "$delay_single_quote_subst"`'
34209 hardcode_minus_L_FC='`$ECHO "X$hardcode_minus_L_FC" | $Xsed -e "$delay_single_quote_subst"`'
34210 hardcode_shlibpath_var_FC='`$ECHO "X$hardcode_shlibpath_var_FC" | $Xsed -e "$delay_single_quote_subst"`'
34211 hardcode_automatic_FC='`$ECHO "X$hardcode_automatic_FC" | $Xsed -e "$delay_single_quote_subst"`'
34212 inherit_rpath_FC='`$ECHO "X$inherit_rpath_FC" | $Xsed -e "$delay_single_quote_subst"`'
34213 link_all_deplibs_FC='`$ECHO "X$link_all_deplibs_FC" | $Xsed -e "$delay_single_quote_subst"`'
34214 fix_srcfile_path_FC='`$ECHO "X$fix_srcfile_path_FC" | $Xsed -e "$delay_single_quote_subst"`'
34215 always_export_symbols_FC='`$ECHO "X$always_export_symbols_FC" | $Xsed -e "$delay_single_quote_subst"`'
34216 export_symbols_cmds_FC='`$ECHO "X$export_symbols_cmds_FC" | $Xsed -e "$delay_single_quote_subst"`'
34217 exclude_expsyms_FC='`$ECHO "X$exclude_expsyms_FC" | $Xsed -e "$delay_single_quote_subst"`'
34218 include_expsyms_FC='`$ECHO "X$include_expsyms_FC" | $Xsed -e "$delay_single_quote_subst"`'
34219 prelink_cmds_FC='`$ECHO "X$prelink_cmds_FC" | $Xsed -e "$delay_single_quote_subst"`'
34220 file_list_spec_FC='`$ECHO "X$file_list_spec_FC" | $Xsed -e "$delay_single_quote_subst"`'
34221 hardcode_action_FC='`$ECHO "X$hardcode_action_FC" | $Xsed -e "$delay_single_quote_subst"`'
34222 predep_objects_FC='`$ECHO "X$predep_objects_FC" | $Xsed -e "$delay_single_quote_subst"`'
34223 postdep_objects_FC='`$ECHO "X$postdep_objects_FC" | $Xsed -e "$delay_single_quote_subst"`'
34224 predeps_FC='`$ECHO "X$predeps_FC" | $Xsed -e "$delay_single_quote_subst"`'
34225 postdeps_FC='`$ECHO "X$postdeps_FC" | $Xsed -e "$delay_single_quote_subst"`'
34226 compiler_lib_search_path_FC='`$ECHO "X$compiler_lib_search_path_FC" | $Xsed -e "$delay_single_quote_subst"`'
34227
34228 LTCC='$LTCC'
34229 LTCFLAGS='$LTCFLAGS'
34230 compiler='$compiler_DEFAULT'
34231
34232 # Quote evaled strings.
34233 for var in SED \
34234 GREP \
34235 EGREP \
34236 FGREP \
34237 LD \
34238 NM \
34239 LN_S \
34240 lt_SP2NL \
34241 lt_NL2SP \
34242 reload_flag \
34243 deplibs_check_method \
34244 file_magic_cmd \
34245 AR \
34246 AR_FLAGS \
34247 STRIP \
34248 RANLIB \
34249 CC \
34250 CFLAGS \
34251 compiler \
34252 lt_cv_sys_global_symbol_pipe \
34253 lt_cv_sys_global_symbol_to_cdecl \
34254 lt_cv_sys_global_symbol_to_c_name_address \
34255 SHELL \
34256 ECHO \
34257 lt_prog_compiler_no_builtin_flag \
34258 lt_prog_compiler_wl \
34259 lt_prog_compiler_pic \
34260 lt_prog_compiler_static \
34261 lt_cv_prog_compiler_c_o \
34262 need_locks \
34263 shrext_cmds \
34264 export_dynamic_flag_spec \
34265 whole_archive_flag_spec \
34266 compiler_needs_object \
34267 with_gnu_ld \
34268 allow_undefined_flag \
34269 no_undefined_flag \
34270 hardcode_libdir_flag_spec \
34271 hardcode_libdir_flag_spec_ld \
34272 hardcode_libdir_separator \
34273 fix_srcfile_path \
34274 exclude_expsyms \
34275 include_expsyms \
34276 file_list_spec \
34277 variables_saved_for_relink \
34278 libname_spec \
34279 library_names_spec \
34280 soname_spec \
34281 finish_eval \
34282 old_striplib \
34283 striplib \
34284 predep_objects \
34285 postdep_objects \
34286 predeps \
34287 postdeps \
34288 compiler_lib_search_path \
34289 LD_FC \
34290 compiler_FC \
34291 lt_prog_compiler_no_builtin_flag_FC \
34292 lt_prog_compiler_wl_FC \
34293 lt_prog_compiler_pic_FC \
34294 lt_prog_compiler_static_FC \
34295 lt_cv_prog_compiler_c_o_FC \
34296 export_dynamic_flag_spec_FC \
34297 whole_archive_flag_spec_FC \
34298 compiler_needs_object_FC \
34299 with_gnu_ld_FC \
34300 allow_undefined_flag_FC \
34301 no_undefined_flag_FC \
34302 hardcode_libdir_flag_spec_FC \
34303 hardcode_libdir_flag_spec_ld_FC \
34304 hardcode_libdir_separator_FC \
34305 fix_srcfile_path_FC \
34306 exclude_expsyms_FC \
34307 include_expsyms_FC \
34308 file_list_spec_FC \
34309 predep_objects_FC \
34310 postdep_objects_FC \
34311 predeps_FC \
34312 postdeps_FC \
34313 compiler_lib_search_path_FC; do
34314     case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
34315     *[\\\\\\\`\\"\\\$]*)
34316       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
34317       ;;
34318     *)
34319       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
34320       ;;
34321     esac
34322 done
34323
34324 # Double-quote double-evaled strings.
34325 for var in reload_cmds \
34326 old_postinstall_cmds \
34327 old_postuninstall_cmds \
34328 old_archive_cmds \
34329 extract_expsyms_cmds \
34330 old_archive_from_new_cmds \
34331 old_archive_from_expsyms_cmds \
34332 archive_cmds \
34333 archive_expsym_cmds \
34334 module_cmds \
34335 module_expsym_cmds \
34336 export_symbols_cmds \
34337 prelink_cmds \
34338 postinstall_cmds \
34339 postuninstall_cmds \
34340 finish_cmds \
34341 sys_lib_search_path_spec \
34342 sys_lib_dlsearch_path_spec \
34343 old_archive_cmds_FC \
34344 old_archive_from_new_cmds_FC \
34345 old_archive_from_expsyms_cmds_FC \
34346 archive_cmds_FC \
34347 archive_expsym_cmds_FC \
34348 module_cmds_FC \
34349 module_expsym_cmds_FC \
34350 export_symbols_cmds_FC \
34351 prelink_cmds_FC; do
34352     case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
34353     *[\\\\\\\`\\"\\\$]*)
34354       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
34355       ;;
34356     *)
34357       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
34358       ;;
34359     esac
34360 done
34361
34362 # Fix-up fallback echo if it was mangled by the above quoting rules.
34363 case \$lt_ECHO in
34364 *'\\\$0 --fallback-echo"')  lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
34365   ;;
34366 esac
34367
34368 ac_aux_dir='$ac_aux_dir'
34369 xsi_shell='$xsi_shell'
34370 lt_shell_append='$lt_shell_append'
34371
34372 # See if we are running on zsh, and set the options which allow our
34373 # commands through without removal of \ escapes INIT.
34374 if test -n "\${ZSH_VERSION+set}" ; then
34375    setopt NO_GLOB_SUBST
34376 fi
34377
34378
34379     PACKAGE='$PACKAGE'
34380     VERSION='$VERSION'
34381     TIMESTAMP='$TIMESTAMP'
34382     RM='$RM'
34383     ofile='$ofile'
34384
34385
34386
34387
34388
34389
34390 GCC="$GCC"
34391 CC="$CC"
34392 acx_cv_header_stdint="$acx_cv_header_stdint"
34393 acx_cv_type_int8_t="$acx_cv_type_int8_t"
34394 acx_cv_type_int16_t="$acx_cv_type_int16_t"
34395 acx_cv_type_int32_t="$acx_cv_type_int32_t"
34396 acx_cv_type_int64_t="$acx_cv_type_int64_t"
34397 acx_cv_type_intptr_t="$acx_cv_type_intptr_t"
34398 ac_cv_type_uintmax_t="$ac_cv_type_uintmax_t"
34399 ac_cv_type_uintptr_t="$ac_cv_type_uintptr_t"
34400 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
34401 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
34402 ac_cv_type_u_int32_t="$ac_cv_type_u_int32_t"
34403 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
34404 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
34405 ac_cv_sizeof_void_p="$ac_cv_sizeof_void_p"
34406
34407
34408 _ACEOF
34409
34410
34411
34412 cat >>$CONFIG_STATUS <<\_ACEOF
34413 for ac_config_target in $ac_config_targets
34414 do
34415   case "$ac_config_target" in
34416   # Handling of arguments.
34417   "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
34418   "default-1" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
34419   "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
34420   "libtool" ) CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
34421   "gstdint.h" ) CONFIG_COMMANDS="$CONFIG_COMMANDS gstdint.h" ;;
34422   "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
34423   *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
34424 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
34425    { (exit 1); exit 1; }; };;
34426   esac
34427 done
34428
34429 # If the user did not use the arguments to specify the items to instantiate,
34430 # then the envvar interface is used.  Set only those that are not.
34431 # We use the long form for the default assignment because of an extremely
34432 # bizarre bug on SunOS 4.1.3.
34433 if $ac_need_defaults; then
34434   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
34435   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
34436   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
34437 fi
34438
34439 # Have a temporary directory for convenience.  Make it in the build tree
34440 # simply because there is no reason to put it here, and in addition,
34441 # creating and moving files from /tmp can sometimes cause problems.
34442 # Create a temporary directory, and hook for its removal unless debugging.
34443 $debug ||
34444 {
34445   trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
34446   trap '{ (exit 1); exit 1; }' 1 2 13 15
34447 }
34448
34449 # Create a (secure) tmp directory for tmp files.
34450
34451 {
34452   tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
34453   test -n "$tmp" && test -d "$tmp"
34454 }  ||
34455 {
34456   tmp=./confstat$$-$RANDOM
34457   (umask 077 && mkdir $tmp)
34458 } ||
34459 {
34460    echo "$me: cannot create a temporary directory in ." >&2
34461    { (exit 1); exit 1; }
34462 }
34463
34464 _ACEOF
34465
34466 cat >>$CONFIG_STATUS <<_ACEOF
34467
34468 #
34469 # CONFIG_FILES section.
34470 #
34471
34472 # No need to generate the scripts if there are no CONFIG_FILES.
34473 # This happens for instance when ./config.status config.h
34474 if test -n "\$CONFIG_FILES"; then
34475   # Protect against being on the right side of a sed subst in config.status.
34476   sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
34477    s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
34478 s,@SHELL@,$SHELL,;t t
34479 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
34480 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
34481 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
34482 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
34483 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
34484 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
34485 s,@exec_prefix@,$exec_prefix,;t t
34486 s,@prefix@,$prefix,;t t
34487 s,@program_transform_name@,$program_transform_name,;t t
34488 s,@bindir@,$bindir,;t t
34489 s,@sbindir@,$sbindir,;t t
34490 s,@libexecdir@,$libexecdir,;t t
34491 s,@datadir@,$datadir,;t t
34492 s,@sysconfdir@,$sysconfdir,;t t
34493 s,@sharedstatedir@,$sharedstatedir,;t t
34494 s,@localstatedir@,$localstatedir,;t t
34495 s,@libdir@,$libdir,;t t
34496 s,@includedir@,$includedir,;t t
34497 s,@oldincludedir@,$oldincludedir,;t t
34498 s,@infodir@,$infodir,;t t
34499 s,@mandir@,$mandir,;t t
34500 s,@build_alias@,$build_alias,;t t
34501 s,@host_alias@,$host_alias,;t t
34502 s,@target_alias@,$target_alias,;t t
34503 s,@DEFS@,$DEFS,;t t
34504 s,@ECHO_C@,$ECHO_C,;t t
34505 s,@ECHO_N@,$ECHO_N,;t t
34506 s,@ECHO_T@,$ECHO_T,;t t
34507 s,@LIBS@,$LIBS,;t t
34508 s,@build@,$build,;t t
34509 s,@build_cpu@,$build_cpu,;t t
34510 s,@build_vendor@,$build_vendor,;t t
34511 s,@build_os@,$build_os,;t t
34512 s,@build_libsubdir@,$build_libsubdir,;t t
34513 s,@build_subdir@,$build_subdir,;t t
34514 s,@host_subdir@,$host_subdir,;t t
34515 s,@target_subdir@,$target_subdir,;t t
34516 s,@onestep_TRUE@,$onestep_TRUE,;t t
34517 s,@onestep_FALSE@,$onestep_FALSE,;t t
34518 s,@onestep@,$onestep,;t t
34519 s,@host@,$host,;t t
34520 s,@host_cpu@,$host_cpu,;t t
34521 s,@host_vendor@,$host_vendor,;t t
34522 s,@host_os@,$host_os,;t t
34523 s,@target@,$target,;t t
34524 s,@target_cpu@,$target_cpu,;t t
34525 s,@target_vendor@,$target_vendor,;t t
34526 s,@target_os@,$target_os,;t t
34527 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
34528 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
34529 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
34530 s,@CYGPATH_W@,$CYGPATH_W,;t t
34531 s,@PACKAGE@,$PACKAGE,;t t
34532 s,@VERSION@,$VERSION,;t t
34533 s,@ACLOCAL@,$ACLOCAL,;t t
34534 s,@AUTOCONF@,$AUTOCONF,;t t
34535 s,@AUTOMAKE@,$AUTOMAKE,;t t
34536 s,@AUTOHEADER@,$AUTOHEADER,;t t
34537 s,@MAKEINFO@,$MAKEINFO,;t t
34538 s,@install_sh@,$install_sh,;t t
34539 s,@STRIP@,$STRIP,;t t
34540 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
34541 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
34542 s,@mkdir_p@,$mkdir_p,;t t
34543 s,@AWK@,$AWK,;t t
34544 s,@SET_MAKE@,$SET_MAKE,;t t
34545 s,@am__leading_dot@,$am__leading_dot,;t t
34546 s,@AMTAR@,$AMTAR,;t t
34547 s,@am__tar@,$am__tar,;t t
34548 s,@am__untar@,$am__untar,;t t
34549 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
34550 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
34551 s,@MAINT@,$MAINT,;t t
34552 s,@multi_basedir@,$multi_basedir,;t t
34553 s,@toolexecdir@,$toolexecdir,;t t
34554 s,@toolexeclibdir@,$toolexeclibdir,;t t
34555 s,@CC@,$CC,;t t
34556 s,@ac_ct_CC@,$ac_ct_CC,;t t
34557 s,@EXEEXT@,$EXEEXT,;t t
34558 s,@OBJEXT@,$OBJEXT,;t t
34559 s,@DEPDIR@,$DEPDIR,;t t
34560 s,@am__include@,$am__include,;t t
34561 s,@am__quote@,$am__quote,;t t
34562 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
34563 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
34564 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
34565 s,@CCDEPMODE@,$CCDEPMODE,;t t
34566 s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
34567 s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
34568 s,@AM_FCFLAGS@,$AM_FCFLAGS,;t t
34569 s,@AM_CFLAGS@,$AM_CFLAGS,;t t
34570 s,@CFLAGS@,$CFLAGS,;t t
34571 s,@LIBGFOR_USE_SYMVER_TRUE@,$LIBGFOR_USE_SYMVER_TRUE,;t t
34572 s,@LIBGFOR_USE_SYMVER_FALSE@,$LIBGFOR_USE_SYMVER_FALSE,;t t
34573 s,@AS@,$AS,;t t
34574 s,@ac_ct_AS@,$ac_ct_AS,;t t
34575 s,@AR@,$AR,;t t
34576 s,@ac_ct_AR@,$ac_ct_AR,;t t
34577 s,@RANLIB@,$RANLIB,;t t
34578 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
34579 s,@LIBTOOL@,$LIBTOOL,;t t
34580 s,@SED@,$SED,;t t
34581 s,@EGREP@,$EGREP,;t t
34582 s,@FGREP@,$FGREP,;t t
34583 s,@GREP@,$GREP,;t t
34584 s,@LD@,$LD,;t t
34585 s,@DUMPBIN@,$DUMPBIN,;t t
34586 s,@ac_ct_DUMPBIN@,$ac_ct_DUMPBIN,;t t
34587 s,@NM@,$NM,;t t
34588 s,@LN_S@,$LN_S,;t t
34589 s,@lt_ECHO@,$lt_ECHO,;t t
34590 s,@CPP@,$CPP,;t t
34591 s,@CPPFLAGS@,$CPPFLAGS,;t t
34592 s,@enable_shared@,$enable_shared,;t t
34593 s,@enable_static@,$enable_static,;t t
34594 s,@FC@,$FC,;t t
34595 s,@FCFLAGS@,$FCFLAGS,;t t
34596 s,@LDFLAGS@,$LDFLAGS,;t t
34597 s,@ac_ct_FC@,$ac_ct_FC,;t t
34598 s,@extra_ldflags_libgfortran@,$extra_ldflags_libgfortran,;t t
34599 s,@FPU_HOST_HEADER@,$FPU_HOST_HEADER,;t t
34600 s,@LIBOBJS@,$LIBOBJS,;t t
34601 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
34602 CEOF
34603
34604 _ACEOF
34605
34606   cat >>$CONFIG_STATUS <<\_ACEOF
34607   # Split the substitutions into bite-sized pieces for seds with
34608   # small command number limits, like on Digital OSF/1 and HP-UX.
34609   ac_max_sed_lines=48
34610   ac_sed_frag=1 # Number of current file.
34611   ac_beg=1 # First line for current file.
34612   ac_end=$ac_max_sed_lines # Line after last line for current file.
34613   ac_more_lines=:
34614   ac_sed_cmds=
34615   while $ac_more_lines; do
34616     if test $ac_beg -gt 1; then
34617       sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
34618     else
34619       sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
34620     fi
34621     if test ! -s $tmp/subs.frag; then
34622       ac_more_lines=false
34623     else
34624       # The purpose of the label and of the branching condition is to
34625       # speed up the sed processing (if there are no `@' at all, there
34626       # is no need to browse any of the substitutions).
34627       # These are the two extra sed commands mentioned above.
34628       (echo ':t
34629   /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
34630       if test -z "$ac_sed_cmds"; then
34631         ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
34632       else
34633         ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
34634       fi
34635       ac_sed_frag=`expr $ac_sed_frag + 1`
34636       ac_beg=$ac_end
34637       ac_end=`expr $ac_end + $ac_max_sed_lines`
34638     fi
34639   done
34640   if test -z "$ac_sed_cmds"; then
34641     ac_sed_cmds=cat
34642   fi
34643 fi # test -n "$CONFIG_FILES"
34644
34645 _ACEOF
34646 cat >>$CONFIG_STATUS <<\_ACEOF
34647 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
34648   # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
34649   case $ac_file in
34650   - | *:- | *:-:* ) # input from stdin
34651         cat >$tmp/stdin
34652         ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
34653         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
34654   *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
34655         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
34656   * )   ac_file_in=$ac_file.in ;;
34657   esac
34658
34659   # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
34660   ac_dir=`(dirname "$ac_file") 2>/dev/null ||
34661 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
34662          X"$ac_file" : 'X\(//\)[^/]' \| \
34663          X"$ac_file" : 'X\(//\)$' \| \
34664          X"$ac_file" : 'X\(/\)' \| \
34665          .     : '\(.\)' 2>/dev/null ||
34666 echo X"$ac_file" |
34667     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
34668           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
34669           /^X\(\/\/\)$/{ s//\1/; q; }
34670           /^X\(\/\).*/{ s//\1/; q; }
34671           s/.*/./; q'`
34672   { if $as_mkdir_p; then
34673     mkdir -p "$ac_dir"
34674   else
34675     as_dir="$ac_dir"
34676     as_dirs=
34677     while test ! -d "$as_dir"; do
34678       as_dirs="$as_dir $as_dirs"
34679       as_dir=`(dirname "$as_dir") 2>/dev/null ||
34680 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
34681          X"$as_dir" : 'X\(//\)[^/]' \| \
34682          X"$as_dir" : 'X\(//\)$' \| \
34683          X"$as_dir" : 'X\(/\)' \| \
34684          .     : '\(.\)' 2>/dev/null ||
34685 echo X"$as_dir" |
34686     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
34687           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
34688           /^X\(\/\/\)$/{ s//\1/; q; }
34689           /^X\(\/\).*/{ s//\1/; q; }
34690           s/.*/./; q'`
34691     done
34692     test ! -n "$as_dirs" || mkdir $as_dirs
34693   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
34694 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
34695    { (exit 1); exit 1; }; }; }
34696
34697   ac_builddir=.
34698
34699 if test "$ac_dir" != .; then
34700   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
34701   # A "../" for each directory in $ac_dir_suffix.
34702   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
34703 else
34704   ac_dir_suffix= ac_top_builddir=
34705 fi
34706
34707 case $srcdir in
34708   .)  # No --srcdir option.  We are building in place.
34709     ac_srcdir=.
34710     if test -z "$ac_top_builddir"; then
34711        ac_top_srcdir=.
34712     else
34713        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
34714     fi ;;
34715   [\\/]* | ?:[\\/]* )  # Absolute path.
34716     ac_srcdir=$srcdir$ac_dir_suffix;
34717     ac_top_srcdir=$srcdir ;;
34718   *) # Relative path.
34719     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
34720     ac_top_srcdir=$ac_top_builddir$srcdir ;;
34721 esac
34722
34723 # Do not use `cd foo && pwd` to compute absolute paths, because
34724 # the directories may not exist.
34725 case `pwd` in
34726 .) ac_abs_builddir="$ac_dir";;
34727 *)
34728   case "$ac_dir" in
34729   .) ac_abs_builddir=`pwd`;;
34730   [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
34731   *) ac_abs_builddir=`pwd`/"$ac_dir";;
34732   esac;;
34733 esac
34734 case $ac_abs_builddir in
34735 .) ac_abs_top_builddir=${ac_top_builddir}.;;
34736 *)
34737   case ${ac_top_builddir}. in
34738   .) ac_abs_top_builddir=$ac_abs_builddir;;
34739   [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
34740   *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
34741   esac;;
34742 esac
34743 case $ac_abs_builddir in
34744 .) ac_abs_srcdir=$ac_srcdir;;
34745 *)
34746   case $ac_srcdir in
34747   .) ac_abs_srcdir=$ac_abs_builddir;;
34748   [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
34749   *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
34750   esac;;
34751 esac
34752 case $ac_abs_builddir in
34753 .) ac_abs_top_srcdir=$ac_top_srcdir;;
34754 *)
34755   case $ac_top_srcdir in
34756   .) ac_abs_top_srcdir=$ac_abs_builddir;;
34757   [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
34758   *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
34759   esac;;
34760 esac
34761
34762
34763   case $INSTALL in
34764   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
34765   *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
34766   esac
34767
34768   if test x"$ac_file" != x-; then
34769     { echo "$as_me:$LINENO: creating $ac_file" >&5
34770 echo "$as_me: creating $ac_file" >&6;}
34771     rm -f "$ac_file"
34772   fi
34773   # Let's still pretend it is `configure' which instantiates (i.e., don't
34774   # use $as_me), people would be surprised to read:
34775   #    /* config.h.  Generated by config.status.  */
34776   if test x"$ac_file" = x-; then
34777     configure_input=
34778   else
34779     configure_input="$ac_file.  "
34780   fi
34781   configure_input=$configure_input"Generated from `echo $ac_file_in |
34782                                      sed 's,.*/,,'` by configure."
34783
34784   # First look for the input files in the build tree, otherwise in the
34785   # src tree.
34786   ac_file_inputs=`IFS=:
34787     for f in $ac_file_in; do
34788       case $f in
34789       -) echo $tmp/stdin ;;
34790       [\\/$]*)
34791          # Absolute (can't be DOS-style, as IFS=:)
34792          test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
34793 echo "$as_me: error: cannot find input file: $f" >&2;}
34794    { (exit 1); exit 1; }; }
34795          echo "$f";;
34796       *) # Relative
34797          if test -f "$f"; then
34798            # Build tree
34799            echo "$f"
34800          elif test -f "$srcdir/$f"; then
34801            # Source tree
34802            echo "$srcdir/$f"
34803          else
34804            # /dev/null tree
34805            { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
34806 echo "$as_me: error: cannot find input file: $f" >&2;}
34807    { (exit 1); exit 1; }; }
34808          fi;;
34809       esac
34810     done` || { (exit 1); exit 1; }
34811 _ACEOF
34812 cat >>$CONFIG_STATUS <<_ACEOF
34813   sed "$ac_vpsub
34814 $extrasub
34815 _ACEOF
34816 cat >>$CONFIG_STATUS <<\_ACEOF
34817 :t
34818 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
34819 s,@configure_input@,$configure_input,;t t
34820 s,@srcdir@,$ac_srcdir,;t t
34821 s,@abs_srcdir@,$ac_abs_srcdir,;t t
34822 s,@top_srcdir@,$ac_top_srcdir,;t t
34823 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
34824 s,@builddir@,$ac_builddir,;t t
34825 s,@abs_builddir@,$ac_abs_builddir,;t t
34826 s,@top_builddir@,$ac_top_builddir,;t t
34827 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
34828 s,@INSTALL@,$ac_INSTALL,;t t
34829 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
34830   rm -f $tmp/stdin
34831   if test x"$ac_file" != x-; then
34832     mv $tmp/out $ac_file
34833   else
34834     cat $tmp/out
34835     rm -f $tmp/out
34836   fi
34837
34838 done
34839 _ACEOF
34840 cat >>$CONFIG_STATUS <<\_ACEOF
34841
34842 #
34843 # CONFIG_HEADER section.
34844 #
34845
34846 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
34847 # NAME is the cpp macro being defined and VALUE is the value it is being given.
34848 #
34849 # ac_d sets the value in "#define NAME VALUE" lines.
34850 ac_dA='s,^\([    ]*\)#\([        ]*define[       ][      ]*\)'
34851 ac_dB='[         ].*$,\1#\2'
34852 ac_dC=' '
34853 ac_dD=',;t'
34854 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
34855 ac_uA='s,^\([    ]*\)#\([        ]*\)undef\([    ][      ]*\)'
34856 ac_uB='$,\1#\2define\3'
34857 ac_uC=' '
34858 ac_uD=',;t'
34859
34860 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
34861   # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
34862   case $ac_file in
34863   - | *:- | *:-:* ) # input from stdin
34864         cat >$tmp/stdin
34865         ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
34866         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
34867   *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
34868         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
34869   * )   ac_file_in=$ac_file.in ;;
34870   esac
34871
34872   test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
34873 echo "$as_me: creating $ac_file" >&6;}
34874
34875   # First look for the input files in the build tree, otherwise in the
34876   # src tree.
34877   ac_file_inputs=`IFS=:
34878     for f in $ac_file_in; do
34879       case $f in
34880       -) echo $tmp/stdin ;;
34881       [\\/$]*)
34882          # Absolute (can't be DOS-style, as IFS=:)
34883          test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
34884 echo "$as_me: error: cannot find input file: $f" >&2;}
34885    { (exit 1); exit 1; }; }
34886          # Do quote $f, to prevent DOS paths from being IFS'd.
34887          echo "$f";;
34888       *) # Relative
34889          if test -f "$f"; then
34890            # Build tree
34891            echo "$f"
34892          elif test -f "$srcdir/$f"; then
34893            # Source tree
34894            echo "$srcdir/$f"
34895          else
34896            # /dev/null tree
34897            { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
34898 echo "$as_me: error: cannot find input file: $f" >&2;}
34899    { (exit 1); exit 1; }; }
34900          fi;;
34901       esac
34902     done` || { (exit 1); exit 1; }
34903   # Remove the trailing spaces.
34904   sed 's/[       ]*$//' $ac_file_inputs >$tmp/in
34905
34906 _ACEOF
34907
34908 # Transform confdefs.h into two sed scripts, `conftest.defines' and
34909 # `conftest.undefs', that substitutes the proper values into
34910 # config.h.in to produce config.h.  The first handles `#define'
34911 # templates, and the second `#undef' templates.
34912 # And first: Protect against being on the right side of a sed subst in
34913 # config.status.  Protect against being in an unquoted here document
34914 # in config.status.
34915 rm -f conftest.defines conftest.undefs
34916 # Using a here document instead of a string reduces the quoting nightmare.
34917 # Putting comments in sed scripts is not portable.
34918 #
34919 # `end' is used to avoid that the second main sed command (meant for
34920 # 0-ary CPP macros) applies to n-ary macro definitions.
34921 # See the Autoconf documentation for `clear'.
34922 cat >confdef2sed.sed <<\_ACEOF
34923 s/[\\&,]/\\&/g
34924 s,[\\$`],\\&,g
34925 t clear
34926 : clear
34927 s,^[     ]*#[    ]*define[       ][      ]*\([^  (][^    (]*\)\(([^)]*)\)[       ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
34928 t end
34929 s,^[     ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
34930 : end
34931 _ACEOF
34932 # If some macros were called several times there might be several times
34933 # the same #defines, which is useless.  Nevertheless, we may not want to
34934 # sort them, since we want the *last* AC-DEFINE to be honored.
34935 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
34936 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
34937 rm -f confdef2sed.sed
34938
34939 # This sed command replaces #undef with comments.  This is necessary, for
34940 # example, in the case of _POSIX_SOURCE, which is predefined and required
34941 # on some systems where configure will not decide to define it.
34942 cat >>conftest.undefs <<\_ACEOF
34943 s,^[     ]*#[    ]*undef[        ][      ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
34944 _ACEOF
34945
34946 # Break up conftest.defines because some shells have a limit on the size
34947 # of here documents, and old seds have small limits too (100 cmds).
34948 echo '  # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
34949 echo '  if grep "^[      ]*#[    ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
34950 echo '  # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
34951 echo '  :' >>$CONFIG_STATUS
34952 rm -f conftest.tail
34953 while grep . conftest.defines >/dev/null
34954 do
34955   # Write a limited-size here document to $tmp/defines.sed.
34956   echo '  cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
34957   # Speed up: don't consider the non `#define' lines.
34958   echo '/^[      ]*#[    ]*define/!b' >>$CONFIG_STATUS
34959   # Work around the forget-to-reset-the-flag bug.
34960   echo 't clr' >>$CONFIG_STATUS
34961   echo ': clr' >>$CONFIG_STATUS
34962   sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
34963   echo 'CEOF
34964   sed -f $tmp/defines.sed $tmp/in >$tmp/out
34965   rm -f $tmp/in
34966   mv $tmp/out $tmp/in
34967 ' >>$CONFIG_STATUS
34968   sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
34969   rm -f conftest.defines
34970   mv conftest.tail conftest.defines
34971 done
34972 rm -f conftest.defines
34973 echo '  fi # grep' >>$CONFIG_STATUS
34974 echo >>$CONFIG_STATUS
34975
34976 # Break up conftest.undefs because some shells have a limit on the size
34977 # of here documents, and old seds have small limits too (100 cmds).
34978 echo '  # Handle all the #undef templates' >>$CONFIG_STATUS
34979 rm -f conftest.tail
34980 while grep . conftest.undefs >/dev/null
34981 do
34982   # Write a limited-size here document to $tmp/undefs.sed.
34983   echo '  cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
34984   # Speed up: don't consider the non `#undef'
34985   echo '/^[      ]*#[    ]*undef/!b' >>$CONFIG_STATUS
34986   # Work around the forget-to-reset-the-flag bug.
34987   echo 't clr' >>$CONFIG_STATUS
34988   echo ': clr' >>$CONFIG_STATUS
34989   sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
34990   echo 'CEOF
34991   sed -f $tmp/undefs.sed $tmp/in >$tmp/out
34992   rm -f $tmp/in
34993   mv $tmp/out $tmp/in
34994 ' >>$CONFIG_STATUS
34995   sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
34996   rm -f conftest.undefs
34997   mv conftest.tail conftest.undefs
34998 done
34999 rm -f conftest.undefs
35000
35001 cat >>$CONFIG_STATUS <<\_ACEOF
35002   # Let's still pretend it is `configure' which instantiates (i.e., don't
35003   # use $as_me), people would be surprised to read:
35004   #    /* config.h.  Generated by config.status.  */
35005   if test x"$ac_file" = x-; then
35006     echo "/* Generated by configure.  */" >$tmp/config.h
35007   else
35008     echo "/* $ac_file.  Generated by configure.  */" >$tmp/config.h
35009   fi
35010   cat $tmp/in >>$tmp/config.h
35011   rm -f $tmp/in
35012   if test x"$ac_file" != x-; then
35013     if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
35014       { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
35015 echo "$as_me: $ac_file is unchanged" >&6;}
35016     else
35017       ac_dir=`(dirname "$ac_file") 2>/dev/null ||
35018 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
35019          X"$ac_file" : 'X\(//\)[^/]' \| \
35020          X"$ac_file" : 'X\(//\)$' \| \
35021          X"$ac_file" : 'X\(/\)' \| \
35022          .     : '\(.\)' 2>/dev/null ||
35023 echo X"$ac_file" |
35024     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
35025           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
35026           /^X\(\/\/\)$/{ s//\1/; q; }
35027           /^X\(\/\).*/{ s//\1/; q; }
35028           s/.*/./; q'`
35029       { if $as_mkdir_p; then
35030     mkdir -p "$ac_dir"
35031   else
35032     as_dir="$ac_dir"
35033     as_dirs=
35034     while test ! -d "$as_dir"; do
35035       as_dirs="$as_dir $as_dirs"
35036       as_dir=`(dirname "$as_dir") 2>/dev/null ||
35037 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
35038          X"$as_dir" : 'X\(//\)[^/]' \| \
35039          X"$as_dir" : 'X\(//\)$' \| \
35040          X"$as_dir" : 'X\(/\)' \| \
35041          .     : '\(.\)' 2>/dev/null ||
35042 echo X"$as_dir" |
35043     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
35044           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
35045           /^X\(\/\/\)$/{ s//\1/; q; }
35046           /^X\(\/\).*/{ s//\1/; q; }
35047           s/.*/./; q'`
35048     done
35049     test ! -n "$as_dirs" || mkdir $as_dirs
35050   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
35051 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
35052    { (exit 1); exit 1; }; }; }
35053
35054       rm -f $ac_file
35055       mv $tmp/config.h $ac_file
35056     fi
35057   else
35058     cat $tmp/config.h
35059     rm -f $tmp/config.h
35060   fi
35061 # Compute $ac_file's index in $config_headers.
35062 _am_stamp_count=1
35063 for _am_header in $config_headers :; do
35064   case $_am_header in
35065     $ac_file | $ac_file:* )
35066       break ;;
35067     * )
35068       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
35069   esac
35070 done
35071 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
35072 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
35073          X$ac_file : 'X\(//\)[^/]' \| \
35074          X$ac_file : 'X\(//\)$' \| \
35075          X$ac_file : 'X\(/\)' \| \
35076          .     : '\(.\)' 2>/dev/null ||
35077 echo X$ac_file |
35078     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
35079           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
35080           /^X\(\/\/\)$/{ s//\1/; q; }
35081           /^X\(\/\).*/{ s//\1/; q; }
35082           s/.*/./; q'`/stamp-h$_am_stamp_count
35083 done
35084 _ACEOF
35085 cat >>$CONFIG_STATUS <<\_ACEOF
35086
35087 #
35088 # CONFIG_COMMANDS section.
35089 #
35090 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
35091   ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
35092   ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
35093   ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
35094 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
35095          X"$ac_dest" : 'X\(//\)[^/]' \| \
35096          X"$ac_dest" : 'X\(//\)$' \| \
35097          X"$ac_dest" : 'X\(/\)' \| \
35098          .     : '\(.\)' 2>/dev/null ||
35099 echo X"$ac_dest" |
35100     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
35101           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
35102           /^X\(\/\/\)$/{ s//\1/; q; }
35103           /^X\(\/\).*/{ s//\1/; q; }
35104           s/.*/./; q'`
35105   { if $as_mkdir_p; then
35106     mkdir -p "$ac_dir"
35107   else
35108     as_dir="$ac_dir"
35109     as_dirs=
35110     while test ! -d "$as_dir"; do
35111       as_dirs="$as_dir $as_dirs"
35112       as_dir=`(dirname "$as_dir") 2>/dev/null ||
35113 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
35114          X"$as_dir" : 'X\(//\)[^/]' \| \
35115          X"$as_dir" : 'X\(//\)$' \| \
35116          X"$as_dir" : 'X\(/\)' \| \
35117          .     : '\(.\)' 2>/dev/null ||
35118 echo X"$as_dir" |
35119     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
35120           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
35121           /^X\(\/\/\)$/{ s//\1/; q; }
35122           /^X\(\/\).*/{ s//\1/; q; }
35123           s/.*/./; q'`
35124     done
35125     test ! -n "$as_dirs" || mkdir $as_dirs
35126   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
35127 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
35128    { (exit 1); exit 1; }; }; }
35129
35130   ac_builddir=.
35131
35132 if test "$ac_dir" != .; then
35133   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
35134   # A "../" for each directory in $ac_dir_suffix.
35135   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
35136 else
35137   ac_dir_suffix= ac_top_builddir=
35138 fi
35139
35140 case $srcdir in
35141   .)  # No --srcdir option.  We are building in place.
35142     ac_srcdir=.
35143     if test -z "$ac_top_builddir"; then
35144        ac_top_srcdir=.
35145     else
35146        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
35147     fi ;;
35148   [\\/]* | ?:[\\/]* )  # Absolute path.
35149     ac_srcdir=$srcdir$ac_dir_suffix;
35150     ac_top_srcdir=$srcdir ;;
35151   *) # Relative path.
35152     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
35153     ac_top_srcdir=$ac_top_builddir$srcdir ;;
35154 esac
35155
35156 # Do not use `cd foo && pwd` to compute absolute paths, because
35157 # the directories may not exist.
35158 case `pwd` in
35159 .) ac_abs_builddir="$ac_dir";;
35160 *)
35161   case "$ac_dir" in
35162   .) ac_abs_builddir=`pwd`;;
35163   [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
35164   *) ac_abs_builddir=`pwd`/"$ac_dir";;
35165   esac;;
35166 esac
35167 case $ac_abs_builddir in
35168 .) ac_abs_top_builddir=${ac_top_builddir}.;;
35169 *)
35170   case ${ac_top_builddir}. in
35171   .) ac_abs_top_builddir=$ac_abs_builddir;;
35172   [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
35173   *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
35174   esac;;
35175 esac
35176 case $ac_abs_builddir in
35177 .) ac_abs_srcdir=$ac_srcdir;;
35178 *)
35179   case $ac_srcdir in
35180   .) ac_abs_srcdir=$ac_abs_builddir;;
35181   [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
35182   *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
35183   esac;;
35184 esac
35185 case $ac_abs_builddir in
35186 .) ac_abs_top_srcdir=$ac_top_srcdir;;
35187 *)
35188   case $ac_top_srcdir in
35189   .) ac_abs_top_srcdir=$ac_abs_builddir;;
35190   [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
35191   *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
35192   esac;;
35193 esac
35194
35195
35196   { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
35197 echo "$as_me: executing $ac_dest commands" >&6;}
35198   case $ac_dest in
35199     default-1 )
35200 # Only add multilib support code if we just rebuilt the top-level
35201 # Makefile.
35202 case " $CONFIG_FILES " in
35203  *" Makefile "*)
35204    ac_file=Makefile . ${multi_basedir}/config-ml.in
35205    ;;
35206 esac ;;
35207     depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
35208   # Strip MF so we end up with the name of the file.
35209   mf=`echo "$mf" | sed -e 's/:.*$//'`
35210   # Check whether this is an Automake generated Makefile or not.
35211   # We used to match only the files named `Makefile.in', but
35212   # some people rename them; so instead we look at the file content.
35213   # Grep'ing the first line is not enough: some people post-process
35214   # each Makefile.in and add a new line on top of each file to say so.
35215   # So let's grep whole file.
35216   if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
35217     dirpart=`(dirname "$mf") 2>/dev/null ||
35218 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
35219          X"$mf" : 'X\(//\)[^/]' \| \
35220          X"$mf" : 'X\(//\)$' \| \
35221          X"$mf" : 'X\(/\)' \| \
35222          .     : '\(.\)' 2>/dev/null ||
35223 echo X"$mf" |
35224     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
35225           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
35226           /^X\(\/\/\)$/{ s//\1/; q; }
35227           /^X\(\/\).*/{ s//\1/; q; }
35228           s/.*/./; q'`
35229   else
35230     continue
35231   fi
35232   # Extract the definition of DEPDIR, am__include, and am__quote
35233   # from the Makefile without running `make'.
35234   DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
35235   test -z "$DEPDIR" && continue
35236   am__include=`sed -n 's/^am__include = //p' < "$mf"`
35237   test -z "am__include" && continue
35238   am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
35239   # When using ansi2knr, U may be empty or an underscore; expand it
35240   U=`sed -n 's/^U = //p' < "$mf"`
35241   # Find all dependency output files, they are included files with
35242   # $(DEPDIR) in their names.  We invoke sed twice because it is the
35243   # simplest approach to changing $(DEPDIR) to its actual value in the
35244   # expansion.
35245   for file in `sed -n "
35246     s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
35247        sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
35248     # Make sure the directory exists.
35249     test -f "$dirpart/$file" && continue
35250     fdir=`(dirname "$file") 2>/dev/null ||
35251 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
35252          X"$file" : 'X\(//\)[^/]' \| \
35253          X"$file" : 'X\(//\)$' \| \
35254          X"$file" : 'X\(/\)' \| \
35255          .     : '\(.\)' 2>/dev/null ||
35256 echo X"$file" |
35257     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
35258           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
35259           /^X\(\/\/\)$/{ s//\1/; q; }
35260           /^X\(\/\).*/{ s//\1/; q; }
35261           s/.*/./; q'`
35262     { if $as_mkdir_p; then
35263     mkdir -p $dirpart/$fdir
35264   else
35265     as_dir=$dirpart/$fdir
35266     as_dirs=
35267     while test ! -d "$as_dir"; do
35268       as_dirs="$as_dir $as_dirs"
35269       as_dir=`(dirname "$as_dir") 2>/dev/null ||
35270 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
35271          X"$as_dir" : 'X\(//\)[^/]' \| \
35272          X"$as_dir" : 'X\(//\)$' \| \
35273          X"$as_dir" : 'X\(/\)' \| \
35274          .     : '\(.\)' 2>/dev/null ||
35275 echo X"$as_dir" |
35276     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
35277           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
35278           /^X\(\/\/\)$/{ s//\1/; q; }
35279           /^X\(\/\).*/{ s//\1/; q; }
35280           s/.*/./; q'`
35281     done
35282     test ! -n "$as_dirs" || mkdir $as_dirs
35283   fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
35284 echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
35285    { (exit 1); exit 1; }; }; }
35286
35287     # echo "creating $dirpart/$file"
35288     echo '# dummy' > "$dirpart/$file"
35289   done
35290 done
35291  ;;
35292     libtool )
35293
35294     # See if we are running on zsh, and set the options which allow our
35295     # commands through without removal of \ escapes.
35296     if test -n "${ZSH_VERSION+set}" ; then
35297       setopt NO_GLOB_SUBST
35298     fi
35299
35300     cfgfile="${ofile}T"
35301     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
35302     $RM "$cfgfile"
35303
35304     cat <<_LT_EOF >> "$cfgfile"
35305 #! $SHELL
35306
35307 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
35308 # Generated automatically by $as_me (GNU $PACKAGE$TIMESTAMP) $VERSION
35309 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
35310 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
35311 #
35312 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
35313 # 2006, 2007 Free Software Foundation, Inc.
35314 #
35315 # This file is part of GNU Libtool:
35316 # Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
35317 #
35318 # This program is free software; you can redistribute it and/or modify
35319 # it under the terms of the GNU General Public License as published by
35320 # the Free Software Foundation; either version 2 of the License, or
35321 # (at your option) any later version.
35322 #
35323 # This program is distributed in the hope that it will be useful, but
35324 # WITHOUT ANY WARRANTY; without even the implied warranty of
35325 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
35326 # General Public License for more details.
35327 #
35328 # You should have received a copy of the GNU General Public License
35329 # along with this program; if not, a copy can be downloaded from
35330 # http://www.gnu.org/copyleft/gpl.html, or by writing to the Free
35331 # Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
35332 # MA 02110-1301, USA.
35333 #
35334 # As a special exception to the GNU General Public License, if you
35335 # distribute this file as part of a program that contains a
35336 # configuration script generated by Autoconf, you may include it under
35337 # the same distribution terms that you use for the rest of that program.
35338
35339
35340 # The names of the tagged configurations supported by this script.
35341 available_tags="FC "
35342
35343 # ### BEGIN LIBTOOL CONFIG
35344
35345 # Which release of libtool.m4 was used?
35346 macro_version=$macro_version
35347 macro_revision=$macro_revision
35348
35349 # Whether or not to build shared libraries.
35350 build_libtool_libs=$enable_shared
35351
35352 # Whether or not to build static libraries.
35353 build_old_libs=$enable_static
35354
35355 # What type of objects to build.
35356 pic_mode=$pic_mode
35357
35358 # Whether or not to optimize for fast installation.
35359 fast_install=$enable_fast_install
35360
35361 # The host system.
35362 host_alias=$host_alias
35363 host=$host
35364 host_os=$host_os
35365
35366 # The build system.
35367 build_alias=$build_alias
35368 build=$build
35369 build_os=$build_os
35370
35371 # A sed program that does not truncate output.
35372 SED=$lt_SED
35373
35374 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
35375 Xsed="\$SED -e 1s/^X//"
35376
35377 # A grep program that handles long lines.
35378 GREP=$lt_GREP
35379
35380 # An ERE matcher.
35381 EGREP=$lt_EGREP
35382
35383 # A literal string matcher.
35384 FGREP=$lt_FGREP
35385
35386 # A BSD- or MS-compatible name lister.
35387 NM=$lt_NM
35388
35389 # Whether we need soft or hard links.
35390 LN_S=$lt_LN_S
35391
35392 # What is the maximum length of a command?
35393 max_cmd_len=$max_cmd_len
35394
35395 # Object file suffix (normally "o").
35396 objext=$ac_objext
35397
35398 # Executable file suffix (normally "").
35399 exeext=$exeext
35400
35401 # whether the shell understands "unset".
35402 lt_unset=$lt_unset
35403
35404 # turn spaces into newlines.
35405 SP2NL=$lt_lt_SP2NL
35406
35407 # turn newlines into spaces.
35408 NL2SP=$lt_lt_NL2SP
35409
35410 # How to create reloadable object files.
35411 reload_flag=$lt_reload_flag
35412 reload_cmds=$lt_reload_cmds
35413
35414 # Method to check whether dependent libraries are shared objects.
35415 deplibs_check_method=$lt_deplibs_check_method
35416
35417 # Command to use when deplibs_check_method == "file_magic".
35418 file_magic_cmd=$lt_file_magic_cmd
35419
35420 # The archiver.
35421 AR=$lt_AR
35422 AR_FLAGS=$lt_AR_FLAGS
35423
35424 # A symbol stripping program.
35425 STRIP=$lt_STRIP
35426
35427 # Commands used to install an old-style archive.
35428 RANLIB=$lt_RANLIB
35429 old_postinstall_cmds=$lt_old_postinstall_cmds
35430 old_postuninstall_cmds=$lt_old_postuninstall_cmds
35431
35432 # A C compiler.
35433 LTCC=$lt_CC
35434
35435 # LTCC compiler flags.
35436 LTCFLAGS=$lt_CFLAGS
35437
35438 # Take the output of nm and produce a listing of raw symbols and C names.
35439 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
35440
35441 # Transform the output of nm in a proper C declaration.
35442 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
35443
35444 # Transform the output of nm in a C name address pair.
35445 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
35446
35447 # The name of the directory that contains temporary libtool files.
35448 objdir=$objdir
35449
35450 # Shell to use when invoking shell scripts.
35451 SHELL=$lt_SHELL
35452
35453 # An echo program that does not interpret backslashes.
35454 ECHO=$lt_ECHO
35455
35456 # Used to examine libraries when file_magic_cmd begins with "file".
35457 MAGIC_CMD=$MAGIC_CMD
35458
35459 # Must we lock files when doing compilation?
35460 need_locks=$lt_need_locks
35461
35462 # Old archive suffix (normally "a").
35463 libext=$libext
35464
35465 # Shared library suffix (normally ".so").
35466 shrext_cmds=$lt_shrext_cmds
35467
35468 # The commands to extract the exported symbol list from a shared archive.
35469 extract_expsyms_cmds=$lt_extract_expsyms_cmds
35470
35471 # Variables whose values should be saved in libtool wrapper scripts and
35472 # restored at link time.
35473 variables_saved_for_relink=$lt_variables_saved_for_relink
35474
35475 # Do we need the "lib" prefix for modules?
35476 need_lib_prefix=$need_lib_prefix
35477
35478 # Do we need a version for libraries?
35479 need_version=$need_version
35480
35481 # Library versioning type.
35482 version_type=$version_type
35483
35484 # Shared library runtime path variable.
35485 runpath_var=$runpath_var
35486
35487 # Shared library path variable.
35488 shlibpath_var=$shlibpath_var
35489
35490 # Is shlibpath searched before the hard-coded library search path?
35491 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
35492
35493 # Format of library name prefix.
35494 libname_spec=$lt_libname_spec
35495
35496 # List of archive names.  First name is the real one, the rest are links.
35497 # The last name is the one that the linker finds with -lNAME
35498 library_names_spec=$lt_library_names_spec
35499
35500 # The coded name of the library, if different from the real name.
35501 soname_spec=$lt_soname_spec
35502
35503 # Command to use after installation of a shared archive.
35504 postinstall_cmds=$lt_postinstall_cmds
35505
35506 # Command to use after uninstallation of a shared archive.
35507 postuninstall_cmds=$lt_postuninstall_cmds
35508
35509 # Commands used to finish a libtool library installation in a directory.
35510 finish_cmds=$lt_finish_cmds
35511
35512 # As "finish_cmds", except a single script fragment to be evaled but
35513 # not shown.
35514 finish_eval=$lt_finish_eval
35515
35516 # Whether we should hardcode library paths into libraries.
35517 hardcode_into_libs=$hardcode_into_libs
35518
35519 # Compile-time system search path for libraries.
35520 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
35521
35522 # Run-time system search path for libraries.
35523 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
35524
35525 # Whether dlopen is supported.
35526 dlopen_support=$enable_dlopen
35527
35528 # Whether dlopen of programs is supported.
35529 dlopen_self=$enable_dlopen_self
35530
35531 # Whether dlopen of statically linked programs is supported.
35532 dlopen_self_static=$enable_dlopen_self_static
35533
35534 # Commands to strip libraries.
35535 old_striplib=$lt_old_striplib
35536 striplib=$lt_striplib
35537
35538
35539 # The linker used to build libraries.
35540 LD=$lt_LD
35541
35542 # Commands used to build an old-style archive.
35543 old_archive_cmds=$lt_old_archive_cmds
35544
35545 # A language specific compiler.
35546 CC=$lt_compiler
35547
35548 # Is the compiler the GNU compiler?
35549 with_gcc=$GCC
35550
35551 # Compiler flag to turn off builtin functions.
35552 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
35553
35554 # How to pass a linker flag through the compiler.
35555 wl=$lt_lt_prog_compiler_wl
35556
35557 # Additional compiler flags for building library objects.
35558 pic_flag=$lt_lt_prog_compiler_pic
35559
35560 # Compiler flag to prevent dynamic linking.
35561 link_static_flag=$lt_lt_prog_compiler_static
35562
35563 # Does compiler simultaneously support -c and -o options?
35564 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
35565
35566 # Whether or not to add -lc for building shared libraries.
35567 build_libtool_need_lc=$archive_cmds_need_lc
35568
35569 # Whether or not to disallow shared libs when runtime libs are static.
35570 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
35571
35572 # Compiler flag to allow reflexive dlopens.
35573 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
35574
35575 # Compiler flag to generate shared objects directly from archives.
35576 whole_archive_flag_spec=$lt_whole_archive_flag_spec
35577
35578 # Whether the compiler copes with passing no objects directly.
35579 compiler_needs_object=$lt_compiler_needs_object
35580
35581 # Create an old-style archive from a shared archive.
35582 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
35583
35584 # Create a temporary old-style archive to link instead of a shared archive.
35585 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
35586
35587 # Commands used to build a shared archive.
35588 archive_cmds=$lt_archive_cmds
35589 archive_expsym_cmds=$lt_archive_expsym_cmds
35590
35591 # Commands used to build a loadable module if different from building
35592 # a shared archive.
35593 module_cmds=$lt_module_cmds
35594 module_expsym_cmds=$lt_module_expsym_cmds
35595
35596 # Whether we are building with GNU ld or not.
35597 with_gnu_ld=$lt_with_gnu_ld
35598
35599 # Flag that allows shared libraries with undefined symbols to be built.
35600 allow_undefined_flag=$lt_allow_undefined_flag
35601
35602 # Flag that enforces no undefined symbols.
35603 no_undefined_flag=$lt_no_undefined_flag
35604
35605 # Flag to hardcode \$libdir into a binary during linking.
35606 # This must work even if \$libdir does not exist
35607 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
35608
35609 # If ld is used when linking, flag to hardcode \$libdir into a binary
35610 # during linking.  This must work even if \$libdir does not exist.
35611 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
35612
35613 # Whether we need a single "-rpath" flag with a separated argument.
35614 hardcode_libdir_separator=$lt_hardcode_libdir_separator
35615
35616 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
35617 # DIR into the resulting binary.
35618 hardcode_direct=$hardcode_direct
35619
35620 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
35621 # DIR into the resulting binary and the resulting library dependency is
35622 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
35623 # library is relocated.
35624 hardcode_direct_absolute=$hardcode_direct_absolute
35625
35626 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
35627 # into the resulting binary.
35628 hardcode_minus_L=$hardcode_minus_L
35629
35630 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
35631 # into the resulting binary.
35632 hardcode_shlibpath_var=$hardcode_shlibpath_var
35633
35634 # Set to "yes" if building a shared library automatically hardcodes DIR
35635 # into the library and all subsequent libraries and executables linked
35636 # against it.
35637 hardcode_automatic=$hardcode_automatic
35638
35639 # Set to yes if linker adds runtime paths of dependent libraries
35640 # to runtime path list.
35641 inherit_rpath=$inherit_rpath
35642
35643 # Whether libtool must link a program against all its dependency libraries.
35644 link_all_deplibs=$link_all_deplibs
35645
35646 # Fix the shell variable \$srcfile for the compiler.
35647 fix_srcfile_path=$lt_fix_srcfile_path
35648
35649 # Set to "yes" if exported symbols are required.
35650 always_export_symbols=$always_export_symbols
35651
35652 # The commands to list exported symbols.
35653 export_symbols_cmds=$lt_export_symbols_cmds
35654
35655 # Symbols that should not be listed in the preloaded symbols.
35656 exclude_expsyms=$lt_exclude_expsyms
35657
35658 # Symbols that must always be exported.
35659 include_expsyms=$lt_include_expsyms
35660
35661 # Commands necessary for linking programs (against libraries) with templates.
35662 prelink_cmds=$lt_prelink_cmds
35663
35664 # Specify filename containing input files.
35665 file_list_spec=$lt_file_list_spec
35666
35667 # How to hardcode a shared library path into an executable.
35668 hardcode_action=$hardcode_action
35669
35670 # Dependencies to place before and after the objects being linked to
35671 # create a shared library.
35672 predep_objects=$lt_predep_objects
35673 postdep_objects=$lt_postdep_objects
35674 predeps=$lt_predeps
35675 postdeps=$lt_postdeps
35676
35677 # The library search path used internally by the compiler when linking
35678 # a shared library.
35679 compiler_lib_search_path=$lt_compiler_lib_search_path
35680
35681 # ### END LIBTOOL CONFIG
35682
35683 _LT_EOF
35684
35685   case $host_os in
35686   aix3*)
35687     cat <<\_LT_EOF >> "$cfgfile"
35688 # AIX sometimes has problems with the GCC collect2 program.  For some
35689 # reason, if we set the COLLECT_NAMES environment variable, the problems
35690 # vanish in a puff of smoke.
35691 if test "X${COLLECT_NAMES+set}" != Xset; then
35692   COLLECT_NAMES=
35693   export COLLECT_NAMES
35694 fi
35695 _LT_EOF
35696     ;;
35697   esac
35698
35699
35700 ltmain="$ac_aux_dir/ltmain.sh"
35701
35702
35703   # We use sed instead of cat because bash on DJGPP gets confused if
35704   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
35705   # text mode, it properly converts lines to CR/LF.  This bash problem
35706   # is reportedly fixed, but why not run on old versions too?
35707   sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
35708     || (rm -f "$cfgfile"; exit 1)
35709
35710   case $xsi_shell in
35711   yes)
35712     cat << \_LT_EOF >> "$cfgfile"
35713 # func_dirname file append nondir_replacement
35714 # Compute the dirname of FILE.  If nonempty, add APPEND to the result,
35715 # otherwise set result to NONDIR_REPLACEMENT.
35716 func_dirname ()
35717 {
35718   case ${1} in
35719     */*) func_dirname_result="${1%/*}${2}" ;;
35720     *  ) func_dirname_result="${3}" ;;
35721   esac
35722 }
35723
35724 # func_basename file
35725 func_basename ()
35726 {
35727   func_basename_result="${1##*/}"
35728 }
35729
35730 # func_stripname prefix suffix name
35731 # strip PREFIX and SUFFIX off of NAME.
35732 # PREFIX and SUFFIX must not contain globbing or regex special
35733 # characters, hashes, percent signs, but SUFFIX may contain a leading
35734 # dot (in which case that matches only a dot).
35735 func_stripname ()
35736 {
35737   # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
35738   # positional parameters, so assign one to ordinary parameter first.
35739   func_stripname_result=${3}
35740   func_stripname_result=${func_stripname_result#"${1}"}
35741   func_stripname_result=${func_stripname_result%"${2}"}
35742 }
35743
35744 # func_opt_split
35745 func_opt_split ()
35746 {
35747   func_opt_split_opt=${1%%=*}
35748   func_opt_split_arg=${1#*=}
35749 }
35750
35751 # func_lo2o object
35752 func_lo2o ()
35753 {
35754   case ${1} in
35755     *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
35756     *)    func_lo2o_result=${1} ;;
35757   esac
35758 }
35759 _LT_EOF
35760     ;;
35761   *) # Bourne compatible functions.
35762     cat << \_LT_EOF >> "$cfgfile"
35763 # func_dirname file append nondir_replacement
35764 # Compute the dirname of FILE.  If nonempty, add APPEND to the result,
35765 # otherwise set result to NONDIR_REPLACEMENT.
35766 func_dirname ()
35767 {
35768   # Extract subdirectory from the argument.
35769   func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
35770   if test "X$func_dirname_result" = "X${1}"; then
35771     func_dirname_result="${3}"
35772   else
35773     func_dirname_result="$func_dirname_result${2}"
35774   fi
35775 }
35776
35777 # func_basename file
35778 func_basename ()
35779 {
35780   func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
35781 }
35782
35783 # func_stripname prefix suffix name
35784 # strip PREFIX and SUFFIX off of NAME.
35785 # PREFIX and SUFFIX must not contain globbing or regex special
35786 # characters, hashes, percent signs, but SUFFIX may contain a leading
35787 # dot (in which case that matches only a dot).
35788 # func_strip_suffix prefix name
35789 func_stripname ()
35790 {
35791   case ${2} in
35792     .*) func_stripname_result=`$ECHO "X${3}" \
35793            | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
35794     *)  func_stripname_result=`$ECHO "X${3}" \
35795            | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
35796   esac
35797 }
35798
35799 # sed scripts:
35800 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
35801 my_sed_long_arg='1s/^-[^=]*=//'
35802
35803 # func_opt_split
35804 func_opt_split ()
35805 {
35806   func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
35807   func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
35808 }
35809
35810 # func_lo2o object
35811 func_lo2o ()
35812 {
35813   func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
35814 }
35815 _LT_EOF
35816 esac
35817
35818 case $lt_shell_append in
35819   yes)
35820     cat << \_LT_EOF >> "$cfgfile"
35821
35822 # func_append var value
35823 # Append VALUE to the end of shell variable VAR.
35824 func_append ()
35825 {
35826   eval "$1+=\$2"
35827 }
35828 _LT_EOF
35829     ;;
35830   *)
35831     cat << \_LT_EOF >> "$cfgfile"
35832
35833 # func_append var value
35834 # Append VALUE to the end of shell variable VAR.
35835 func_append ()
35836 {
35837   eval "$1=\$$1\$2"
35838 }
35839 _LT_EOF
35840     ;;
35841   esac
35842
35843
35844   sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
35845     || (rm -f "$cfgfile"; exit 1)
35846
35847   mv -f "$cfgfile" "$ofile" ||
35848     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
35849   chmod +x "$ofile"
35850
35851
35852     cat <<_LT_EOF >> "$ofile"
35853
35854 # ### BEGIN LIBTOOL TAG CONFIG: FC
35855
35856 # The linker used to build libraries.
35857 LD=$lt_LD_FC
35858
35859 # Commands used to build an old-style archive.
35860 old_archive_cmds=$lt_old_archive_cmds_FC
35861
35862 # A language specific compiler.
35863 CC=$lt_compiler_FC
35864
35865 # Is the compiler the GNU compiler?
35866 with_gcc=$GCC_FC
35867
35868 # Compiler flag to turn off builtin functions.
35869 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_FC
35870
35871 # How to pass a linker flag through the compiler.
35872 wl=$lt_lt_prog_compiler_wl_FC
35873
35874 # Additional compiler flags for building library objects.
35875 pic_flag=$lt_lt_prog_compiler_pic_FC
35876
35877 # Compiler flag to prevent dynamic linking.
35878 link_static_flag=$lt_lt_prog_compiler_static_FC
35879
35880 # Does compiler simultaneously support -c and -o options?
35881 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_FC
35882
35883 # Whether or not to add -lc for building shared libraries.
35884 build_libtool_need_lc=$archive_cmds_need_lc_FC
35885
35886 # Whether or not to disallow shared libs when runtime libs are static.
35887 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_FC
35888
35889 # Compiler flag to allow reflexive dlopens.
35890 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_FC
35891
35892 # Compiler flag to generate shared objects directly from archives.
35893 whole_archive_flag_spec=$lt_whole_archive_flag_spec_FC
35894
35895 # Whether the compiler copes with passing no objects directly.
35896 compiler_needs_object=$lt_compiler_needs_object_FC
35897
35898 # Create an old-style archive from a shared archive.
35899 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_FC
35900
35901 # Create a temporary old-style archive to link instead of a shared archive.
35902 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_FC
35903
35904 # Commands used to build a shared archive.
35905 archive_cmds=$lt_archive_cmds_FC
35906 archive_expsym_cmds=$lt_archive_expsym_cmds_FC
35907
35908 # Commands used to build a loadable module if different from building
35909 # a shared archive.
35910 module_cmds=$lt_module_cmds_FC
35911 module_expsym_cmds=$lt_module_expsym_cmds_FC
35912
35913 # Whether we are building with GNU ld or not.
35914 with_gnu_ld=$lt_with_gnu_ld_FC
35915
35916 # Flag that allows shared libraries with undefined symbols to be built.
35917 allow_undefined_flag=$lt_allow_undefined_flag_FC
35918
35919 # Flag that enforces no undefined symbols.
35920 no_undefined_flag=$lt_no_undefined_flag_FC
35921
35922 # Flag to hardcode \$libdir into a binary during linking.
35923 # This must work even if \$libdir does not exist
35924 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_FC
35925
35926 # If ld is used when linking, flag to hardcode \$libdir into a binary
35927 # during linking.  This must work even if \$libdir does not exist.
35928 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_FC
35929
35930 # Whether we need a single "-rpath" flag with a separated argument.
35931 hardcode_libdir_separator=$lt_hardcode_libdir_separator_FC
35932
35933 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
35934 # DIR into the resulting binary.
35935 hardcode_direct=$hardcode_direct_FC
35936
35937 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
35938 # DIR into the resulting binary and the resulting library dependency is
35939 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
35940 # library is relocated.
35941 hardcode_direct_absolute=$hardcode_direct_absolute_FC
35942
35943 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
35944 # into the resulting binary.
35945 hardcode_minus_L=$hardcode_minus_L_FC
35946
35947 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
35948 # into the resulting binary.
35949 hardcode_shlibpath_var=$hardcode_shlibpath_var_FC
35950
35951 # Set to "yes" if building a shared library automatically hardcodes DIR
35952 # into the library and all subsequent libraries and executables linked
35953 # against it.
35954 hardcode_automatic=$hardcode_automatic_FC
35955
35956 # Set to yes if linker adds runtime paths of dependent libraries
35957 # to runtime path list.
35958 inherit_rpath=$inherit_rpath_FC
35959
35960 # Whether libtool must link a program against all its dependency libraries.
35961 link_all_deplibs=$link_all_deplibs_FC
35962
35963 # Fix the shell variable \$srcfile for the compiler.
35964 fix_srcfile_path=$lt_fix_srcfile_path_FC
35965
35966 # Set to "yes" if exported symbols are required.
35967 always_export_symbols=$always_export_symbols_FC
35968
35969 # The commands to list exported symbols.
35970 export_symbols_cmds=$lt_export_symbols_cmds_FC
35971
35972 # Symbols that should not be listed in the preloaded symbols.
35973 exclude_expsyms=$lt_exclude_expsyms_FC
35974
35975 # Symbols that must always be exported.
35976 include_expsyms=$lt_include_expsyms_FC
35977
35978 # Commands necessary for linking programs (against libraries) with templates.
35979 prelink_cmds=$lt_prelink_cmds_FC
35980
35981 # Specify filename containing input files.
35982 file_list_spec=$lt_file_list_spec_FC
35983
35984 # How to hardcode a shared library path into an executable.
35985 hardcode_action=$hardcode_action_FC
35986
35987 # Dependencies to place before and after the objects being linked to
35988 # create a shared library.
35989 predep_objects=$lt_predep_objects_FC
35990 postdep_objects=$lt_postdep_objects_FC
35991 predeps=$lt_predeps_FC
35992 postdeps=$lt_postdeps_FC
35993
35994 # The library search path used internally by the compiler when linking
35995 # a shared library.
35996 compiler_lib_search_path=$lt_compiler_lib_search_path_FC
35997
35998 # ### END LIBTOOL TAG CONFIG: FC
35999 _LT_EOF
36000
36001  ;;
36002     gstdint.h )
36003 if test "$GCC" = yes; then
36004   echo "/* generated for " `$CC --version | sed 1q` "*/" > tmp-stdint.h
36005 else
36006   echo "/* generated for $CC */" > tmp-stdint.h
36007 fi
36008
36009 sed 's/^ *//' >> tmp-stdint.h <<EOF
36010
36011   #ifndef GCC_GENERATED_STDINT_H
36012   #define GCC_GENERATED_STDINT_H 1
36013
36014   #include <sys/types.h>
36015 EOF
36016
36017 if test "$acx_cv_header_stdint" != stdint.h; then
36018   echo "#include <stddef.h>" >> tmp-stdint.h
36019 fi
36020 if test "$acx_cv_header_stdint" != stddef.h; then
36021   echo "#include <$acx_cv_header_stdint>" >> tmp-stdint.h
36022 fi
36023
36024 sed 's/^ *//' >> tmp-stdint.h <<EOF
36025   /* glibc uses these symbols as guards to prevent redefinitions.  */
36026   #ifdef __int8_t_defined
36027   #define _INT8_T
36028   #define _INT16_T
36029   #define _INT32_T
36030   #endif
36031   #ifdef __uint32_t_defined
36032   #define _UINT32_T
36033   #endif
36034
36035 EOF
36036
36037 # ----------------- done header, emit basic int types -------------
36038 if test "$acx_cv_header_stdint" = stddef.h; then
36039   sed 's/^ *//' >> tmp-stdint.h <<EOF
36040
36041     #ifndef _UINT8_T
36042     #define _UINT8_T
36043     #ifndef __uint8_t_defined
36044     #define __uint8_t_defined
36045     typedef unsigned $acx_cv_type_int8_t uint8_t;
36046     #endif
36047     #endif
36048
36049     #ifndef _UINT16_T
36050     #define _UINT16_T
36051     #ifndef __uint16_t_defined
36052     #define __uint16_t_defined
36053     typedef unsigned $acx_cv_type_int16_t uint16_t;
36054     #endif
36055     #endif
36056
36057     #ifndef _UINT32_T
36058     #define _UINT32_T
36059     #ifndef __uint32_t_defined
36060     #define __uint32_t_defined
36061     typedef unsigned $acx_cv_type_int32_t uint32_t;
36062     #endif
36063     #endif
36064
36065     #ifndef _INT8_T
36066     #define _INT8_T
36067     #ifndef __int8_t_defined
36068     #define __int8_t_defined
36069     typedef $acx_cv_type_int8_t int8_t;
36070     #endif
36071     #endif
36072
36073     #ifndef _INT16_T
36074     #define _INT16_T
36075     #ifndef __int16_t_defined
36076     #define __int16_t_defined
36077     typedef $acx_cv_type_int16_t int16_t;
36078     #endif
36079     #endif
36080
36081     #ifndef _INT32_T
36082     #define _INT32_T
36083     #ifndef __int32_t_defined
36084     #define __int32_t_defined
36085     typedef $acx_cv_type_int32_t int32_t;
36086     #endif
36087     #endif
36088 EOF
36089 elif test "$ac_cv_type_u_int32_t" = yes; then
36090   sed 's/^ *//' >> tmp-stdint.h <<EOF
36091
36092     /* int8_t int16_t int32_t defined by inet code, we do the u_intXX types */
36093     #ifndef _INT8_T
36094     #define _INT8_T
36095     #endif
36096     #ifndef _INT16_T
36097     #define _INT16_T
36098     #endif
36099     #ifndef _INT32_T
36100     #define _INT32_T
36101     #endif
36102
36103     #ifndef _UINT8_T
36104     #define _UINT8_T
36105     #ifndef __uint8_t_defined
36106     #define __uint8_t_defined
36107     typedef u_int8_t uint8_t;
36108     #endif
36109     #endif
36110
36111     #ifndef _UINT16_T
36112     #define _UINT16_T
36113     #ifndef __uint16_t_defined
36114     #define __uint16_t_defined
36115     typedef u_int16_t uint16_t;
36116     #endif
36117     #endif
36118
36119     #ifndef _UINT32_T
36120     #define _UINT32_T
36121     #ifndef __uint32_t_defined
36122     #define __uint32_t_defined
36123     typedef u_int32_t uint32_t;
36124     #endif
36125     #endif
36126 EOF
36127 else
36128   sed 's/^ *//' >> tmp-stdint.h <<EOF
36129
36130     /* Some systems have guard macros to prevent redefinitions, define them.  */
36131     #ifndef _INT8_T
36132     #define _INT8_T
36133     #endif
36134     #ifndef _INT16_T
36135     #define _INT16_T
36136     #endif
36137     #ifndef _INT32_T
36138     #define _INT32_T
36139     #endif
36140     #ifndef _UINT8_T
36141     #define _UINT8_T
36142     #endif
36143     #ifndef _UINT16_T
36144     #define _UINT16_T
36145     #endif
36146     #ifndef _UINT32_T
36147     #define _UINT32_T
36148     #endif
36149 EOF
36150 fi
36151
36152 # ------------- done basic int types, emit int64_t types ------------
36153 if test "$ac_cv_type_uint64_t" = yes; then
36154   sed 's/^ *//' >> tmp-stdint.h <<EOF
36155
36156     /* system headers have good uint64_t and int64_t */
36157     #ifndef _INT64_T
36158     #define _INT64_T
36159     #endif
36160     #ifndef _UINT64_T
36161     #define _UINT64_T
36162     #endif
36163 EOF
36164 elif test "$ac_cv_type_u_int64_t" = yes; then
36165   sed 's/^ *//' >> tmp-stdint.h <<EOF
36166
36167     /* system headers have an u_int64_t (and int64_t) */
36168     #ifndef _INT64_T
36169     #define _INT64_T
36170     #endif
36171     #ifndef _UINT64_T
36172     #define _UINT64_T
36173     #ifndef __uint64_t_defined
36174     #define __uint64_t_defined
36175     typedef u_int64_t uint64_t;
36176     #endif
36177     #endif
36178 EOF
36179 elif test -n "$acx_cv_type_int64_t"; then
36180   sed 's/^ *//' >> tmp-stdint.h <<EOF
36181
36182     /* architecture has a 64-bit type, $acx_cv_type_int64_t */
36183     #ifndef _INT64_T
36184     #define _INT64_T
36185     typedef $acx_cv_type_int64_t int64_t;
36186     #endif
36187     #ifndef _UINT64_T
36188     #define _UINT64_T
36189     #ifndef __uint64_t_defined
36190     #define __uint64_t_defined
36191     typedef unsigned $acx_cv_type_int64_t uint64_t;
36192     #endif
36193     #endif
36194 EOF
36195 else
36196   sed 's/^ *//' >> tmp-stdint.h <<EOF
36197
36198     /* some common heuristics for int64_t, using compiler-specific tests */
36199     #if defined __STDC_VERSION__ && (__STDC_VERSION__-0) >= 199901L
36200     #ifndef _INT64_T
36201     #define _INT64_T
36202     #ifndef __int64_t_defined
36203     typedef long long int64_t;
36204     #endif
36205     #endif
36206     #ifndef _UINT64_T
36207     #define _UINT64_T
36208     typedef unsigned long long uint64_t;
36209     #endif
36210
36211     #elif defined __GNUC__ && defined (__STDC__) && __STDC__-0
36212     /* NextStep 2.0 cc is really gcc 1.93 but it defines __GNUC__ = 2 and
36213        does not implement __extension__.  But that compiler doesn't define
36214        __GNUC_MINOR__.  */
36215     # if __GNUC__ < 2 || (__NeXT__ && !__GNUC_MINOR__)
36216     # define __extension__
36217     # endif
36218
36219     # ifndef _INT64_T
36220     # define _INT64_T
36221     __extension__ typedef long long int64_t;
36222     # endif
36223     # ifndef _UINT64_T
36224     # define _UINT64_T
36225     __extension__ typedef unsigned long long uint64_t;
36226     # endif
36227
36228     #elif !defined __STRICT_ANSI__
36229     # if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
36230
36231     #  ifndef _INT64_T
36232     #  define _INT64_T
36233     typedef __int64 int64_t;
36234     #  endif
36235     #  ifndef _UINT64_T
36236     #  define _UINT64_T
36237     typedef unsigned __int64 uint64_t;
36238     #  endif
36239     # endif /* compiler */
36240
36241     #endif /* ANSI version */
36242 EOF
36243 fi
36244
36245 # ------------- done int64_t types, emit intptr types ------------
36246 if test "$ac_cv_type_uintptr_t" != yes; then
36247   sed 's/^ *//' >> tmp-stdint.h <<EOF
36248
36249     /* Define intptr_t based on sizeof(void*) = $ac_cv_sizeof_void_p */
36250     #ifndef __uintptr_t_defined
36251     typedef u$acx_cv_type_intptr_t uintptr_t;
36252     #endif
36253     #ifndef __intptr_t_defined
36254     typedef $acx_cv_type_intptr_t  intptr_t;
36255     #endif
36256 EOF
36257 fi
36258
36259 # ------------- done intptr types, emit int_least types ------------
36260 if test "$ac_cv_type_int_least32_t" != yes; then
36261   sed 's/^ *//' >> tmp-stdint.h <<EOF
36262
36263     /* Define int_least types */
36264     typedef int8_t     int_least8_t;
36265     typedef int16_t    int_least16_t;
36266     typedef int32_t    int_least32_t;
36267     #ifdef _INT64_T
36268     typedef int64_t    int_least64_t;
36269     #endif
36270
36271     typedef uint8_t    uint_least8_t;
36272     typedef uint16_t   uint_least16_t;
36273     typedef uint32_t   uint_least32_t;
36274     #ifdef _UINT64_T
36275     typedef uint64_t   uint_least64_t;
36276     #endif
36277 EOF
36278 fi
36279
36280 # ------------- done intptr types, emit int_fast types ------------
36281 if test "$ac_cv_type_int_fast32_t" != yes; then
36282       sed 's/^ *//' >> tmp-stdint.h <<EOF
36283
36284     /* Define int_fast types.  short is often slow */
36285     typedef int8_t       int_fast8_t;
36286     typedef int          int_fast16_t;
36287     typedef int32_t      int_fast32_t;
36288     #ifdef _INT64_T
36289     typedef int64_t      int_fast64_t;
36290     #endif
36291
36292     typedef uint8_t      uint_fast8_t;
36293     typedef unsigned int uint_fast16_t;
36294     typedef uint32_t     uint_fast32_t;
36295     #ifdef _UINT64_T
36296     typedef uint64_t     uint_fast64_t;
36297     #endif
36298 EOF
36299 fi
36300
36301 if test "$ac_cv_type_uintmax_t" != yes; then
36302   sed 's/^ *//' >> tmp-stdint.h <<EOF
36303
36304     /* Define intmax based on what we found */
36305     #ifdef _INT64_T
36306     typedef int64_t       intmax_t;
36307     #else
36308     typedef long          intmax_t;
36309     #endif
36310     #ifdef _UINT64_T
36311     typedef uint64_t      uintmax_t;
36312     #else
36313     typedef unsigned long uintmax_t;
36314     #endif
36315 EOF
36316 fi
36317
36318 sed 's/^ *//' >> tmp-stdint.h <<EOF
36319
36320   #endif /* GCC_GENERATED_STDINT_H */
36321 EOF
36322
36323 if test -r gstdint.h && cmp -s tmp-stdint.h gstdint.h; then
36324   rm -f tmp-stdint.h
36325 else
36326   mv -f tmp-stdint.h gstdint.h
36327 fi
36328
36329  ;;
36330   esac
36331 done
36332 _ACEOF
36333
36334 cat >>$CONFIG_STATUS <<\_ACEOF
36335
36336 { (exit 0); exit 0; }
36337 _ACEOF
36338 chmod +x $CONFIG_STATUS
36339 ac_clean_files=$ac_clean_files_save
36340
36341
36342 # configure is writing to config.log, and then calls config.status.
36343 # config.status does its own redirection, appending to config.log.
36344 # Unfortunately, on DOS this fails, as config.log is still kept open
36345 # by configure, so config.status won't be able to write to it; its
36346 # output is simply discarded.  So we exec the FD to /dev/null,
36347 # effectively closing config.log, so it can be properly (re)opened and
36348 # appended to by config.status.  When coming back to configure, we
36349 # need to make the FD available again.
36350 if test "$no_create" != yes; then
36351   ac_cs_success=:
36352   ac_config_status_args=
36353   test "$silent" = yes &&
36354     ac_config_status_args="$ac_config_status_args --quiet"
36355   exec 5>/dev/null
36356   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
36357   exec 5>>config.log
36358   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
36359   # would make configure fail if this is the last instruction.
36360   $ac_cs_success || { (exit 1); exit 1; }
36361 fi
36362