OSDN Git Service

2008-03-16 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
[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
463 # Initialize some variables set by options.
464 ac_init_help=
465 ac_init_version=false
466 # The variables have the same names as the options, with
467 # dashes changed to underlines.
468 cache_file=/dev/null
469 exec_prefix=NONE
470 no_create=
471 no_recursion=
472 prefix=NONE
473 program_prefix=NONE
474 program_suffix=NONE
475 program_transform_name=s,x,x,
476 silent=
477 site=
478 srcdir=
479 verbose=
480 x_includes=NONE
481 x_libraries=NONE
482
483 # Installation directory options.
484 # These are left unexpanded so users can "make install exec_prefix=/foo"
485 # and all the variables that are supposed to be based on exec_prefix
486 # by default will actually change.
487 # Use braces instead of parens because sh, perl, etc. also accept them.
488 bindir='${exec_prefix}/bin'
489 sbindir='${exec_prefix}/sbin'
490 libexecdir='${exec_prefix}/libexec'
491 datadir='${prefix}/share'
492 sysconfdir='${prefix}/etc'
493 sharedstatedir='${prefix}/com'
494 localstatedir='${prefix}/var'
495 libdir='${exec_prefix}/lib'
496 includedir='${prefix}/include'
497 oldincludedir='/usr/include'
498 infodir='${prefix}/info'
499 mandir='${prefix}/man'
500
501 ac_prev=
502 for ac_option
503 do
504   # If the previous option needs an argument, assign it.
505   if test -n "$ac_prev"; then
506     eval "$ac_prev=\$ac_option"
507     ac_prev=
508     continue
509   fi
510
511   ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
512
513   # Accept the important Cygnus configure options, so we can diagnose typos.
514
515   case $ac_option in
516
517   -bindir | --bindir | --bindi | --bind | --bin | --bi)
518     ac_prev=bindir ;;
519   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
520     bindir=$ac_optarg ;;
521
522   -build | --build | --buil | --bui | --bu)
523     ac_prev=build_alias ;;
524   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
525     build_alias=$ac_optarg ;;
526
527   -cache-file | --cache-file | --cache-fil | --cache-fi \
528   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
529     ac_prev=cache_file ;;
530   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
531   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
532     cache_file=$ac_optarg ;;
533
534   --config-cache | -C)
535     cache_file=config.cache ;;
536
537   -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
538     ac_prev=datadir ;;
539   -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
540   | --da=*)
541     datadir=$ac_optarg ;;
542
543   -disable-* | --disable-*)
544     ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
545     # Reject names that are not valid shell variable names.
546     expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
547       { echo "$as_me: error: invalid feature name: $ac_feature" >&2
548    { (exit 1); exit 1; }; }
549     ac_feature=`echo $ac_feature | sed 's/-/_/g'`
550     eval "enable_$ac_feature=no" ;;
551
552   -enable-* | --enable-*)
553     ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
554     # Reject names that are not valid shell variable names.
555     expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
556       { echo "$as_me: error: invalid feature name: $ac_feature" >&2
557    { (exit 1); exit 1; }; }
558     ac_feature=`echo $ac_feature | sed 's/-/_/g'`
559     case $ac_option in
560       *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
561       *) ac_optarg=yes ;;
562     esac
563     eval "enable_$ac_feature='$ac_optarg'" ;;
564
565   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
566   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
567   | --exec | --exe | --ex)
568     ac_prev=exec_prefix ;;
569   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
570   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
571   | --exec=* | --exe=* | --ex=*)
572     exec_prefix=$ac_optarg ;;
573
574   -gas | --gas | --ga | --g)
575     # Obsolete; use --with-gas.
576     with_gas=yes ;;
577
578   -help | --help | --hel | --he | -h)
579     ac_init_help=long ;;
580   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
581     ac_init_help=recursive ;;
582   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
583     ac_init_help=short ;;
584
585   -host | --host | --hos | --ho)
586     ac_prev=host_alias ;;
587   -host=* | --host=* | --hos=* | --ho=*)
588     host_alias=$ac_optarg ;;
589
590   -includedir | --includedir | --includedi | --included | --include \
591   | --includ | --inclu | --incl | --inc)
592     ac_prev=includedir ;;
593   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
594   | --includ=* | --inclu=* | --incl=* | --inc=*)
595     includedir=$ac_optarg ;;
596
597   -infodir | --infodir | --infodi | --infod | --info | --inf)
598     ac_prev=infodir ;;
599   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
600     infodir=$ac_optarg ;;
601
602   -libdir | --libdir | --libdi | --libd)
603     ac_prev=libdir ;;
604   -libdir=* | --libdir=* | --libdi=* | --libd=*)
605     libdir=$ac_optarg ;;
606
607   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
608   | --libexe | --libex | --libe)
609     ac_prev=libexecdir ;;
610   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
611   | --libexe=* | --libex=* | --libe=*)
612     libexecdir=$ac_optarg ;;
613
614   -localstatedir | --localstatedir | --localstatedi | --localstated \
615   | --localstate | --localstat | --localsta | --localst \
616   | --locals | --local | --loca | --loc | --lo)
617     ac_prev=localstatedir ;;
618   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
619   | --localstate=* | --localstat=* | --localsta=* | --localst=* \
620   | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
621     localstatedir=$ac_optarg ;;
622
623   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
624     ac_prev=mandir ;;
625   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
626     mandir=$ac_optarg ;;
627
628   -nfp | --nfp | --nf)
629     # Obsolete; use --without-fp.
630     with_fp=no ;;
631
632   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
633   | --no-cr | --no-c | -n)
634     no_create=yes ;;
635
636   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
637   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
638     no_recursion=yes ;;
639
640   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
641   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
642   | --oldin | --oldi | --old | --ol | --o)
643     ac_prev=oldincludedir ;;
644   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
645   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
646   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
647     oldincludedir=$ac_optarg ;;
648
649   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
650     ac_prev=prefix ;;
651   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
652     prefix=$ac_optarg ;;
653
654   -program-prefix | --program-prefix | --program-prefi | --program-pref \
655   | --program-pre | --program-pr | --program-p)
656     ac_prev=program_prefix ;;
657   -program-prefix=* | --program-prefix=* | --program-prefi=* \
658   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
659     program_prefix=$ac_optarg ;;
660
661   -program-suffix | --program-suffix | --program-suffi | --program-suff \
662   | --program-suf | --program-su | --program-s)
663     ac_prev=program_suffix ;;
664   -program-suffix=* | --program-suffix=* | --program-suffi=* \
665   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
666     program_suffix=$ac_optarg ;;
667
668   -program-transform-name | --program-transform-name \
669   | --program-transform-nam | --program-transform-na \
670   | --program-transform-n | --program-transform- \
671   | --program-transform | --program-transfor \
672   | --program-transfo | --program-transf \
673   | --program-trans | --program-tran \
674   | --progr-tra | --program-tr | --program-t)
675     ac_prev=program_transform_name ;;
676   -program-transform-name=* | --program-transform-name=* \
677   | --program-transform-nam=* | --program-transform-na=* \
678   | --program-transform-n=* | --program-transform-=* \
679   | --program-transform=* | --program-transfor=* \
680   | --program-transfo=* | --program-transf=* \
681   | --program-trans=* | --program-tran=* \
682   | --progr-tra=* | --program-tr=* | --program-t=*)
683     program_transform_name=$ac_optarg ;;
684
685   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
686   | -silent | --silent | --silen | --sile | --sil)
687     silent=yes ;;
688
689   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
690     ac_prev=sbindir ;;
691   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
692   | --sbi=* | --sb=*)
693     sbindir=$ac_optarg ;;
694
695   -sharedstatedir | --sharedstatedir | --sharedstatedi \
696   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
697   | --sharedst | --shareds | --shared | --share | --shar \
698   | --sha | --sh)
699     ac_prev=sharedstatedir ;;
700   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
701   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
702   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
703   | --sha=* | --sh=*)
704     sharedstatedir=$ac_optarg ;;
705
706   -site | --site | --sit)
707     ac_prev=site ;;
708   -site=* | --site=* | --sit=*)
709     site=$ac_optarg ;;
710
711   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
712     ac_prev=srcdir ;;
713   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
714     srcdir=$ac_optarg ;;
715
716   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
717   | --syscon | --sysco | --sysc | --sys | --sy)
718     ac_prev=sysconfdir ;;
719   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
720   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
721     sysconfdir=$ac_optarg ;;
722
723   -target | --target | --targe | --targ | --tar | --ta | --t)
724     ac_prev=target_alias ;;
725   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
726     target_alias=$ac_optarg ;;
727
728   -v | -verbose | --verbose | --verbos | --verbo | --verb)
729     verbose=yes ;;
730
731   -version | --version | --versio | --versi | --vers | -V)
732     ac_init_version=: ;;
733
734   -with-* | --with-*)
735     ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
736     # Reject names that are not valid shell variable names.
737     expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
738       { echo "$as_me: error: invalid package name: $ac_package" >&2
739    { (exit 1); exit 1; }; }
740     ac_package=`echo $ac_package| sed 's/-/_/g'`
741     case $ac_option in
742       *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
743       *) ac_optarg=yes ;;
744     esac
745     eval "with_$ac_package='$ac_optarg'" ;;
746
747   -without-* | --without-*)
748     ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
749     # Reject names that are not valid shell variable names.
750     expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
751       { echo "$as_me: error: invalid package name: $ac_package" >&2
752    { (exit 1); exit 1; }; }
753     ac_package=`echo $ac_package | sed 's/-/_/g'`
754     eval "with_$ac_package=no" ;;
755
756   --x)
757     # Obsolete; use --with-x.
758     with_x=yes ;;
759
760   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
761   | --x-incl | --x-inc | --x-in | --x-i)
762     ac_prev=x_includes ;;
763   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
764   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
765     x_includes=$ac_optarg ;;
766
767   -x-libraries | --x-libraries | --x-librarie | --x-librari \
768   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
769     ac_prev=x_libraries ;;
770   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
771   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
772     x_libraries=$ac_optarg ;;
773
774   -*) { echo "$as_me: error: unrecognized option: $ac_option
775 Try \`$0 --help' for more information." >&2
776    { (exit 1); exit 1; }; }
777     ;;
778
779   *=*)
780     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
781     # Reject names that are not valid shell variable names.
782     expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
783       { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
784    { (exit 1); exit 1; }; }
785     ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
786     eval "$ac_envvar='$ac_optarg'"
787     export $ac_envvar ;;
788
789   *)
790     # FIXME: should be removed in autoconf 3.0.
791     echo "$as_me: WARNING: you should use --build, --host, --target" >&2
792     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
793       echo "$as_me: WARNING: invalid host type: $ac_option" >&2
794     : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
795     ;;
796
797   esac
798 done
799
800 if test -n "$ac_prev"; then
801   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
802   { echo "$as_me: error: missing argument to $ac_option" >&2
803    { (exit 1); exit 1; }; }
804 fi
805
806 # Be sure to have absolute paths.
807 for ac_var in exec_prefix prefix
808 do
809   eval ac_val=$`echo $ac_var`
810   case $ac_val in
811     [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
812     *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
813    { (exit 1); exit 1; }; };;
814   esac
815 done
816
817 # Be sure to have absolute paths.
818 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
819               localstatedir libdir includedir oldincludedir infodir mandir
820 do
821   eval ac_val=$`echo $ac_var`
822   case $ac_val in
823     [\\/$]* | ?:[\\/]* ) ;;
824     *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
825    { (exit 1); exit 1; }; };;
826   esac
827 done
828
829 # There might be people who depend on the old broken behavior: `$host'
830 # used to hold the argument of --host etc.
831 # FIXME: To remove some day.
832 build=$build_alias
833 host=$host_alias
834 target=$target_alias
835
836 # FIXME: To remove some day.
837 if test "x$host_alias" != x; then
838   if test "x$build_alias" = x; then
839     cross_compiling=maybe
840     echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
841     If a cross compiler is detected then cross compile mode will be used." >&2
842   elif test "x$build_alias" != "x$host_alias"; then
843     cross_compiling=yes
844   fi
845 fi
846
847 ac_tool_prefix=
848 test -n "$host_alias" && ac_tool_prefix=$host_alias-
849
850 test "$silent" = yes && exec 6>/dev/null
851
852
853 # Find the source files, if location was not specified.
854 if test -z "$srcdir"; then
855   ac_srcdir_defaulted=yes
856   # Try the directory containing this script, then its parent.
857   ac_confdir=`(dirname "$0") 2>/dev/null ||
858 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
859          X"$0" : 'X\(//\)[^/]' \| \
860          X"$0" : 'X\(//\)$' \| \
861          X"$0" : 'X\(/\)' \| \
862          .     : '\(.\)' 2>/dev/null ||
863 echo X"$0" |
864     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
865           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
866           /^X\(\/\/\)$/{ s//\1/; q; }
867           /^X\(\/\).*/{ s//\1/; q; }
868           s/.*/./; q'`
869   srcdir=$ac_confdir
870   if test ! -r $srcdir/$ac_unique_file; then
871     srcdir=..
872   fi
873 else
874   ac_srcdir_defaulted=no
875 fi
876 if test ! -r $srcdir/$ac_unique_file; then
877   if test "$ac_srcdir_defaulted" = yes; then
878     { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
879    { (exit 1); exit 1; }; }
880   else
881     { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
882    { (exit 1); exit 1; }; }
883   fi
884 fi
885 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
886   { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
887    { (exit 1); exit 1; }; }
888 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
889 ac_env_build_alias_set=${build_alias+set}
890 ac_env_build_alias_value=$build_alias
891 ac_cv_env_build_alias_set=${build_alias+set}
892 ac_cv_env_build_alias_value=$build_alias
893 ac_env_host_alias_set=${host_alias+set}
894 ac_env_host_alias_value=$host_alias
895 ac_cv_env_host_alias_set=${host_alias+set}
896 ac_cv_env_host_alias_value=$host_alias
897 ac_env_target_alias_set=${target_alias+set}
898 ac_env_target_alias_value=$target_alias
899 ac_cv_env_target_alias_set=${target_alias+set}
900 ac_cv_env_target_alias_value=$target_alias
901 ac_env_CPP_set=${CPP+set}
902 ac_env_CPP_value=$CPP
903 ac_cv_env_CPP_set=${CPP+set}
904 ac_cv_env_CPP_value=$CPP
905 ac_env_CPPFLAGS_set=${CPPFLAGS+set}
906 ac_env_CPPFLAGS_value=$CPPFLAGS
907 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
908 ac_cv_env_CPPFLAGS_value=$CPPFLAGS
909 ac_env_FC_set=${FC+set}
910 ac_env_FC_value=$FC
911 ac_cv_env_FC_set=${FC+set}
912 ac_cv_env_FC_value=$FC
913 ac_env_FCFLAGS_set=${FCFLAGS+set}
914 ac_env_FCFLAGS_value=$FCFLAGS
915 ac_cv_env_FCFLAGS_set=${FCFLAGS+set}
916 ac_cv_env_FCFLAGS_value=$FCFLAGS
917 ac_env_LDFLAGS_set=${LDFLAGS+set}
918 ac_env_LDFLAGS_value=$LDFLAGS
919 ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
920 ac_cv_env_LDFLAGS_value=$LDFLAGS
921
922 #
923 # Report the --help message.
924 #
925 if test "$ac_init_help" = "long"; then
926   # Omit some internal or obsolete options to make the list less imposing.
927   # This message is too long to be a string in the A/UX 3.1 sh.
928   cat <<_ACEOF
929 \`configure' configures GNU Fortran Runtime Library 0.3 to adapt to many kinds of systems.
930
931 Usage: $0 [OPTION]... [VAR=VALUE]...
932
933 To assign environment variables (e.g., CC, CFLAGS...), specify them as
934 VAR=VALUE.  See below for descriptions of some of the useful variables.
935
936 Defaults for the options are specified in brackets.
937
938 Configuration:
939   -h, --help              display this help and exit
940       --help=short        display options specific to this package
941       --help=recursive    display the short help of all the included packages
942   -V, --version           display version information and exit
943   -q, --quiet, --silent   do not print \`checking...' messages
944       --cache-file=FILE   cache test results in FILE [disabled]
945   -C, --config-cache      alias for \`--cache-file=config.cache'
946   -n, --no-create         do not create output files
947       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
948
949 _ACEOF
950
951   cat <<_ACEOF
952 Installation directories:
953   --prefix=PREFIX         install architecture-independent files in PREFIX
954                           [$ac_default_prefix]
955   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
956                           [PREFIX]
957
958 By default, \`make install' will install all the files in
959 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
960 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
961 for instance \`--prefix=\$HOME'.
962
963 For better control, use the options below.
964
965 Fine tuning of the installation directories:
966   --bindir=DIR           user executables [EPREFIX/bin]
967   --sbindir=DIR          system admin executables [EPREFIX/sbin]
968   --libexecdir=DIR       program executables [EPREFIX/libexec]
969   --datadir=DIR          read-only architecture-independent data [PREFIX/share]
970   --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
971   --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
972   --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
973   --libdir=DIR           object code libraries [EPREFIX/lib]
974   --includedir=DIR       C header files [PREFIX/include]
975   --oldincludedir=DIR    C header files for non-gcc [/usr/include]
976   --infodir=DIR          info documentation [PREFIX/info]
977   --mandir=DIR           man documentation [PREFIX/man]
978 _ACEOF
979
980   cat <<\_ACEOF
981
982 Program names:
983   --program-prefix=PREFIX            prepend PREFIX to installed program names
984   --program-suffix=SUFFIX            append SUFFIX to installed program names
985   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
986
987 System types:
988   --build=BUILD     configure for building on BUILD [guessed]
989   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
990   --target=TARGET   configure for building compilers for TARGET [HOST]
991 _ACEOF
992 fi
993
994 if test -n "$ac_init_help"; then
995   case $ac_init_help in
996      short | recursive ) echo "Configuration of GNU Fortran Runtime Library 0.3:";;
997    esac
998   cat <<\_ACEOF
999
1000 Optional Features:
1001   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1002   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1003   --enable-version-specific-runtime-libs    Specify that runtime libraries should be installed in a compiler-specific directory
1004   --enable-intermodule    build the library in one step
1005   --enable-maintainer-mode  enable make rules and dependencies not useful
1006                           (and sometimes confusing) to the casual installer
1007   --enable-multilib       build many library versions (default)
1008   --disable-dependency-tracking  speeds up one-time build
1009   --enable-dependency-tracking   do not reject slow dependency extractors
1010   --enable-shared[=PKGS]
1011                           build shared libraries [default=yes]
1012   --enable-static[=PKGS]
1013                           build static libraries [default=yes]
1014   --enable-fast-install[=PKGS]
1015                           optimize for fast installation [default=yes]
1016   --disable-libtool-lock  avoid locking (might break parallel builds)
1017   --disable-largefile     omit support for large files
1018
1019 Optional Packages:
1020   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1021   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1022   --with-build-libsubdir=DIR  Directory where to find libraries for build system
1023   --with-pic              try to use only PIC/non-PIC objects [default=use
1024                           both]
1025   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1026
1027 Some influential environment variables:
1028   CC          C compiler command
1029   CFLAGS      C compiler flags
1030   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1031               nonstandard directory <lib dir>
1032   CPPFLAGS    C/C++ preprocessor flags, e.g. -I<include dir> if you have
1033               headers in a nonstandard directory <include dir>
1034   CPP         C preprocessor
1035   FC          Fortran compiler command
1036   FCFLAGS     Fortran compiler flags
1037
1038 Use these variables to override the choices made by `configure' or to help
1039 it to find libraries and programs with nonstandard names/locations.
1040
1041 _ACEOF
1042 fi
1043
1044 if test "$ac_init_help" = "recursive"; then
1045   # If there are subdirs, report their specific --help.
1046   ac_popdir=`pwd`
1047   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1048     test -d $ac_dir || continue
1049     ac_builddir=.
1050
1051 if test "$ac_dir" != .; then
1052   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1053   # A "../" for each directory in $ac_dir_suffix.
1054   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1055 else
1056   ac_dir_suffix= ac_top_builddir=
1057 fi
1058
1059 case $srcdir in
1060   .)  # No --srcdir option.  We are building in place.
1061     ac_srcdir=.
1062     if test -z "$ac_top_builddir"; then
1063        ac_top_srcdir=.
1064     else
1065        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
1066     fi ;;
1067   [\\/]* | ?:[\\/]* )  # Absolute path.
1068     ac_srcdir=$srcdir$ac_dir_suffix;
1069     ac_top_srcdir=$srcdir ;;
1070   *) # Relative path.
1071     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1072     ac_top_srcdir=$ac_top_builddir$srcdir ;;
1073 esac
1074
1075 # Do not use `cd foo && pwd` to compute absolute paths, because
1076 # the directories may not exist.
1077 case `pwd` in
1078 .) ac_abs_builddir="$ac_dir";;
1079 *)
1080   case "$ac_dir" in
1081   .) ac_abs_builddir=`pwd`;;
1082   [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
1083   *) ac_abs_builddir=`pwd`/"$ac_dir";;
1084   esac;;
1085 esac
1086 case $ac_abs_builddir in
1087 .) ac_abs_top_builddir=${ac_top_builddir}.;;
1088 *)
1089   case ${ac_top_builddir}. in
1090   .) ac_abs_top_builddir=$ac_abs_builddir;;
1091   [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
1092   *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
1093   esac;;
1094 esac
1095 case $ac_abs_builddir in
1096 .) ac_abs_srcdir=$ac_srcdir;;
1097 *)
1098   case $ac_srcdir in
1099   .) ac_abs_srcdir=$ac_abs_builddir;;
1100   [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
1101   *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
1102   esac;;
1103 esac
1104 case $ac_abs_builddir in
1105 .) ac_abs_top_srcdir=$ac_top_srcdir;;
1106 *)
1107   case $ac_top_srcdir in
1108   .) ac_abs_top_srcdir=$ac_abs_builddir;;
1109   [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
1110   *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
1111   esac;;
1112 esac
1113
1114     cd $ac_dir
1115     # Check for guested configure; otherwise get Cygnus style configure.
1116     if test -f $ac_srcdir/configure.gnu; then
1117       echo
1118       $SHELL $ac_srcdir/configure.gnu  --help=recursive
1119     elif test -f $ac_srcdir/configure; then
1120       echo
1121       $SHELL $ac_srcdir/configure  --help=recursive
1122     elif test -f $ac_srcdir/configure.ac ||
1123            test -f $ac_srcdir/configure.in; then
1124       echo
1125       $ac_configure --help
1126     else
1127       echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1128     fi
1129     cd $ac_popdir
1130   done
1131 fi
1132
1133 test -n "$ac_init_help" && exit 0
1134 if $ac_init_version; then
1135   cat <<\_ACEOF
1136 GNU Fortran Runtime Library configure 0.3
1137 generated by GNU Autoconf 2.59
1138
1139 Copyright (C) 2003 Free Software Foundation, Inc.
1140 This configure script is free software; the Free Software Foundation
1141 gives unlimited permission to copy, distribute and modify it.
1142 _ACEOF
1143   exit 0
1144 fi
1145 exec 5>config.log
1146 cat >&5 <<_ACEOF
1147 This file contains any messages produced by compilers while
1148 running configure, to aid debugging if configure makes a mistake.
1149
1150 It was created by GNU Fortran Runtime Library $as_me 0.3, which was
1151 generated by GNU Autoconf 2.59.  Invocation command line was
1152
1153   $ $0 $@
1154
1155 _ACEOF
1156 {
1157 cat <<_ASUNAME
1158 ## --------- ##
1159 ## Platform. ##
1160 ## --------- ##
1161
1162 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1163 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1164 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1165 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1166 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1167
1168 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1169 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
1170
1171 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1172 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1173 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1174 hostinfo               = `(hostinfo) 2>/dev/null               || echo unknown`
1175 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1176 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1177 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1178
1179 _ASUNAME
1180
1181 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1182 for as_dir in $PATH
1183 do
1184   IFS=$as_save_IFS
1185   test -z "$as_dir" && as_dir=.
1186   echo "PATH: $as_dir"
1187 done
1188
1189 } >&5
1190
1191 cat >&5 <<_ACEOF
1192
1193
1194 ## ----------- ##
1195 ## Core tests. ##
1196 ## ----------- ##
1197
1198 _ACEOF
1199
1200
1201 # Keep a trace of the command line.
1202 # Strip out --no-create and --no-recursion so they do not pile up.
1203 # Strip out --silent because we don't want to record it for future runs.
1204 # Also quote any args containing shell meta-characters.
1205 # Make two passes to allow for proper duplicate-argument suppression.
1206 ac_configure_args=
1207 ac_configure_args0=
1208 ac_configure_args1=
1209 ac_sep=
1210 ac_must_keep_next=false
1211 for ac_pass in 1 2
1212 do
1213   for ac_arg
1214   do
1215     case $ac_arg in
1216     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1217     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1218     | -silent | --silent | --silen | --sile | --sil)
1219       continue ;;
1220     *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1221       ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1222     esac
1223     case $ac_pass in
1224     1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1225     2)
1226       ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1227       if test $ac_must_keep_next = true; then
1228         ac_must_keep_next=false # Got value, back to normal.
1229       else
1230         case $ac_arg in
1231           *=* | --config-cache | -C | -disable-* | --disable-* \
1232           | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1233           | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1234           | -with-* | --with-* | -without-* | --without-* | --x)
1235             case "$ac_configure_args0 " in
1236               "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1237             esac
1238             ;;
1239           -* ) ac_must_keep_next=true ;;
1240         esac
1241       fi
1242       ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1243       # Get rid of the leading space.
1244       ac_sep=" "
1245       ;;
1246     esac
1247   done
1248 done
1249 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1250 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1251
1252 # When interrupted or exit'd, cleanup temporary files, and complete
1253 # config.log.  We remove comments because anyway the quotes in there
1254 # would cause problems or look ugly.
1255 # WARNING: Be sure not to use single quotes in there, as some shells,
1256 # such as our DU 5.0 friend, will then `close' the trap.
1257 trap 'exit_status=$?
1258   # Save into config.log some information that might help in debugging.
1259   {
1260     echo
1261
1262     cat <<\_ASBOX
1263 ## ---------------- ##
1264 ## Cache variables. ##
1265 ## ---------------- ##
1266 _ASBOX
1267     echo
1268     # The following way of writing the cache mishandles newlines in values,
1269 {
1270   (set) 2>&1 |
1271     case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1272     *ac_space=\ *)
1273       sed -n \
1274         "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1275           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1276       ;;
1277     *)
1278       sed -n \
1279         "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1280       ;;
1281     esac;
1282 }
1283     echo
1284
1285     cat <<\_ASBOX
1286 ## ----------------- ##
1287 ## Output variables. ##
1288 ## ----------------- ##
1289 _ASBOX
1290     echo
1291     for ac_var in $ac_subst_vars
1292     do
1293       eval ac_val=$`echo $ac_var`
1294       echo "$ac_var='"'"'$ac_val'"'"'"
1295     done | sort
1296     echo
1297
1298     if test -n "$ac_subst_files"; then
1299       cat <<\_ASBOX
1300 ## ------------- ##
1301 ## Output files. ##
1302 ## ------------- ##
1303 _ASBOX
1304       echo
1305       for ac_var in $ac_subst_files
1306       do
1307         eval ac_val=$`echo $ac_var`
1308         echo "$ac_var='"'"'$ac_val'"'"'"
1309       done | sort
1310       echo
1311     fi
1312
1313     if test -s confdefs.h; then
1314       cat <<\_ASBOX
1315 ## ----------- ##
1316 ## confdefs.h. ##
1317 ## ----------- ##
1318 _ASBOX
1319       echo
1320       sed "/^$/d" confdefs.h | sort
1321       echo
1322     fi
1323     test "$ac_signal" != 0 &&
1324       echo "$as_me: caught signal $ac_signal"
1325     echo "$as_me: exit $exit_status"
1326   } >&5
1327   rm -f core *.core &&
1328   rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1329     exit $exit_status
1330      ' 0
1331 for ac_signal in 1 2 13 15; do
1332   trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1333 done
1334 ac_signal=0
1335
1336 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1337 rm -rf conftest* confdefs.h
1338 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1339 echo >confdefs.h
1340
1341 # Predefined preprocessor variables.
1342
1343 cat >>confdefs.h <<_ACEOF
1344 #define PACKAGE_NAME "$PACKAGE_NAME"
1345 _ACEOF
1346
1347
1348 cat >>confdefs.h <<_ACEOF
1349 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1350 _ACEOF
1351
1352
1353 cat >>confdefs.h <<_ACEOF
1354 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1355 _ACEOF
1356
1357
1358 cat >>confdefs.h <<_ACEOF
1359 #define PACKAGE_STRING "$PACKAGE_STRING"
1360 _ACEOF
1361
1362
1363 cat >>confdefs.h <<_ACEOF
1364 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1365 _ACEOF
1366
1367
1368 # Let the site file select an alternate cache file if it wants to.
1369 # Prefer explicitly selected file to automatically selected ones.
1370 if test -z "$CONFIG_SITE"; then
1371   if test "x$prefix" != xNONE; then
1372     CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1373   else
1374     CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1375   fi
1376 fi
1377 for ac_site_file in $CONFIG_SITE; do
1378   if test -r "$ac_site_file"; then
1379     { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1380 echo "$as_me: loading site script $ac_site_file" >&6;}
1381     sed 's/^/| /' "$ac_site_file" >&5
1382     . "$ac_site_file"
1383   fi
1384 done
1385
1386 if test -r "$cache_file"; then
1387   # Some versions of bash will fail to source /dev/null (special
1388   # files actually), so we avoid doing that.
1389   if test -f "$cache_file"; then
1390     { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1391 echo "$as_me: loading cache $cache_file" >&6;}
1392     case $cache_file in
1393       [\\/]* | ?:[\\/]* ) . $cache_file;;
1394       *)                      . ./$cache_file;;
1395     esac
1396   fi
1397 else
1398   { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1399 echo "$as_me: creating cache $cache_file" >&6;}
1400   >$cache_file
1401 fi
1402
1403 # Check that the precious variables saved in the cache have kept the same
1404 # value.
1405 ac_cache_corrupted=false
1406 for ac_var in `(set) 2>&1 |
1407                sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1408   eval ac_old_set=\$ac_cv_env_${ac_var}_set
1409   eval ac_new_set=\$ac_env_${ac_var}_set
1410   eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1411   eval ac_new_val="\$ac_env_${ac_var}_value"
1412   case $ac_old_set,$ac_new_set in
1413     set,)
1414       { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1415 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1416       ac_cache_corrupted=: ;;
1417     ,set)
1418       { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1419 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1420       ac_cache_corrupted=: ;;
1421     ,);;
1422     *)
1423       if test "x$ac_old_val" != "x$ac_new_val"; then
1424         { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1425 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1426         { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
1427 echo "$as_me:   former value:  $ac_old_val" >&2;}
1428         { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
1429 echo "$as_me:   current value: $ac_new_val" >&2;}
1430         ac_cache_corrupted=:
1431       fi;;
1432   esac
1433   # Pass precious variables to config.status.
1434   if test "$ac_new_set" = set; then
1435     case $ac_new_val in
1436     *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1437       ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1438     *) ac_arg=$ac_var=$ac_new_val ;;
1439     esac
1440     case " $ac_configure_args " in
1441       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
1442       *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1443     esac
1444   fi
1445 done
1446 if $ac_cache_corrupted; then
1447   { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1448 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1449   { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1450 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1451    { (exit 1); exit 1; }; }
1452 fi
1453
1454 ac_ext=c
1455 ac_cpp='$CPP $CPPFLAGS'
1456 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1457 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1458 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486           ac_config_headers="$ac_config_headers config.h"
1487
1488 ac_aux_dir=
1489 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1490   if test -f $ac_dir/install-sh; then
1491     ac_aux_dir=$ac_dir
1492     ac_install_sh="$ac_aux_dir/install-sh -c"
1493     break
1494   elif test -f $ac_dir/install.sh; then
1495     ac_aux_dir=$ac_dir
1496     ac_install_sh="$ac_aux_dir/install.sh -c"
1497     break
1498   elif test -f $ac_dir/shtool; then
1499     ac_aux_dir=$ac_dir
1500     ac_install_sh="$ac_aux_dir/shtool install -c"
1501     break
1502   fi
1503 done
1504 if test -z "$ac_aux_dir"; then
1505   { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1506 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1507    { (exit 1); exit 1; }; }
1508 fi
1509 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1510 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1511 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1512
1513 # Make sure we can run config.sub.
1514 $ac_config_sub sun4 >/dev/null 2>&1 ||
1515   { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1516 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1517    { (exit 1); exit 1; }; }
1518
1519 echo "$as_me:$LINENO: checking build system type" >&5
1520 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1521 if test "${ac_cv_build+set}" = set; then
1522   echo $ECHO_N "(cached) $ECHO_C" >&6
1523 else
1524   ac_cv_build_alias=$build_alias
1525 test -z "$ac_cv_build_alias" &&
1526   ac_cv_build_alias=`$ac_config_guess`
1527 test -z "$ac_cv_build_alias" &&
1528   { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1529 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1530    { (exit 1); exit 1; }; }
1531 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1532   { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1533 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1534    { (exit 1); exit 1; }; }
1535
1536 fi
1537 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1538 echo "${ECHO_T}$ac_cv_build" >&6
1539 build=$ac_cv_build
1540 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1541 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1542 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1543
1544
1545  case ${build_alias} in
1546   "") build_noncanonical=${build} ;;
1547   *) build_noncanonical=${build_alias} ;;
1548 esac
1549
1550  case ${host_alias} in
1551   "") host_noncanonical=${build_noncanonical} ;;
1552   *) host_noncanonical=${host_alias} ;;
1553 esac
1554
1555  case ${target_alias} in
1556   "") target_noncanonical=${host_noncanonical} ;;
1557   *) target_noncanonical=${target_alias} ;;
1558 esac
1559
1560
1561 # post-stage1 host modules use a different CC_FOR_BUILD so, in order to
1562 # have matching libraries, they should use host libraries: Makefile.tpl
1563 # arranges to pass --with-build-libsubdir=$(HOST_SUBDIR).
1564 # However, they still use the build modules, because the corresponding
1565 # host modules (e.g. bison) are only built for the host when bootstrap
1566 # finishes. So:
1567 # - build_subdir is where we find build modules, and never changes.
1568 # - build_libsubdir is where we find build libraries, and can be overridden.
1569
1570 # Prefix 'build-' so this never conflicts with target_subdir.
1571 build_subdir="build-${build_noncanonical}"
1572
1573 # Check whether --with-build-libsubdir or --without-build-libsubdir was given.
1574 if test "${with_build_libsubdir+set}" = set; then
1575   withval="$with_build_libsubdir"
1576   build_libsubdir="$withval"
1577 else
1578   build_libsubdir="$build_subdir"
1579 fi;
1580 # --srcdir=. covers the toplevel, while "test -d" covers the subdirectories
1581 if ( test $srcdir = . && test -d gcc ) \
1582    || test -d $srcdir/../host-${host_noncanonical}; then
1583   host_subdir="host-${host_noncanonical}"
1584 else
1585   host_subdir=.
1586 fi
1587 # No prefix.
1588 target_subdir=${target_noncanonical}
1589
1590
1591 # -------
1592 # Options
1593 # -------
1594
1595 echo "$as_me:$LINENO: checking for --enable-version-specific-runtime-libs" >&5
1596 echo $ECHO_N "checking for --enable-version-specific-runtime-libs... $ECHO_C" >&6
1597 # Check whether --enable-version-specific-runtime-libs or --disable-version-specific-runtime-libs was given.
1598 if test "${enable_version_specific_runtime_libs+set}" = set; then
1599   enableval="$enable_version_specific_runtime_libs"
1600   case "$enableval" in
1601  yes) version_specific_libs=yes ;;
1602  no)  version_specific_libs=no ;;
1603  *)   { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable version-specific libs" >&5
1604 echo "$as_me: error: Unknown argument to enable/disable version-specific libs" >&2;}
1605    { (exit 1); exit 1; }; };;
1606  esac
1607 else
1608   version_specific_libs=no
1609 fi;
1610 echo "$as_me:$LINENO: result: $version_specific_libs" >&5
1611 echo "${ECHO_T}$version_specific_libs" >&6
1612
1613 # Build with intermodule optimisations
1614 echo "$as_me:$LINENO: checking for --enable-intermodule" >&5
1615 echo $ECHO_N "checking for --enable-intermodule... $ECHO_C" >&6
1616 # Check whether --enable-intermodule or --disable-intermodule was given.
1617 if test "${enable_intermodule+set}" = set; then
1618   enableval="$enable_intermodule"
1619   case "$enable_intermodule" in
1620   yes) onestep="-onestep";;
1621     *) onestep="";;
1622 esac
1623 else
1624   onestep=""
1625 fi;
1626 echo "$as_me:$LINENO: result: $enable_intermodule" >&5
1627 echo "${ECHO_T}$enable_intermodule" >&6
1628
1629
1630 if test x$onestep = x-onestep; then
1631   onestep_TRUE=
1632   onestep_FALSE='#'
1633 else
1634   onestep_TRUE='#'
1635   onestep_FALSE=
1636 fi
1637
1638
1639
1640 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
1641 #
1642 # You will slowly go insane if you do not grok the following fact:  when
1643 # building this library, the top-level /target/ becomes the library's /host/.
1644 #
1645 # configure then causes --target to default to --host, exactly like any
1646 # other package using autoconf.  Therefore, 'target' and 'host' will
1647 # always be the same.  This makes sense both for native and cross compilers
1648 # just think about it for a little while.  :-)
1649 #
1650 # Also, if this library is being configured as part of a cross compiler, the
1651 # top-level configure script will pass the "real" host as $with_cross_host.
1652 #
1653 # Do not delete or change the following two lines.  For why, see
1654 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
1655 echo "$as_me:$LINENO: checking host system type" >&5
1656 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1657 if test "${ac_cv_host+set}" = set; then
1658   echo $ECHO_N "(cached) $ECHO_C" >&6
1659 else
1660   ac_cv_host_alias=$host_alias
1661 test -z "$ac_cv_host_alias" &&
1662   ac_cv_host_alias=$ac_cv_build_alias
1663 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1664   { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1665 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1666    { (exit 1); exit 1; }; }
1667
1668 fi
1669 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1670 echo "${ECHO_T}$ac_cv_host" >&6
1671 host=$ac_cv_host
1672 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1673 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1674 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1675
1676
1677 echo "$as_me:$LINENO: checking target system type" >&5
1678 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1679 if test "${ac_cv_target+set}" = set; then
1680   echo $ECHO_N "(cached) $ECHO_C" >&6
1681 else
1682   ac_cv_target_alias=$target_alias
1683 test "x$ac_cv_target_alias" = "x" &&
1684   ac_cv_target_alias=$ac_cv_host_alias
1685 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1686   { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1687 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1688    { (exit 1); exit 1; }; }
1689
1690 fi
1691 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1692 echo "${ECHO_T}$ac_cv_target" >&6
1693 target=$ac_cv_target
1694 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1695 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1696 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1697
1698
1699 # The aliases save the names the user supplied, while $host etc.
1700 # will get canonicalized.
1701 test -n "$target_alias" &&
1702   test "$program_prefix$program_suffix$program_transform_name" = \
1703     NONENONEs,x,x, &&
1704   program_prefix=${target_alias}-
1705 target_alias=${target_alias-$host_alias}
1706
1707 # Sets up automake.  Must come after AC_CANONICAL_SYSTEM.  Each of the
1708 # following is magically included in AUTOMAKE_OPTIONS in each Makefile.am.
1709 #  1.9.6:  minimum required version
1710 #  no-define:  PACKAGE and VERSION will not be #define'd in config.h (a bunch
1711 #              of other PACKAGE_* variables will, however, and there's nothing
1712 #              we can do about that; they come from AC_INIT).
1713 #  foreign:  we don't follow the normal rules for GNU packages (no COPYING
1714 #            file in the top srcdir, etc, etc), so stop complaining.
1715 #  -Wall:  turns on all automake warnings...
1716 #  -Wno-portability:  ...except this one, since GNU make is required.
1717 am__api_version="1.9"
1718 # Find a good install program.  We prefer a C program (faster),
1719 # so one script is as good as another.  But avoid the broken or
1720 # incompatible versions:
1721 # SysV /etc/install, /usr/sbin/install
1722 # SunOS /usr/etc/install
1723 # IRIX /sbin/install
1724 # AIX /bin/install
1725 # AmigaOS /C/install, which installs bootblocks on floppy discs
1726 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1727 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1728 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1729 # OS/2's system install, which has a completely different semantic
1730 # ./install, which can be erroneously created by make from ./install.sh.
1731 # Reject install programs that cannot install multiple files.
1732 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1733 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1734 if test -z "$INSTALL"; then
1735 if test "${ac_cv_path_install+set}" = set; then
1736   echo $ECHO_N "(cached) $ECHO_C" >&6
1737 else
1738   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1739 for as_dir in $PATH
1740 do
1741   IFS=$as_save_IFS
1742   test -z "$as_dir" && as_dir=.
1743   # Account for people who put trailing slashes in PATH elements.
1744 case $as_dir/ in
1745   ./ | .// | /cC/* | \
1746   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1747   ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1748   /usr/ucb/* ) ;;
1749   *)
1750     # OSF1 and SCO ODT 3.0 have their own names for install.
1751     # Don't use installbsd from OSF since it installs stuff as root
1752     # by default.
1753     for ac_prog in ginstall scoinst install; do
1754       for ac_exec_ext in '' $ac_executable_extensions; do
1755         if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1756           if test $ac_prog = install &&
1757             grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1758             # AIX install.  It has an incompatible calling convention.
1759             :
1760           elif test $ac_prog = install &&
1761             grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1762             # program-specific install script used by HP pwplus--don't use.
1763             :
1764           else
1765             rm -rf conftest.one conftest.two conftest.dir
1766             echo one > conftest.one
1767             echo two > conftest.two
1768             mkdir conftest.dir
1769             if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
1770               test -s conftest.one && test -s conftest.two &&
1771               test -s conftest.dir/conftest.one &&
1772               test -s conftest.dir/conftest.two
1773             then
1774               ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1775               break 3
1776             fi
1777           fi
1778         fi
1779       done
1780     done
1781     ;;
1782 esac
1783 done
1784
1785 rm -rf conftest.one conftest.two conftest.dir
1786
1787 fi
1788   if test "${ac_cv_path_install+set}" = set; then
1789     INSTALL=$ac_cv_path_install
1790   else
1791     # As a last resort, use the slow shell script.  Don't cache a
1792     # value for INSTALL within a source directory, because that will
1793     # break other packages using the cache if that directory is
1794     # removed, or if the value is a relative name.
1795     INSTALL=$ac_install_sh
1796   fi
1797 fi
1798 echo "$as_me:$LINENO: result: $INSTALL" >&5
1799 echo "${ECHO_T}$INSTALL" >&6
1800
1801 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1802 # It thinks the first close brace ends the variable substitution.
1803 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1804
1805 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1806
1807 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1808
1809 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1810 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1811 # Just in case
1812 sleep 1
1813 echo timestamp > conftest.file
1814 # Do `set' in a subshell so we don't clobber the current shell's
1815 # arguments.  Must try -L first in case configure is actually a
1816 # symlink; some systems play weird games with the mod time of symlinks
1817 # (eg FreeBSD returns the mod time of the symlink's containing
1818 # directory).
1819 if (
1820    set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1821    if test "$*" = "X"; then
1822       # -L didn't work.
1823       set X `ls -t $srcdir/configure conftest.file`
1824    fi
1825    rm -f conftest.file
1826    if test "$*" != "X $srcdir/configure conftest.file" \
1827       && test "$*" != "X conftest.file $srcdir/configure"; then
1828
1829       # If neither matched, then we have a broken ls.  This can happen
1830       # if, for instance, CONFIG_SHELL is bash and it inherits a
1831       # broken ls alias from the environment.  This has actually
1832       # happened.  Such a system could not be considered "sane".
1833       { { echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
1834 alias in your environment" >&5
1835 echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
1836 alias in your environment" >&2;}
1837    { (exit 1); exit 1; }; }
1838    fi
1839
1840    test "$2" = conftest.file
1841    )
1842 then
1843    # Ok.
1844    :
1845 else
1846    { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1847 Check your system clock" >&5
1848 echo "$as_me: error: newly created file is older than distributed files!
1849 Check your system clock" >&2;}
1850    { (exit 1); exit 1; }; }
1851 fi
1852 echo "$as_me:$LINENO: result: yes" >&5
1853 echo "${ECHO_T}yes" >&6
1854 test "$program_prefix" != NONE &&
1855   program_transform_name="s,^,$program_prefix,;$program_transform_name"
1856 # Use a double $ so make ignores it.
1857 test "$program_suffix" != NONE &&
1858   program_transform_name="s,\$,$program_suffix,;$program_transform_name"
1859 # Double any \ or $.  echo might interpret backslashes.
1860 # By default was `s,x,x', remove it if useless.
1861 cat <<\_ACEOF >conftest.sed
1862 s/[\\$]/&&/g;s/;s,x,x,$//
1863 _ACEOF
1864 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1865 rm conftest.sed
1866
1867 # expand $ac_aux_dir to an absolute path
1868 am_aux_dir=`cd $ac_aux_dir && pwd`
1869
1870 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1871 # Use eval to expand $SHELL
1872 if eval "$MISSING --run true"; then
1873   am_missing_run="$MISSING --run "
1874 else
1875   am_missing_run=
1876   { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1877 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1878 fi
1879
1880 if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
1881   # We used to keeping the `.' as first argument, in order to
1882   # allow $(mkdir_p) to be used without argument.  As in
1883   #   $(mkdir_p) $(somedir)
1884   # where $(somedir) is conditionally defined.  However this is wrong
1885   # for two reasons:
1886   #  1. if the package is installed by a user who cannot write `.'
1887   #     make install will fail,
1888   #  2. the above comment should most certainly read
1889   #     $(mkdir_p) $(DESTDIR)$(somedir)
1890   #     so it does not work when $(somedir) is undefined and
1891   #     $(DESTDIR) is not.
1892   #  To support the latter case, we have to write
1893   #     test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
1894   #  so the `.' trick is pointless.
1895   mkdir_p='mkdir -p --'
1896 else
1897   # On NextStep and OpenStep, the `mkdir' command does not
1898   # recognize any option.  It will interpret all options as
1899   # directories to create, and then abort because `.' already
1900   # exists.
1901   for d in ./-p ./--version;
1902   do
1903     test -d $d && rmdir $d
1904   done
1905   # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1906   if test -f "$ac_aux_dir/mkinstalldirs"; then
1907     mkdir_p='$(mkinstalldirs)'
1908   else
1909     mkdir_p='$(install_sh) -d'
1910   fi
1911 fi
1912
1913 for ac_prog in gawk mawk nawk awk
1914 do
1915   # Extract the first word of "$ac_prog", so it can be a program name with args.
1916 set dummy $ac_prog; ac_word=$2
1917 echo "$as_me:$LINENO: checking for $ac_word" >&5
1918 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1919 if test "${ac_cv_prog_AWK+set}" = set; then
1920   echo $ECHO_N "(cached) $ECHO_C" >&6
1921 else
1922   if test -n "$AWK"; then
1923   ac_cv_prog_AWK="$AWK" # Let the user override the test.
1924 else
1925 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1926 for as_dir in $PATH
1927 do
1928   IFS=$as_save_IFS
1929   test -z "$as_dir" && as_dir=.
1930   for ac_exec_ext in '' $ac_executable_extensions; do
1931   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1932     ac_cv_prog_AWK="$ac_prog"
1933     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1934     break 2
1935   fi
1936 done
1937 done
1938
1939 fi
1940 fi
1941 AWK=$ac_cv_prog_AWK
1942 if test -n "$AWK"; then
1943   echo "$as_me:$LINENO: result: $AWK" >&5
1944 echo "${ECHO_T}$AWK" >&6
1945 else
1946   echo "$as_me:$LINENO: result: no" >&5
1947 echo "${ECHO_T}no" >&6
1948 fi
1949
1950   test -n "$AWK" && break
1951 done
1952
1953 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1954 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1955 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
1956 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1957   echo $ECHO_N "(cached) $ECHO_C" >&6
1958 else
1959   cat >conftest.make <<\_ACEOF
1960 all:
1961         @echo 'ac_maketemp="$(MAKE)"'
1962 _ACEOF
1963 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1964 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1965 if test -n "$ac_maketemp"; then
1966   eval ac_cv_prog_make_${ac_make}_set=yes
1967 else
1968   eval ac_cv_prog_make_${ac_make}_set=no
1969 fi
1970 rm -f conftest.make
1971 fi
1972 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1973   echo "$as_me:$LINENO: result: yes" >&5
1974 echo "${ECHO_T}yes" >&6
1975   SET_MAKE=
1976 else
1977   echo "$as_me:$LINENO: result: no" >&5
1978 echo "${ECHO_T}no" >&6
1979   SET_MAKE="MAKE=${MAKE-make}"
1980 fi
1981
1982 rm -rf .tst 2>/dev/null
1983 mkdir .tst 2>/dev/null
1984 if test -d .tst; then
1985   am__leading_dot=.
1986 else
1987   am__leading_dot=_
1988 fi
1989 rmdir .tst 2>/dev/null
1990
1991 # test to see if srcdir already configured
1992 if test "`cd $srcdir && pwd`" != "`pwd`" &&
1993    test -f $srcdir/config.status; then
1994   { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1995 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1996    { (exit 1); exit 1; }; }
1997 fi
1998
1999 # test whether we have cygpath
2000 if test -z "$CYGPATH_W"; then
2001   if (cygpath --version) >/dev/null 2>/dev/null; then
2002     CYGPATH_W='cygpath -w'
2003   else
2004     CYGPATH_W=echo
2005   fi
2006 fi
2007
2008
2009 # Define the identity of the package.
2010  PACKAGE='libgfortran'
2011  VERSION='0.3'
2012
2013
2014 # Some tools Automake needs.
2015
2016 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2017
2018
2019 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2020
2021
2022 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2023
2024
2025 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2026
2027
2028 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2029
2030 install_sh=${install_sh-"$am_aux_dir/install-sh"}
2031
2032 # Installed binaries are usually stripped using `strip' when the user
2033 # run `make install-strip'.  However `strip' might not be the right
2034 # tool to use in cross-compilation environments, therefore Automake
2035 # will honor the `STRIP' environment variable to overrule this program.
2036 if test "$cross_compiling" != no; then
2037   if test -n "$ac_tool_prefix"; then
2038   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2039 set dummy ${ac_tool_prefix}strip; ac_word=$2
2040 echo "$as_me:$LINENO: checking for $ac_word" >&5
2041 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2042 if test "${ac_cv_prog_STRIP+set}" = set; then
2043   echo $ECHO_N "(cached) $ECHO_C" >&6
2044 else
2045   if test -n "$STRIP"; then
2046   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2047 else
2048 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2049 for as_dir in $PATH
2050 do
2051   IFS=$as_save_IFS
2052   test -z "$as_dir" && as_dir=.
2053   for ac_exec_ext in '' $ac_executable_extensions; do
2054   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2055     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2056     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2057     break 2
2058   fi
2059 done
2060 done
2061
2062 fi
2063 fi
2064 STRIP=$ac_cv_prog_STRIP
2065 if test -n "$STRIP"; then
2066   echo "$as_me:$LINENO: result: $STRIP" >&5
2067 echo "${ECHO_T}$STRIP" >&6
2068 else
2069   echo "$as_me:$LINENO: result: no" >&5
2070 echo "${ECHO_T}no" >&6
2071 fi
2072
2073 fi
2074 if test -z "$ac_cv_prog_STRIP"; then
2075   ac_ct_STRIP=$STRIP
2076   # Extract the first word of "strip", so it can be a program name with args.
2077 set dummy strip; ac_word=$2
2078 echo "$as_me:$LINENO: checking for $ac_word" >&5
2079 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2080 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2081   echo $ECHO_N "(cached) $ECHO_C" >&6
2082 else
2083   if test -n "$ac_ct_STRIP"; then
2084   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2085 else
2086 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2087 for as_dir in $PATH
2088 do
2089   IFS=$as_save_IFS
2090   test -z "$as_dir" && as_dir=.
2091   for ac_exec_ext in '' $ac_executable_extensions; do
2092   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2093     ac_cv_prog_ac_ct_STRIP="strip"
2094     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2095     break 2
2096   fi
2097 done
2098 done
2099
2100   test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
2101 fi
2102 fi
2103 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2104 if test -n "$ac_ct_STRIP"; then
2105   echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2106 echo "${ECHO_T}$ac_ct_STRIP" >&6
2107 else
2108   echo "$as_me:$LINENO: result: no" >&5
2109 echo "${ECHO_T}no" >&6
2110 fi
2111
2112   STRIP=$ac_ct_STRIP
2113 else
2114   STRIP="$ac_cv_prog_STRIP"
2115 fi
2116
2117 fi
2118 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
2119
2120 # We need awk for the "check" target.  The system "awk" is bad on
2121 # some platforms.
2122 # Always define AMTAR for backward compatibility.
2123
2124 AMTAR=${AMTAR-"${am_missing_run}tar"}
2125
2126 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2127
2128
2129
2130
2131
2132
2133 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
2134 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
2135     # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
2136 if test "${enable_maintainer_mode+set}" = set; then
2137   enableval="$enable_maintainer_mode"
2138   USE_MAINTAINER_MODE=$enableval
2139 else
2140   USE_MAINTAINER_MODE=no
2141 fi;
2142   echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
2143 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
2144
2145
2146 if test $USE_MAINTAINER_MODE = yes; then
2147   MAINTAINER_MODE_TRUE=
2148   MAINTAINER_MODE_FALSE='#'
2149 else
2150   MAINTAINER_MODE_TRUE='#'
2151   MAINTAINER_MODE_FALSE=
2152 fi
2153
2154   MAINT=$MAINTAINER_MODE_TRUE
2155
2156
2157 # Default to --enable-multilib
2158 # Check whether --enable-multilib or --disable-multilib was given.
2159 if test "${enable_multilib+set}" = set; then
2160   enableval="$enable_multilib"
2161   case "$enableval" in
2162   yes) multilib=yes ;;
2163   no)  multilib=no ;;
2164   *)   { { echo "$as_me:$LINENO: error: bad value $enableval for multilib option" >&5
2165 echo "$as_me: error: bad value $enableval for multilib option" >&2;}
2166    { (exit 1); exit 1; }; } ;;
2167  esac
2168 else
2169   multilib=yes
2170 fi;
2171
2172 # We may get other options which we leave undocumented:
2173 # --with-target-subdir, --with-multisrctop, --with-multisubdir
2174 # See config-ml.in if you want the gory details.
2175
2176 if test "$srcdir" = "."; then
2177   if test "$with_target_subdir" != "."; then
2178     multi_basedir="$srcdir/$with_multisrctop../.."
2179   else
2180     multi_basedir="$srcdir/$with_multisrctop.."
2181   fi
2182 else
2183   multi_basedir="$srcdir/.."
2184 fi
2185
2186
2187 # Even if the default multilib is not a cross compilation,
2188 # it may be that some of the other multilibs are.
2189 if test $cross_compiling = no && test $multilib = yes \
2190    && test "x${with_multisubdir}" != x ; then
2191    cross_compiling=maybe
2192 fi
2193
2194           ac_config_commands="$ac_config_commands default-1"
2195
2196
2197 # Handy for debugging:
2198 #AC_MSG_NOTICE($build / $host / $target / $host_alias / $target_alias); sleep 5
2199
2200 # Are we being configured with some form of cross compiler?
2201 # NB: We don't actually need to know this just now, but when, say, a test
2202 #     suite is included, we'll have to know.
2203 if test "$build" != "$host"; then
2204   LIBGFOR_IS_NATIVE=false
2205
2206 else
2207   LIBGFOR_IS_NATIVE=true
2208 fi
2209
2210 # Calculate toolexeclibdir
2211 # Also toolexecdir, though it's only used in toolexeclibdir
2212 case ${version_specific_libs} in
2213   yes)
2214     # Need the gcc compiler version to know where to install libraries
2215     # and header files if --enable-version-specific-runtime-libs option
2216     # is selected.
2217     toolexecdir='$(libdir)/gcc/$(target_alias)'
2218     toolexeclibdir='$(toolexecdir)/$(gcc_version)$(MULTISUBDIR)'
2219     ;;
2220   no)
2221     if test -n "$with_cross_host" &&
2222        test x"$with_cross_host" != x"no"; then
2223       # Install a library built with a cross compiler in tooldir, not libdir.
2224       toolexecdir='$(exec_prefix)/$(target_alias)'
2225       toolexeclibdir='$(toolexecdir)/lib'
2226     else
2227       toolexecdir='$(libdir)/gcc-lib/$(target_alias)'
2228       toolexeclibdir='$(libdir)'
2229     fi
2230     multi_os_directory=`$CC -print-multi-os-directory`
2231     case $multi_os_directory in
2232       .) ;; # Avoid trailing /.
2233       *) toolexeclibdir=$toolexeclibdir/$multi_os_directory ;;
2234     esac
2235     ;;
2236 esac
2237
2238
2239
2240 # Check the compiler.
2241 # The same as in boehm-gc and libstdc++. Have to borrow it from there.
2242 # We must force CC to /not/ be precious variables; otherwise
2243 # the wrong, non-multilib-adjusted value will be used in multilibs.
2244 # As a side effect, we have to subst CFLAGS ourselves.
2245
2246
2247
2248 ac_ext=c
2249 ac_cpp='$CPP $CPPFLAGS'
2250 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2251 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2252 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2253 if test -n "$ac_tool_prefix"; then
2254   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2255 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2256 echo "$as_me:$LINENO: checking for $ac_word" >&5
2257 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2258 if test "${ac_cv_prog_CC+set}" = set; then
2259   echo $ECHO_N "(cached) $ECHO_C" >&6
2260 else
2261   if test -n "$CC"; then
2262   ac_cv_prog_CC="$CC" # Let the user override the test.
2263 else
2264 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2265 for as_dir in $PATH
2266 do
2267   IFS=$as_save_IFS
2268   test -z "$as_dir" && as_dir=.
2269   for ac_exec_ext in '' $ac_executable_extensions; do
2270   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2271     ac_cv_prog_CC="${ac_tool_prefix}gcc"
2272     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2273     break 2
2274   fi
2275 done
2276 done
2277
2278 fi
2279 fi
2280 CC=$ac_cv_prog_CC
2281 if test -n "$CC"; then
2282   echo "$as_me:$LINENO: result: $CC" >&5
2283 echo "${ECHO_T}$CC" >&6
2284 else
2285   echo "$as_me:$LINENO: result: no" >&5
2286 echo "${ECHO_T}no" >&6
2287 fi
2288
2289 fi
2290 if test -z "$ac_cv_prog_CC"; then
2291   ac_ct_CC=$CC
2292   # Extract the first word of "gcc", so it can be a program name with args.
2293 set dummy gcc; ac_word=$2
2294 echo "$as_me:$LINENO: checking for $ac_word" >&5
2295 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2296 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2297   echo $ECHO_N "(cached) $ECHO_C" >&6
2298 else
2299   if test -n "$ac_ct_CC"; then
2300   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2301 else
2302 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2303 for as_dir in $PATH
2304 do
2305   IFS=$as_save_IFS
2306   test -z "$as_dir" && as_dir=.
2307   for ac_exec_ext in '' $ac_executable_extensions; do
2308   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2309     ac_cv_prog_ac_ct_CC="gcc"
2310     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2311     break 2
2312   fi
2313 done
2314 done
2315
2316 fi
2317 fi
2318 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2319 if test -n "$ac_ct_CC"; then
2320   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2321 echo "${ECHO_T}$ac_ct_CC" >&6
2322 else
2323   echo "$as_me:$LINENO: result: no" >&5
2324 echo "${ECHO_T}no" >&6
2325 fi
2326
2327   CC=$ac_ct_CC
2328 else
2329   CC="$ac_cv_prog_CC"
2330 fi
2331
2332 if test -z "$CC"; then
2333   if test -n "$ac_tool_prefix"; then
2334   # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2335 set dummy ${ac_tool_prefix}cc; ac_word=$2
2336 echo "$as_me:$LINENO: checking for $ac_word" >&5
2337 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2338 if test "${ac_cv_prog_CC+set}" = set; then
2339   echo $ECHO_N "(cached) $ECHO_C" >&6
2340 else
2341   if test -n "$CC"; then
2342   ac_cv_prog_CC="$CC" # Let the user override the test.
2343 else
2344 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2345 for as_dir in $PATH
2346 do
2347   IFS=$as_save_IFS
2348   test -z "$as_dir" && as_dir=.
2349   for ac_exec_ext in '' $ac_executable_extensions; do
2350   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2351     ac_cv_prog_CC="${ac_tool_prefix}cc"
2352     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2353     break 2
2354   fi
2355 done
2356 done
2357
2358 fi
2359 fi
2360 CC=$ac_cv_prog_CC
2361 if test -n "$CC"; then
2362   echo "$as_me:$LINENO: result: $CC" >&5
2363 echo "${ECHO_T}$CC" >&6
2364 else
2365   echo "$as_me:$LINENO: result: no" >&5
2366 echo "${ECHO_T}no" >&6
2367 fi
2368
2369 fi
2370 if test -z "$ac_cv_prog_CC"; then
2371   ac_ct_CC=$CC
2372   # Extract the first word of "cc", so it can be a program name with args.
2373 set dummy cc; ac_word=$2
2374 echo "$as_me:$LINENO: checking for $ac_word" >&5
2375 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2376 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2377   echo $ECHO_N "(cached) $ECHO_C" >&6
2378 else
2379   if test -n "$ac_ct_CC"; then
2380   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2381 else
2382 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2383 for as_dir in $PATH
2384 do
2385   IFS=$as_save_IFS
2386   test -z "$as_dir" && as_dir=.
2387   for ac_exec_ext in '' $ac_executable_extensions; do
2388   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2389     ac_cv_prog_ac_ct_CC="cc"
2390     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2391     break 2
2392   fi
2393 done
2394 done
2395
2396 fi
2397 fi
2398 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2399 if test -n "$ac_ct_CC"; then
2400   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2401 echo "${ECHO_T}$ac_ct_CC" >&6
2402 else
2403   echo "$as_me:$LINENO: result: no" >&5
2404 echo "${ECHO_T}no" >&6
2405 fi
2406
2407   CC=$ac_ct_CC
2408 else
2409   CC="$ac_cv_prog_CC"
2410 fi
2411
2412 fi
2413 if test -z "$CC"; then
2414   # Extract the first word of "cc", so it can be a program name with args.
2415 set dummy cc; ac_word=$2
2416 echo "$as_me:$LINENO: checking for $ac_word" >&5
2417 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2418 if test "${ac_cv_prog_CC+set}" = set; then
2419   echo $ECHO_N "(cached) $ECHO_C" >&6
2420 else
2421   if test -n "$CC"; then
2422   ac_cv_prog_CC="$CC" # Let the user override the test.
2423 else
2424   ac_prog_rejected=no
2425 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2426 for as_dir in $PATH
2427 do
2428   IFS=$as_save_IFS
2429   test -z "$as_dir" && as_dir=.
2430   for ac_exec_ext in '' $ac_executable_extensions; do
2431   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2432     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2433        ac_prog_rejected=yes
2434        continue
2435      fi
2436     ac_cv_prog_CC="cc"
2437     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2438     break 2
2439   fi
2440 done
2441 done
2442
2443 if test $ac_prog_rejected = yes; then
2444   # We found a bogon in the path, so make sure we never use it.
2445   set dummy $ac_cv_prog_CC
2446   shift
2447   if test $# != 0; then
2448     # We chose a different compiler from the bogus one.
2449     # However, it has the same basename, so the bogon will be chosen
2450     # first if we set CC to just the basename; use the full file name.
2451     shift
2452     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2453   fi
2454 fi
2455 fi
2456 fi
2457 CC=$ac_cv_prog_CC
2458 if test -n "$CC"; then
2459   echo "$as_me:$LINENO: result: $CC" >&5
2460 echo "${ECHO_T}$CC" >&6
2461 else
2462   echo "$as_me:$LINENO: result: no" >&5
2463 echo "${ECHO_T}no" >&6
2464 fi
2465
2466 fi
2467 if test -z "$CC"; then
2468   if test -n "$ac_tool_prefix"; then
2469   for ac_prog in cl
2470   do
2471     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2472 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2473 echo "$as_me:$LINENO: checking for $ac_word" >&5
2474 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2475 if test "${ac_cv_prog_CC+set}" = set; then
2476   echo $ECHO_N "(cached) $ECHO_C" >&6
2477 else
2478   if test -n "$CC"; then
2479   ac_cv_prog_CC="$CC" # Let the user override the test.
2480 else
2481 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2482 for as_dir in $PATH
2483 do
2484   IFS=$as_save_IFS
2485   test -z "$as_dir" && as_dir=.
2486   for ac_exec_ext in '' $ac_executable_extensions; do
2487   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2488     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2489     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2490     break 2
2491   fi
2492 done
2493 done
2494
2495 fi
2496 fi
2497 CC=$ac_cv_prog_CC
2498 if test -n "$CC"; then
2499   echo "$as_me:$LINENO: result: $CC" >&5
2500 echo "${ECHO_T}$CC" >&6
2501 else
2502   echo "$as_me:$LINENO: result: no" >&5
2503 echo "${ECHO_T}no" >&6
2504 fi
2505
2506     test -n "$CC" && break
2507   done
2508 fi
2509 if test -z "$CC"; then
2510   ac_ct_CC=$CC
2511   for ac_prog in cl
2512 do
2513   # Extract the first word of "$ac_prog", so it can be a program name with args.
2514 set dummy $ac_prog; ac_word=$2
2515 echo "$as_me:$LINENO: checking for $ac_word" >&5
2516 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2517 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2518   echo $ECHO_N "(cached) $ECHO_C" >&6
2519 else
2520   if test -n "$ac_ct_CC"; then
2521   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2522 else
2523 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2524 for as_dir in $PATH
2525 do
2526   IFS=$as_save_IFS
2527   test -z "$as_dir" && as_dir=.
2528   for ac_exec_ext in '' $ac_executable_extensions; do
2529   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2530     ac_cv_prog_ac_ct_CC="$ac_prog"
2531     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2532     break 2
2533   fi
2534 done
2535 done
2536
2537 fi
2538 fi
2539 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2540 if test -n "$ac_ct_CC"; then
2541   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2542 echo "${ECHO_T}$ac_ct_CC" >&6
2543 else
2544   echo "$as_me:$LINENO: result: no" >&5
2545 echo "${ECHO_T}no" >&6
2546 fi
2547
2548   test -n "$ac_ct_CC" && break
2549 done
2550
2551   CC=$ac_ct_CC
2552 fi
2553
2554 fi
2555
2556
2557 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2558 See \`config.log' for more details." >&5
2559 echo "$as_me: error: no acceptable C compiler found in \$PATH
2560 See \`config.log' for more details." >&2;}
2561    { (exit 1); exit 1; }; }
2562
2563 # Provide some information about the compiler.
2564 echo "$as_me:$LINENO:" \
2565      "checking for C compiler version" >&5
2566 ac_compiler=`set X $ac_compile; echo $2`
2567 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2568   (eval $ac_compiler --version </dev/null >&5) 2>&5
2569   ac_status=$?
2570   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2571   (exit $ac_status); }
2572 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2573   (eval $ac_compiler -v </dev/null >&5) 2>&5
2574   ac_status=$?
2575   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2576   (exit $ac_status); }
2577 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2578   (eval $ac_compiler -V </dev/null >&5) 2>&5
2579   ac_status=$?
2580   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2581   (exit $ac_status); }
2582
2583 cat >conftest.$ac_ext <<_ACEOF
2584 /* confdefs.h.  */
2585 _ACEOF
2586 cat confdefs.h >>conftest.$ac_ext
2587 cat >>conftest.$ac_ext <<_ACEOF
2588 /* end confdefs.h.  */
2589
2590 int
2591 main ()
2592 {
2593
2594   ;
2595   return 0;
2596 }
2597 _ACEOF
2598 # FIXME: Cleanup?
2599 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2600   (eval $ac_link) 2>&5
2601   ac_status=$?
2602   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2603   (exit $ac_status); }; then
2604   gcc_no_link=no
2605 else
2606   gcc_no_link=yes
2607 fi
2608
2609 if test x$gcc_no_link = xyes; then
2610   # Setting cross_compile will disable run tests; it will
2611   # also disable AC_CHECK_FILE but that's generally
2612   # correct if we can't link.
2613   cross_compiling=yes
2614   EXEEXT=
2615 else
2616   cat >conftest.$ac_ext <<_ACEOF
2617 /* confdefs.h.  */
2618 _ACEOF
2619 cat confdefs.h >>conftest.$ac_ext
2620 cat >>conftest.$ac_ext <<_ACEOF
2621 /* end confdefs.h.  */
2622
2623 int
2624 main ()
2625 {
2626
2627   ;
2628   return 0;
2629 }
2630 _ACEOF
2631 ac_clean_files_save=$ac_clean_files
2632 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2633 # Try to create an executable without -o first, disregard a.out.
2634 # It will help us diagnose broken compilers, and finding out an intuition
2635 # of exeext.
2636 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2637 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2638 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2639 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2640   (eval $ac_link_default) 2>&5
2641   ac_status=$?
2642   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2643   (exit $ac_status); }; then
2644   # Find the output, starting from the most likely.  This scheme is
2645 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2646 # resort.
2647
2648 # Be careful to initialize this variable, since it used to be cached.
2649 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2650 ac_cv_exeext=
2651 # b.out is created by i960 compilers.
2652 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
2653 do
2654   test -f "$ac_file" || continue
2655   case $ac_file in
2656     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2657         ;;
2658     conftest.$ac_ext )
2659         # This is the source file.
2660         ;;
2661     [ab].out )
2662         # We found the default executable, but exeext='' is most
2663         # certainly right.
2664         break;;
2665     *.* )
2666         ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2667         # FIXME: I believe we export ac_cv_exeext for Libtool,
2668         # but it would be cool to find out if it's true.  Does anybody
2669         # maintain Libtool? --akim.
2670         export ac_cv_exeext
2671         break;;
2672     * )
2673         break;;
2674   esac
2675 done
2676 else
2677   echo "$as_me: failed program was:" >&5
2678 sed 's/^/| /' conftest.$ac_ext >&5
2679
2680 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2681 See \`config.log' for more details." >&5
2682 echo "$as_me: error: C compiler cannot create executables
2683 See \`config.log' for more details." >&2;}
2684    { (exit 77); exit 77; }; }
2685 fi
2686
2687 ac_exeext=$ac_cv_exeext
2688 echo "$as_me:$LINENO: result: $ac_file" >&5
2689 echo "${ECHO_T}$ac_file" >&6
2690
2691 # Check the compiler produces executables we can run.  If not, either
2692 # the compiler is broken, or we cross compile.
2693 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2694 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2695 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2696 # If not cross compiling, check that we can run a simple program.
2697 if test "$cross_compiling" != yes; then
2698   if { ac_try='./$ac_file'
2699   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2700   (eval $ac_try) 2>&5
2701   ac_status=$?
2702   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2703   (exit $ac_status); }; }; then
2704     cross_compiling=no
2705   else
2706     if test "$cross_compiling" = maybe; then
2707         cross_compiling=yes
2708     else
2709         { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2710 If you meant to cross compile, use \`--host'.
2711 See \`config.log' for more details." >&5
2712 echo "$as_me: error: cannot run C compiled programs.
2713 If you meant to cross compile, use \`--host'.
2714 See \`config.log' for more details." >&2;}
2715    { (exit 1); exit 1; }; }
2716     fi
2717   fi
2718 fi
2719 echo "$as_me:$LINENO: result: yes" >&5
2720 echo "${ECHO_T}yes" >&6
2721
2722 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2723 ac_clean_files=$ac_clean_files_save
2724 # Check the compiler produces executables we can run.  If not, either
2725 # the compiler is broken, or we cross compile.
2726 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2727 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2728 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2729 echo "${ECHO_T}$cross_compiling" >&6
2730
2731 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2732 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2733 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2734   (eval $ac_link) 2>&5
2735   ac_status=$?
2736   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2737   (exit $ac_status); }; then
2738   # If both `conftest.exe' and `conftest' are `present' (well, observable)
2739 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
2740 # work properly (i.e., refer to `conftest.exe'), while it won't with
2741 # `rm'.
2742 for ac_file in conftest.exe conftest conftest.*; do
2743   test -f "$ac_file" || continue
2744   case $ac_file in
2745     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
2746     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2747           export ac_cv_exeext
2748           break;;
2749     * ) break;;
2750   esac
2751 done
2752 else
2753   { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2754 See \`config.log' for more details." >&5
2755 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2756 See \`config.log' for more details." >&2;}
2757    { (exit 1); exit 1; }; }
2758 fi
2759
2760 rm -f conftest$ac_cv_exeext
2761 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2762 echo "${ECHO_T}$ac_cv_exeext" >&6
2763
2764 rm -f conftest.$ac_ext
2765 EXEEXT=$ac_cv_exeext
2766 ac_exeext=$EXEEXT
2767 fi
2768 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2769 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2770 if test "${ac_cv_objext+set}" = set; then
2771   echo $ECHO_N "(cached) $ECHO_C" >&6
2772 else
2773   cat >conftest.$ac_ext <<_ACEOF
2774 /* confdefs.h.  */
2775 _ACEOF
2776 cat confdefs.h >>conftest.$ac_ext
2777 cat >>conftest.$ac_ext <<_ACEOF
2778 /* end confdefs.h.  */
2779
2780 int
2781 main ()
2782 {
2783
2784   ;
2785   return 0;
2786 }
2787 _ACEOF
2788 rm -f conftest.o conftest.obj
2789 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2790   (eval $ac_compile) 2>&5
2791   ac_status=$?
2792   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2793   (exit $ac_status); }; then
2794   for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2795   case $ac_file in
2796     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
2797     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2798        break;;
2799   esac
2800 done
2801 else
2802   echo "$as_me: failed program was:" >&5
2803 sed 's/^/| /' conftest.$ac_ext >&5
2804
2805 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2806 See \`config.log' for more details." >&5
2807 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2808 See \`config.log' for more details." >&2;}
2809    { (exit 1); exit 1; }; }
2810 fi
2811
2812 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2813 fi
2814 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2815 echo "${ECHO_T}$ac_cv_objext" >&6
2816 OBJEXT=$ac_cv_objext
2817 ac_objext=$OBJEXT
2818 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2819 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2820 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2821   echo $ECHO_N "(cached) $ECHO_C" >&6
2822 else
2823   cat >conftest.$ac_ext <<_ACEOF
2824 /* confdefs.h.  */
2825 _ACEOF
2826 cat confdefs.h >>conftest.$ac_ext
2827 cat >>conftest.$ac_ext <<_ACEOF
2828 /* end confdefs.h.  */
2829
2830 int
2831 main ()
2832 {
2833 #ifndef __GNUC__
2834        choke me
2835 #endif
2836
2837   ;
2838   return 0;
2839 }
2840 _ACEOF
2841 rm -f conftest.$ac_objext
2842 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2843   (eval $ac_compile) 2>conftest.er1
2844   ac_status=$?
2845   grep -v '^ *+' conftest.er1 >conftest.err
2846   rm -f conftest.er1
2847   cat conftest.err >&5
2848   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2849   (exit $ac_status); } &&
2850          { ac_try='test -z "$ac_c_werror_flag"
2851                          || test ! -s conftest.err'
2852   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2853   (eval $ac_try) 2>&5
2854   ac_status=$?
2855   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2856   (exit $ac_status); }; } &&
2857          { ac_try='test -s conftest.$ac_objext'
2858   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2859   (eval $ac_try) 2>&5
2860   ac_status=$?
2861   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2862   (exit $ac_status); }; }; then
2863   ac_compiler_gnu=yes
2864 else
2865   echo "$as_me: failed program was:" >&5
2866 sed 's/^/| /' conftest.$ac_ext >&5
2867
2868 ac_compiler_gnu=no
2869 fi
2870 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2871 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2872
2873 fi
2874 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2875 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2876 GCC=`test $ac_compiler_gnu = yes && echo yes`
2877 ac_test_CFLAGS=${CFLAGS+set}
2878 ac_save_CFLAGS=$CFLAGS
2879 CFLAGS="-g"
2880 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2881 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2882 if test "${ac_cv_prog_cc_g+set}" = set; then
2883   echo $ECHO_N "(cached) $ECHO_C" >&6
2884 else
2885   cat >conftest.$ac_ext <<_ACEOF
2886 /* confdefs.h.  */
2887 _ACEOF
2888 cat confdefs.h >>conftest.$ac_ext
2889 cat >>conftest.$ac_ext <<_ACEOF
2890 /* end confdefs.h.  */
2891
2892 int
2893 main ()
2894 {
2895
2896   ;
2897   return 0;
2898 }
2899 _ACEOF
2900 rm -f conftest.$ac_objext
2901 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2902   (eval $ac_compile) 2>conftest.er1
2903   ac_status=$?
2904   grep -v '^ *+' conftest.er1 >conftest.err
2905   rm -f conftest.er1
2906   cat conftest.err >&5
2907   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2908   (exit $ac_status); } &&
2909          { ac_try='test -z "$ac_c_werror_flag"
2910                          || test ! -s conftest.err'
2911   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2912   (eval $ac_try) 2>&5
2913   ac_status=$?
2914   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2915   (exit $ac_status); }; } &&
2916          { ac_try='test -s conftest.$ac_objext'
2917   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2918   (eval $ac_try) 2>&5
2919   ac_status=$?
2920   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2921   (exit $ac_status); }; }; then
2922   ac_cv_prog_cc_g=yes
2923 else
2924   echo "$as_me: failed program was:" >&5
2925 sed 's/^/| /' conftest.$ac_ext >&5
2926
2927 ac_cv_prog_cc_g=no
2928 fi
2929 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2930 fi
2931 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2932 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2933 if test "$ac_test_CFLAGS" = set; then
2934   CFLAGS=$ac_save_CFLAGS
2935 elif test $ac_cv_prog_cc_g = yes; then
2936   if test "$GCC" = yes; then
2937     CFLAGS="-g -O2"
2938   else
2939     CFLAGS="-g"
2940   fi
2941 else
2942   if test "$GCC" = yes; then
2943     CFLAGS="-O2"
2944   else
2945     CFLAGS=
2946   fi
2947 fi
2948 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2949 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2950 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2951   echo $ECHO_N "(cached) $ECHO_C" >&6
2952 else
2953   ac_cv_prog_cc_stdc=no
2954 ac_save_CC=$CC
2955 cat >conftest.$ac_ext <<_ACEOF
2956 /* confdefs.h.  */
2957 _ACEOF
2958 cat confdefs.h >>conftest.$ac_ext
2959 cat >>conftest.$ac_ext <<_ACEOF
2960 /* end confdefs.h.  */
2961 #include <stdarg.h>
2962 #include <stdio.h>
2963 #include <sys/types.h>
2964 #include <sys/stat.h>
2965 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
2966 struct buf { int x; };
2967 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2968 static char *e (p, i)
2969      char **p;
2970      int i;
2971 {
2972   return p[i];
2973 }
2974 static char *f (char * (*g) (char **, int), char **p, ...)
2975 {
2976   char *s;
2977   va_list v;
2978   va_start (v,p);
2979   s = g (p, va_arg (v,int));
2980   va_end (v);
2981   return s;
2982 }
2983
2984 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
2985    function prototypes and stuff, but not '\xHH' hex character constants.
2986    These don't provoke an error unfortunately, instead are silently treated
2987    as 'x'.  The following induces an error, until -std1 is added to get
2988    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
2989    array size at least.  It's necessary to write '\x00'==0 to get something
2990    that's true only with -std1.  */
2991 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2992
2993 int test (int i, double x);
2994 struct s1 {int (*f) (int a);};
2995 struct s2 {int (*f) (double a);};
2996 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2997 int argc;
2998 char **argv;
2999 int
3000 main ()
3001 {
3002 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
3003   ;
3004   return 0;
3005 }
3006 _ACEOF
3007 # Don't try gcc -ansi; that turns off useful extensions and
3008 # breaks some systems' header files.
3009 # AIX                   -qlanglvl=ansi
3010 # Ultrix and OSF/1      -std1
3011 # HP-UX 10.20 and later -Ae
3012 # HP-UX older versions  -Aa -D_HPUX_SOURCE
3013 # SVR4                  -Xc -D__EXTENSIONS__
3014 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3015 do
3016   CC="$ac_save_CC $ac_arg"
3017   rm -f conftest.$ac_objext
3018 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3019   (eval $ac_compile) 2>conftest.er1
3020   ac_status=$?
3021   grep -v '^ *+' conftest.er1 >conftest.err
3022   rm -f conftest.er1
3023   cat conftest.err >&5
3024   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3025   (exit $ac_status); } &&
3026          { ac_try='test -z "$ac_c_werror_flag"
3027                          || test ! -s conftest.err'
3028   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3029   (eval $ac_try) 2>&5
3030   ac_status=$?
3031   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3032   (exit $ac_status); }; } &&
3033          { ac_try='test -s conftest.$ac_objext'
3034   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3035   (eval $ac_try) 2>&5
3036   ac_status=$?
3037   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3038   (exit $ac_status); }; }; then
3039   ac_cv_prog_cc_stdc=$ac_arg
3040 break
3041 else
3042   echo "$as_me: failed program was:" >&5
3043 sed 's/^/| /' conftest.$ac_ext >&5
3044
3045 fi
3046 rm -f conftest.err conftest.$ac_objext
3047 done
3048 rm -f conftest.$ac_ext conftest.$ac_objext
3049 CC=$ac_save_CC
3050
3051 fi
3052
3053 case "x$ac_cv_prog_cc_stdc" in
3054   x|xno)
3055     echo "$as_me:$LINENO: result: none needed" >&5
3056 echo "${ECHO_T}none needed" >&6 ;;
3057   *)
3058     echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
3059 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
3060     CC="$CC $ac_cv_prog_cc_stdc" ;;
3061 esac
3062
3063 # Some people use a C++ compiler to compile C.  Since we use `exit',
3064 # in C++ we need to declare it.  In case someone uses the same compiler
3065 # for both compiling C and C++ we need to have the C++ compiler decide
3066 # the declaration of exit, since it's the most demanding environment.
3067 cat >conftest.$ac_ext <<_ACEOF
3068 #ifndef __cplusplus
3069   choke me
3070 #endif
3071 _ACEOF
3072 rm -f conftest.$ac_objext
3073 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3074   (eval $ac_compile) 2>conftest.er1
3075   ac_status=$?
3076   grep -v '^ *+' conftest.er1 >conftest.err
3077   rm -f conftest.er1
3078   cat conftest.err >&5
3079   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3080   (exit $ac_status); } &&
3081          { ac_try='test -z "$ac_c_werror_flag"
3082                          || test ! -s conftest.err'
3083   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3084   (eval $ac_try) 2>&5
3085   ac_status=$?
3086   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3087   (exit $ac_status); }; } &&
3088          { ac_try='test -s conftest.$ac_objext'
3089   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3090   (eval $ac_try) 2>&5
3091   ac_status=$?
3092   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3093   (exit $ac_status); }; }; then
3094   for ac_declaration in \
3095    '' \
3096    'extern "C" void std::exit (int) throw (); using std::exit;' \
3097    'extern "C" void std::exit (int); using std::exit;' \
3098    'extern "C" void exit (int) throw ();' \
3099    'extern "C" void exit (int);' \
3100    'void exit (int);'
3101 do
3102   cat >conftest.$ac_ext <<_ACEOF
3103 /* confdefs.h.  */
3104 _ACEOF
3105 cat confdefs.h >>conftest.$ac_ext
3106 cat >>conftest.$ac_ext <<_ACEOF
3107 /* end confdefs.h.  */
3108 $ac_declaration
3109 #include <stdlib.h>
3110 int
3111 main ()
3112 {
3113 exit (42);
3114   ;
3115   return 0;
3116 }
3117 _ACEOF
3118 rm -f conftest.$ac_objext
3119 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3120   (eval $ac_compile) 2>conftest.er1
3121   ac_status=$?
3122   grep -v '^ *+' conftest.er1 >conftest.err
3123   rm -f conftest.er1
3124   cat conftest.err >&5
3125   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3126   (exit $ac_status); } &&
3127          { ac_try='test -z "$ac_c_werror_flag"
3128                          || test ! -s conftest.err'
3129   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3130   (eval $ac_try) 2>&5
3131   ac_status=$?
3132   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3133   (exit $ac_status); }; } &&
3134          { ac_try='test -s conftest.$ac_objext'
3135   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3136   (eval $ac_try) 2>&5
3137   ac_status=$?
3138   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3139   (exit $ac_status); }; }; then
3140   :
3141 else
3142   echo "$as_me: failed program was:" >&5
3143 sed 's/^/| /' conftest.$ac_ext >&5
3144
3145 continue
3146 fi
3147 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3148   cat >conftest.$ac_ext <<_ACEOF
3149 /* confdefs.h.  */
3150 _ACEOF
3151 cat confdefs.h >>conftest.$ac_ext
3152 cat >>conftest.$ac_ext <<_ACEOF
3153 /* end confdefs.h.  */
3154 $ac_declaration
3155 int
3156 main ()
3157 {
3158 exit (42);
3159   ;
3160   return 0;
3161 }
3162 _ACEOF
3163 rm -f conftest.$ac_objext
3164 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3165   (eval $ac_compile) 2>conftest.er1
3166   ac_status=$?
3167   grep -v '^ *+' conftest.er1 >conftest.err
3168   rm -f conftest.er1
3169   cat conftest.err >&5
3170   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3171   (exit $ac_status); } &&
3172          { ac_try='test -z "$ac_c_werror_flag"
3173                          || test ! -s conftest.err'
3174   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3175   (eval $ac_try) 2>&5
3176   ac_status=$?
3177   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3178   (exit $ac_status); }; } &&
3179          { ac_try='test -s conftest.$ac_objext'
3180   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3181   (eval $ac_try) 2>&5
3182   ac_status=$?
3183   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3184   (exit $ac_status); }; }; then
3185   break
3186 else
3187   echo "$as_me: failed program was:" >&5
3188 sed 's/^/| /' conftest.$ac_ext >&5
3189
3190 fi
3191 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3192 done
3193 rm -f conftest*
3194 if test -n "$ac_declaration"; then
3195   echo '#ifdef __cplusplus' >>confdefs.h
3196   echo $ac_declaration      >>confdefs.h
3197   echo '#endif'             >>confdefs.h
3198 fi
3199
3200 else
3201   echo "$as_me: failed program was:" >&5
3202 sed 's/^/| /' conftest.$ac_ext >&5
3203
3204 fi
3205 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3206 ac_ext=c
3207 ac_cpp='$CPP $CPPFLAGS'
3208 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3209 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3210 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3211 DEPDIR="${am__leading_dot}deps"
3212
3213           ac_config_commands="$ac_config_commands depfiles"
3214
3215
3216 am_make=${MAKE-make}
3217 cat > confinc << 'END'
3218 am__doit:
3219         @echo done
3220 .PHONY: am__doit
3221 END
3222 # If we don't find an include directive, just comment out the code.
3223 echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
3224 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
3225 am__include="#"
3226 am__quote=
3227 _am_result=none
3228 # First try GNU make style include.
3229 echo "include confinc" > confmf
3230 # We grep out `Entering directory' and `Leaving directory'
3231 # messages which can occur if `w' ends up in MAKEFLAGS.
3232 # In particular we don't look at `^make:' because GNU make might
3233 # be invoked under some other name (usually "gmake"), in which
3234 # case it prints its new name instead of `make'.
3235 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
3236    am__include=include
3237    am__quote=
3238    _am_result=GNU
3239 fi
3240 # Now try BSD make style include.
3241 if test "$am__include" = "#"; then
3242    echo '.include "confinc"' > confmf
3243    if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
3244       am__include=.include
3245       am__quote="\""
3246       _am_result=BSD
3247    fi
3248 fi
3249
3250
3251 echo "$as_me:$LINENO: result: $_am_result" >&5
3252 echo "${ECHO_T}$_am_result" >&6
3253 rm -f confinc confmf
3254
3255 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
3256 if test "${enable_dependency_tracking+set}" = set; then
3257   enableval="$enable_dependency_tracking"
3258
3259 fi;
3260 if test "x$enable_dependency_tracking" != xno; then
3261   am_depcomp="$ac_aux_dir/depcomp"
3262   AMDEPBACKSLASH='\'
3263 fi
3264
3265
3266 if test "x$enable_dependency_tracking" != xno; then
3267   AMDEP_TRUE=
3268   AMDEP_FALSE='#'
3269 else
3270   AMDEP_TRUE='#'
3271   AMDEP_FALSE=
3272 fi
3273
3274
3275
3276
3277 depcc="$CC"   am_compiler_list=
3278
3279 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3280 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
3281 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3282   echo $ECHO_N "(cached) $ECHO_C" >&6
3283 else
3284   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3285   # We make a subdir and do the tests there.  Otherwise we can end up
3286   # making bogus files that we don't know about and never remove.  For
3287   # instance it was reported that on HP-UX the gcc test will end up
3288   # making a dummy file named `D' -- because `-MD' means `put the output
3289   # in D'.
3290   mkdir conftest.dir
3291   # Copy depcomp to subdir because otherwise we won't find it if we're
3292   # using a relative directory.
3293   cp "$am_depcomp" conftest.dir
3294   cd conftest.dir
3295   # We will build objects and dependencies in a subdirectory because
3296   # it helps to detect inapplicable dependency modes.  For instance
3297   # both Tru64's cc and ICC support -MD to output dependencies as a
3298   # side effect of compilation, but ICC will put the dependencies in
3299   # the current directory while Tru64 will put them in the object
3300   # directory.
3301   mkdir sub
3302
3303   am_cv_CC_dependencies_compiler_type=none
3304   if test "$am_compiler_list" = ""; then
3305      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3306   fi
3307   for depmode in $am_compiler_list; do
3308     # Setup a source with many dependencies, because some compilers
3309     # like to wrap large dependency lists on column 80 (with \), and
3310     # we should not choose a depcomp mode which is confused by this.
3311     #
3312     # We need to recreate these files for each test, as the compiler may
3313     # overwrite some of them when testing with obscure command lines.
3314     # This happens at least with the AIX C compiler.
3315     : > sub/conftest.c
3316     for i in 1 2 3 4 5 6; do
3317       echo '#include "conftst'$i'.h"' >> sub/conftest.c
3318       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3319       # Solaris 8's {/usr,}/bin/sh.
3320       touch sub/conftst$i.h
3321     done
3322     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3323
3324     case $depmode in
3325     nosideeffect)
3326       # after this tag, mechanisms are not by side-effect, so they'll
3327       # only be used when explicitly requested
3328       if test "x$enable_dependency_tracking" = xyes; then
3329         continue
3330       else
3331         break
3332       fi
3333       ;;
3334     none) break ;;
3335     esac
3336     # We check with `-c' and `-o' for the sake of the "dashmstdout"
3337     # mode.  It turns out that the SunPro C++ compiler does not properly
3338     # handle `-M -o', and we need to detect this.
3339     if depmode=$depmode \
3340        source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
3341        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3342        $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3343          >/dev/null 2>conftest.err &&
3344        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3345        grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3346        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3347       # icc doesn't choke on unknown options, it will just issue warnings
3348       # or remarks (even with -Werror).  So we grep stderr for any message
3349       # that says an option was ignored or not supported.
3350       # When given -MP, icc 7.0 and 7.1 complain thusly:
3351       #   icc: Command line warning: ignoring option '-M'; no argument required
3352       # The diagnosis changed in icc 8.0:
3353       #   icc: Command line remark: option '-MP' not supported
3354       if (grep 'ignoring option' conftest.err ||
3355           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3356         am_cv_CC_dependencies_compiler_type=$depmode
3357         break
3358       fi
3359     fi
3360   done
3361
3362   cd ..
3363   rm -rf conftest.dir
3364 else
3365   am_cv_CC_dependencies_compiler_type=none
3366 fi
3367
3368 fi
3369 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3370 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
3371 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3372
3373
3374
3375 if
3376   test "x$enable_dependency_tracking" != xno \
3377   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3378   am__fastdepCC_TRUE=
3379   am__fastdepCC_FALSE='#'
3380 else
3381   am__fastdepCC_TRUE='#'
3382   am__fastdepCC_FALSE=
3383 fi
3384
3385
3386
3387
3388 # Add -Wall -fno-repack-arrays -fno-underscoring if we are using GCC.
3389 if test "x$GCC" = "xyes"; then
3390   AM_FCFLAGS="-I . -Wall -fno-repack-arrays -fno-underscoring"
3391   ## We like to use C99 routines when available.  This makes sure that
3392   ## __STDC_VERSION__ is set such that libc includes make them available.
3393   AM_CFLAGS="-std=gnu99 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wextra -Wwrite-strings"
3394   ## Compile the following tests with the same system header contents
3395   ## that we'll encounter when compiling our own source files.
3396   CFLAGS="-std=gnu99 $CFLAGS"
3397 fi
3398
3399
3400
3401
3402 # Check for symbol versioning (copied from libssp).
3403 echo "$as_me:$LINENO: checking whether symbol versioning is supported" >&5
3404 echo $ECHO_N "checking whether symbol versioning is supported... $ECHO_C" >&6
3405 cat > conftest.map <<EOF
3406 FOO_1.0 {
3407   global: *foo*; bar; local: *;
3408 };
3409 EOF
3410 save_LDFLAGS="$LDFLAGS"
3411 LDFLAGS="$LDFLAGS -fPIC -shared -Wl,--version-script,./conftest.map"
3412
3413 if test x$gcc_no_link = xyes; then
3414   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
3415 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
3416    { (exit 1); exit 1; }; }
3417 fi
3418 cat >conftest.$ac_ext <<_ACEOF
3419 /* confdefs.h.  */
3420 _ACEOF
3421 cat confdefs.h >>conftest.$ac_ext
3422 cat >>conftest.$ac_ext <<_ACEOF
3423 /* end confdefs.h.  */
3424 int foo;
3425 int
3426 main ()
3427 {
3428
3429   ;
3430   return 0;
3431 }
3432 _ACEOF
3433 rm -f conftest.$ac_objext conftest$ac_exeext
3434 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3435   (eval $ac_link) 2>conftest.er1
3436   ac_status=$?
3437   grep -v '^ *+' conftest.er1 >conftest.err
3438   rm -f conftest.er1
3439   cat conftest.err >&5
3440   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3441   (exit $ac_status); } &&
3442          { ac_try='test -z "$ac_c_werror_flag"
3443                          || test ! -s conftest.err'
3444   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3445   (eval $ac_try) 2>&5
3446   ac_status=$?
3447   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3448   (exit $ac_status); }; } &&
3449          { ac_try='test -s conftest$ac_exeext'
3450   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3451   (eval $ac_try) 2>&5
3452   ac_status=$?
3453   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3454   (exit $ac_status); }; }; then
3455   gfortran_use_symver=yes
3456 else
3457   echo "$as_me: failed program was:" >&5
3458 sed 's/^/| /' conftest.$ac_ext >&5
3459
3460 gfortran_use_symver=no
3461 fi
3462 rm -f conftest.err conftest.$ac_objext \
3463       conftest$ac_exeext conftest.$ac_ext
3464 LDFLAGS="$save_LDFLAGS"
3465 echo "$as_me:$LINENO: result: $gfortran_use_symver" >&5
3466 echo "${ECHO_T}$gfortran_use_symver" >&6
3467
3468
3469 if test "x$gfortran_use_symver" = xyes; then
3470   LIBGFOR_USE_SYMVER_TRUE=
3471   LIBGFOR_USE_SYMVER_FALSE='#'
3472 else
3473   LIBGFOR_USE_SYMVER_TRUE='#'
3474   LIBGFOR_USE_SYMVER_FALSE=
3475 fi
3476
3477
3478 # Find other programs we need.
3479 if test -n "$ac_tool_prefix"; then
3480   # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
3481 set dummy ${ac_tool_prefix}as; ac_word=$2
3482 echo "$as_me:$LINENO: checking for $ac_word" >&5
3483 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3484 if test "${ac_cv_prog_AS+set}" = set; then
3485   echo $ECHO_N "(cached) $ECHO_C" >&6
3486 else
3487   if test -n "$AS"; then
3488   ac_cv_prog_AS="$AS" # Let the user override the test.
3489 else
3490 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3491 for as_dir in $PATH
3492 do
3493   IFS=$as_save_IFS
3494   test -z "$as_dir" && as_dir=.
3495   for ac_exec_ext in '' $ac_executable_extensions; do
3496   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3497     ac_cv_prog_AS="${ac_tool_prefix}as"
3498     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3499     break 2
3500   fi
3501 done
3502 done
3503
3504 fi
3505 fi
3506 AS=$ac_cv_prog_AS
3507 if test -n "$AS"; then
3508   echo "$as_me:$LINENO: result: $AS" >&5
3509 echo "${ECHO_T}$AS" >&6
3510 else
3511   echo "$as_me:$LINENO: result: no" >&5
3512 echo "${ECHO_T}no" >&6
3513 fi
3514
3515 fi
3516 if test -z "$ac_cv_prog_AS"; then
3517   ac_ct_AS=$AS
3518   # Extract the first word of "as", so it can be a program name with args.
3519 set dummy as; ac_word=$2
3520 echo "$as_me:$LINENO: checking for $ac_word" >&5
3521 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3522 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
3523   echo $ECHO_N "(cached) $ECHO_C" >&6
3524 else
3525   if test -n "$ac_ct_AS"; then
3526   ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
3527 else
3528 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3529 for as_dir in $PATH
3530 do
3531   IFS=$as_save_IFS
3532   test -z "$as_dir" && as_dir=.
3533   for ac_exec_ext in '' $ac_executable_extensions; do
3534   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3535     ac_cv_prog_ac_ct_AS="as"
3536     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3537     break 2
3538   fi
3539 done
3540 done
3541
3542 fi
3543 fi
3544 ac_ct_AS=$ac_cv_prog_ac_ct_AS
3545 if test -n "$ac_ct_AS"; then
3546   echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
3547 echo "${ECHO_T}$ac_ct_AS" >&6
3548 else
3549   echo "$as_me:$LINENO: result: no" >&5
3550 echo "${ECHO_T}no" >&6
3551 fi
3552
3553   AS=$ac_ct_AS
3554 else
3555   AS="$ac_cv_prog_AS"
3556 fi
3557
3558 if test -n "$ac_tool_prefix"; then
3559   # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
3560 set dummy ${ac_tool_prefix}ar; ac_word=$2
3561 echo "$as_me:$LINENO: checking for $ac_word" >&5
3562 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3563 if test "${ac_cv_prog_AR+set}" = set; then
3564   echo $ECHO_N "(cached) $ECHO_C" >&6
3565 else
3566   if test -n "$AR"; then
3567   ac_cv_prog_AR="$AR" # Let the user override the test.
3568 else
3569 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3570 for as_dir in $PATH
3571 do
3572   IFS=$as_save_IFS
3573   test -z "$as_dir" && as_dir=.
3574   for ac_exec_ext in '' $ac_executable_extensions; do
3575   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3576     ac_cv_prog_AR="${ac_tool_prefix}ar"
3577     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3578     break 2
3579   fi
3580 done
3581 done
3582
3583 fi
3584 fi
3585 AR=$ac_cv_prog_AR
3586 if test -n "$AR"; then
3587   echo "$as_me:$LINENO: result: $AR" >&5
3588 echo "${ECHO_T}$AR" >&6
3589 else
3590   echo "$as_me:$LINENO: result: no" >&5
3591 echo "${ECHO_T}no" >&6
3592 fi
3593
3594 fi
3595 if test -z "$ac_cv_prog_AR"; then
3596   ac_ct_AR=$AR
3597   # Extract the first word of "ar", so it can be a program name with args.
3598 set dummy ar; ac_word=$2
3599 echo "$as_me:$LINENO: checking for $ac_word" >&5
3600 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3601 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
3602   echo $ECHO_N "(cached) $ECHO_C" >&6
3603 else
3604   if test -n "$ac_ct_AR"; then
3605   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
3606 else
3607 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3608 for as_dir in $PATH
3609 do
3610   IFS=$as_save_IFS
3611   test -z "$as_dir" && as_dir=.
3612   for ac_exec_ext in '' $ac_executable_extensions; do
3613   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3614     ac_cv_prog_ac_ct_AR="ar"
3615     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3616     break 2
3617   fi
3618 done
3619 done
3620
3621 fi
3622 fi
3623 ac_ct_AR=$ac_cv_prog_ac_ct_AR
3624 if test -n "$ac_ct_AR"; then
3625   echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
3626 echo "${ECHO_T}$ac_ct_AR" >&6
3627 else
3628   echo "$as_me:$LINENO: result: no" >&5
3629 echo "${ECHO_T}no" >&6
3630 fi
3631
3632   AR=$ac_ct_AR
3633 else
3634   AR="$ac_cv_prog_AR"
3635 fi
3636
3637 if test -n "$ac_tool_prefix"; then
3638   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3639 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
3640 echo "$as_me:$LINENO: checking for $ac_word" >&5
3641 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3642 if test "${ac_cv_prog_RANLIB+set}" = set; then
3643   echo $ECHO_N "(cached) $ECHO_C" >&6
3644 else
3645   if test -n "$RANLIB"; then
3646   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
3647 else
3648 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3649 for as_dir in $PATH
3650 do
3651   IFS=$as_save_IFS
3652   test -z "$as_dir" && as_dir=.
3653   for ac_exec_ext in '' $ac_executable_extensions; do
3654   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3655     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
3656     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3657     break 2
3658   fi
3659 done
3660 done
3661
3662 fi
3663 fi
3664 RANLIB=$ac_cv_prog_RANLIB
3665 if test -n "$RANLIB"; then
3666   echo "$as_me:$LINENO: result: $RANLIB" >&5
3667 echo "${ECHO_T}$RANLIB" >&6
3668 else
3669   echo "$as_me:$LINENO: result: no" >&5
3670 echo "${ECHO_T}no" >&6
3671 fi
3672
3673 fi
3674 if test -z "$ac_cv_prog_RANLIB"; then
3675   ac_ct_RANLIB=$RANLIB
3676   # Extract the first word of "ranlib", so it can be a program name with args.
3677 set dummy ranlib; ac_word=$2
3678 echo "$as_me:$LINENO: checking for $ac_word" >&5
3679 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3680 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3681   echo $ECHO_N "(cached) $ECHO_C" >&6
3682 else
3683   if test -n "$ac_ct_RANLIB"; then
3684   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
3685 else
3686 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3687 for as_dir in $PATH
3688 do
3689   IFS=$as_save_IFS
3690   test -z "$as_dir" && as_dir=.
3691   for ac_exec_ext in '' $ac_executable_extensions; do
3692   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3693     ac_cv_prog_ac_ct_RANLIB="ranlib"
3694     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3695     break 2
3696   fi
3697 done
3698 done
3699
3700   test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB="ranlib-not-found-in-path-error"
3701 fi
3702 fi
3703 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
3704 if test -n "$ac_ct_RANLIB"; then
3705   echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3706 echo "${ECHO_T}$ac_ct_RANLIB" >&6
3707 else
3708   echo "$as_me:$LINENO: result: no" >&5
3709 echo "${ECHO_T}no" >&6
3710 fi
3711
3712   RANLIB=$ac_ct_RANLIB
3713 else
3714   RANLIB="$ac_cv_prog_RANLIB"
3715 fi
3716
3717 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3718 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
3719 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
3720 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
3721   echo $ECHO_N "(cached) $ECHO_C" >&6
3722 else
3723   cat >conftest.make <<\_ACEOF
3724 all:
3725         @echo 'ac_maketemp="$(MAKE)"'
3726 _ACEOF
3727 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3728 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
3729 if test -n "$ac_maketemp"; then
3730   eval ac_cv_prog_make_${ac_make}_set=yes
3731 else
3732   eval ac_cv_prog_make_${ac_make}_set=no
3733 fi
3734 rm -f conftest.make
3735 fi
3736 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
3737   echo "$as_me:$LINENO: result: yes" >&5
3738 echo "${ECHO_T}yes" >&6
3739   SET_MAKE=
3740 else
3741   echo "$as_me:$LINENO: result: no" >&5
3742 echo "${ECHO_T}no" >&6
3743   SET_MAKE="MAKE=${MAKE-make}"
3744 fi
3745
3746 # Find a good install program.  We prefer a C program (faster),
3747 # so one script is as good as another.  But avoid the broken or
3748 # incompatible versions:
3749 # SysV /etc/install, /usr/sbin/install
3750 # SunOS /usr/etc/install
3751 # IRIX /sbin/install
3752 # AIX /bin/install
3753 # AmigaOS /C/install, which installs bootblocks on floppy discs
3754 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3755 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3756 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3757 # OS/2's system install, which has a completely different semantic
3758 # ./install, which can be erroneously created by make from ./install.sh.
3759 # Reject install programs that cannot install multiple files.
3760 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
3761 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
3762 if test -z "$INSTALL"; then
3763 if test "${ac_cv_path_install+set}" = set; then
3764   echo $ECHO_N "(cached) $ECHO_C" >&6
3765 else
3766   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3767 for as_dir in $PATH
3768 do
3769   IFS=$as_save_IFS
3770   test -z "$as_dir" && as_dir=.
3771   # Account for people who put trailing slashes in PATH elements.
3772 case $as_dir/ in
3773   ./ | .// | /cC/* | \
3774   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3775   ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
3776   /usr/ucb/* ) ;;
3777   *)
3778     # OSF1 and SCO ODT 3.0 have their own names for install.
3779     # Don't use installbsd from OSF since it installs stuff as root
3780     # by default.
3781     for ac_prog in ginstall scoinst install; do
3782       for ac_exec_ext in '' $ac_executable_extensions; do
3783         if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
3784           if test $ac_prog = install &&
3785             grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3786             # AIX install.  It has an incompatible calling convention.
3787             :
3788           elif test $ac_prog = install &&
3789             grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3790             # program-specific install script used by HP pwplus--don't use.
3791             :
3792           else
3793             rm -rf conftest.one conftest.two conftest.dir
3794             echo one > conftest.one
3795             echo two > conftest.two
3796             mkdir conftest.dir
3797             if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
3798               test -s conftest.one && test -s conftest.two &&
3799               test -s conftest.dir/conftest.one &&
3800               test -s conftest.dir/conftest.two
3801             then
3802               ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3803               break 3
3804             fi
3805           fi
3806         fi
3807       done
3808     done
3809     ;;
3810 esac
3811 done
3812
3813 rm -rf conftest.one conftest.two conftest.dir
3814
3815 fi
3816   if test "${ac_cv_path_install+set}" = set; then
3817     INSTALL=$ac_cv_path_install
3818   else
3819     # As a last resort, use the slow shell script.  Don't cache a
3820     # value for INSTALL within a source directory, because that will
3821     # break other packages using the cache if that directory is
3822     # removed, or if the value is a relative name.
3823     INSTALL=$ac_install_sh
3824   fi
3825 fi
3826 echo "$as_me:$LINENO: result: $INSTALL" >&5
3827 echo "${ECHO_T}$INSTALL" >&6
3828
3829 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3830 # It thinks the first close brace ends the variable substitution.
3831 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3832
3833 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3834
3835 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3836
3837
3838 # Configure libtool
3839 #AC_MSG_NOTICE([====== Starting libtool configuration])
3840 enable_dlopen=yes
3841
3842
3843
3844
3845
3846 macro_version='2.1a'
3847 macro_revision='1.2435'
3848
3849
3850
3851
3852
3853
3854
3855
3856
3857
3858
3859
3860 ltmain="$ac_aux_dir/ltmain.sh"
3861
3862 # Set options
3863
3864
3865 enable_win32_dll=no
3866
3867
3868 # Check whether --enable-shared or --disable-shared was given.
3869 if test "${enable_shared+set}" = set; then
3870   enableval="$enable_shared"
3871   p=${PACKAGE-default}
3872     case $enableval in
3873     yes) enable_shared=yes ;;
3874     no) enable_shared=no ;;
3875     *)
3876       enable_shared=no
3877       # Look at the argument we got.  We use all the common list separators.
3878       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
3879       for pkg in $enableval; do
3880         IFS="$lt_save_ifs"
3881         if test "X$pkg" = "X$p"; then
3882           enable_shared=yes
3883         fi
3884       done
3885       IFS="$lt_save_ifs"
3886       ;;
3887     esac
3888 else
3889   enable_shared=yes
3890 fi;
3891
3892
3893
3894
3895
3896
3897
3898
3899 # Check whether --enable-static or --disable-static was given.
3900 if test "${enable_static+set}" = set; then
3901   enableval="$enable_static"
3902   p=${PACKAGE-default}
3903     case $enableval in
3904     yes) enable_static=yes ;;
3905     no) enable_static=no ;;
3906     *)
3907      enable_static=no
3908       # Look at the argument we got.  We use all the common list separators.
3909       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
3910       for pkg in $enableval; do
3911         IFS="$lt_save_ifs"
3912         if test "X$pkg" = "X$p"; then
3913           enable_static=yes
3914         fi
3915       done
3916       IFS="$lt_save_ifs"
3917       ;;
3918     esac
3919 else
3920   enable_static=yes
3921 fi;
3922
3923
3924
3925
3926
3927
3928
3929
3930
3931 # Check whether --with-pic or --without-pic was given.
3932 if test "${with_pic+set}" = set; then
3933   withval="$with_pic"
3934   pic_mode="$withval"
3935 else
3936   pic_mode=default
3937 fi;
3938
3939 test -z "$pic_mode" && pic_mode=default
3940
3941
3942
3943
3944
3945
3946
3947 # Check whether --enable-fast-install or --disable-fast-install was given.
3948 if test "${enable_fast_install+set}" = set; then
3949   enableval="$enable_fast_install"
3950   p=${PACKAGE-default}
3951     case $enableval in
3952     yes) enable_fast_install=yes ;;
3953     no) enable_fast_install=no ;;
3954     *)
3955       enable_fast_install=no
3956       # Look at the argument we got.  We use all the common list separators.
3957       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
3958       for pkg in $enableval; do
3959         IFS="$lt_save_ifs"
3960         if test "X$pkg" = "X$p"; then
3961           enable_fast_install=yes
3962         fi
3963       done
3964       IFS="$lt_save_ifs"
3965       ;;
3966     esac
3967 else
3968   enable_fast_install=yes
3969 fi;
3970
3971
3972
3973
3974
3975
3976
3977
3978 echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
3979 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6
3980 if test "${lt_cv_path_SED+set}" = set; then
3981   echo $ECHO_N "(cached) $ECHO_C" >&6
3982 else
3983   # Loop through the user's path and test for sed and gsed.
3984 # Then use that list of sed's as ones to test for truncation.
3985 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3986 for as_dir in $PATH
3987 do
3988   IFS=$as_save_IFS
3989   test -z "$as_dir" && as_dir=.
3990   for lt_ac_prog in sed gsed; do
3991     for ac_exec_ext in '' $ac_executable_extensions; do
3992       if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
3993         lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
3994       fi
3995     done
3996   done
3997 done
3998 IFS=$as_save_IFS
3999 lt_ac_max=0
4000 lt_ac_count=0
4001 # Add /usr/xpg4/bin/sed as it is typically found on Solaris
4002 # along with /bin/sed that truncates output.
4003 for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
4004   test ! -f $lt_ac_sed && continue
4005   cat /dev/null > conftest.in
4006   lt_ac_count=0
4007   echo $ECHO_N "0123456789$ECHO_C" >conftest.in
4008   # Check for GNU sed and select it if it is found.
4009   if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
4010     lt_cv_path_SED=$lt_ac_sed
4011     break
4012   fi
4013   while true; do
4014     cat conftest.in conftest.in >conftest.tmp
4015     mv conftest.tmp conftest.in
4016     cp conftest.in conftest.nl
4017     echo >>conftest.nl
4018     $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
4019     cmp -s conftest.out conftest.nl || break
4020     # 10000 chars as input seems more than enough
4021     test $lt_ac_count -gt 10 && break
4022     lt_ac_count=`expr $lt_ac_count + 1`
4023     if test $lt_ac_count -gt $lt_ac_max; then
4024       lt_ac_max=$lt_ac_count
4025       lt_cv_path_SED=$lt_ac_sed
4026     fi
4027   done
4028 done
4029
4030 fi
4031
4032 SED=$lt_cv_path_SED
4033
4034 echo "$as_me:$LINENO: result: $SED" >&5
4035 echo "${ECHO_T}$SED" >&6
4036
4037 test -z "$SED" && SED=sed
4038 Xsed="$SED -e 1s/^X//"
4039
4040
4041
4042
4043
4044
4045
4046
4047
4048
4049
4050 echo "$as_me:$LINENO: checking for egrep" >&5
4051 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
4052 if test "${ac_cv_prog_egrep+set}" = set; then
4053   echo $ECHO_N "(cached) $ECHO_C" >&6
4054 else
4055   if echo a | (grep -E '(a|b)') >/dev/null 2>&1
4056     then ac_cv_prog_egrep='grep -E'
4057     else ac_cv_prog_egrep='egrep'
4058     fi
4059 fi
4060 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
4061 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
4062  EGREP=$ac_cv_prog_egrep
4063
4064
4065 echo "$as_me:$LINENO: checking for fgrep" >&5
4066 echo $ECHO_N "checking for fgrep... $ECHO_C" >&6
4067 if test "${ac_cv_prog_fgrep+set}" = set; then
4068   echo $ECHO_N "(cached) $ECHO_C" >&6
4069 else
4070   if echo 'ab*c' | (grep -F 'ab*c') >/dev/null 2>&1
4071     then ac_cv_prog_fgrep='grep -F'
4072     else ac_cv_prog_fgrep='fgrep'
4073     fi
4074 fi
4075 echo "$as_me:$LINENO: result: $ac_cv_prog_fgrep" >&5
4076 echo "${ECHO_T}$ac_cv_prog_fgrep" >&6
4077  FGREP=$ac_cv_prog_fgrep
4078
4079
4080 test -z "$GREP" && GREP=grep
4081
4082
4083
4084
4085
4086
4087
4088
4089
4090
4091
4092
4093
4094
4095
4096
4097
4098
4099
4100 # Check whether --with-gnu-ld or --without-gnu-ld was given.
4101 if test "${with_gnu_ld+set}" = set; then
4102   withval="$with_gnu_ld"
4103   test "$withval" = no || with_gnu_ld=yes
4104 else
4105   with_gnu_ld=no
4106 fi;
4107 ac_prog=ld
4108 if test "$GCC" = yes; then
4109   # Check if gcc -print-prog-name=ld gives a path.
4110   echo "$as_me:$LINENO: checking for ld used by $CC" >&5
4111 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
4112   case $host in
4113   *-*-mingw*)
4114     # gcc leaves a trailing carriage return which upsets mingw
4115     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4116   *)
4117     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4118   esac
4119   case $ac_prog in
4120     # Accept absolute paths.
4121     [\\/]* | ?:[\\/]*)
4122       re_direlt='/[^/][^/]*/\.\./'
4123       # Canonicalize the pathname of ld
4124       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4125       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4126         ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4127       done
4128       test -z "$LD" && LD="$ac_prog"
4129       ;;
4130   "")
4131     # If it fails, then pretend we aren't using GCC.
4132     ac_prog=ld
4133     ;;
4134   *)
4135     # If it is relative, then search for the first ld in PATH.
4136     with_gnu_ld=unknown
4137     ;;
4138   esac
4139 elif test "$with_gnu_ld" = yes; then
4140   echo "$as_me:$LINENO: checking for GNU ld" >&5
4141 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
4142 else
4143   echo "$as_me:$LINENO: checking for non-GNU ld" >&5
4144 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
4145 fi
4146 if test "${lt_cv_path_LD+set}" = set; then
4147   echo $ECHO_N "(cached) $ECHO_C" >&6
4148 else
4149   if test -z "$LD"; then
4150   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4151   for ac_dir in $PATH; do
4152     IFS="$lt_save_ifs"
4153     test -z "$ac_dir" && ac_dir=.
4154     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4155       lt_cv_path_LD="$ac_dir/$ac_prog"
4156       # Check to see if the program is GNU ld.  I'd rather use --version,
4157       # but apparently some variants of GNU ld only accept -v.
4158       # Break only if it was the GNU/non-GNU ld that we prefer.
4159       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4160       *GNU* | *'with BFD'*)
4161         test "$with_gnu_ld" != no && break
4162         ;;
4163       *)
4164         test "$with_gnu_ld" != yes && break
4165         ;;
4166       esac
4167     fi
4168   done
4169   IFS="$lt_save_ifs"
4170 else
4171   lt_cv_path_LD="$LD" # Let the user override the test with a path.
4172 fi
4173 fi
4174
4175 LD="$lt_cv_path_LD"
4176 if test -n "$LD"; then
4177   echo "$as_me:$LINENO: result: $LD" >&5
4178 echo "${ECHO_T}$LD" >&6
4179 else
4180   echo "$as_me:$LINENO: result: no" >&5
4181 echo "${ECHO_T}no" >&6
4182 fi
4183 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
4184 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
4185    { (exit 1); exit 1; }; }
4186 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
4187 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
4188 if test "${lt_cv_prog_gnu_ld+set}" = set; then
4189   echo $ECHO_N "(cached) $ECHO_C" >&6
4190 else
4191   # I'd rather use --version here, but apparently some GNU lds only accept -v.
4192 case `$LD -v 2>&1 </dev/null` in
4193 *GNU* | *'with BFD'*)
4194   lt_cv_prog_gnu_ld=yes
4195   ;;
4196 *)
4197   lt_cv_prog_gnu_ld=no
4198   ;;
4199 esac
4200 fi
4201 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
4202 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
4203 with_gnu_ld=$lt_cv_prog_gnu_ld
4204
4205
4206
4207
4208
4209
4210
4211
4212
4213
4214 echo "$as_me:$LINENO: checking for BSD- or MS-compatible name lister (nm)" >&5
4215 echo $ECHO_N "checking for BSD- or MS-compatible name lister (nm)... $ECHO_C" >&6
4216 if test "${lt_cv_path_NM+set}" = set; then
4217   echo $ECHO_N "(cached) $ECHO_C" >&6
4218 else
4219   if test -n "$NM"; then
4220   # Let the user override the test.
4221   lt_cv_path_NM="$NM"
4222 else
4223   lt_nm_to_check="${ac_tool_prefix}nm"
4224   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4225     lt_nm_to_check="$lt_nm_to_check nm"
4226   fi
4227   for lt_tmp_nm in $lt_nm_to_check; do
4228     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4229     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4230       IFS="$lt_save_ifs"
4231       test -z "$ac_dir" && ac_dir=.
4232       tmp_nm="$ac_dir/$lt_tmp_nm"
4233       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4234         # Check to see if the nm accepts a BSD-compat flag.
4235         # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4236         #   nm: unknown option "B" ignored
4237         # Tru64's nm complains that /dev/null is an invalid object file
4238         case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4239         */dev/null* | *'Invalid file or object type'*)
4240           lt_cv_path_NM="$tmp_nm -B"
4241           break
4242           ;;
4243         *)
4244           case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4245           */dev/null*)
4246             lt_cv_path_NM="$tmp_nm -p"
4247             break
4248             ;;
4249           *)
4250             lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4251             continue # so that we can try to find one that supports BSD flags
4252             ;;
4253           esac
4254           ;;
4255         esac
4256       fi
4257     done
4258     IFS="$lt_save_ifs"
4259   done
4260   : ${lt_cv_path_NM=no}
4261 fi
4262 fi
4263 echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
4264 echo "${ECHO_T}$lt_cv_path_NM" >&6
4265 if test "$lt_cv_path_NM" != "no"; then
4266   NM="$lt_cv_path_NM"
4267 else
4268   # Didn't find any BSD compatible name lister, look for dumpbin.
4269   if test -n "$ac_tool_prefix"; then
4270   for ac_prog in "dumpbin -symbols" "link -dump -symbols"
4271   do
4272     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4273 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4274 echo "$as_me:$LINENO: checking for $ac_word" >&5
4275 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4276 if test "${ac_cv_prog_DUMPBIN+set}" = set; then
4277   echo $ECHO_N "(cached) $ECHO_C" >&6
4278 else
4279   if test -n "$DUMPBIN"; then
4280   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
4281 else
4282 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4283 for as_dir in $PATH
4284 do
4285   IFS=$as_save_IFS
4286   test -z "$as_dir" && as_dir=.
4287   for ac_exec_ext in '' $ac_executable_extensions; do
4288   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4289     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
4290     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4291     break 2
4292   fi
4293 done
4294 done
4295
4296 fi
4297 fi
4298 DUMPBIN=$ac_cv_prog_DUMPBIN
4299 if test -n "$DUMPBIN"; then
4300   echo "$as_me:$LINENO: result: $DUMPBIN" >&5
4301 echo "${ECHO_T}$DUMPBIN" >&6
4302 else
4303   echo "$as_me:$LINENO: result: no" >&5
4304 echo "${ECHO_T}no" >&6
4305 fi
4306
4307     test -n "$DUMPBIN" && break
4308   done
4309 fi
4310 if test -z "$DUMPBIN"; then
4311   ac_ct_DUMPBIN=$DUMPBIN
4312   for ac_prog in "dumpbin -symbols" "link -dump -symbols"
4313 do
4314   # Extract the first word of "$ac_prog", so it can be a program name with args.
4315 set dummy $ac_prog; ac_word=$2
4316 echo "$as_me:$LINENO: checking for $ac_word" >&5
4317 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4318 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then
4319   echo $ECHO_N "(cached) $ECHO_C" >&6
4320 else
4321   if test -n "$ac_ct_DUMPBIN"; then
4322   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
4323 else
4324 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4325 for as_dir in $PATH
4326 do
4327   IFS=$as_save_IFS
4328   test -z "$as_dir" && as_dir=.
4329   for ac_exec_ext in '' $ac_executable_extensions; do
4330   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4331     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
4332     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4333     break 2
4334   fi
4335 done
4336 done
4337
4338 fi
4339 fi
4340 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
4341 if test -n "$ac_ct_DUMPBIN"; then
4342   echo "$as_me:$LINENO: result: $ac_ct_DUMPBIN" >&5
4343 echo "${ECHO_T}$ac_ct_DUMPBIN" >&6
4344 else
4345   echo "$as_me:$LINENO: result: no" >&5
4346 echo "${ECHO_T}no" >&6
4347 fi
4348
4349   test -n "$ac_ct_DUMPBIN" && break
4350 done
4351 test -n "$ac_ct_DUMPBIN" || ac_ct_DUMPBIN=":"
4352
4353   DUMPBIN=$ac_ct_DUMPBIN
4354 fi
4355
4356
4357   if test "$DUMPBIN" != ":"; then
4358     NM="$DUMPBIN"
4359   fi
4360 fi
4361 test -z "$NM" && NM=nm
4362
4363
4364
4365
4366
4367
4368 echo "$as_me:$LINENO: checking the name lister ($NM) interface" >&5
4369 echo $ECHO_N "checking the name lister ($NM) interface... $ECHO_C" >&6
4370 if test "${lt_cv_nm_interface+set}" = set; then
4371   echo $ECHO_N "(cached) $ECHO_C" >&6
4372 else
4373   lt_cv_nm_interface="BSD nm"
4374   echo "int some_variable = 0;" > conftest.$ac_ext
4375   (eval echo "\"\$as_me:4375: $ac_compile\"" >&5)
4376   (eval "$ac_compile" 2>conftest.err)
4377   cat conftest.err >&5
4378   (eval echo "\"\$as_me:4378: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4379   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
4380   cat conftest.err >&5
4381   (eval echo "\"\$as_me:4381: output\"" >&5)
4382   cat conftest.out >&5
4383   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
4384     lt_cv_nm_interface="MS dumpbin"
4385   fi
4386   rm -f conftest*
4387 fi
4388 echo "$as_me:$LINENO: result: $lt_cv_nm_interface" >&5
4389 echo "${ECHO_T}$lt_cv_nm_interface" >&6
4390
4391 echo "$as_me:$LINENO: checking whether ln -s works" >&5
4392 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
4393 LN_S=$as_ln_s
4394 if test "$LN_S" = "ln -s"; then
4395   echo "$as_me:$LINENO: result: yes" >&5
4396 echo "${ECHO_T}yes" >&6
4397 else
4398   echo "$as_me:$LINENO: result: no, using $LN_S" >&5
4399 echo "${ECHO_T}no, using $LN_S" >&6
4400 fi
4401
4402 # find the maximum length of command line arguments
4403 echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
4404 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
4405 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
4406   echo $ECHO_N "(cached) $ECHO_C" >&6
4407 else
4408     i=0
4409   teststring="ABCD"
4410
4411   case $build_os in
4412   msdosdjgpp*)
4413     # On DJGPP, this test can blow up pretty badly due to problems in libc
4414     # (any single argument exceeding 2000 bytes causes a buffer overrun
4415     # during glob expansion).  Even if it were fixed, the result of this
4416     # check would be larger than it should be.
4417     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
4418     ;;
4419
4420   gnu*)
4421     # Under GNU Hurd, this test is not required because there is
4422     # no limit to the length of command line arguments.
4423     # Libtool will interpret -1 as no limit whatsoever
4424     lt_cv_sys_max_cmd_len=-1;
4425     ;;
4426
4427   cygwin* | mingw*)
4428     # On Win9x/ME, this test blows up -- it succeeds, but takes
4429     # about 5 minutes as the teststring grows exponentially.
4430     # Worse, since 9x/ME are not pre-emptively multitasking,
4431     # you end up with a "frozen" computer, even though with patience
4432     # the test eventually succeeds (with a max line length of 256k).
4433     # Instead, let's just punt: use the minimum linelength reported by
4434     # all of the supported platforms: 8192 (on NT/2K/XP).
4435     lt_cv_sys_max_cmd_len=8192;
4436     ;;
4437
4438   amigaos*)
4439     # On AmigaOS with pdksh, this test takes hours, literally.
4440     # So we just punt and use a minimum line length of 8192.
4441     lt_cv_sys_max_cmd_len=8192;
4442     ;;
4443
4444   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
4445     # This has been around since 386BSD, at least.  Likely further.
4446     if test -x /sbin/sysctl; then
4447       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
4448     elif test -x /usr/sbin/sysctl; then
4449       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
4450     else
4451       lt_cv_sys_max_cmd_len=65536       # usable default for all BSDs
4452     fi
4453     # And add a safety zone
4454     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4455     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4456     ;;
4457
4458   interix*)
4459     # We know the value 262144 and hardcode it with a safety zone (like BSD)
4460     lt_cv_sys_max_cmd_len=196608
4461     ;;
4462
4463   osf*)
4464     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
4465     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
4466     # nice to cause kernel panics so lets avoid the loop below.
4467     # First set a reasonable default.
4468     lt_cv_sys_max_cmd_len=16384
4469     #
4470     if test -x /sbin/sysconfig; then
4471       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
4472         *1*) lt_cv_sys_max_cmd_len=-1 ;;
4473       esac
4474     fi
4475     ;;
4476   sco3.2v5*)
4477     lt_cv_sys_max_cmd_len=102400
4478     ;;
4479   sysv5* | sco5v6* | sysv4.2uw2*)
4480     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
4481     if test -n "$kargmax"; then
4482       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[  ]//'`
4483     else
4484       lt_cv_sys_max_cmd_len=32768
4485     fi
4486     ;;
4487   *)
4488     lt_cv_sys_max_cmd_len=`getconf ARG_MAX 2> /dev/null`
4489     if test -n $lt_cv_sys_max_cmd_len; then
4490       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4491       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4492     else
4493       # Make teststring a little bigger before we do anything with it.
4494       # a 1K string should be a reasonable start.
4495       for i in 1 2 3 4 5 6 7 8 ; do
4496         teststring=$teststring$teststring
4497       done
4498       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
4499       # If test is not a shell built-in, we'll probably end up computing a
4500       # maximum length that is only half of the actual maximum length, but
4501       # we can't tell.
4502       while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
4503                  = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
4504               test $i != 17 # 1/2 MB should be enough
4505       do
4506         i=`expr $i + 1`
4507         teststring=$teststring$teststring
4508       done
4509       # Only check the string length outside the loop.
4510       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
4511       teststring=
4512       # Add a significant safety factor because C++ compilers can tack on
4513       # massive amounts of additional arguments before passing them to the
4514       # linker.  It appears as though 1/2 is a usable value.
4515       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
4516     fi
4517     ;;
4518   esac
4519
4520 fi
4521
4522 if test -n $lt_cv_sys_max_cmd_len ; then
4523   echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
4524 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
4525 else
4526   echo "$as_me:$LINENO: result: none" >&5
4527 echo "${ECHO_T}none" >&6
4528 fi
4529 max_cmd_len=$lt_cv_sys_max_cmd_len
4530
4531
4532
4533
4534
4535
4536
4537 : ${CP="cp -f"}
4538 : ${MV="mv -f"}
4539 : ${RM="rm -f"}
4540
4541 echo "$as_me:$LINENO: checking whether the shell understands some XSI constructs" >&5
4542 echo $ECHO_N "checking whether the shell understands some XSI constructs... $ECHO_C" >&6
4543 # Try some XSI features
4544 xsi_shell=no
4545 ( _lt_dummy="a/b/c"
4546   test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
4547       = c,a/b,, ) >/dev/null 2>&1 \
4548   && xsi_shell=yes
4549 echo "$as_me:$LINENO: result: $xsi_shell" >&5
4550 echo "${ECHO_T}$xsi_shell" >&6
4551
4552
4553 echo "$as_me:$LINENO: checking whether the shell understands \"+=\"" >&5
4554 echo $ECHO_N "checking whether the shell understands \"+=\"... $ECHO_C" >&6
4555 lt_shell_append=no
4556 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
4557     >/dev/null 2>&1 \
4558   && lt_shell_append=yes
4559 echo "$as_me:$LINENO: result: $lt_shell_append" >&5
4560 echo "${ECHO_T}$lt_shell_append" >&6
4561
4562
4563 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
4564   lt_unset=unset
4565 else
4566   lt_unset=false
4567 fi
4568
4569
4570
4571
4572
4573 # test EBCDIC or ASCII
4574 case `echo X|tr X '\101'` in
4575  A) # ASCII based system
4576     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
4577   lt_SP2NL='tr \040 \012'
4578   lt_NL2SP='tr \015\012 \040\040'
4579   ;;
4580  *) # EBCDIC based system
4581   lt_SP2NL='tr \100 \n'
4582   lt_NL2SP='tr \r\n \100\100'
4583   ;;
4584 esac
4585
4586
4587
4588
4589
4590
4591
4592
4593
4594 echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
4595 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
4596 if test "${lt_cv_ld_reload_flag+set}" = set; then
4597   echo $ECHO_N "(cached) $ECHO_C" >&6
4598 else
4599   lt_cv_ld_reload_flag='-r'
4600 fi
4601 echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
4602 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
4603 reload_flag=$lt_cv_ld_reload_flag
4604 case $reload_flag in
4605 "" | " "*) ;;
4606 *) reload_flag=" $reload_flag" ;;
4607 esac
4608 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4609 case $host_os in
4610   darwin*)
4611     if test "$GCC" = yes; then
4612       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
4613     else
4614       reload_cmds='$LD$reload_flag -o $output$reload_objs'
4615     fi
4616     ;;
4617 esac
4618
4619
4620
4621
4622
4623
4624
4625
4626
4627
4628 echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5
4629 echo $ECHO_N "checking how to recognize dependent libraries... $ECHO_C" >&6
4630 if test "${lt_cv_deplibs_check_method+set}" = set; then
4631   echo $ECHO_N "(cached) $ECHO_C" >&6
4632 else
4633   lt_cv_file_magic_cmd='$MAGIC_CMD'
4634 lt_cv_file_magic_test_file=
4635 lt_cv_deplibs_check_method='unknown'
4636 # Need to set the preceding variable on all platforms that support
4637 # interlibrary dependencies.
4638 # 'none' -- dependencies not supported.
4639 # `unknown' -- same as none, but documents that we really don't know.
4640 # 'pass_all' -- all dependencies passed with no checks.
4641 # 'test_compile' -- check by making test program.
4642 # 'file_magic [[regex]]' -- check by looking for files in library path
4643 # which responds to the $file_magic_cmd with a given extended regex.
4644 # If you have `file' or equivalent on your system and you're not sure
4645 # whether `pass_all' will *always* work, you probably want this one.
4646
4647 case $host_os in
4648 aix[4-9]*)
4649   lt_cv_deplibs_check_method=pass_all
4650   ;;
4651
4652 beos*)
4653   lt_cv_deplibs_check_method=pass_all
4654   ;;
4655
4656 bsdi[45]*)
4657   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
4658   lt_cv_file_magic_cmd='/usr/bin/file -L'
4659   lt_cv_file_magic_test_file=/shlib/libc.so
4660   ;;
4661
4662 cygwin*)
4663   # func_win32_libid is a shell function defined in ltmain.sh
4664   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
4665   lt_cv_file_magic_cmd='func_win32_libid'
4666   ;;
4667
4668 mingw* | pw32*)
4669   # Base MSYS/MinGW do not provide the 'file' command needed by
4670   # func_win32_libid shell function, so use a weaker test based on 'objdump',
4671   # unless we find 'file', for example because we are cross-compiling.
4672   if ( file / ) >/dev/null 2>&1; then
4673     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
4674     lt_cv_file_magic_cmd='func_win32_libid'
4675   else
4676     lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
4677     lt_cv_file_magic_cmd='$OBJDUMP -f'
4678   fi
4679   ;;
4680
4681 darwin* | rhapsody*)
4682   lt_cv_deplibs_check_method=pass_all
4683   ;;
4684
4685 freebsd* | dragonfly*)
4686   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
4687     case $host_cpu in
4688     i*86 )
4689       # Not sure whether the presence of OpenBSD here was a mistake.
4690       # Let's accept both of them until this is cleared up.
4691       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
4692       lt_cv_file_magic_cmd=/usr/bin/file
4693       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
4694       ;;
4695     esac
4696   else
4697     lt_cv_deplibs_check_method=pass_all
4698   fi
4699   ;;
4700
4701 gnu*)
4702   lt_cv_deplibs_check_method=pass_all
4703   ;;
4704
4705 hpux10.20* | hpux11*)
4706   lt_cv_file_magic_cmd=/usr/bin/file
4707   case $host_cpu in
4708   ia64*)
4709     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
4710     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
4711     ;;
4712   hppa*64*)
4713     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]'
4714     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
4715     ;;
4716   *)
4717     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
4718     lt_cv_file_magic_test_file=/usr/lib/libc.sl
4719     ;;
4720   esac
4721   ;;
4722
4723 interix[3-9]*)
4724   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
4725   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
4726   ;;
4727
4728 irix5* | irix6* | nonstopux*)
4729   case $LD in
4730   *-32|*"-32 ") libmagic=32-bit;;
4731   *-n32|*"-n32 ") libmagic=N32;;
4732   *-64|*"-64 ") libmagic=64-bit;;
4733   *) libmagic=never-match;;
4734   esac
4735   lt_cv_deplibs_check_method=pass_all
4736   ;;
4737
4738 # This must be Linux ELF.
4739 linux* | k*bsd*-gnu)
4740   lt_cv_deplibs_check_method=pass_all
4741   ;;
4742
4743 netbsd*)
4744   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
4745     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4746   else
4747     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
4748   fi
4749   ;;
4750
4751 newos6*)
4752   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
4753   lt_cv_file_magic_cmd=/usr/bin/file
4754   lt_cv_file_magic_test_file=/usr/lib/libnls.so
4755   ;;
4756
4757 *nto* | *qnx*)
4758   lt_cv_deplibs_check_method=pass_all
4759   ;;
4760
4761 openbsd*)
4762   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
4763     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
4764   else
4765     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4766   fi
4767   ;;
4768
4769 osf3* | osf4* | osf5*)
4770   lt_cv_deplibs_check_method=pass_all
4771   ;;
4772
4773 rdos*)
4774   lt_cv_deplibs_check_method=pass_all
4775   ;;
4776
4777 solaris*)
4778   lt_cv_deplibs_check_method=pass_all
4779   ;;
4780
4781 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
4782   lt_cv_deplibs_check_method=pass_all
4783   ;;
4784
4785 sysv4 | sysv4.3*)
4786   case $host_vendor in
4787   motorola)
4788     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]'
4789     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
4790     ;;
4791   ncr)
4792     lt_cv_deplibs_check_method=pass_all
4793     ;;
4794   sequent)
4795     lt_cv_file_magic_cmd='/bin/file'
4796     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
4797     ;;
4798   sni)
4799     lt_cv_file_magic_cmd='/bin/file'
4800     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
4801     lt_cv_file_magic_test_file=/lib/libc.so
4802     ;;
4803   siemens)
4804     lt_cv_deplibs_check_method=pass_all
4805     ;;
4806   pc)
4807     lt_cv_deplibs_check_method=pass_all
4808     ;;
4809   esac
4810   ;;
4811
4812 tpf*)
4813   lt_cv_deplibs_check_method=pass_all
4814   ;;
4815 esac
4816
4817 fi
4818 echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
4819 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
4820 file_magic_cmd=$lt_cv_file_magic_cmd
4821 deplibs_check_method=$lt_cv_deplibs_check_method
4822 test -z "$deplibs_check_method" && deplibs_check_method=unknown
4823
4824
4825
4826
4827
4828
4829
4830
4831
4832
4833
4834
4835 if test -n "$ac_tool_prefix"; then
4836   # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
4837 set dummy ${ac_tool_prefix}ar; ac_word=$2
4838 echo "$as_me:$LINENO: checking for $ac_word" >&5
4839 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4840 if test "${ac_cv_prog_AR+set}" = set; then
4841   echo $ECHO_N "(cached) $ECHO_C" >&6
4842 else
4843   if test -n "$AR"; then
4844   ac_cv_prog_AR="$AR" # Let the user override the test.
4845 else
4846 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4847 for as_dir in $PATH
4848 do
4849   IFS=$as_save_IFS
4850   test -z "$as_dir" && as_dir=.
4851   for ac_exec_ext in '' $ac_executable_extensions; do
4852   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4853     ac_cv_prog_AR="${ac_tool_prefix}ar"
4854     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4855     break 2
4856   fi
4857 done
4858 done
4859
4860 fi
4861 fi
4862 AR=$ac_cv_prog_AR
4863 if test -n "$AR"; then
4864   echo "$as_me:$LINENO: result: $AR" >&5
4865 echo "${ECHO_T}$AR" >&6
4866 else
4867   echo "$as_me:$LINENO: result: no" >&5
4868 echo "${ECHO_T}no" >&6
4869 fi
4870
4871 fi
4872 if test -z "$ac_cv_prog_AR"; then
4873   ac_ct_AR=$AR
4874   # Extract the first word of "ar", so it can be a program name with args.
4875 set dummy ar; ac_word=$2
4876 echo "$as_me:$LINENO: checking for $ac_word" >&5
4877 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4878 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
4879   echo $ECHO_N "(cached) $ECHO_C" >&6
4880 else
4881   if test -n "$ac_ct_AR"; then
4882   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
4883 else
4884 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4885 for as_dir in $PATH
4886 do
4887   IFS=$as_save_IFS
4888   test -z "$as_dir" && as_dir=.
4889   for ac_exec_ext in '' $ac_executable_extensions; do
4890   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4891     ac_cv_prog_ac_ct_AR="ar"
4892     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4893     break 2
4894   fi
4895 done
4896 done
4897
4898   test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="false"
4899 fi
4900 fi
4901 ac_ct_AR=$ac_cv_prog_ac_ct_AR
4902 if test -n "$ac_ct_AR"; then
4903   echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
4904 echo "${ECHO_T}$ac_ct_AR" >&6
4905 else
4906   echo "$as_me:$LINENO: result: no" >&5
4907 echo "${ECHO_T}no" >&6
4908 fi
4909
4910   AR=$ac_ct_AR
4911 else
4912   AR="$ac_cv_prog_AR"
4913 fi
4914
4915 test -z "$AR" && AR=ar
4916 test -z "$AR_FLAGS" && AR_FLAGS=cru
4917
4918
4919
4920
4921
4922
4923
4924
4925
4926
4927
4928 if test -n "$ac_tool_prefix"; then
4929   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
4930 set dummy ${ac_tool_prefix}strip; ac_word=$2
4931 echo "$as_me:$LINENO: checking for $ac_word" >&5
4932 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4933 if test "${ac_cv_prog_STRIP+set}" = set; then
4934   echo $ECHO_N "(cached) $ECHO_C" >&6
4935 else
4936   if test -n "$STRIP"; then
4937   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
4938 else
4939 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4940 for as_dir in $PATH
4941 do
4942   IFS=$as_save_IFS
4943   test -z "$as_dir" && as_dir=.
4944   for ac_exec_ext in '' $ac_executable_extensions; do
4945   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4946     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
4947     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4948     break 2
4949   fi
4950 done
4951 done
4952
4953 fi
4954 fi
4955 STRIP=$ac_cv_prog_STRIP
4956 if test -n "$STRIP"; then
4957   echo "$as_me:$LINENO: result: $STRIP" >&5
4958 echo "${ECHO_T}$STRIP" >&6
4959 else
4960   echo "$as_me:$LINENO: result: no" >&5
4961 echo "${ECHO_T}no" >&6
4962 fi
4963
4964 fi
4965 if test -z "$ac_cv_prog_STRIP"; then
4966   ac_ct_STRIP=$STRIP
4967   # Extract the first word of "strip", so it can be a program name with args.
4968 set dummy strip; ac_word=$2
4969 echo "$as_me:$LINENO: checking for $ac_word" >&5
4970 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4971 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
4972   echo $ECHO_N "(cached) $ECHO_C" >&6
4973 else
4974   if test -n "$ac_ct_STRIP"; then
4975   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
4976 else
4977 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4978 for as_dir in $PATH
4979 do
4980   IFS=$as_save_IFS
4981   test -z "$as_dir" && as_dir=.
4982   for ac_exec_ext in '' $ac_executable_extensions; do
4983   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4984     ac_cv_prog_ac_ct_STRIP="strip"
4985     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4986     break 2
4987   fi
4988 done
4989 done
4990
4991   test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
4992 fi
4993 fi
4994 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
4995 if test -n "$ac_ct_STRIP"; then
4996   echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
4997 echo "${ECHO_T}$ac_ct_STRIP" >&6
4998 else
4999   echo "$as_me:$LINENO: result: no" >&5
5000 echo "${ECHO_T}no" >&6
5001 fi
5002
5003   STRIP=$ac_ct_STRIP
5004 else
5005   STRIP="$ac_cv_prog_STRIP"
5006 fi
5007
5008 test -z "$STRIP" && STRIP=:
5009
5010
5011
5012
5013
5014
5015 if test -n "$ac_tool_prefix"; then
5016   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5017 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5018 echo "$as_me:$LINENO: checking for $ac_word" >&5
5019 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5020 if test "${ac_cv_prog_RANLIB+set}" = set; then
5021   echo $ECHO_N "(cached) $ECHO_C" >&6
5022 else
5023   if test -n "$RANLIB"; then
5024   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5025 else
5026 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5027 for as_dir in $PATH
5028 do
5029   IFS=$as_save_IFS
5030   test -z "$as_dir" && as_dir=.
5031   for ac_exec_ext in '' $ac_executable_extensions; do
5032   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5033     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5034     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5035     break 2
5036   fi
5037 done
5038 done
5039
5040 fi
5041 fi
5042 RANLIB=$ac_cv_prog_RANLIB
5043 if test -n "$RANLIB"; then
5044   echo "$as_me:$LINENO: result: $RANLIB" >&5
5045 echo "${ECHO_T}$RANLIB" >&6
5046 else
5047   echo "$as_me:$LINENO: result: no" >&5
5048 echo "${ECHO_T}no" >&6
5049 fi
5050
5051 fi
5052 if test -z "$ac_cv_prog_RANLIB"; then
5053   ac_ct_RANLIB=$RANLIB
5054   # Extract the first word of "ranlib", so it can be a program name with args.
5055 set dummy ranlib; ac_word=$2
5056 echo "$as_me:$LINENO: checking for $ac_word" >&5
5057 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5058 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5059   echo $ECHO_N "(cached) $ECHO_C" >&6
5060 else
5061   if test -n "$ac_ct_RANLIB"; then
5062   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5063 else
5064 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5065 for as_dir in $PATH
5066 do
5067   IFS=$as_save_IFS
5068   test -z "$as_dir" && as_dir=.
5069   for ac_exec_ext in '' $ac_executable_extensions; do
5070   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5071     ac_cv_prog_ac_ct_RANLIB="ranlib"
5072     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5073     break 2
5074   fi
5075 done
5076 done
5077
5078   test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
5079 fi
5080 fi
5081 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5082 if test -n "$ac_ct_RANLIB"; then
5083   echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
5084 echo "${ECHO_T}$ac_ct_RANLIB" >&6
5085 else
5086   echo "$as_me:$LINENO: result: no" >&5
5087 echo "${ECHO_T}no" >&6
5088 fi
5089
5090   RANLIB=$ac_ct_RANLIB
5091 else
5092   RANLIB="$ac_cv_prog_RANLIB"
5093 fi
5094
5095 test -z "$RANLIB" && RANLIB=:
5096
5097
5098
5099
5100
5101
5102 # Determine commands to create old-style static archives.
5103 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
5104 old_postinstall_cmds='chmod 644 $oldlib'
5105 old_postuninstall_cmds=
5106
5107 if test -n "$RANLIB"; then
5108   case $host_os in
5109   openbsd*)
5110     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
5111     ;;
5112   *)
5113     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
5114     ;;
5115   esac
5116   old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
5117 fi
5118
5119
5120
5121
5122
5123
5124
5125
5126
5127
5128
5129
5130
5131
5132
5133
5134
5135
5136
5137
5138
5139
5140
5141
5142
5143
5144
5145
5146
5147
5148
5149
5150
5151
5152 # If no C compiler was specified, use CC.
5153 LTCC=${LTCC-"$CC"}
5154
5155 # If no C compiler flags were specified, use CFLAGS.
5156 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
5157
5158 # Allow CC to be a program name with arguments.
5159 compiler=$CC
5160
5161
5162 # Check for command to grab the raw symbol name followed by C symbol from nm.
5163 echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
5164 echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6
5165 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
5166   echo $ECHO_N "(cached) $ECHO_C" >&6
5167 else
5168
5169 # These are sane defaults that work on at least a few old systems.
5170 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
5171
5172 # Character class describing NM global symbol codes.
5173 symcode='[BCDEGRST]'
5174
5175 # Regexp to match symbols that can be accessed directly from C.
5176 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
5177
5178 # Define system-specific variables.
5179 case $host_os in
5180 aix*)
5181   symcode='[BCDT]'
5182   ;;
5183 cygwin* | mingw* | pw32*)
5184   symcode='[ABCDGISTW]'
5185   ;;
5186 hpux*)
5187   if test "$host_cpu" = ia64; then
5188     symcode='[ABCDEGRST]'
5189   fi
5190   ;;
5191 irix* | nonstopux*)
5192   symcode='[BCDEGRST]'
5193   ;;
5194 osf*)
5195   symcode='[BCDEGQRST]'
5196   ;;
5197 solaris*)
5198   symcode='[BDRT]'
5199   ;;
5200 sco3.2v5*)
5201   symcode='[DT]'
5202   ;;
5203 sysv4.2uw2*)
5204   symcode='[DT]'
5205   ;;
5206 sysv5* | sco5v6* | unixware* | OpenUNIX*)
5207   symcode='[ABDT]'
5208   ;;
5209 sysv4)
5210   symcode='[DFNSTU]'
5211   ;;
5212 esac
5213
5214 # If we're using GNU nm, then use its standard symbol codes.
5215 case `$NM -V 2>&1` in
5216 *GNU* | *'with BFD'*)
5217   symcode='[ABCDGIRSTW]' ;;
5218 esac
5219
5220 # Transform an extracted symbol line into a proper C declaration.
5221 # Some systems (esp. on ia64) link data and code symbols differently,
5222 # so use this general approach.
5223 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
5224
5225 # Transform an extracted symbol line into symbol name and symbol address
5226 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
5227
5228 # Handle CRLF in mingw tool chain
5229 opt_cr=
5230 case $build_os in
5231 mingw*)
5232   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
5233   ;;
5234 esac
5235
5236 # Try without a prefix underscore, then with it.
5237 for ac_symprfx in "" "_"; do
5238
5239   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
5240   symxfrm="\\1 $ac_symprfx\\2 \\2"
5241
5242   # Write the raw and C identifiers.
5243   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
5244     # Fake it for dumpbin and say T for any non-static function
5245     # and D for any global variable.
5246     # Also find C++ and __fastcall symbols from MSVC++,
5247     # which start with @ or ?.
5248     lt_cv_sys_global_symbol_pipe="$AWK '"\
5249 "     {last_section=section; section=\$ 3};"\
5250 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
5251 "     \$ 0!~/External *\|/{next};"\
5252 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
5253 "     {if(hide[section]) next};"\
5254 "     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
5255 "     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
5256 "     s[1]~/^[@?]/{print s[1], s[1]; next};"\
5257 "     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
5258 "     ' prfx=^$ac_symprfx"
5259   else
5260     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[      ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
5261   fi
5262
5263   # Check to see that the pipe works correctly.
5264   pipe_works=no
5265
5266   rm -f conftest*
5267   cat > conftest.$ac_ext <<_LT_EOF
5268 #ifdef __cplusplus
5269 extern "C" {
5270 #endif
5271 char nm_test_var;
5272 void nm_test_func(void);
5273 void nm_test_func(void){}
5274 #ifdef __cplusplus
5275 }
5276 #endif
5277 int main(){nm_test_var='a';nm_test_func();return(0);}
5278 _LT_EOF
5279
5280   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5281   (eval $ac_compile) 2>&5
5282   ac_status=$?
5283   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5284   (exit $ac_status); }; then
5285     # Now try to grab the symbols.
5286     nlist=conftest.nm
5287     if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
5288   (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
5289   ac_status=$?
5290   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5291   (exit $ac_status); } && test -s "$nlist"; then
5292       # Try sorting and uniquifying the output.
5293       if sort "$nlist" | uniq > "$nlist"T; then
5294         mv -f "$nlist"T "$nlist"
5295       else
5296         rm -f "$nlist"T
5297       fi
5298
5299       # Make sure that we snagged all the symbols we need.
5300       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
5301         if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
5302           cat <<_LT_EOF > conftest.$ac_ext
5303 #ifdef __cplusplus
5304 extern "C" {
5305 #endif
5306
5307 _LT_EOF
5308           # Now generate the symbol file.
5309           eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
5310
5311           cat <<_LT_EOF >> conftest.$ac_ext
5312
5313 /* The mapping between symbol names and symbols.  */
5314 const struct {
5315   const char *name;
5316   void       *address;
5317 }
5318 lt__PROGRAM__LTX_preloaded_symbols[] =
5319 {
5320   { "@PROGRAM@", (void *) 0 },
5321 _LT_EOF
5322           $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
5323           cat <<\_LT_EOF >> conftest.$ac_ext
5324   {0, (void *) 0}
5325 };
5326
5327 /* This works around a problem in FreeBSD linker */
5328 #ifdef FREEBSD_WORKAROUND
5329 static const void *lt_preloaded_setup() {
5330   return lt__PROGRAM__LTX_preloaded_symbols;
5331 }
5332 #endif
5333
5334 #ifdef __cplusplus
5335 }
5336 #endif
5337 _LT_EOF
5338           # Now try linking the two files.
5339           mv conftest.$ac_objext conftstm.$ac_objext
5340           lt_save_LIBS="$LIBS"
5341           lt_save_CFLAGS="$CFLAGS"
5342           LIBS="conftstm.$ac_objext"
5343           CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
5344           if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5345   (eval $ac_link) 2>&5
5346   ac_status=$?
5347   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5348   (exit $ac_status); } && test -s conftest${ac_exeext}; then
5349             pipe_works=yes
5350           fi
5351           LIBS="$lt_save_LIBS"
5352           CFLAGS="$lt_save_CFLAGS"
5353         else
5354           echo "cannot find nm_test_func in $nlist" >&5
5355         fi
5356       else
5357         echo "cannot find nm_test_var in $nlist" >&5
5358       fi
5359     else
5360       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
5361     fi
5362   else
5363     echo "$progname: failed program was:" >&5
5364     cat conftest.$ac_ext >&5
5365   fi
5366   rm -f conftest* conftst*
5367
5368   # Do not use the global_symbol_pipe unless it works.
5369   if test "$pipe_works" = yes; then
5370     break
5371   else
5372     lt_cv_sys_global_symbol_pipe=
5373   fi
5374 done
5375
5376 fi
5377
5378 if test -z "$lt_cv_sys_global_symbol_pipe"; then
5379   lt_cv_sys_global_symbol_to_cdecl=
5380 fi
5381 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
5382   echo "$as_me:$LINENO: result: failed" >&5
5383 echo "${ECHO_T}failed" >&6
5384 else
5385   echo "$as_me:$LINENO: result: ok" >&5
5386 echo "${ECHO_T}ok" >&6
5387 fi
5388
5389
5390
5391
5392
5393
5394
5395
5396
5397
5398
5399
5400
5401
5402
5403
5404
5405 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
5406 if test "${enable_libtool_lock+set}" = set; then
5407   enableval="$enable_libtool_lock"
5408
5409 fi;
5410 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
5411
5412 # Some flags need to be propagated to the compiler or linker for good
5413 # libtool support.
5414 case $host in
5415 ia64-*-hpux*)
5416   # Find out which ABI we are using.
5417   echo 'int i;' > conftest.$ac_ext
5418   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5419   (eval $ac_compile) 2>&5
5420   ac_status=$?
5421   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5422   (exit $ac_status); }; then
5423     case `/usr/bin/file conftest.$ac_objext` in
5424       *ELF-32*)
5425         HPUX_IA64_MODE="32"
5426         ;;
5427       *ELF-64*)
5428         HPUX_IA64_MODE="64"
5429         ;;
5430     esac
5431   fi
5432   rm -rf conftest*
5433   ;;
5434 *-*-irix6*)
5435   # Find out which ABI we are using.
5436   echo '#line 5436 "configure"' > conftest.$ac_ext
5437   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5438   (eval $ac_compile) 2>&5
5439   ac_status=$?
5440   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5441   (exit $ac_status); }; then
5442     if test "$lt_cv_prog_gnu_ld" = yes; then
5443       case `/usr/bin/file conftest.$ac_objext` in
5444         *32-bit*)
5445           LD="${LD-ld} -melf32bsmip"
5446           ;;
5447         *N32*)
5448           LD="${LD-ld} -melf32bmipn32"
5449           ;;
5450         *64-bit*)
5451           LD="${LD-ld} -melf64bmip"
5452         ;;
5453       esac
5454     else
5455       case `/usr/bin/file conftest.$ac_objext` in
5456         *32-bit*)
5457           LD="${LD-ld} -32"
5458           ;;
5459         *N32*)
5460           LD="${LD-ld} -n32"
5461           ;;
5462         *64-bit*)
5463           LD="${LD-ld} -64"
5464           ;;
5465       esac
5466     fi
5467   fi
5468   rm -rf conftest*
5469   ;;
5470
5471 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
5472 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
5473   # Find out which ABI we are using.
5474   echo 'int i;' > conftest.$ac_ext
5475   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5476   (eval $ac_compile) 2>&5
5477   ac_status=$?
5478   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5479   (exit $ac_status); }; then
5480     case `/usr/bin/file conftest.o` in
5481       *32-bit*)
5482         case $host in
5483           x86_64-*kfreebsd*-gnu)
5484             LD="${LD-ld} -m elf_i386_fbsd"
5485             ;;
5486           x86_64-*linux*)
5487             LD="${LD-ld} -m elf_i386"
5488             ;;
5489           ppc64-*linux*|powerpc64-*linux*)
5490             LD="${LD-ld} -m elf32ppclinux"
5491             ;;
5492           s390x-*linux*)
5493             LD="${LD-ld} -m elf_s390"
5494             ;;
5495           sparc64-*linux*)
5496             LD="${LD-ld} -m elf32_sparc"
5497             ;;
5498         esac
5499         ;;
5500       *64-bit*)
5501         case $host in
5502           x86_64-*kfreebsd*-gnu)
5503             LD="${LD-ld} -m elf_x86_64_fbsd"
5504             ;;
5505           x86_64-*linux*)
5506             LD="${LD-ld} -m elf_x86_64"
5507             ;;
5508           ppc*-*linux*|powerpc*-*linux*)
5509             LD="${LD-ld} -m elf64ppc"
5510             ;;
5511           s390*-*linux*|s390*-*tpf*)
5512             LD="${LD-ld} -m elf64_s390"
5513             ;;
5514           sparc*-*linux*)
5515             LD="${LD-ld} -m elf64_sparc"
5516             ;;
5517         esac
5518         ;;
5519     esac
5520   fi
5521   rm -rf conftest*
5522   ;;
5523
5524 *-*-sco3.2v5*)
5525   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
5526   SAVE_CFLAGS="$CFLAGS"
5527   CFLAGS="$CFLAGS -belf"
5528   echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
5529 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
5530 if test "${lt_cv_cc_needs_belf+set}" = set; then
5531   echo $ECHO_N "(cached) $ECHO_C" >&6
5532 else
5533   ac_ext=c
5534 ac_cpp='$CPP $CPPFLAGS'
5535 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5536 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5537 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5538
5539      if test x$gcc_no_link = xyes; then
5540   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
5541 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
5542    { (exit 1); exit 1; }; }
5543 fi
5544 cat >conftest.$ac_ext <<_ACEOF
5545 /* confdefs.h.  */
5546 _ACEOF
5547 cat confdefs.h >>conftest.$ac_ext
5548 cat >>conftest.$ac_ext <<_ACEOF
5549 /* end confdefs.h.  */
5550
5551 int
5552 main ()
5553 {
5554
5555   ;
5556   return 0;
5557 }
5558 _ACEOF
5559 rm -f conftest.$ac_objext conftest$ac_exeext
5560 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5561   (eval $ac_link) 2>conftest.er1
5562   ac_status=$?
5563   grep -v '^ *+' conftest.er1 >conftest.err
5564   rm -f conftest.er1
5565   cat conftest.err >&5
5566   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5567   (exit $ac_status); } &&
5568          { ac_try='test -z "$ac_c_werror_flag"
5569                          || test ! -s conftest.err'
5570   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5571   (eval $ac_try) 2>&5
5572   ac_status=$?
5573   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5574   (exit $ac_status); }; } &&
5575          { ac_try='test -s conftest$ac_exeext'
5576   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5577   (eval $ac_try) 2>&5
5578   ac_status=$?
5579   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5580   (exit $ac_status); }; }; then
5581   lt_cv_cc_needs_belf=yes
5582 else
5583   echo "$as_me: failed program was:" >&5
5584 sed 's/^/| /' conftest.$ac_ext >&5
5585
5586 lt_cv_cc_needs_belf=no
5587 fi
5588 rm -f conftest.err conftest.$ac_objext \
5589       conftest$ac_exeext conftest.$ac_ext
5590      ac_ext=c
5591 ac_cpp='$CPP $CPPFLAGS'
5592 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5593 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5594 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5595
5596 fi
5597 echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
5598 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
5599   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
5600     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
5601     CFLAGS="$SAVE_CFLAGS"
5602   fi
5603   ;;
5604 sparc*-*solaris*)
5605   # Find out which ABI we are using.
5606   echo 'int i;' > conftest.$ac_ext
5607   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5608   (eval $ac_compile) 2>&5
5609   ac_status=$?
5610   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5611   (exit $ac_status); }; then
5612     case `/usr/bin/file conftest.o` in
5613     *64-bit*)
5614       case $lt_cv_prog_gnu_ld in
5615       yes*) LD="${LD-ld} -m elf64_sparc" ;;
5616       *)    LD="${LD-ld} -64" ;;
5617       esac
5618       ;;
5619     esac
5620   fi
5621   rm -rf conftest*
5622   ;;
5623 esac
5624
5625 need_locks="$enable_libtool_lock"
5626
5627 ac_ext=c
5628 ac_cpp='$CPP $CPPFLAGS'
5629 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5630 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5631 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5632 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
5633 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
5634 # On Suns, sometimes $CPP names a directory.
5635 if test -n "$CPP" && test -d "$CPP"; then
5636   CPP=
5637 fi
5638 if test -z "$CPP"; then
5639   if test "${ac_cv_prog_CPP+set}" = set; then
5640   echo $ECHO_N "(cached) $ECHO_C" >&6
5641 else
5642       # Double quotes because CPP needs to be expanded
5643     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5644     do
5645       ac_preproc_ok=false
5646 for ac_c_preproc_warn_flag in '' yes
5647 do
5648   # Use a header file that comes with gcc, so configuring glibc
5649   # with a fresh cross-compiler works.
5650   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5651   # <limits.h> exists even on freestanding compilers.
5652   # On the NeXT, cc -E runs the code through the compiler's parser,
5653   # not just through cpp. "Syntax error" is here to catch this case.
5654   cat >conftest.$ac_ext <<_ACEOF
5655 /* confdefs.h.  */
5656 _ACEOF
5657 cat confdefs.h >>conftest.$ac_ext
5658 cat >>conftest.$ac_ext <<_ACEOF
5659 /* end confdefs.h.  */
5660 #ifdef __STDC__
5661 # include <limits.h>
5662 #else
5663 # include <assert.h>
5664 #endif
5665                      Syntax error
5666 _ACEOF
5667 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5668   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5669   ac_status=$?
5670   grep -v '^ *+' conftest.er1 >conftest.err
5671   rm -f conftest.er1
5672   cat conftest.err >&5
5673   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5674   (exit $ac_status); } >/dev/null; then
5675   if test -s conftest.err; then
5676     ac_cpp_err=$ac_c_preproc_warn_flag
5677     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5678   else
5679     ac_cpp_err=
5680   fi
5681 else
5682   ac_cpp_err=yes
5683 fi
5684 if test -z "$ac_cpp_err"; then
5685   :
5686 else
5687   echo "$as_me: failed program was:" >&5
5688 sed 's/^/| /' conftest.$ac_ext >&5
5689
5690   # Broken: fails on valid input.
5691 continue
5692 fi
5693 rm -f conftest.err conftest.$ac_ext
5694
5695   # OK, works on sane cases.  Now check whether non-existent headers
5696   # can be detected and how.
5697   cat >conftest.$ac_ext <<_ACEOF
5698 /* confdefs.h.  */
5699 _ACEOF
5700 cat confdefs.h >>conftest.$ac_ext
5701 cat >>conftest.$ac_ext <<_ACEOF
5702 /* end confdefs.h.  */
5703 #include <ac_nonexistent.h>
5704 _ACEOF
5705 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5706   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5707   ac_status=$?
5708   grep -v '^ *+' conftest.er1 >conftest.err
5709   rm -f conftest.er1
5710   cat conftest.err >&5
5711   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5712   (exit $ac_status); } >/dev/null; then
5713   if test -s conftest.err; then
5714     ac_cpp_err=$ac_c_preproc_warn_flag
5715     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5716   else
5717     ac_cpp_err=
5718   fi
5719 else
5720   ac_cpp_err=yes
5721 fi
5722 if test -z "$ac_cpp_err"; then
5723   # Broken: success on invalid input.
5724 continue
5725 else
5726   echo "$as_me: failed program was:" >&5
5727 sed 's/^/| /' conftest.$ac_ext >&5
5728
5729   # Passes both tests.
5730 ac_preproc_ok=:
5731 break
5732 fi
5733 rm -f conftest.err conftest.$ac_ext
5734
5735 done
5736 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5737 rm -f conftest.err conftest.$ac_ext
5738 if $ac_preproc_ok; then
5739   break
5740 fi
5741
5742     done
5743     ac_cv_prog_CPP=$CPP
5744
5745 fi
5746   CPP=$ac_cv_prog_CPP
5747 else
5748   ac_cv_prog_CPP=$CPP
5749 fi
5750 echo "$as_me:$LINENO: result: $CPP" >&5
5751 echo "${ECHO_T}$CPP" >&6
5752 ac_preproc_ok=false
5753 for ac_c_preproc_warn_flag in '' yes
5754 do
5755   # Use a header file that comes with gcc, so configuring glibc
5756   # with a fresh cross-compiler works.
5757   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5758   # <limits.h> exists even on freestanding compilers.
5759   # On the NeXT, cc -E runs the code through the compiler's parser,
5760   # not just through cpp. "Syntax error" is here to catch this case.
5761   cat >conftest.$ac_ext <<_ACEOF
5762 /* confdefs.h.  */
5763 _ACEOF
5764 cat confdefs.h >>conftest.$ac_ext
5765 cat >>conftest.$ac_ext <<_ACEOF
5766 /* end confdefs.h.  */
5767 #ifdef __STDC__
5768 # include <limits.h>
5769 #else
5770 # include <assert.h>
5771 #endif
5772                      Syntax error
5773 _ACEOF
5774 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5775   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5776   ac_status=$?
5777   grep -v '^ *+' conftest.er1 >conftest.err
5778   rm -f conftest.er1
5779   cat conftest.err >&5
5780   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5781   (exit $ac_status); } >/dev/null; then
5782   if test -s conftest.err; then
5783     ac_cpp_err=$ac_c_preproc_warn_flag
5784     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5785   else
5786     ac_cpp_err=
5787   fi
5788 else
5789   ac_cpp_err=yes
5790 fi
5791 if test -z "$ac_cpp_err"; then
5792   :
5793 else
5794   echo "$as_me: failed program was:" >&5
5795 sed 's/^/| /' conftest.$ac_ext >&5
5796
5797   # Broken: fails on valid input.
5798 continue
5799 fi
5800 rm -f conftest.err conftest.$ac_ext
5801
5802   # OK, works on sane cases.  Now check whether non-existent headers
5803   # can be detected and how.
5804   cat >conftest.$ac_ext <<_ACEOF
5805 /* confdefs.h.  */
5806 _ACEOF
5807 cat confdefs.h >>conftest.$ac_ext
5808 cat >>conftest.$ac_ext <<_ACEOF
5809 /* end confdefs.h.  */
5810 #include <ac_nonexistent.h>
5811 _ACEOF
5812 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5813   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5814   ac_status=$?
5815   grep -v '^ *+' conftest.er1 >conftest.err
5816   rm -f conftest.er1
5817   cat conftest.err >&5
5818   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5819   (exit $ac_status); } >/dev/null; then
5820   if test -s conftest.err; then
5821     ac_cpp_err=$ac_c_preproc_warn_flag
5822     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5823   else
5824     ac_cpp_err=
5825   fi
5826 else
5827   ac_cpp_err=yes
5828 fi
5829 if test -z "$ac_cpp_err"; then
5830   # Broken: success on invalid input.
5831 continue
5832 else
5833   echo "$as_me: failed program was:" >&5
5834 sed 's/^/| /' conftest.$ac_ext >&5
5835
5836   # Passes both tests.
5837 ac_preproc_ok=:
5838 break
5839 fi
5840 rm -f conftest.err conftest.$ac_ext
5841
5842 done
5843 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5844 rm -f conftest.err conftest.$ac_ext
5845 if $ac_preproc_ok; then
5846   :
5847 else
5848   { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
5849 See \`config.log' for more details." >&5
5850 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
5851 See \`config.log' for more details." >&2;}
5852    { (exit 1); exit 1; }; }
5853 fi
5854
5855 ac_ext=c
5856 ac_cpp='$CPP $CPPFLAGS'
5857 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5858 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5859 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5860
5861
5862 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5863 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
5864 if test "${ac_cv_header_stdc+set}" = set; then
5865   echo $ECHO_N "(cached) $ECHO_C" >&6
5866 else
5867   cat >conftest.$ac_ext <<_ACEOF
5868 /* confdefs.h.  */
5869 _ACEOF
5870 cat confdefs.h >>conftest.$ac_ext
5871 cat >>conftest.$ac_ext <<_ACEOF
5872 /* end confdefs.h.  */
5873 #include <stdlib.h>
5874 #include <stdarg.h>
5875 #include <string.h>
5876 #include <float.h>
5877
5878 int
5879 main ()
5880 {
5881
5882   ;
5883   return 0;
5884 }
5885 _ACEOF
5886 rm -f conftest.$ac_objext
5887 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5888   (eval $ac_compile) 2>conftest.er1
5889   ac_status=$?
5890   grep -v '^ *+' conftest.er1 >conftest.err
5891   rm -f conftest.er1
5892   cat conftest.err >&5
5893   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5894   (exit $ac_status); } &&
5895          { ac_try='test -z "$ac_c_werror_flag"
5896                          || test ! -s conftest.err'
5897   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5898   (eval $ac_try) 2>&5
5899   ac_status=$?
5900   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5901   (exit $ac_status); }; } &&
5902          { ac_try='test -s conftest.$ac_objext'
5903   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5904   (eval $ac_try) 2>&5
5905   ac_status=$?
5906   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5907   (exit $ac_status); }; }; then
5908   ac_cv_header_stdc=yes
5909 else
5910   echo "$as_me: failed program was:" >&5
5911 sed 's/^/| /' conftest.$ac_ext >&5
5912
5913 ac_cv_header_stdc=no
5914 fi
5915 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5916
5917 if test $ac_cv_header_stdc = yes; then
5918   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5919   cat >conftest.$ac_ext <<_ACEOF
5920 /* confdefs.h.  */
5921 _ACEOF
5922 cat confdefs.h >>conftest.$ac_ext
5923 cat >>conftest.$ac_ext <<_ACEOF
5924 /* end confdefs.h.  */
5925 #include <string.h>
5926
5927 _ACEOF
5928 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5929   $EGREP "memchr" >/dev/null 2>&1; then
5930   :
5931 else
5932   ac_cv_header_stdc=no
5933 fi
5934 rm -f conftest*
5935
5936 fi
5937
5938 if test $ac_cv_header_stdc = yes; then
5939   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5940   cat >conftest.$ac_ext <<_ACEOF
5941 /* confdefs.h.  */
5942 _ACEOF
5943 cat confdefs.h >>conftest.$ac_ext
5944 cat >>conftest.$ac_ext <<_ACEOF
5945 /* end confdefs.h.  */
5946 #include <stdlib.h>
5947
5948 _ACEOF
5949 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5950   $EGREP "free" >/dev/null 2>&1; then
5951   :
5952 else
5953   ac_cv_header_stdc=no
5954 fi
5955 rm -f conftest*
5956
5957 fi
5958
5959 if test $ac_cv_header_stdc = yes; then
5960   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5961   if test "$cross_compiling" = yes; then
5962   :
5963 else
5964   cat >conftest.$ac_ext <<_ACEOF
5965 /* confdefs.h.  */
5966 _ACEOF
5967 cat confdefs.h >>conftest.$ac_ext
5968 cat >>conftest.$ac_ext <<_ACEOF
5969 /* end confdefs.h.  */
5970 #include <ctype.h>
5971 #if ((' ' & 0x0FF) == 0x020)
5972 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5973 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5974 #else
5975 # define ISLOWER(c) \
5976                    (('a' <= (c) && (c) <= 'i') \
5977                      || ('j' <= (c) && (c) <= 'r') \
5978                      || ('s' <= (c) && (c) <= 'z'))
5979 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5980 #endif
5981
5982 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5983 int
5984 main ()
5985 {
5986   int i;
5987   for (i = 0; i < 256; i++)
5988     if (XOR (islower (i), ISLOWER (i))
5989         || toupper (i) != TOUPPER (i))
5990       exit(2);
5991   exit (0);
5992 }
5993 _ACEOF
5994 rm -f conftest$ac_exeext
5995 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5996   (eval $ac_link) 2>&5
5997   ac_status=$?
5998   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5999   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6000   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6001   (eval $ac_try) 2>&5
6002   ac_status=$?
6003   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6004   (exit $ac_status); }; }; then
6005   :
6006 else
6007   echo "$as_me: program exited with status $ac_status" >&5
6008 echo "$as_me: failed program was:" >&5
6009 sed 's/^/| /' conftest.$ac_ext >&5
6010
6011 ( exit $ac_status )
6012 ac_cv_header_stdc=no
6013 fi
6014 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6015 fi
6016 fi
6017 fi
6018 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
6019 echo "${ECHO_T}$ac_cv_header_stdc" >&6
6020 if test $ac_cv_header_stdc = yes; then
6021
6022 cat >>confdefs.h <<\_ACEOF
6023 #define STDC_HEADERS 1
6024 _ACEOF
6025
6026 fi
6027
6028 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6029
6030
6031
6032
6033
6034
6035
6036
6037
6038 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6039                   inttypes.h stdint.h unistd.h
6040 do
6041 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6042 echo "$as_me:$LINENO: checking for $ac_header" >&5
6043 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6044 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6045   echo $ECHO_N "(cached) $ECHO_C" >&6
6046 else
6047   cat >conftest.$ac_ext <<_ACEOF
6048 /* confdefs.h.  */
6049 _ACEOF
6050 cat confdefs.h >>conftest.$ac_ext
6051 cat >>conftest.$ac_ext <<_ACEOF
6052 /* end confdefs.h.  */
6053 $ac_includes_default
6054
6055 #include <$ac_header>
6056 _ACEOF
6057 rm -f conftest.$ac_objext
6058 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6059   (eval $ac_compile) 2>conftest.er1
6060   ac_status=$?
6061   grep -v '^ *+' conftest.er1 >conftest.err
6062   rm -f conftest.er1
6063   cat conftest.err >&5
6064   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6065   (exit $ac_status); } &&
6066          { ac_try='test -z "$ac_c_werror_flag"
6067                          || test ! -s conftest.err'
6068   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6069   (eval $ac_try) 2>&5
6070   ac_status=$?
6071   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6072   (exit $ac_status); }; } &&
6073          { ac_try='test -s conftest.$ac_objext'
6074   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6075   (eval $ac_try) 2>&5
6076   ac_status=$?
6077   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6078   (exit $ac_status); }; }; then
6079   eval "$as_ac_Header=yes"
6080 else
6081   echo "$as_me: failed program was:" >&5
6082 sed 's/^/| /' conftest.$ac_ext >&5
6083
6084 eval "$as_ac_Header=no"
6085 fi
6086 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6087 fi
6088 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6089 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6090 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6091   cat >>confdefs.h <<_ACEOF
6092 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6093 _ACEOF
6094
6095 fi
6096
6097 done
6098
6099
6100
6101 for ac_header in dlfcn.h
6102 do
6103 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6104 echo "$as_me:$LINENO: checking for $ac_header" >&5
6105 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6106 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6107   echo $ECHO_N "(cached) $ECHO_C" >&6
6108 else
6109   cat >conftest.$ac_ext <<_ACEOF
6110 /* confdefs.h.  */
6111 _ACEOF
6112 cat confdefs.h >>conftest.$ac_ext
6113 cat >>conftest.$ac_ext <<_ACEOF
6114 /* end confdefs.h.  */
6115 $ac_includes_default
6116
6117 #include <$ac_header>
6118 _ACEOF
6119 rm -f conftest.$ac_objext
6120 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6121   (eval $ac_compile) 2>conftest.er1
6122   ac_status=$?
6123   grep -v '^ *+' conftest.er1 >conftest.err
6124   rm -f conftest.er1
6125   cat conftest.err >&5
6126   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6127   (exit $ac_status); } &&
6128          { ac_try='test -z "$ac_c_werror_flag"
6129                          || test ! -s conftest.err'
6130   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6131   (eval $ac_try) 2>&5
6132   ac_status=$?
6133   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6134   (exit $ac_status); }; } &&
6135          { ac_try='test -s conftest.$ac_objext'
6136   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6137   (eval $ac_try) 2>&5
6138   ac_status=$?
6139   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6140   (exit $ac_status); }; }; then
6141   eval "$as_ac_Header=yes"
6142 else
6143   echo "$as_me: failed program was:" >&5
6144 sed 's/^/| /' conftest.$ac_ext >&5
6145
6146 eval "$as_ac_Header=no"
6147 fi
6148 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6149 fi
6150 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6151 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6152 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6153   cat >>confdefs.h <<_ACEOF
6154 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6155 _ACEOF
6156
6157 fi
6158
6159 done
6160
6161
6162
6163 # This can be used to rebuild libtool when needed
6164 LIBTOOL_DEPS="$ltmain"
6165
6166 # Always use our own libtool.
6167 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
6168
6169
6170
6171
6172
6173
6174
6175
6176
6177
6178
6179
6180
6181
6182
6183
6184
6185
6186
6187
6188
6189
6190
6191
6192
6193 test -z "$LN_S" && LN_S="ln -s"
6194
6195
6196
6197
6198
6199
6200
6201
6202
6203
6204
6205
6206
6207
6208 if test -n "${ZSH_VERSION+set}" ; then
6209    setopt NO_GLOB_SUBST
6210 fi
6211
6212 echo "$as_me:$LINENO: checking for objdir" >&5
6213 echo $ECHO_N "checking for objdir... $ECHO_C" >&6
6214 if test "${lt_cv_objdir+set}" = set; then
6215   echo $ECHO_N "(cached) $ECHO_C" >&6
6216 else
6217   rm -f .libs 2>/dev/null
6218 mkdir .libs 2>/dev/null
6219 if test -d .libs; then
6220   lt_cv_objdir=.libs
6221 else
6222   # MS-DOS does not allow filenames that begin with a dot.
6223   lt_cv_objdir=_libs
6224 fi
6225 rmdir .libs 2>/dev/null
6226 fi
6227 echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
6228 echo "${ECHO_T}$lt_cv_objdir" >&6
6229 objdir=$lt_cv_objdir
6230
6231
6232
6233
6234
6235 cat >>confdefs.h <<_ACEOF
6236 #define LT_OBJDIR "$lt_cv_objdir/"
6237 _ACEOF
6238
6239
6240
6241
6242
6243
6244
6245
6246
6247
6248
6249
6250
6251
6252
6253
6254
6255 case $host_os in
6256 aix3*)
6257   # AIX sometimes has problems with the GCC collect2 program.  For some
6258   # reason, if we set the COLLECT_NAMES environment variable, the problems
6259   # vanish in a puff of smoke.
6260   if test "X${COLLECT_NAMES+set}" != Xset; then
6261     COLLECT_NAMES=
6262     export COLLECT_NAMES
6263   fi
6264   ;;
6265 esac
6266
6267 # Sed substitution that helps us do robust quoting.  It backslashifies
6268 # metacharacters that are still active within double-quoted strings.
6269 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
6270
6271 # Same as above, but do not quote variable references.
6272 double_quote_subst='s/\(["`\\]\)/\\\1/g'
6273
6274 # Sed substitution to delay expansion of an escaped shell variable in a
6275 # double_quote_subst'ed string.
6276 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
6277
6278 # Sed substitution to delay expansion of an escaped single quote.
6279 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
6280
6281 # Sed substitution to avoid accidental globbing in evaled expressions
6282 no_glob_subst='s/\*/\\\*/g'
6283
6284 # Global variables:
6285 ofile=libtool
6286 can_build_shared=yes
6287
6288 # All known linkers require a `.a' archive for static linking (except MSVC,
6289 # which needs '.lib').
6290 libext=a
6291
6292 with_gnu_ld="$lt_cv_prog_gnu_ld"
6293
6294 old_CC="$CC"
6295 old_CFLAGS="$CFLAGS"
6296
6297 # Set sane defaults for various variables
6298 test -z "$CC" && CC=cc
6299 test -z "$LTCC" && LTCC=$CC
6300 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
6301 test -z "$LD" && LD=ld
6302 test -z "$ac_objext" && ac_objext=o
6303
6304 for cc_temp in $compiler""; do
6305   case $cc_temp in
6306     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
6307     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
6308     \-*) ;;
6309     *) break;;
6310   esac
6311 done
6312 cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
6313
6314
6315 # Only perform the check for file, if the check method requires it
6316 test -z "$MAGIC_CMD" && MAGIC_CMD=file
6317 case $deplibs_check_method in
6318 file_magic*)
6319   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
6320     echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
6321 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
6322 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
6323   echo $ECHO_N "(cached) $ECHO_C" >&6
6324 else
6325   case $MAGIC_CMD in
6326 [\\/*] |  ?:[\\/]*)
6327   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
6328   ;;
6329 *)
6330   lt_save_MAGIC_CMD="$MAGIC_CMD"
6331   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6332   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
6333   for ac_dir in $ac_dummy; do
6334     IFS="$lt_save_ifs"
6335     test -z "$ac_dir" && ac_dir=.
6336     if test -f $ac_dir/${ac_tool_prefix}file; then
6337       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
6338       if test -n "$file_magic_test_file"; then
6339         case $deplibs_check_method in
6340         "file_magic "*)
6341           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
6342           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6343           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
6344             $EGREP "$file_magic_regex" > /dev/null; then
6345             :
6346           else
6347             cat <<_LT_EOF 1>&2
6348
6349 *** Warning: the command libtool uses to detect shared libraries,
6350 *** $file_magic_cmd, produces output that libtool cannot recognize.
6351 *** The result is that libtool may fail to recognize shared libraries
6352 *** as such.  This will affect the creation of libtool libraries that
6353 *** depend on shared libraries, but programs linked with such libtool
6354 *** libraries will work regardless of this problem.  Nevertheless, you
6355 *** may want to report the problem to your system manager and/or to
6356 *** bug-libtool@gnu.org
6357
6358 _LT_EOF
6359           fi ;;
6360         esac
6361       fi
6362       break
6363     fi
6364   done
6365   IFS="$lt_save_ifs"
6366   MAGIC_CMD="$lt_save_MAGIC_CMD"
6367   ;;
6368 esac
6369 fi
6370
6371 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6372 if test -n "$MAGIC_CMD"; then
6373   echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
6374 echo "${ECHO_T}$MAGIC_CMD" >&6
6375 else
6376   echo "$as_me:$LINENO: result: no" >&5
6377 echo "${ECHO_T}no" >&6
6378 fi
6379
6380
6381
6382
6383
6384 if test -z "$lt_cv_path_MAGIC_CMD"; then
6385   if test -n "$ac_tool_prefix"; then
6386     echo "$as_me:$LINENO: checking for file" >&5
6387 echo $ECHO_N "checking for file... $ECHO_C" >&6
6388 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
6389   echo $ECHO_N "(cached) $ECHO_C" >&6
6390 else
6391   case $MAGIC_CMD in
6392 [\\/*] |  ?:[\\/]*)
6393   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
6394   ;;
6395 *)
6396   lt_save_MAGIC_CMD="$MAGIC_CMD"
6397   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6398   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
6399   for ac_dir in $ac_dummy; do
6400     IFS="$lt_save_ifs"
6401     test -z "$ac_dir" && ac_dir=.
6402     if test -f $ac_dir/file; then
6403       lt_cv_path_MAGIC_CMD="$ac_dir/file"
6404       if test -n "$file_magic_test_file"; then
6405         case $deplibs_check_method in
6406         "file_magic "*)
6407           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
6408           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6409           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
6410             $EGREP "$file_magic_regex" > /dev/null; then
6411             :
6412           else
6413             cat <<_LT_EOF 1>&2
6414
6415 *** Warning: the command libtool uses to detect shared libraries,
6416 *** $file_magic_cmd, produces output that libtool cannot recognize.
6417 *** The result is that libtool may fail to recognize shared libraries
6418 *** as such.  This will affect the creation of libtool libraries that
6419 *** depend on shared libraries, but programs linked with such libtool
6420 *** libraries will work regardless of this problem.  Nevertheless, you
6421 *** may want to report the problem to your system manager and/or to
6422 *** bug-libtool@gnu.org
6423
6424 _LT_EOF
6425           fi ;;
6426         esac
6427       fi
6428       break
6429     fi
6430   done
6431   IFS="$lt_save_ifs"
6432   MAGIC_CMD="$lt_save_MAGIC_CMD"
6433   ;;
6434 esac
6435 fi
6436
6437 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6438 if test -n "$MAGIC_CMD"; then
6439   echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
6440 echo "${ECHO_T}$MAGIC_CMD" >&6
6441 else
6442   echo "$as_me:$LINENO: result: no" >&5
6443 echo "${ECHO_T}no" >&6
6444 fi
6445
6446
6447   else
6448     MAGIC_CMD=:
6449   fi
6450 fi
6451
6452   fi
6453   ;;
6454 esac
6455
6456 # Use C for the default configuration in the libtool script
6457
6458 lt_save_CC="$CC"
6459 ac_ext=c
6460 ac_cpp='$CPP $CPPFLAGS'
6461 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6462 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6463 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6464
6465
6466 # Source file extension for C test sources.
6467 ac_ext=c
6468
6469 # Object file extension for compiled C test sources.
6470 objext=o
6471 objext=$objext
6472
6473 # Code to be used in simple compile tests
6474 lt_simple_compile_test_code="int some_variable = 0;"
6475
6476 # Code to be used in simple link tests
6477 lt_simple_link_test_code='int main(){return(0);}'
6478
6479
6480
6481
6482
6483
6484
6485 # If no C compiler was specified, use CC.
6486 LTCC=${LTCC-"$CC"}
6487
6488 # If no C compiler flags were specified, use CFLAGS.
6489 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6490
6491 # Allow CC to be a program name with arguments.
6492 compiler=$CC
6493
6494 # Save the default compiler, since it gets overwritten when the other
6495 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
6496 compiler_DEFAULT=$CC
6497
6498 # save warnings/boilerplate of simple test code
6499 ac_outfile=conftest.$ac_objext
6500 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
6501 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
6502 _lt_compiler_boilerplate=`cat conftest.err`
6503 $RM conftest*
6504
6505 ac_outfile=conftest.$ac_objext
6506 echo "$lt_simple_link_test_code" >conftest.$ac_ext
6507 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
6508 _lt_linker_boilerplate=`cat conftest.err`
6509 $RM conftest*
6510
6511
6512 ## CAVEAT EMPTOR:
6513 ## There is no encapsulation within the following macros, do not change
6514 ## the running order or otherwise move them around unless you know exactly
6515 ## what you are doing...
6516 if test -n "$compiler"; then
6517
6518 lt_prog_compiler_no_builtin_flag=
6519
6520 if test "$GCC" = yes; then
6521   lt_prog_compiler_no_builtin_flag=' -fno-builtin'
6522
6523   echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
6524 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
6525 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
6526   echo $ECHO_N "(cached) $ECHO_C" >&6
6527 else
6528   lt_cv_prog_compiler_rtti_exceptions=no
6529    ac_outfile=conftest.$ac_objext
6530    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
6531    lt_compiler_flag="-fno-rtti -fno-exceptions"
6532    # Insert the option either (1) after the last *FLAGS variable, or
6533    # (2) before a word containing "conftest.", or (3) at the end.
6534    # Note that $ac_compile itself does not contain backslashes and begins
6535    # with a dollar sign (not a hyphen), so the echo should work correctly.
6536    # The option is referenced via a variable to avoid confusing sed.
6537    lt_compile=`echo "$ac_compile" | $SED \
6538    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
6539    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6540    -e 's:$: $lt_compiler_flag:'`
6541    (eval echo "\"\$as_me:6541: $lt_compile\"" >&5)
6542    (eval "$lt_compile" 2>conftest.err)
6543    ac_status=$?
6544    cat conftest.err >&5
6545    echo "$as_me:6545: \$? = $ac_status" >&5
6546    if (exit $ac_status) && test -s "$ac_outfile"; then
6547      # The compiler can only warn and ignore the option if not recognized
6548      # So say no if there are warnings other than the usual output.
6549      $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
6550      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
6551      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
6552        lt_cv_prog_compiler_rtti_exceptions=yes
6553      fi
6554    fi
6555    $RM conftest*
6556
6557 fi
6558 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
6559 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
6560
6561 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
6562     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
6563 else
6564     :
6565 fi
6566
6567 fi
6568
6569
6570
6571
6572
6573
6574   lt_prog_compiler_wl=
6575 lt_prog_compiler_pic=
6576 lt_prog_compiler_static=
6577
6578 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
6579 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
6580
6581   if test "$GCC" = yes; then
6582     lt_prog_compiler_wl='-Wl,'
6583     lt_prog_compiler_static='-static'
6584
6585     case $host_os in
6586       aix*)
6587       # All AIX code is PIC.
6588       if test "$host_cpu" = ia64; then
6589         # AIX 5 now supports IA64 processor
6590         lt_prog_compiler_static='-Bstatic'
6591       fi
6592       ;;
6593
6594     amigaos*)
6595       if test "$host_cpu" = m68k; then
6596         # FIXME: we need at least 68020 code to build shared libraries, but
6597         # adding the `-m68020' flag to GCC prevents building anything better,
6598         # like `-m68040'.
6599         lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
6600       fi
6601       ;;
6602
6603     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
6604       # PIC is the default for these OSes.
6605       ;;
6606
6607     mingw* | cygwin* | pw32* | os2*)
6608       # This hack is so that the source file can tell whether it is being
6609       # built for inclusion in a dll (and should export symbols for example).
6610       # Although the cygwin gcc ignores -fPIC, still need this for old-style
6611       # (--disable-auto-import) libraries
6612       lt_prog_compiler_pic='-DDLL_EXPORT'
6613       ;;
6614
6615     darwin* | rhapsody*)
6616       # PIC is the default on this platform
6617       # Common symbols not allowed in MH_DYLIB files
6618       lt_prog_compiler_pic='-fno-common'
6619       ;;
6620
6621     hpux*)
6622       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
6623       # not for PA HP-UX.
6624       case $host_cpu in
6625       hppa*64*|ia64*)
6626         # +Z the default
6627         ;;
6628       *)
6629         lt_prog_compiler_pic='-fPIC'
6630         ;;
6631       esac
6632       ;;
6633
6634     interix[3-9]*)
6635       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
6636       # Instead, we relocate shared libraries at runtime.
6637       ;;
6638
6639     msdosdjgpp*)
6640       # Just because we use GCC doesn't mean we suddenly get shared libraries
6641       # on systems that don't support them.
6642       lt_prog_compiler_can_build_shared=no
6643       enable_shared=no
6644       ;;
6645
6646     *nto* | *qnx*)
6647       # QNX uses GNU C++, but need to define -shared option too, otherwise
6648       # it will coredump.
6649       lt_prog_compiler_pic='-fPIC -shared'
6650       ;;
6651
6652     sysv4*MP*)
6653       if test -d /usr/nec; then
6654         lt_prog_compiler_pic=-Kconform_pic
6655       fi
6656       ;;
6657
6658     *)
6659       lt_prog_compiler_pic='-fPIC'
6660       ;;
6661     esac
6662   else
6663     # PORTME Check for flag to pass linker flags through the system compiler.
6664     case $host_os in
6665     aix*)
6666       lt_prog_compiler_wl='-Wl,'
6667       if test "$host_cpu" = ia64; then
6668         # AIX 5 now supports IA64 processor
6669         lt_prog_compiler_static='-Bstatic'
6670       else
6671         lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
6672       fi
6673       ;;
6674     darwin*)
6675       # PIC is the default on this platform
6676       # Common symbols not allowed in MH_DYLIB files
6677       case $cc_basename in
6678       xlc*)
6679         lt_prog_compiler_pic='-qnocommon'
6680         lt_prog_compiler_wl='-Wl,'
6681         ;;
6682       esac
6683       ;;
6684
6685     mingw* | cygwin* | pw32* | os2*)
6686       # This hack is so that the source file can tell whether it is being
6687       # built for inclusion in a dll (and should export symbols for example).
6688       lt_prog_compiler_pic='-DDLL_EXPORT'
6689       ;;
6690
6691     hpux9* | hpux10* | hpux11*)
6692       lt_prog_compiler_wl='-Wl,'
6693       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
6694       # not for PA HP-UX.
6695       case $host_cpu in
6696       hppa*64*|ia64*)
6697         # +Z the default
6698         ;;
6699       *)
6700         lt_prog_compiler_pic='+Z'
6701         ;;
6702       esac
6703       # Is there a better lt_prog_compiler_static that works with the bundled CC?
6704       lt_prog_compiler_static='${wl}-a ${wl}archive'
6705       ;;
6706
6707     irix5* | irix6* | nonstopux*)
6708       lt_prog_compiler_wl='-Wl,'
6709       # PIC (with -KPIC) is the default.
6710       lt_prog_compiler_static='-non_shared'
6711       ;;
6712
6713     linux* | k*bsd*-gnu)
6714       case $cc_basename in
6715       icc* | ecc*)
6716         lt_prog_compiler_wl='-Wl,'
6717         lt_prog_compiler_pic='-KPIC'
6718         lt_prog_compiler_static='-static'
6719         ;;
6720       pgcc* | pgf77* | pgf90* | pgf95*)
6721         # Portland Group compilers (*not* the Pentium gcc compiler,
6722         # which looks to be a dead project)
6723         lt_prog_compiler_wl='-Wl,'
6724         lt_prog_compiler_pic='-fpic'
6725         lt_prog_compiler_static='-Bstatic'
6726         ;;
6727       ccc*)
6728         lt_prog_compiler_wl='-Wl,'
6729         # All Alpha code is PIC.
6730         lt_prog_compiler_static='-non_shared'
6731         ;;
6732       *)
6733         case `$CC -V 2>&1 | sed 5q` in
6734         *Sun\ C*)
6735           # Sun C 5.9
6736           lt_prog_compiler_pic='-KPIC'
6737           lt_prog_compiler_static='-Bstatic'
6738           lt_prog_compiler_wl='-Wl,'
6739           ;;
6740         *Sun\ F*)
6741           # Sun Fortran 8.3 passes all unrecognized flags to the linker
6742           lt_prog_compiler_pic='-KPIC'
6743           lt_prog_compiler_static='-Bstatic'
6744           lt_prog_compiler_wl=''
6745           ;;
6746         esac
6747         ;;
6748       esac
6749       ;;
6750
6751     newsos6)
6752       lt_prog_compiler_pic='-KPIC'
6753       lt_prog_compiler_static='-Bstatic'
6754       ;;
6755
6756     *nto* | *qnx*)
6757       # QNX uses GNU C++, but need to define -shared option too, otherwise
6758       # it will coredump.
6759       lt_prog_compiler_pic='-fPIC -shared'
6760       ;;
6761
6762     osf3* | osf4* | osf5*)
6763       lt_prog_compiler_wl='-Wl,'
6764       # All OSF/1 code is PIC.
6765       lt_prog_compiler_static='-non_shared'
6766       ;;
6767
6768     rdos*)
6769       lt_prog_compiler_static='-non_shared'
6770       ;;
6771
6772     solaris*)
6773       lt_prog_compiler_pic='-KPIC'
6774       lt_prog_compiler_static='-Bstatic'
6775       case $cc_basename in
6776       f77* | f90* | f95*)
6777         lt_prog_compiler_wl='-Qoption ld ';;
6778       *)
6779         lt_prog_compiler_wl='-Wl,';;
6780       esac
6781       ;;
6782
6783     sunos4*)
6784       lt_prog_compiler_wl='-Qoption ld '
6785       lt_prog_compiler_pic='-PIC'
6786       lt_prog_compiler_static='-Bstatic'
6787       ;;
6788
6789     sysv4 | sysv4.2uw2* | sysv4.3*)
6790       lt_prog_compiler_wl='-Wl,'
6791       lt_prog_compiler_pic='-KPIC'
6792       lt_prog_compiler_static='-Bstatic'
6793       ;;
6794
6795     sysv4*MP*)
6796       if test -d /usr/nec ;then
6797         lt_prog_compiler_pic='-Kconform_pic'
6798         lt_prog_compiler_static='-Bstatic'
6799       fi
6800       ;;
6801
6802     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
6803       lt_prog_compiler_wl='-Wl,'
6804       lt_prog_compiler_pic='-KPIC'
6805       lt_prog_compiler_static='-Bstatic'
6806       ;;
6807
6808     unicos*)
6809       lt_prog_compiler_wl='-Wl,'
6810       lt_prog_compiler_can_build_shared=no
6811       ;;
6812
6813     uts4*)
6814       lt_prog_compiler_pic='-pic'
6815       lt_prog_compiler_static='-Bstatic'
6816       ;;
6817
6818     *)
6819       lt_prog_compiler_can_build_shared=no
6820       ;;
6821     esac
6822   fi
6823
6824 case $host_os in
6825   # For platforms which do not support PIC, -DPIC is meaningless:
6826   *djgpp*)
6827     lt_prog_compiler_pic=
6828     ;;
6829   *)
6830     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
6831     ;;
6832 esac
6833 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
6834 echo "${ECHO_T}$lt_prog_compiler_pic" >&6
6835
6836
6837
6838
6839
6840
6841 #
6842 # Check to make sure the PIC flag actually works.
6843 #
6844 if test -n "$lt_prog_compiler_pic"; then
6845   echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
6846 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6
6847 if test "${lt_prog_compiler_pic_works+set}" = set; then
6848   echo $ECHO_N "(cached) $ECHO_C" >&6
6849 else
6850   lt_prog_compiler_pic_works=no
6851    ac_outfile=conftest.$ac_objext
6852    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
6853    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
6854    # Insert the option either (1) after the last *FLAGS variable, or
6855    # (2) before a word containing "conftest.", or (3) at the end.
6856    # Note that $ac_compile itself does not contain backslashes and begins
6857    # with a dollar sign (not a hyphen), so the echo should work correctly.
6858    # The option is referenced via a variable to avoid confusing sed.
6859    lt_compile=`echo "$ac_compile" | $SED \
6860    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
6861    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6862    -e 's:$: $lt_compiler_flag:'`
6863    (eval echo "\"\$as_me:6863: $lt_compile\"" >&5)
6864    (eval "$lt_compile" 2>conftest.err)
6865    ac_status=$?
6866    cat conftest.err >&5
6867    echo "$as_me:6867: \$? = $ac_status" >&5
6868    if (exit $ac_status) && test -s "$ac_outfile"; then
6869      # The compiler can only warn and ignore the option if not recognized
6870      # So say no if there are warnings other than the usual output.
6871      $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
6872      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
6873      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
6874        lt_prog_compiler_pic_works=yes
6875      fi
6876    fi
6877    $RM conftest*
6878
6879 fi
6880 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
6881 echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6
6882
6883 if test x"$lt_prog_compiler_pic_works" = xyes; then
6884     case $lt_prog_compiler_pic in
6885      "" | " "*) ;;
6886      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
6887      esac
6888 else
6889     lt_prog_compiler_pic=
6890      lt_prog_compiler_can_build_shared=no
6891 fi
6892
6893 fi
6894
6895
6896
6897
6898
6899
6900 #
6901 # Check to make sure the static flag actually works.
6902 #
6903 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
6904 echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
6905 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
6906 if test "${lt_prog_compiler_static_works+set}" = set; then
6907   echo $ECHO_N "(cached) $ECHO_C" >&6
6908 else
6909   lt_prog_compiler_static_works=no
6910    save_LDFLAGS="$LDFLAGS"
6911    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
6912    echo "$lt_simple_link_test_code" > conftest.$ac_ext
6913    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
6914      # The linker can only warn and ignore the option if not recognized
6915      # So say no if there are warnings
6916      if test -s conftest.err; then
6917        # Append any errors to the config.log.
6918        cat conftest.err 1>&5
6919        $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
6920        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
6921        if diff conftest.exp conftest.er2 >/dev/null; then
6922          lt_prog_compiler_static_works=yes
6923        fi
6924      else
6925        lt_prog_compiler_static_works=yes
6926      fi
6927    fi
6928    $RM conftest*
6929    LDFLAGS="$save_LDFLAGS"
6930
6931 fi
6932 echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
6933 echo "${ECHO_T}$lt_prog_compiler_static_works" >&6
6934
6935 if test x"$lt_prog_compiler_static_works" = xyes; then
6936     :
6937 else
6938     lt_prog_compiler_static=
6939 fi
6940
6941
6942
6943
6944
6945
6946
6947   echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
6948 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
6949 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
6950   echo $ECHO_N "(cached) $ECHO_C" >&6
6951 else
6952   lt_cv_prog_compiler_c_o=no
6953    $RM -r conftest 2>/dev/null
6954    mkdir conftest
6955    cd conftest
6956    mkdir out
6957    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
6958
6959    lt_compiler_flag="-o out/conftest2.$ac_objext"
6960    # Insert the option either (1) after the last *FLAGS variable, or
6961    # (2) before a word containing "conftest.", or (3) at the end.
6962    # Note that $ac_compile itself does not contain backslashes and begins
6963    # with a dollar sign (not a hyphen), so the echo should work correctly.
6964    lt_compile=`echo "$ac_compile" | $SED \
6965    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
6966    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6967    -e 's:$: $lt_compiler_flag:'`
6968    (eval echo "\"\$as_me:6968: $lt_compile\"" >&5)
6969    (eval "$lt_compile" 2>out/conftest.err)
6970    ac_status=$?
6971    cat out/conftest.err >&5
6972    echo "$as_me:6972: \$? = $ac_status" >&5
6973    if (exit $ac_status) && test -s out/conftest2.$ac_objext
6974    then
6975      # The compiler can only warn and ignore the option if not recognized
6976      # So say no if there are warnings
6977      $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
6978      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
6979      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
6980        lt_cv_prog_compiler_c_o=yes
6981      fi
6982    fi
6983    chmod u+w . 2>&5
6984    $RM conftest*
6985    # SGI C++ compiler will create directory out/ii_files/ for
6986    # template instantiation
6987    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
6988    $RM out/* && rmdir out
6989    cd ..
6990    $RM -r conftest
6991    $RM conftest*
6992
6993 fi
6994 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
6995 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
6996
6997
6998
6999
7000
7001
7002   echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
7003 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
7004 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
7005   echo $ECHO_N "(cached) $ECHO_C" >&6
7006 else
7007   lt_cv_prog_compiler_c_o=no
7008    $RM -r conftest 2>/dev/null
7009    mkdir conftest
7010    cd conftest
7011    mkdir out
7012    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7013
7014    lt_compiler_flag="-o out/conftest2.$ac_objext"
7015    # Insert the option either (1) after the last *FLAGS variable, or
7016    # (2) before a word containing "conftest.", or (3) at the end.
7017    # Note that $ac_compile itself does not contain backslashes and begins
7018    # with a dollar sign (not a hyphen), so the echo should work correctly.
7019    lt_compile=`echo "$ac_compile" | $SED \
7020    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7021    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7022    -e 's:$: $lt_compiler_flag:'`
7023    (eval echo "\"\$as_me:7023: $lt_compile\"" >&5)
7024    (eval "$lt_compile" 2>out/conftest.err)
7025    ac_status=$?
7026    cat out/conftest.err >&5
7027    echo "$as_me:7027: \$? = $ac_status" >&5
7028    if (exit $ac_status) && test -s out/conftest2.$ac_objext
7029    then
7030      # The compiler can only warn and ignore the option if not recognized
7031      # So say no if there are warnings
7032      $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
7033      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
7034      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
7035        lt_cv_prog_compiler_c_o=yes
7036      fi
7037    fi
7038    chmod u+w . 2>&5
7039    $RM conftest*
7040    # SGI C++ compiler will create directory out/ii_files/ for
7041    # template instantiation
7042    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
7043    $RM out/* && rmdir out
7044    cd ..
7045    $RM -r conftest
7046    $RM conftest*
7047
7048 fi
7049 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
7050 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
7051
7052
7053
7054
7055 hard_links="nottested"
7056 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
7057   # do not overwrite the value of need_locks provided by the user
7058   echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
7059 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
7060   hard_links=yes
7061   $RM conftest*
7062   ln conftest.a conftest.b 2>/dev/null && hard_links=no
7063   touch conftest.a
7064   ln conftest.a conftest.b 2>&5 || hard_links=no
7065   ln conftest.a conftest.b 2>/dev/null && hard_links=no
7066   echo "$as_me:$LINENO: result: $hard_links" >&5
7067 echo "${ECHO_T}$hard_links" >&6
7068   if test "$hard_links" = no; then
7069     { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
7070 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
7071     need_locks=warn
7072   fi
7073 else
7074   need_locks=no
7075 fi
7076
7077
7078
7079
7080
7081
7082   echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
7083 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
7084
7085   runpath_var=
7086   allow_undefined_flag=
7087   always_export_symbols=no
7088   archive_cmds=
7089   archive_expsym_cmds=
7090   compiler_needs_object=no
7091   enable_shared_with_static_runtimes=no
7092   export_dynamic_flag_spec=
7093   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
7094   hardcode_automatic=no
7095   hardcode_direct=no
7096   hardcode_direct_absolute=no
7097   hardcode_libdir_flag_spec=
7098   hardcode_libdir_flag_spec_ld=
7099   hardcode_libdir_separator=
7100   hardcode_minus_L=no
7101   hardcode_shlibpath_var=unsupported
7102   inherit_rpath=no
7103   link_all_deplibs=unknown
7104   module_cmds=
7105   module_expsym_cmds=
7106   old_archive_from_new_cmds=
7107   old_archive_from_expsyms_cmds=
7108   thread_safe_flag_spec=
7109   whole_archive_flag_spec=
7110   # include_expsyms should be a list of space-separated symbols to be *always*
7111   # included in the symbol list
7112   include_expsyms=
7113   # exclude_expsyms can be an extended regexp of symbols to exclude
7114   # it will be wrapped by ` (' and `)$', so one must not match beginning or
7115   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
7116   # as well as any symbol that contains `d'.
7117   exclude_expsyms="_GLOBAL_OFFSET_TABLE_"
7118   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
7119   # platforms (ab)use it in PIC code, but their linkers get confused if
7120   # the symbol is explicitly referenced.  Since portable code cannot
7121   # rely on this symbol name, it's probably fine to never include it in
7122   # preloaded symbol tables.
7123   extract_expsyms_cmds=
7124
7125   case $host_os in
7126   cygwin* | mingw* | pw32*)
7127     # FIXME: the MSVC++ port hasn't been tested in a loooong time
7128     # When not using gcc, we currently assume that we are using
7129     # Microsoft Visual C++.
7130     if test "$GCC" != yes; then
7131       with_gnu_ld=no
7132     fi
7133     ;;
7134   interix*)
7135     # we just hope/assume this is gcc and not c89 (= MSVC++)
7136     with_gnu_ld=yes
7137     ;;
7138   openbsd*)
7139     with_gnu_ld=no
7140     ;;
7141   esac
7142
7143   ld_shlibs=yes
7144   if test "$with_gnu_ld" = yes; then
7145     # If archive_cmds runs LD, not CC, wlarc should be empty
7146     wlarc='${wl}'
7147
7148     # Set some defaults for GNU ld with shared library support. These
7149     # are reset later if shared libraries are not supported. Putting them
7150     # here allows them to be overridden if necessary.
7151     runpath_var=LD_RUN_PATH
7152     hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
7153     export_dynamic_flag_spec='${wl}--export-dynamic'
7154     # ancient GNU ld didn't support --whole-archive et. al.
7155     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
7156       whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
7157     else
7158       whole_archive_flag_spec=
7159     fi
7160     supports_anon_versioning=no
7161     case `$LD -v 2>&1` in
7162       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
7163       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
7164       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
7165       *\ 2.11.*) ;; # other 2.11 versions
7166       *) supports_anon_versioning=yes ;;
7167     esac
7168
7169     # See if GNU ld supports shared libraries.
7170     case $host_os in
7171     aix[3-9]*)
7172       # On AIX/PPC, the GNU linker is very broken
7173       if test "$host_cpu" != ia64; then
7174         ld_shlibs=no
7175         cat <<_LT_EOF 1>&2
7176
7177 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
7178 *** to be unable to reliably create shared libraries on AIX.
7179 *** Therefore, libtool is disabling shared libraries support.  If you
7180 *** really care for shared libraries, you may want to modify your PATH
7181 *** so that a non-GNU linker is found, and then restart.
7182
7183 _LT_EOF
7184       fi
7185       ;;
7186
7187     amigaos*)
7188       if test "$host_cpu" = m68k; then
7189         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)'
7190         hardcode_libdir_flag_spec='-L$libdir'
7191         hardcode_minus_L=yes
7192       fi
7193
7194       # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
7195       # that the semantics of dynamic libraries on AmigaOS, at least up
7196       # to version 4, is to share data among multiple programs linked
7197       # with the same dynamic library.  Since this doesn't match the
7198       # behavior of shared libraries on other platforms, we can't use
7199       # them.
7200       ld_shlibs=no
7201       ;;
7202
7203     beos*)
7204       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
7205         allow_undefined_flag=unsupported
7206         # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
7207         # support --undefined.  This deserves some investigation.  FIXME
7208         archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7209       else
7210         ld_shlibs=no
7211       fi
7212       ;;
7213
7214     cygwin* | mingw* | pw32*)
7215       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
7216       # as there is no search path for DLLs.
7217       hardcode_libdir_flag_spec='-L$libdir'
7218       allow_undefined_flag=unsupported
7219       always_export_symbols=no
7220       enable_shared_with_static_runtimes=yes
7221       export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
7222
7223       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
7224         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
7225         # If the export-symbols file already is a .def file (1st line
7226         # is EXPORTS), use it as is; otherwise, prepend...
7227         archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
7228           cp $export_symbols $output_objdir/$soname.def;
7229         else
7230           echo EXPORTS > $output_objdir/$soname.def;
7231           cat $export_symbols >> $output_objdir/$soname.def;
7232         fi~
7233         $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
7234       else
7235         ld_shlibs=no
7236       fi
7237       ;;
7238
7239     interix[3-9]*)
7240       hardcode_direct=no
7241       hardcode_shlibpath_var=no
7242       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
7243       export_dynamic_flag_spec='${wl}-E'
7244       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
7245       # Instead, shared libraries are loaded at an image base (0x10000000 by
7246       # default) and relocated if they conflict, which is a slow very memory
7247       # consuming and fragmenting process.  To avoid this, we pick a random,
7248       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
7249       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
7250       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
7251       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'
7252       ;;
7253
7254     gnu* | linux* | tpf* | k*bsd*-gnu)
7255       tmp_diet=no
7256       if test "$host_os" = linux-dietlibc; then
7257         case $cc_basename in
7258           diet\ *) tmp_diet=yes;;       # linux-dietlibc with static linking (!diet-dyn)
7259         esac
7260       fi
7261       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
7262          && test "$tmp_diet" = no
7263       then
7264         tmp_addflag=
7265         case $cc_basename,$host_cpu in
7266         pgcc*)                          # Portland Group C compiler
7267           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'
7268           tmp_addflag=' $pic_flag'
7269           ;;
7270         pgf77* | pgf90* | pgf95*)       # Portland Group f77 and f90 compilers
7271           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'
7272           tmp_addflag=' $pic_flag -Mnomain' ;;
7273         ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
7274           tmp_addflag=' -i_dynamic' ;;
7275         efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
7276           tmp_addflag=' -i_dynamic -nofor_main' ;;
7277         ifc* | ifort*)                  # Intel Fortran compiler
7278           tmp_addflag=' -nofor_main' ;;
7279         esac
7280         case `$CC -V 2>&1 | sed 5q` in
7281         *Sun\ C*)                       # Sun C 5.9
7282           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'
7283           compiler_needs_object=yes
7284           tmp_sharedflag='-G' ;;
7285         *Sun\ F*)                       # Sun Fortran 8.3
7286           tmp_sharedflag='-G' ;;
7287         *)
7288           tmp_sharedflag='-shared' ;;
7289         esac
7290         archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7291
7292         if test "x$supports_anon_versioning" = xyes; then
7293           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
7294             cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
7295             echo "local: *; };" >> $output_objdir/$libname.ver~
7296             $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
7297         fi
7298       else
7299         ld_shlibs=no
7300       fi
7301       ;;
7302
7303     netbsd*)
7304       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
7305         archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
7306         wlarc=
7307       else
7308         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7309         archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7310       fi
7311       ;;
7312
7313     solaris*)
7314       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
7315         ld_shlibs=no
7316         cat <<_LT_EOF 1>&2
7317
7318 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
7319 *** create shared libraries on Solaris systems.  Therefore, libtool
7320 *** is disabling shared libraries support.  We urge you to upgrade GNU
7321 *** binutils to release 2.9.1 or newer.  Another option is to modify
7322 *** your PATH or compiler configuration so that the native linker is
7323 *** used, and then restart.
7324
7325 _LT_EOF
7326       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
7327         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7328         archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7329       else
7330         ld_shlibs=no
7331       fi
7332       ;;
7333
7334     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
7335       case `$LD -v 2>&1` in
7336         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
7337         ld_shlibs=no
7338         cat <<_LT_EOF 1>&2
7339
7340 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
7341 *** reliably create shared libraries on SCO systems.  Therefore, libtool
7342 *** is disabling shared libraries support.  We urge you to upgrade GNU
7343 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
7344 *** your PATH or compiler configuration so that the native linker is
7345 *** used, and then restart.
7346
7347 _LT_EOF
7348         ;;
7349         *)
7350           # For security reasons, it is highly recommended that you always
7351           # use absolute paths for naming shared libraries, and exclude the
7352           # DT_RUNPATH tag from executables and libraries.  But doing so
7353           # requires that you compile everything twice, which is a pain.
7354           if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
7355             hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
7356             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7357             archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7358           else
7359             ld_shlibs=no
7360           fi
7361         ;;
7362       esac
7363       ;;
7364
7365     sunos4*)
7366       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
7367       wlarc=
7368       hardcode_direct=yes
7369       hardcode_shlibpath_var=no
7370       ;;
7371
7372     *)
7373       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
7374         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7375         archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7376       else
7377         ld_shlibs=no
7378       fi
7379       ;;
7380     esac
7381
7382     if test "$ld_shlibs" = no; then
7383       runpath_var=
7384       hardcode_libdir_flag_spec=
7385       export_dynamic_flag_spec=
7386       whole_archive_flag_spec=
7387     fi
7388   else
7389     # PORTME fill in a description of your system's linker (not GNU ld)
7390     case $host_os in
7391     aix3*)
7392       allow_undefined_flag=unsupported
7393       always_export_symbols=yes
7394       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'
7395       # Note: this linker hardcodes the directories in LIBPATH if there
7396       # are no directories specified by -L.
7397       hardcode_minus_L=yes
7398       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
7399         # Neither direct hardcoding nor static linking is supported with a
7400         # broken collect2.
7401         hardcode_direct=unsupported
7402       fi
7403       ;;
7404
7405     aix[4-9]*)
7406       if test "$host_cpu" = ia64; then
7407         # On IA64, the linker does run time linking by default, so we don't
7408         # have to do anything special.
7409         aix_use_runtimelinking=no
7410         exp_sym_flag='-Bexport'
7411         no_entry_flag=""
7412       else
7413         # If we're using GNU nm, then we don't want the "-C" option.
7414         # -C means demangle to AIX nm, but means don't demangle with GNU nm
7415         if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
7416           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'
7417         else
7418           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'
7419         fi
7420         aix_use_runtimelinking=no
7421
7422         # Test if we are trying to use run time linking or normal
7423         # AIX style linking. If -brtl is somewhere in LDFLAGS, we
7424         # need to do runtime linking.
7425         case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
7426           for ld_flag in $LDFLAGS; do
7427           if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
7428             aix_use_runtimelinking=yes
7429             break
7430           fi
7431           done
7432           ;;
7433         esac
7434
7435         exp_sym_flag='-bexport'
7436         no_entry_flag='-bnoentry'
7437       fi
7438
7439       # When large executables or shared objects are built, AIX ld can
7440       # have problems creating the table of contents.  If linking a library
7441       # or program results in "error TOC overflow" add -mminimal-toc to
7442       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
7443       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
7444
7445       archive_cmds=''
7446       hardcode_direct=yes
7447       hardcode_direct_absolute=yes
7448       hardcode_libdir_separator=':'
7449       link_all_deplibs=yes
7450       file_list_spec='${wl}-f,'
7451
7452       if test "$GCC" = yes; then
7453         case $host_os in aix4.[012]|aix4.[012].*)
7454         # We only want to do this on AIX 4.2 and lower, the check
7455         # below for broken collect2 doesn't work under 4.3+
7456           collect2name=`${CC} -print-prog-name=collect2`
7457           if test -f "$collect2name" &&
7458            strings "$collect2name" | $GREP resolve_lib_name >/dev/null
7459           then
7460           # We have reworked collect2
7461           :
7462           else
7463           # We have old collect2
7464           hardcode_direct=unsupported
7465           # It fails to find uninstalled libraries when the uninstalled
7466           # path is not listed in the libpath.  Setting hardcode_minus_L
7467           # to unsupported forces relinking
7468           hardcode_minus_L=yes
7469           hardcode_libdir_flag_spec='-L$libdir'
7470           hardcode_libdir_separator=
7471           fi
7472           ;;
7473         esac
7474         shared_flag='-shared'
7475         if test "$aix_use_runtimelinking" = yes; then
7476           shared_flag="$shared_flag "'${wl}-G'
7477         fi
7478       else
7479         # not using gcc
7480         if test "$host_cpu" = ia64; then
7481         # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
7482         # chokes on -Wl,-G. The following line is correct:
7483           shared_flag='-G'
7484         else
7485           if test "$aix_use_runtimelinking" = yes; then
7486             shared_flag='${wl}-G'
7487           else
7488             shared_flag='${wl}-bM:SRE'
7489           fi
7490         fi
7491       fi
7492
7493       # It seems that -bexpall does not export symbols beginning with
7494       # underscore (_), so it is better to generate a list of symbols to export.
7495       always_export_symbols=yes
7496       if test "$aix_use_runtimelinking" = yes; then
7497         # Warning - without using the other runtime loading flags (-brtl),
7498         # -berok will link without error, but may produce a broken library.
7499         allow_undefined_flag='-berok'
7500         # Determine the default libpath from the value encoded in an
7501         # empty executable.
7502         if test x$gcc_no_link = xyes; then
7503   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
7504 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
7505    { (exit 1); exit 1; }; }
7506 fi
7507 cat >conftest.$ac_ext <<_ACEOF
7508 /* confdefs.h.  */
7509 _ACEOF
7510 cat confdefs.h >>conftest.$ac_ext
7511 cat >>conftest.$ac_ext <<_ACEOF
7512 /* end confdefs.h.  */
7513
7514 int
7515 main ()
7516 {
7517
7518   ;
7519   return 0;
7520 }
7521 _ACEOF
7522 rm -f conftest.$ac_objext conftest$ac_exeext
7523 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7524   (eval $ac_link) 2>conftest.er1
7525   ac_status=$?
7526   grep -v '^ *+' conftest.er1 >conftest.err
7527   rm -f conftest.er1
7528   cat conftest.err >&5
7529   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7530   (exit $ac_status); } &&
7531          { ac_try='test -z "$ac_c_werror_flag"
7532                          || test ! -s conftest.err'
7533   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7534   (eval $ac_try) 2>&5
7535   ac_status=$?
7536   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7537   (exit $ac_status); }; } &&
7538          { ac_try='test -s conftest$ac_exeext'
7539   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7540   (eval $ac_try) 2>&5
7541   ac_status=$?
7542   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7543   (exit $ac_status); }; }; then
7544
7545 lt_aix_libpath_sed='
7546     /Import File Strings/,/^$/ {
7547         /^0/ {
7548             s/^0  *\(.*\)$/\1/
7549             p
7550         }
7551     }'
7552 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
7553 # Check for a 64-bit object if we didn't find anything.
7554 if test -z "$aix_libpath"; then
7555   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
7556 fi
7557 else
7558   echo "$as_me: failed program was:" >&5
7559 sed 's/^/| /' conftest.$ac_ext >&5
7560
7561 fi
7562 rm -f conftest.err conftest.$ac_objext \
7563       conftest$ac_exeext conftest.$ac_ext
7564 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
7565
7566         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
7567         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"
7568       else
7569         if test "$host_cpu" = ia64; then
7570           hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
7571           allow_undefined_flag="-z nodefs"
7572           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"
7573         else
7574          # Determine the default libpath from the value encoded in an
7575          # empty executable.
7576          if test x$gcc_no_link = xyes; then
7577   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
7578 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
7579    { (exit 1); exit 1; }; }
7580 fi
7581 cat >conftest.$ac_ext <<_ACEOF
7582 /* confdefs.h.  */
7583 _ACEOF
7584 cat confdefs.h >>conftest.$ac_ext
7585 cat >>conftest.$ac_ext <<_ACEOF
7586 /* end confdefs.h.  */
7587
7588 int
7589 main ()
7590 {
7591
7592   ;
7593   return 0;
7594 }
7595 _ACEOF
7596 rm -f conftest.$ac_objext conftest$ac_exeext
7597 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7598   (eval $ac_link) 2>conftest.er1
7599   ac_status=$?
7600   grep -v '^ *+' conftest.er1 >conftest.err
7601   rm -f conftest.er1
7602   cat conftest.err >&5
7603   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7604   (exit $ac_status); } &&
7605          { ac_try='test -z "$ac_c_werror_flag"
7606                          || test ! -s conftest.err'
7607   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7608   (eval $ac_try) 2>&5
7609   ac_status=$?
7610   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7611   (exit $ac_status); }; } &&
7612          { ac_try='test -s conftest$ac_exeext'
7613   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7614   (eval $ac_try) 2>&5
7615   ac_status=$?
7616   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7617   (exit $ac_status); }; }; then
7618
7619 lt_aix_libpath_sed='
7620     /Import File Strings/,/^$/ {
7621         /^0/ {
7622             s/^0  *\(.*\)$/\1/
7623             p
7624         }
7625     }'
7626 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
7627 # Check for a 64-bit object if we didn't find anything.
7628 if test -z "$aix_libpath"; then
7629   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
7630 fi
7631 else
7632   echo "$as_me: failed program was:" >&5
7633 sed 's/^/| /' conftest.$ac_ext >&5
7634
7635 fi
7636 rm -f conftest.err conftest.$ac_objext \
7637       conftest$ac_exeext conftest.$ac_ext
7638 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
7639
7640          hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
7641           # Warning - without using the other run time loading flags,
7642           # -berok will link without error, but may produce a broken library.
7643           no_undefined_flag=' ${wl}-bernotok'
7644           allow_undefined_flag=' ${wl}-berok'
7645           # Exported symbols can be pulled into shared objects from archives
7646           whole_archive_flag_spec='$convenience'
7647           archive_cmds_need_lc=yes
7648           # This is similar to how AIX traditionally builds its shared libraries.
7649           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'
7650         fi
7651       fi
7652       ;;
7653
7654     amigaos*)
7655       if test "$host_cpu" = m68k; then
7656         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)'
7657         hardcode_libdir_flag_spec='-L$libdir'
7658         hardcode_minus_L=yes
7659       fi
7660       # see comment about different semantics on the GNU ld section
7661       ld_shlibs=no
7662       ;;
7663
7664     bsdi[45]*)
7665       export_dynamic_flag_spec=-rdynamic
7666       ;;
7667
7668     cygwin* | mingw* | pw32*)
7669       # When not using gcc, we currently assume that we are using
7670       # Microsoft Visual C++.
7671       # hardcode_libdir_flag_spec is actually meaningless, as there is
7672       # no search path for DLLs.
7673       hardcode_libdir_flag_spec=' '
7674       allow_undefined_flag=unsupported
7675       # Tell ltmain to make .lib files, not .a files.
7676       libext=lib
7677       # Tell ltmain to make .dll files, not .so files.
7678       shrext_cmds=".dll"
7679       # FIXME: Setting linknames here is a bad hack.
7680       archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
7681       # The linker will automatically build a .lib file if we build a DLL.
7682       old_archive_from_new_cmds='true'
7683       # FIXME: Should let the user specify the lib program.
7684       old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
7685       fix_srcfile_path='`cygpath -w "$srcfile"`'
7686       enable_shared_with_static_runtimes=yes
7687       ;;
7688
7689     darwin* | rhapsody*)
7690       case $host_os in
7691       rhapsody* | darwin1.[012])
7692         allow_undefined_flag='${wl}-undefined ${wl}suppress'
7693         ;;
7694       *) # Darwin 1.3 on
7695         case ${MACOSX_DEPLOYMENT_TARGET-10.0} in
7696         10.[012])
7697           allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
7698           ;;
7699         10.*)
7700           allow_undefined_flag='${wl}-undefined ${wl}dynamic_lookup'
7701           ;;
7702         esac
7703         ;;
7704       esac
7705       archive_cmds_need_lc=no
7706       hardcode_direct=no
7707       hardcode_automatic=yes
7708       hardcode_shlibpath_var=unsupported
7709       whole_archive_flag_spec=''
7710       link_all_deplibs=yes
7711       if test "$GCC" = yes ; then
7712         if test "${lt_cv_apple_cc_single_mod+set}" = set; then
7713   echo $ECHO_N "(cached) $ECHO_C" >&6
7714 else
7715   lt_cv_apple_cc_single_mod=no
7716         if test -z "${LT_MULTI_MODULE}"; then
7717           # By default we will add the -single_module flag. You can override
7718           # by either setting the environment variable LT_MULTI_MODULE
7719           # non-empty at configure time, or by adding -multi-module to the
7720           # link flags.
7721           echo "int foo(void){return 1;}" > conftest.c
7722           $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7723               -dynamiclib ${wl}-single_module conftest.c
7724           if test -f libconftest.dylib; then
7725               lt_cv_apple_cc_single_mod=yes
7726               rm libconftest.dylib
7727           fi
7728           rm conftest.$ac_ext
7729         fi
7730 fi
7731
7732         output_verbose_link_cmd=echo
7733         if test "X$lt_cv_apple_cc_single_mod" = Xyes ; then
7734           archive_cmds='$CC -dynamiclib $single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
7735           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}'
7736         else
7737           archive_cmds='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
7738           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}'
7739         fi
7740         module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
7741         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}'
7742       else
7743         case $cc_basename in
7744         xlc*)
7745           output_verbose_link_cmd=echo
7746           archive_cmds='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`$ECHO $rpath/$soname` $verstring'
7747           module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
7748           # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
7749           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}'
7750           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}'
7751           ;;
7752         *)
7753           ld_shlibs=no
7754           ;;
7755         esac
7756       fi
7757       ;;
7758
7759     dgux*)
7760       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7761       hardcode_libdir_flag_spec='-L$libdir'
7762       hardcode_shlibpath_var=no
7763       ;;
7764
7765     freebsd1*)
7766       ld_shlibs=no
7767       ;;
7768
7769     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
7770     # support.  Future versions do this automatically, but an explicit c++rt0.o
7771     # does not break anything, and helps significantly (at the cost of a little
7772     # extra space).
7773     freebsd2.2*)
7774       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
7775       hardcode_libdir_flag_spec='-R$libdir'
7776       hardcode_direct=yes
7777       hardcode_shlibpath_var=no
7778       ;;
7779
7780     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
7781     freebsd2*)
7782       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
7783       hardcode_direct=yes
7784       hardcode_minus_L=yes
7785       hardcode_shlibpath_var=no
7786       ;;
7787
7788     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
7789     freebsd* | dragonfly*)
7790       archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
7791       hardcode_libdir_flag_spec='-R$libdir'
7792       hardcode_direct=yes
7793       hardcode_shlibpath_var=no
7794       ;;
7795
7796     hpux9*)
7797       if test "$GCC" = yes; then
7798         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'
7799       else
7800         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'
7801       fi
7802       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
7803       hardcode_libdir_separator=:
7804       hardcode_direct=yes
7805
7806       # hardcode_minus_L: Not really in the search PATH,
7807       # but as the default location of the library.
7808       hardcode_minus_L=yes
7809       export_dynamic_flag_spec='${wl}-E'
7810       ;;
7811
7812     hpux10*)
7813       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
7814         archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
7815       else
7816         archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
7817       fi
7818       if test "$with_gnu_ld" = no; then
7819         hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
7820         hardcode_libdir_flag_spec_ld='+b $libdir'
7821         hardcode_libdir_separator=:
7822         hardcode_direct=yes
7823         hardcode_direct_absolute=yes
7824         export_dynamic_flag_spec='${wl}-E'
7825         # hardcode_minus_L: Not really in the search PATH,
7826         # but as the default location of the library.
7827         hardcode_minus_L=yes
7828       fi
7829       ;;
7830
7831     hpux11*)
7832       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
7833         case $host_cpu in
7834         hppa*64*)
7835           archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
7836           ;;
7837         ia64*)
7838           archive_cmds='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
7839           ;;
7840         *)
7841           archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
7842           ;;
7843         esac
7844       else
7845         case $host_cpu in
7846         hppa*64*)
7847           archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
7848           ;;
7849         ia64*)
7850           archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
7851           ;;
7852         *)
7853           archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
7854           ;;
7855         esac
7856       fi
7857       if test "$with_gnu_ld" = no; then
7858         hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
7859         hardcode_libdir_separator=:
7860
7861         case $host_cpu in
7862         hppa*64*|ia64*)
7863           hardcode_direct=no
7864           hardcode_shlibpath_var=no
7865           ;;
7866         *)
7867           hardcode_direct=yes
7868           hardcode_direct_absolute=yes
7869           export_dynamic_flag_spec='${wl}-E'
7870
7871           # hardcode_minus_L: Not really in the search PATH,
7872           # but as the default location of the library.
7873           hardcode_minus_L=yes
7874           ;;
7875         esac
7876       fi
7877       ;;
7878
7879     irix5* | irix6* | nonstopux*)
7880       if test "$GCC" = yes; then
7881         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'
7882         # Try to use the -exported_symbol ld option, if it does not
7883         # work, assume that -exports_file does not work either and
7884         # implicitly export all symbols.
7885         save_LDFLAGS="$LDFLAGS"
7886         LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
7887         if test x$gcc_no_link = xyes; then
7888   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
7889 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
7890    { (exit 1); exit 1; }; }
7891 fi
7892 cat >conftest.$ac_ext <<_ACEOF
7893 int foo(void) {}
7894 _ACEOF
7895 rm -f conftest.$ac_objext conftest$ac_exeext
7896 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7897   (eval $ac_link) 2>conftest.er1
7898   ac_status=$?
7899   grep -v '^ *+' conftest.er1 >conftest.err
7900   rm -f conftest.er1
7901   cat conftest.err >&5
7902   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7903   (exit $ac_status); } &&
7904          { ac_try='test -z "$ac_c_werror_flag"
7905                          || test ! -s conftest.err'
7906   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7907   (eval $ac_try) 2>&5
7908   ac_status=$?
7909   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7910   (exit $ac_status); }; } &&
7911          { ac_try='test -s conftest$ac_exeext'
7912   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7913   (eval $ac_try) 2>&5
7914   ac_status=$?
7915   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7916   (exit $ac_status); }; }; then
7917   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'
7918
7919 else
7920   echo "$as_me: failed program was:" >&5
7921 sed 's/^/| /' conftest.$ac_ext >&5
7922
7923 fi
7924 rm -f conftest.err conftest.$ac_objext \
7925       conftest$ac_exeext conftest.$ac_ext
7926         LDFLAGS="$save_LDFLAGS"
7927       else
7928         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'
7929         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'
7930       fi
7931       archive_cmds_need_lc='no'
7932       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
7933       hardcode_libdir_separator=:
7934       inherit_rpath=yes
7935       link_all_deplibs=yes
7936       ;;
7937
7938     netbsd*)
7939       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
7940         archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
7941       else
7942         archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
7943       fi
7944       hardcode_libdir_flag_spec='-R$libdir'
7945       hardcode_direct=yes
7946       hardcode_shlibpath_var=no
7947       ;;
7948
7949     newsos6)
7950       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7951       hardcode_direct=yes
7952       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
7953       hardcode_libdir_separator=:
7954       hardcode_shlibpath_var=no
7955       ;;
7956
7957     *nto* | *qnx*)
7958       ;;
7959
7960     openbsd*)
7961       hardcode_direct=yes
7962       hardcode_shlibpath_var=no
7963       hardcode_direct_absolute=yes
7964       if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
7965         archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
7966         archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
7967         hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
7968         export_dynamic_flag_spec='${wl}-E'
7969       else
7970         case $host_os in
7971         openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
7972           archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
7973           hardcode_libdir_flag_spec='-R$libdir'
7974           ;;
7975         *)
7976           archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
7977           hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
7978           ;;
7979         esac
7980       fi
7981       ;;
7982
7983     os2*)
7984       hardcode_libdir_flag_spec='-L$libdir'
7985       hardcode_minus_L=yes
7986       allow_undefined_flag=unsupported
7987       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'
7988       old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
7989       ;;
7990
7991     osf3*)
7992       if test "$GCC" = yes; then
7993         allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
7994         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'
7995       else
7996         allow_undefined_flag=' -expect_unresolved \*'
7997         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'
7998       fi
7999       archive_cmds_need_lc='no'
8000       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8001       hardcode_libdir_separator=:
8002       ;;
8003
8004     osf4* | osf5*)      # as osf3* with the addition of -msym flag
8005       if test "$GCC" = yes; then
8006         allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
8007         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'
8008         hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8009       else
8010         allow_undefined_flag=' -expect_unresolved \*'
8011         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'
8012         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~
8013         $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'
8014
8015         # Both c and cxx compiler support -rpath directly
8016         hardcode_libdir_flag_spec='-rpath $libdir'
8017       fi
8018       archive_cmds_need_lc='no'
8019       hardcode_libdir_separator=:
8020       ;;
8021
8022     solaris*)
8023       no_undefined_flag=' -z defs'
8024       if test "$GCC" = yes; then
8025         wlarc='${wl}'
8026         archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8027         archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8028           $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
8029       else
8030         case `$CC -V 2>&1` in
8031         *"Compilers 5.0"*)
8032           wlarc=''
8033           archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
8034           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8035           $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
8036           ;;
8037         *)
8038           wlarc='${wl}'
8039           archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
8040           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8041           $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
8042           ;;
8043         esac
8044       fi
8045       hardcode_libdir_flag_spec='-R$libdir'
8046       hardcode_shlibpath_var=no
8047       case $host_os in
8048       solaris2.[0-5] | solaris2.[0-5].*) ;;
8049       *)
8050         # The compiler driver will combine and reorder linker options,
8051         # but understands `-z linker_flag'.  GCC discards it without `$wl',
8052         # but is careful enough not to reorder.
8053         # Supported since Solaris 2.6 (maybe 2.5.1?)
8054         if test "$GCC" = yes; then
8055           whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
8056         else
8057           whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
8058         fi
8059         ;;
8060       esac
8061       link_all_deplibs=yes
8062       ;;
8063
8064     sunos4*)
8065       if test "x$host_vendor" = xsequent; then
8066         # Use $CC to link under sequent, because it throws in some extra .o
8067         # files that make .init and .fini sections work.
8068         archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
8069       else
8070         archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
8071       fi
8072       hardcode_libdir_flag_spec='-L$libdir'
8073       hardcode_direct=yes
8074       hardcode_minus_L=yes
8075       hardcode_shlibpath_var=no
8076       ;;
8077
8078     sysv4)
8079       case $host_vendor in
8080         sni)
8081           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8082           hardcode_direct=yes # is this really true???
8083         ;;
8084         siemens)
8085           ## LD is ld it makes a PLAMLIB
8086           ## CC just makes a GrossModule.
8087           archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
8088           reload_cmds='$CC -r -o $output$reload_objs'
8089           hardcode_direct=no
8090         ;;
8091         motorola)
8092           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8093           hardcode_direct=no #Motorola manual says yes, but my tests say they lie
8094         ;;
8095       esac
8096       runpath_var='LD_RUN_PATH'
8097       hardcode_shlibpath_var=no
8098       ;;
8099
8100     sysv4.3*)
8101       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8102       hardcode_shlibpath_var=no
8103       export_dynamic_flag_spec='-Bexport'
8104       ;;
8105
8106     sysv4*MP*)
8107       if test -d /usr/nec; then
8108         archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8109         hardcode_shlibpath_var=no
8110         runpath_var=LD_RUN_PATH
8111         hardcode_runpath_var=yes
8112         ld_shlibs=yes
8113       fi
8114       ;;
8115
8116     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
8117       no_undefined_flag='${wl}-z,text'
8118       archive_cmds_need_lc=no
8119       hardcode_shlibpath_var=no
8120       runpath_var='LD_RUN_PATH'
8121
8122       if test "$GCC" = yes; then
8123         archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8124         archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8125       else
8126         archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8127         archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8128       fi
8129       ;;
8130
8131     sysv5* | sco3.2v5* | sco5v6*)
8132       # Note: We can NOT use -z defs as we might desire, because we do not
8133       # link with -lc, and that would cause any symbols used from libc to
8134       # always be unresolved, which means just about no library would
8135       # ever link correctly.  If we're not using GNU ld we use -z text
8136       # though, which does catch some bad symbols but isn't as heavy-handed
8137       # as -z defs.
8138       no_undefined_flag='${wl}-z,text'
8139       allow_undefined_flag='${wl}-z,nodefs'
8140       archive_cmds_need_lc=no
8141       hardcode_shlibpath_var=no
8142       hardcode_libdir_flag_spec='${wl}-R,$libdir'
8143       hardcode_libdir_separator=':'
8144       link_all_deplibs=yes
8145       export_dynamic_flag_spec='${wl}-Bexport'
8146       runpath_var='LD_RUN_PATH'
8147
8148       if test "$GCC" = yes; then
8149         archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8150         archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8151       else
8152         archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8153         archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8154       fi
8155       ;;
8156
8157     uts4*)
8158       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8159       hardcode_libdir_flag_spec='-L$libdir'
8160       hardcode_shlibpath_var=no
8161       ;;
8162
8163     *)
8164       ld_shlibs=no
8165       ;;
8166     esac
8167
8168     if test x$host_vendor = xsni; then
8169       case $host in
8170       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
8171         export_dynamic_flag_spec='${wl}-Blargedynsym'
8172         ;;
8173       esac
8174     fi
8175   fi
8176
8177 echo "$as_me:$LINENO: result: $ld_shlibs" >&5
8178 echo "${ECHO_T}$ld_shlibs" >&6
8179 test "$ld_shlibs" = no && can_build_shared=no
8180
8181 with_gnu_ld=$with_gnu_ld
8182
8183
8184
8185
8186
8187
8188
8189
8190
8191
8192
8193
8194
8195
8196
8197 #
8198 # Do we need to explicitly link libc?
8199 #
8200 case "x$archive_cmds_need_lc" in
8201 x|xyes)
8202   # Assume -lc should be added
8203   archive_cmds_need_lc=yes
8204
8205   if test "$enable_shared" = yes && test "$GCC" = yes; then
8206     case $archive_cmds in
8207     *'~'*)
8208       # FIXME: we may have to deal with multi-command sequences.
8209       ;;
8210     '$CC '*)
8211       # Test whether the compiler implicitly links with -lc since on some
8212       # systems, -lgcc has to come before -lc. If gcc already passes -lc
8213       # to ld, don't add -lc before -lgcc.
8214       echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
8215 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
8216       $RM conftest*
8217       echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8218
8219       if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8220   (eval $ac_compile) 2>&5
8221   ac_status=$?
8222   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8223   (exit $ac_status); } 2>conftest.err; then
8224         soname=conftest
8225         lib=conftest
8226         libobjs=conftest.$ac_objext
8227         deplibs=
8228         wl=$lt_prog_compiler_wl
8229         pic_flag=$lt_prog_compiler_pic
8230         compiler_flags=-v
8231         linker_flags=-v
8232         verstring=
8233         output_objdir=.
8234         libname=conftest
8235         lt_save_allow_undefined_flag=$allow_undefined_flag
8236         allow_undefined_flag=
8237         if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
8238   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
8239   ac_status=$?
8240   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8241   (exit $ac_status); }
8242         then
8243           archive_cmds_need_lc=no
8244         else
8245           archive_cmds_need_lc=yes
8246         fi
8247         allow_undefined_flag=$lt_save_allow_undefined_flag
8248       else
8249         cat conftest.err 1>&5
8250       fi
8251       $RM conftest*
8252       echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
8253 echo "${ECHO_T}$archive_cmds_need_lc" >&6
8254       ;;
8255     esac
8256   fi
8257   ;;
8258 esac
8259
8260
8261
8262
8263
8264
8265
8266
8267
8268
8269
8270
8271
8272
8273
8274
8275
8276
8277
8278
8279
8280
8281
8282
8283
8284
8285
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   echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
8417 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
8418 withGCC=$GCC
8419 if test "$withGCC" = yes; then
8420   case $host_os in
8421     darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
8422     *) lt_awk_arg="/^libraries:/" ;;
8423   esac
8424   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
8425   if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
8426     # if the path contains ";" then we assume it to be the separator
8427     # otherwise default to the standard path separator (i.e. ":") - it is
8428     # assumed that no part of a normal pathname contains ";" but that should
8429     # okay in the real world where ";" in dirpaths is itself problematic.
8430     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
8431   else
8432     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
8433   fi
8434   # Ok, now we have the path, separated by spaces, we can step through it
8435   # and add multilib dir if necessary.
8436   lt_tmp_lt_search_path_spec=
8437   lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
8438   for lt_sys_path in $lt_search_path_spec; do
8439     if test -d "$lt_sys_path/$lt_multi_os_dir"; then
8440       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
8441     else
8442       test -d "$lt_sys_path" && \
8443         lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
8444     fi
8445   done
8446   lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
8447 BEGIN {RS=" "; FS="/|\n";} {
8448   lt_foo="";
8449   lt_count=0;
8450   for (lt_i = NF; lt_i > 0; lt_i--) {
8451     if ($lt_i != "" && $lt_i != ".") {
8452       if ($lt_i == "..") {
8453         lt_count++;
8454       } else {
8455         if (lt_count == 0) {
8456           lt_foo="/" $lt_i lt_foo;
8457         } else {
8458           lt_count--;
8459         }
8460       }
8461     }
8462   }
8463   if (lt_foo != "") { lt_freq[lt_foo]++; }
8464   if (lt_freq[lt_foo] == 1) { print lt_foo; }
8465 }'`
8466   sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
8467 else
8468   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
8469 fi
8470 library_names_spec=
8471 libname_spec='lib$name'
8472 soname_spec=
8473 shrext_cmds=".so"
8474 postinstall_cmds=
8475 postuninstall_cmds=
8476 finish_cmds=
8477 finish_eval=
8478 shlibpath_var=
8479 shlibpath_overrides_runpath=unknown
8480 version_type=none
8481 dynamic_linker="$host_os ld.so"
8482 sys_lib_dlsearch_path_spec="/lib /usr/lib"
8483 need_lib_prefix=unknown
8484 hardcode_into_libs=no
8485
8486 # when you set need_version to no, make sure it does not cause -set_version
8487 # flags to be left without arguments
8488 need_version=unknown
8489
8490 case $host_os in
8491 aix3*)
8492   version_type=linux
8493   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
8494   shlibpath_var=LIBPATH
8495
8496   # AIX 3 has no versioning support, so we append a major version to the name.
8497   soname_spec='${libname}${release}${shared_ext}$major'
8498   ;;
8499
8500 aix[4-9]*)
8501   version_type=linux
8502   need_lib_prefix=no
8503   need_version=no
8504   hardcode_into_libs=yes
8505   if test "$host_cpu" = ia64; then
8506     # AIX 5 supports IA64
8507     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
8508     shlibpath_var=LD_LIBRARY_PATH
8509   else
8510     # With GCC up to 2.95.x, collect2 would create an import file
8511     # for dependence libraries.  The import file would start with
8512     # the line `#! .'.  This would cause the generated library to
8513     # depend on `.', always an invalid library.  This was fixed in
8514     # development snapshots of GCC prior to 3.0.
8515     case $host_os in
8516       aix4 | aix4.[01] | aix4.[01].*)
8517       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
8518            echo ' yes '
8519            echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
8520         :
8521       else
8522         can_build_shared=no
8523       fi
8524       ;;
8525     esac
8526     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
8527     # soname into executable. Probably we can add versioning support to
8528     # collect2, so additional links can be useful in future.
8529     if test "$aix_use_runtimelinking" = yes; then
8530       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
8531       # instead of lib<name>.a to let people know that these are not
8532       # typical AIX shared libraries.
8533       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8534     else
8535       # We preserve .a as extension for shared libraries through AIX4.2
8536       # and later when we are not doing run time linking.
8537       library_names_spec='${libname}${release}.a $libname.a'
8538       soname_spec='${libname}${release}${shared_ext}$major'
8539     fi
8540     shlibpath_var=LIBPATH
8541   fi
8542   ;;
8543
8544 amigaos*)
8545   if test "$host_cpu" = m68k; then
8546     library_names_spec='$libname.ixlibrary $libname.a'
8547     # Create ${libname}_ixlibrary.a entries in /sys/libs.
8548     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'
8549   else
8550     dynamic_linker=no
8551   fi
8552   ;;
8553
8554 beos*)
8555   library_names_spec='${libname}${shared_ext}'
8556   dynamic_linker="$host_os ld.so"
8557   shlibpath_var=LIBRARY_PATH
8558   ;;
8559
8560 bsdi[45]*)
8561   version_type=linux
8562   need_version=no
8563   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8564   soname_spec='${libname}${release}${shared_ext}$major'
8565   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
8566   shlibpath_var=LD_LIBRARY_PATH
8567   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
8568   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
8569   # the default ld.so.conf also contains /usr/contrib/lib and
8570   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
8571   # libtool to hard-code these into programs
8572   ;;
8573
8574 cygwin* | mingw* | pw32*)
8575   version_type=windows
8576   shrext_cmds=".dll"
8577   need_version=no
8578   need_lib_prefix=no
8579
8580   case $withGCC,$host_os in
8581   yes,cygwin* | yes,mingw* | yes,pw32*)
8582     library_names_spec='$libname.dll.a'
8583     # DLL is installed to $(libdir)/../bin by postinstall_cmds
8584     postinstall_cmds='base_file=`basename \${file}`~
8585       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
8586       dldir=$destdir/`dirname \$dlpath`~
8587       test -d \$dldir || mkdir -p \$dldir~
8588       $install_prog $dir/$dlname \$dldir/$dlname~
8589       chmod a+x \$dldir/$dlname~
8590       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
8591         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
8592       fi'
8593     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
8594       dlpath=$dir/\$dldll~
8595        $RM \$dlpath'
8596     shlibpath_overrides_runpath=yes
8597
8598     case $host_os in
8599     cygwin*)
8600       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
8601       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
8602       sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
8603       ;;
8604     mingw*)
8605       # MinGW DLLs use traditional 'lib' prefix
8606       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
8607       sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
8608       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
8609         # It is most probably a Windows format PATH printed by
8610         # mingw gcc, but we are running on Cygwin. Gcc prints its search
8611         # path with ; separators, and with drive letters. We can handle the
8612         # drive letters (cygwin fileutils understands them), so leave them,
8613         # especially as we might pass files found there to a mingw objdump,
8614         # which wouldn't understand a cygwinified path. Ahh.
8615         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
8616       else
8617         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
8618       fi
8619       ;;
8620     pw32*)
8621       # pw32 DLLs use 'pw' prefix rather than 'lib'
8622       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
8623       ;;
8624     esac
8625     ;;
8626
8627   *)
8628     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
8629     ;;
8630   esac
8631   dynamic_linker='Win32 ld.exe'
8632   # FIXME: first we should search . and the directory the executable is in
8633   shlibpath_var=PATH
8634   ;;
8635
8636 darwin* | rhapsody*)
8637   dynamic_linker="$host_os dyld"
8638   version_type=darwin
8639   need_lib_prefix=no
8640   need_version=no
8641   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
8642   soname_spec='${libname}${release}${major}$shared_ext'
8643   shlibpath_overrides_runpath=yes
8644   shlibpath_var=DYLD_LIBRARY_PATH
8645   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
8646
8647   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
8648   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
8649   ;;
8650
8651 dgux*)
8652   version_type=linux
8653   need_lib_prefix=no
8654   need_version=no
8655   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
8656   soname_spec='${libname}${release}${shared_ext}$major'
8657   shlibpath_var=LD_LIBRARY_PATH
8658   ;;
8659
8660 freebsd1*)
8661   dynamic_linker=no
8662   ;;
8663
8664 freebsd* | dragonfly*)
8665   # DragonFly does not have aout.  When/if they implement a new
8666   # versioning mechanism, adjust this.
8667   if test -x /usr/bin/objformat; then
8668     objformat=`/usr/bin/objformat`
8669   else
8670     case $host_os in
8671     freebsd[123]*) objformat=aout ;;
8672     *) objformat=elf ;;
8673     esac
8674   fi
8675   version_type=freebsd-$objformat
8676   case $version_type in
8677     freebsd-elf*)
8678       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
8679       need_version=no
8680       need_lib_prefix=no
8681       ;;
8682     freebsd-*)
8683       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
8684       need_version=yes
8685       ;;
8686   esac
8687   shlibpath_var=LD_LIBRARY_PATH
8688   case $host_os in
8689   freebsd2*)
8690     shlibpath_overrides_runpath=yes
8691     ;;
8692   freebsd3.[01]* | freebsdelf3.[01]*)
8693     shlibpath_overrides_runpath=yes
8694     hardcode_into_libs=yes
8695     ;;
8696   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
8697   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
8698     shlibpath_overrides_runpath=no
8699     hardcode_into_libs=yes
8700     ;;
8701   *) # from 4.6 on, and DragonFly
8702     shlibpath_overrides_runpath=yes
8703     hardcode_into_libs=yes
8704     ;;
8705   esac
8706   ;;
8707
8708 gnu*)
8709   version_type=linux
8710   need_lib_prefix=no
8711   need_version=no
8712   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
8713   soname_spec='${libname}${release}${shared_ext}$major'
8714   shlibpath_var=LD_LIBRARY_PATH
8715   hardcode_into_libs=yes
8716   ;;
8717
8718 hpux9* | hpux10* | hpux11*)
8719   # Give a soname corresponding to the major version so that dld.sl refuses to
8720   # link against other versions.
8721   version_type=sunos
8722   need_lib_prefix=no
8723   need_version=no
8724   case $host_cpu in
8725   ia64*)
8726     shrext_cmds='.so'
8727     hardcode_into_libs=yes
8728     dynamic_linker="$host_os dld.so"
8729     shlibpath_var=LD_LIBRARY_PATH
8730     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
8731     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8732     soname_spec='${libname}${release}${shared_ext}$major'
8733     if test "X$HPUX_IA64_MODE" = X32; then
8734       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
8735     else
8736       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
8737     fi
8738     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
8739     ;;
8740   hppa*64*)
8741     shrext_cmds='.sl'
8742     hardcode_into_libs=yes
8743     dynamic_linker="$host_os dld.sl"
8744     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
8745     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
8746     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8747     soname_spec='${libname}${release}${shared_ext}$major'
8748     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
8749     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
8750     ;;
8751   *)
8752     shrext_cmds='.sl'
8753     dynamic_linker="$host_os dld.sl"
8754     shlibpath_var=SHLIB_PATH
8755     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
8756     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8757     soname_spec='${libname}${release}${shared_ext}$major'
8758     ;;
8759   esac
8760   # HP-UX runs *really* slowly unless shared libraries are mode 555.
8761   postinstall_cmds='chmod 555 $lib'
8762   ;;
8763
8764 interix[3-9]*)
8765   version_type=linux
8766   need_lib_prefix=no
8767   need_version=no
8768   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
8769   soname_spec='${libname}${release}${shared_ext}$major'
8770   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
8771   shlibpath_var=LD_LIBRARY_PATH
8772   shlibpath_overrides_runpath=no
8773   hardcode_into_libs=yes
8774   ;;
8775
8776 irix5* | irix6* | nonstopux*)
8777   case $host_os in
8778     nonstopux*) version_type=nonstopux ;;
8779     *)
8780         if test "$lt_cv_prog_gnu_ld" = yes; then
8781                 version_type=linux
8782         else
8783                 version_type=irix
8784         fi ;;
8785   esac
8786   need_lib_prefix=no
8787   need_version=no
8788   soname_spec='${libname}${release}${shared_ext}$major'
8789   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
8790   case $host_os in
8791   irix5* | nonstopux*)
8792     libsuff= shlibsuff=
8793     ;;
8794   *)
8795     case $LD in # libtool.m4 will add one of these switches to LD
8796     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
8797       libsuff= shlibsuff= libmagic=32-bit;;
8798     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
8799       libsuff=32 shlibsuff=N32 libmagic=N32;;
8800     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
8801       libsuff=64 shlibsuff=64 libmagic=64-bit;;
8802     *) libsuff= shlibsuff= libmagic=never-match;;
8803     esac
8804     ;;
8805   esac
8806   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
8807   shlibpath_overrides_runpath=no
8808   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
8809   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
8810   hardcode_into_libs=yes
8811   ;;
8812
8813 # No shared lib support for Linux oldld, aout, or coff.
8814 linux*oldld* | linux*aout* | linux*coff*)
8815   dynamic_linker=no
8816   ;;
8817
8818 # This must be Linux ELF.
8819 linux* | k*bsd*-gnu)
8820   version_type=linux
8821   need_lib_prefix=no
8822   need_version=no
8823   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8824   soname_spec='${libname}${release}${shared_ext}$major'
8825   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
8826   shlibpath_var=LD_LIBRARY_PATH
8827   shlibpath_overrides_runpath=no
8828   # Some binutils ld are patched to set DT_RUNPATH
8829   save_LDFLAGS=$LDFLAGS
8830   save_libdir=$libdir
8831   eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
8832        LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
8833   if test x$gcc_no_link = xyes; then
8834   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8835 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8836    { (exit 1); exit 1; }; }
8837 fi
8838 cat >conftest.$ac_ext <<_ACEOF
8839 /* confdefs.h.  */
8840 _ACEOF
8841 cat confdefs.h >>conftest.$ac_ext
8842 cat >>conftest.$ac_ext <<_ACEOF
8843 /* end confdefs.h.  */
8844
8845 int
8846 main ()
8847 {
8848
8849   ;
8850   return 0;
8851 }
8852 _ACEOF
8853 rm -f conftest.$ac_objext conftest$ac_exeext
8854 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8855   (eval $ac_link) 2>conftest.er1
8856   ac_status=$?
8857   grep -v '^ *+' conftest.er1 >conftest.err
8858   rm -f conftest.er1
8859   cat conftest.err >&5
8860   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8861   (exit $ac_status); } &&
8862          { ac_try='test -z "$ac_c_werror_flag"
8863                          || test ! -s conftest.err'
8864   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8865   (eval $ac_try) 2>&5
8866   ac_status=$?
8867   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8868   (exit $ac_status); }; } &&
8869          { ac_try='test -s conftest$ac_exeext'
8870   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8871   (eval $ac_try) 2>&5
8872   ac_status=$?
8873   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8874   (exit $ac_status); }; }; then
8875   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir"; then
8876   shlibpath_overrides_runpath=yes
8877 fi
8878
8879 else
8880   echo "$as_me: failed program was:" >&5
8881 sed 's/^/| /' conftest.$ac_ext >&5
8882
8883 fi
8884 rm -f conftest.err conftest.$ac_objext \
8885       conftest$ac_exeext conftest.$ac_ext
8886   LDFLAGS=$save_LDFLAGS
8887   libdir=$save_libdir
8888
8889   # This implies no fast_install, which is unacceptable.
8890   # Some rework will be needed to allow for fast_install
8891   # before this can be enabled.
8892   hardcode_into_libs=yes
8893
8894   # Append ld.so.conf contents to the search path
8895   if test -f /etc/ld.so.conf; then
8896     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' ' '`
8897     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
8898   fi
8899
8900   # We used to test for /lib/ld.so.1 and disable shared libraries on
8901   # powerpc, because MkLinux only supported shared libraries with the
8902   # GNU dynamic linker.  Since this was broken with cross compilers,
8903   # most powerpc-linux boxes support dynamic linking these days and
8904   # people can always --disable-shared, the test was removed, and we
8905   # assume the GNU/Linux dynamic linker is in use.
8906   dynamic_linker='GNU/Linux ld.so'
8907   ;;
8908
8909 netbsd*)
8910   version_type=sunos
8911   need_lib_prefix=no
8912   need_version=no
8913   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
8914     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
8915     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
8916     dynamic_linker='NetBSD (a.out) ld.so'
8917   else
8918     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
8919     soname_spec='${libname}${release}${shared_ext}$major'
8920     dynamic_linker='NetBSD ld.elf_so'
8921   fi
8922   shlibpath_var=LD_LIBRARY_PATH
8923   shlibpath_overrides_runpath=yes
8924   hardcode_into_libs=yes
8925   ;;
8926
8927 newsos6)
8928   version_type=linux
8929   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8930   shlibpath_var=LD_LIBRARY_PATH
8931   shlibpath_overrides_runpath=yes
8932   ;;
8933
8934 *nto* | *qnx*)
8935   version_type=qnx
8936   need_lib_prefix=no
8937   need_version=no
8938   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8939   soname_spec='${libname}${release}${shared_ext}$major'
8940   shlibpath_var=LD_LIBRARY_PATH
8941   shlibpath_overrides_runpath=no
8942   hardcode_into_libs=yes
8943   dynamic_linker='ldqnx.so'
8944   ;;
8945
8946 openbsd*)
8947   version_type=sunos
8948   sys_lib_dlsearch_path_spec="/usr/lib"
8949   need_lib_prefix=no
8950   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
8951   case $host_os in
8952     openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
8953     *)                          need_version=no  ;;
8954   esac
8955   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
8956   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
8957   shlibpath_var=LD_LIBRARY_PATH
8958   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
8959     case $host_os in
8960       openbsd2.[89] | openbsd2.[89].*)
8961         shlibpath_overrides_runpath=no
8962         ;;
8963       *)
8964         shlibpath_overrides_runpath=yes
8965         ;;
8966       esac
8967   else
8968     shlibpath_overrides_runpath=yes
8969   fi
8970   ;;
8971
8972 os2*)
8973   libname_spec='$name'
8974   shrext_cmds=".dll"
8975   need_lib_prefix=no
8976   library_names_spec='$libname${shared_ext} $libname.a'
8977   dynamic_linker='OS/2 ld.exe'
8978   shlibpath_var=LIBPATH
8979   ;;
8980
8981 osf3* | osf4* | osf5*)
8982   version_type=osf
8983   need_lib_prefix=no
8984   need_version=no
8985   soname_spec='${libname}${release}${shared_ext}$major'
8986   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8987   shlibpath_var=LD_LIBRARY_PATH
8988   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
8989   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
8990   ;;
8991
8992 rdos*)
8993   dynamic_linker=no
8994   ;;
8995
8996 solaris*)
8997   version_type=linux
8998   need_lib_prefix=no
8999   need_version=no
9000   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9001   soname_spec='${libname}${release}${shared_ext}$major'
9002   shlibpath_var=LD_LIBRARY_PATH
9003   shlibpath_overrides_runpath=yes
9004   hardcode_into_libs=yes
9005   # ldd complains unless libraries are executable
9006   postinstall_cmds='chmod +x $lib'
9007   ;;
9008
9009 sunos4*)
9010   version_type=sunos
9011   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9012   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
9013   shlibpath_var=LD_LIBRARY_PATH
9014   shlibpath_overrides_runpath=yes
9015   if test "$with_gnu_ld" = yes; then
9016     need_lib_prefix=no
9017   fi
9018   need_version=yes
9019   ;;
9020
9021 sysv4 | sysv4.3*)
9022   version_type=linux
9023   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9024   soname_spec='${libname}${release}${shared_ext}$major'
9025   shlibpath_var=LD_LIBRARY_PATH
9026   case $host_vendor in
9027     sni)
9028       shlibpath_overrides_runpath=no
9029       need_lib_prefix=no
9030       runpath_var=LD_RUN_PATH
9031       ;;
9032     siemens)
9033       need_lib_prefix=no
9034       ;;
9035     motorola)
9036       need_lib_prefix=no
9037       need_version=no
9038       shlibpath_overrides_runpath=no
9039       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
9040       ;;
9041   esac
9042   ;;
9043
9044 sysv4*MP*)
9045   if test -d /usr/nec ;then
9046     version_type=linux
9047     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
9048     soname_spec='$libname${shared_ext}.$major'
9049     shlibpath_var=LD_LIBRARY_PATH
9050   fi
9051   ;;
9052
9053 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
9054   version_type=freebsd-elf
9055   need_lib_prefix=no
9056   need_version=no
9057   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9058   soname_spec='${libname}${release}${shared_ext}$major'
9059   shlibpath_var=LD_LIBRARY_PATH
9060   shlibpath_overrides_runpath=yes
9061   hardcode_into_libs=yes
9062   if test "$with_gnu_ld" = yes; then
9063     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
9064   else
9065     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
9066     case $host_os in
9067       sco3.2v5*)
9068         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
9069         ;;
9070     esac
9071   fi
9072   sys_lib_dlsearch_path_spec='/usr/lib'
9073   ;;
9074
9075 tpf*)
9076   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
9077   version_type=linux
9078   need_lib_prefix=no
9079   need_version=no
9080   library_name_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9081   shlibpath_var=LD_LIBRARY_PATH
9082   shlibpath_overrides_runpath=no
9083   hardcode_into_libs=yes
9084   ;;
9085
9086 uts4*)
9087   version_type=linux
9088   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9089   soname_spec='${libname}${release}${shared_ext}$major'
9090   shlibpath_var=LD_LIBRARY_PATH
9091   ;;
9092
9093 *)
9094   dynamic_linker=no
9095   ;;
9096 esac
9097 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
9098 echo "${ECHO_T}$dynamic_linker" >&6
9099 test "$dynamic_linker" = no && can_build_shared=no
9100
9101 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
9102 if test "$GCC" = yes; then
9103   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
9104 fi
9105
9106
9107
9108
9109
9110
9111
9112
9113
9114
9115
9116
9117
9118
9119
9120
9121
9122
9123
9124
9125
9126
9127
9128
9129
9130
9131
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   echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
9193 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
9194 hardcode_action=
9195 if test -n "$hardcode_libdir_flag_spec" ||
9196    test -n "$runpath_var" ||
9197    test "X$hardcode_automatic" = "Xyes" ; then
9198
9199   # We can hardcode non-existent directories.
9200   if test "$hardcode_direct" != no &&
9201      # If the only mechanism to avoid hardcoding is shlibpath_var, we
9202      # have to relink, otherwise we might link with an installed library
9203      # when we should be linking with a yet-to-be-installed one
9204      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
9205      test "$hardcode_minus_L" != no; then
9206     # Linking always hardcodes the temporary library directory.
9207     hardcode_action=relink
9208   else
9209     # We can link without hardcoding, and we can hardcode nonexisting dirs.
9210     hardcode_action=immediate
9211   fi
9212 else
9213   # We cannot hardcode anything, or else we can only hardcode existing
9214   # directories.
9215   hardcode_action=unsupported
9216 fi
9217 echo "$as_me:$LINENO: result: $hardcode_action" >&5
9218 echo "${ECHO_T}$hardcode_action" >&6
9219
9220 if test "$hardcode_action" = relink ||
9221    test "$inherit_rpath" = yes; then
9222   # Fast installation is not supported
9223   enable_fast_install=no
9224 elif test "$shlibpath_overrides_runpath" = yes ||
9225      test "$enable_shared" = no; then
9226   # Fast installation is not necessary
9227   enable_fast_install=needless
9228 fi
9229
9230
9231
9232
9233
9234
9235   if test "x$enable_dlopen" != xyes; then
9236   enable_dlopen=unknown
9237   enable_dlopen_self=unknown
9238   enable_dlopen_self_static=unknown
9239 else
9240   lt_cv_dlopen=no
9241   lt_cv_dlopen_libs=
9242
9243   case $host_os in
9244   beos*)
9245     lt_cv_dlopen="load_add_on"
9246     lt_cv_dlopen_libs=
9247     lt_cv_dlopen_self=yes
9248     ;;
9249
9250   mingw* | pw32*)
9251     lt_cv_dlopen="LoadLibrary"
9252     lt_cv_dlopen_libs=
9253     ;;
9254
9255   cygwin*)
9256     lt_cv_dlopen="dlopen"
9257     lt_cv_dlopen_libs=
9258     ;;
9259
9260   darwin*)
9261   # if libdl is installed we need to link against it
9262     echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
9263 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
9264 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
9265   echo $ECHO_N "(cached) $ECHO_C" >&6
9266 else
9267   ac_check_lib_save_LIBS=$LIBS
9268 LIBS="-ldl  $LIBS"
9269 if test x$gcc_no_link = xyes; then
9270   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9271 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9272    { (exit 1); exit 1; }; }
9273 fi
9274 cat >conftest.$ac_ext <<_ACEOF
9275 /* confdefs.h.  */
9276 _ACEOF
9277 cat confdefs.h >>conftest.$ac_ext
9278 cat >>conftest.$ac_ext <<_ACEOF
9279 /* end confdefs.h.  */
9280
9281 /* Override any gcc2 internal prototype to avoid an error.  */
9282 #ifdef __cplusplus
9283 extern "C"
9284 #endif
9285 /* We use char because int might match the return type of a gcc2
9286    builtin and then its argument prototype would still apply.  */
9287 char dlopen ();
9288 int
9289 main ()
9290 {
9291 dlopen ();
9292   ;
9293   return 0;
9294 }
9295 _ACEOF
9296 rm -f conftest.$ac_objext conftest$ac_exeext
9297 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9298   (eval $ac_link) 2>conftest.er1
9299   ac_status=$?
9300   grep -v '^ *+' conftest.er1 >conftest.err
9301   rm -f conftest.er1
9302   cat conftest.err >&5
9303   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9304   (exit $ac_status); } &&
9305          { ac_try='test -z "$ac_c_werror_flag"
9306                          || test ! -s conftest.err'
9307   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9308   (eval $ac_try) 2>&5
9309   ac_status=$?
9310   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9311   (exit $ac_status); }; } &&
9312          { ac_try='test -s conftest$ac_exeext'
9313   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9314   (eval $ac_try) 2>&5
9315   ac_status=$?
9316   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9317   (exit $ac_status); }; }; then
9318   ac_cv_lib_dl_dlopen=yes
9319 else
9320   echo "$as_me: failed program was:" >&5
9321 sed 's/^/| /' conftest.$ac_ext >&5
9322
9323 ac_cv_lib_dl_dlopen=no
9324 fi
9325 rm -f conftest.err conftest.$ac_objext \
9326       conftest$ac_exeext conftest.$ac_ext
9327 LIBS=$ac_check_lib_save_LIBS
9328 fi
9329 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
9330 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
9331 if test $ac_cv_lib_dl_dlopen = yes; then
9332   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
9333 else
9334
9335     lt_cv_dlopen="dyld"
9336     lt_cv_dlopen_libs=
9337     lt_cv_dlopen_self=yes
9338
9339 fi
9340
9341     ;;
9342
9343   *)
9344     echo "$as_me:$LINENO: checking for shl_load" >&5
9345 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
9346 if test "${ac_cv_func_shl_load+set}" = set; then
9347   echo $ECHO_N "(cached) $ECHO_C" >&6
9348 else
9349   if test x$gcc_no_link = xyes; then
9350   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9351 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9352    { (exit 1); exit 1; }; }
9353 fi
9354 cat >conftest.$ac_ext <<_ACEOF
9355 /* confdefs.h.  */
9356 _ACEOF
9357 cat confdefs.h >>conftest.$ac_ext
9358 cat >>conftest.$ac_ext <<_ACEOF
9359 /* end confdefs.h.  */
9360 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
9361    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
9362 #define shl_load innocuous_shl_load
9363
9364 /* System header to define __stub macros and hopefully few prototypes,
9365     which can conflict with char shl_load (); below.
9366     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9367     <limits.h> exists even on freestanding compilers.  */
9368
9369 #ifdef __STDC__
9370 # include <limits.h>
9371 #else
9372 # include <assert.h>
9373 #endif
9374
9375 #undef shl_load
9376
9377 /* Override any gcc2 internal prototype to avoid an error.  */
9378 #ifdef __cplusplus
9379 extern "C"
9380 {
9381 #endif
9382 /* We use char because int might match the return type of a gcc2
9383    builtin and then its argument prototype would still apply.  */
9384 char shl_load ();
9385 /* The GNU C library defines this for functions which it implements
9386     to always fail with ENOSYS.  Some functions are actually named
9387     something starting with __ and the normal name is an alias.  */
9388 #if defined (__stub_shl_load) || defined (__stub___shl_load)
9389 choke me
9390 #else
9391 char (*f) () = shl_load;
9392 #endif
9393 #ifdef __cplusplus
9394 }
9395 #endif
9396
9397 int
9398 main ()
9399 {
9400 return f != shl_load;
9401   ;
9402   return 0;
9403 }
9404 _ACEOF
9405 rm -f conftest.$ac_objext conftest$ac_exeext
9406 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9407   (eval $ac_link) 2>conftest.er1
9408   ac_status=$?
9409   grep -v '^ *+' conftest.er1 >conftest.err
9410   rm -f conftest.er1
9411   cat conftest.err >&5
9412   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9413   (exit $ac_status); } &&
9414          { ac_try='test -z "$ac_c_werror_flag"
9415                          || test ! -s conftest.err'
9416   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9417   (eval $ac_try) 2>&5
9418   ac_status=$?
9419   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9420   (exit $ac_status); }; } &&
9421          { ac_try='test -s conftest$ac_exeext'
9422   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9423   (eval $ac_try) 2>&5
9424   ac_status=$?
9425   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9426   (exit $ac_status); }; }; then
9427   ac_cv_func_shl_load=yes
9428 else
9429   echo "$as_me: failed program was:" >&5
9430 sed 's/^/| /' conftest.$ac_ext >&5
9431
9432 ac_cv_func_shl_load=no
9433 fi
9434 rm -f conftest.err conftest.$ac_objext \
9435       conftest$ac_exeext conftest.$ac_ext
9436 fi
9437 echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
9438 echo "${ECHO_T}$ac_cv_func_shl_load" >&6
9439 if test $ac_cv_func_shl_load = yes; then
9440   lt_cv_dlopen="shl_load"
9441 else
9442   echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
9443 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
9444 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
9445   echo $ECHO_N "(cached) $ECHO_C" >&6
9446 else
9447   ac_check_lib_save_LIBS=$LIBS
9448 LIBS="-ldld  $LIBS"
9449 if test x$gcc_no_link = xyes; then
9450   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9451 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9452    { (exit 1); exit 1; }; }
9453 fi
9454 cat >conftest.$ac_ext <<_ACEOF
9455 /* confdefs.h.  */
9456 _ACEOF
9457 cat confdefs.h >>conftest.$ac_ext
9458 cat >>conftest.$ac_ext <<_ACEOF
9459 /* end confdefs.h.  */
9460
9461 /* Override any gcc2 internal prototype to avoid an error.  */
9462 #ifdef __cplusplus
9463 extern "C"
9464 #endif
9465 /* We use char because int might match the return type of a gcc2
9466    builtin and then its argument prototype would still apply.  */
9467 char shl_load ();
9468 int
9469 main ()
9470 {
9471 shl_load ();
9472   ;
9473   return 0;
9474 }
9475 _ACEOF
9476 rm -f conftest.$ac_objext conftest$ac_exeext
9477 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9478   (eval $ac_link) 2>conftest.er1
9479   ac_status=$?
9480   grep -v '^ *+' conftest.er1 >conftest.err
9481   rm -f conftest.er1
9482   cat conftest.err >&5
9483   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9484   (exit $ac_status); } &&
9485          { ac_try='test -z "$ac_c_werror_flag"
9486                          || test ! -s conftest.err'
9487   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9488   (eval $ac_try) 2>&5
9489   ac_status=$?
9490   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9491   (exit $ac_status); }; } &&
9492          { ac_try='test -s conftest$ac_exeext'
9493   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9494   (eval $ac_try) 2>&5
9495   ac_status=$?
9496   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9497   (exit $ac_status); }; }; then
9498   ac_cv_lib_dld_shl_load=yes
9499 else
9500   echo "$as_me: failed program was:" >&5
9501 sed 's/^/| /' conftest.$ac_ext >&5
9502
9503 ac_cv_lib_dld_shl_load=no
9504 fi
9505 rm -f conftest.err conftest.$ac_objext \
9506       conftest$ac_exeext conftest.$ac_ext
9507 LIBS=$ac_check_lib_save_LIBS
9508 fi
9509 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
9510 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
9511 if test $ac_cv_lib_dld_shl_load = yes; then
9512   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
9513 else
9514   echo "$as_me:$LINENO: checking for dlopen" >&5
9515 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
9516 if test "${ac_cv_func_dlopen+set}" = set; then
9517   echo $ECHO_N "(cached) $ECHO_C" >&6
9518 else
9519   if test x$gcc_no_link = xyes; then
9520   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9521 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9522    { (exit 1); exit 1; }; }
9523 fi
9524 cat >conftest.$ac_ext <<_ACEOF
9525 /* confdefs.h.  */
9526 _ACEOF
9527 cat confdefs.h >>conftest.$ac_ext
9528 cat >>conftest.$ac_ext <<_ACEOF
9529 /* end confdefs.h.  */
9530 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
9531    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
9532 #define dlopen innocuous_dlopen
9533
9534 /* System header to define __stub macros and hopefully few prototypes,
9535     which can conflict with char dlopen (); below.
9536     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9537     <limits.h> exists even on freestanding compilers.  */
9538
9539 #ifdef __STDC__
9540 # include <limits.h>
9541 #else
9542 # include <assert.h>
9543 #endif
9544
9545 #undef dlopen
9546
9547 /* Override any gcc2 internal prototype to avoid an error.  */
9548 #ifdef __cplusplus
9549 extern "C"
9550 {
9551 #endif
9552 /* We use char because int might match the return type of a gcc2
9553    builtin and then its argument prototype would still apply.  */
9554 char dlopen ();
9555 /* The GNU C library defines this for functions which it implements
9556     to always fail with ENOSYS.  Some functions are actually named
9557     something starting with __ and the normal name is an alias.  */
9558 #if defined (__stub_dlopen) || defined (__stub___dlopen)
9559 choke me
9560 #else
9561 char (*f) () = dlopen;
9562 #endif
9563 #ifdef __cplusplus
9564 }
9565 #endif
9566
9567 int
9568 main ()
9569 {
9570 return f != dlopen;
9571   ;
9572   return 0;
9573 }
9574 _ACEOF
9575 rm -f conftest.$ac_objext conftest$ac_exeext
9576 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9577   (eval $ac_link) 2>conftest.er1
9578   ac_status=$?
9579   grep -v '^ *+' conftest.er1 >conftest.err
9580   rm -f conftest.er1
9581   cat conftest.err >&5
9582   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9583   (exit $ac_status); } &&
9584          { ac_try='test -z "$ac_c_werror_flag"
9585                          || test ! -s conftest.err'
9586   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9587   (eval $ac_try) 2>&5
9588   ac_status=$?
9589   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9590   (exit $ac_status); }; } &&
9591          { ac_try='test -s conftest$ac_exeext'
9592   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9593   (eval $ac_try) 2>&5
9594   ac_status=$?
9595   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9596   (exit $ac_status); }; }; then
9597   ac_cv_func_dlopen=yes
9598 else
9599   echo "$as_me: failed program was:" >&5
9600 sed 's/^/| /' conftest.$ac_ext >&5
9601
9602 ac_cv_func_dlopen=no
9603 fi
9604 rm -f conftest.err conftest.$ac_objext \
9605       conftest$ac_exeext conftest.$ac_ext
9606 fi
9607 echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
9608 echo "${ECHO_T}$ac_cv_func_dlopen" >&6
9609 if test $ac_cv_func_dlopen = yes; then
9610   lt_cv_dlopen="dlopen"
9611 else
9612   echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
9613 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
9614 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
9615   echo $ECHO_N "(cached) $ECHO_C" >&6
9616 else
9617   ac_check_lib_save_LIBS=$LIBS
9618 LIBS="-ldl  $LIBS"
9619 if test x$gcc_no_link = xyes; then
9620   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9621 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9622    { (exit 1); exit 1; }; }
9623 fi
9624 cat >conftest.$ac_ext <<_ACEOF
9625 /* confdefs.h.  */
9626 _ACEOF
9627 cat confdefs.h >>conftest.$ac_ext
9628 cat >>conftest.$ac_ext <<_ACEOF
9629 /* end confdefs.h.  */
9630
9631 /* Override any gcc2 internal prototype to avoid an error.  */
9632 #ifdef __cplusplus
9633 extern "C"
9634 #endif
9635 /* We use char because int might match the return type of a gcc2
9636    builtin and then its argument prototype would still apply.  */
9637 char dlopen ();
9638 int
9639 main ()
9640 {
9641 dlopen ();
9642   ;
9643   return 0;
9644 }
9645 _ACEOF
9646 rm -f conftest.$ac_objext conftest$ac_exeext
9647 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9648   (eval $ac_link) 2>conftest.er1
9649   ac_status=$?
9650   grep -v '^ *+' conftest.er1 >conftest.err
9651   rm -f conftest.er1
9652   cat conftest.err >&5
9653   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9654   (exit $ac_status); } &&
9655          { ac_try='test -z "$ac_c_werror_flag"
9656                          || test ! -s conftest.err'
9657   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9658   (eval $ac_try) 2>&5
9659   ac_status=$?
9660   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9661   (exit $ac_status); }; } &&
9662          { ac_try='test -s conftest$ac_exeext'
9663   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9664   (eval $ac_try) 2>&5
9665   ac_status=$?
9666   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9667   (exit $ac_status); }; }; then
9668   ac_cv_lib_dl_dlopen=yes
9669 else
9670   echo "$as_me: failed program was:" >&5
9671 sed 's/^/| /' conftest.$ac_ext >&5
9672
9673 ac_cv_lib_dl_dlopen=no
9674 fi
9675 rm -f conftest.err conftest.$ac_objext \
9676       conftest$ac_exeext conftest.$ac_ext
9677 LIBS=$ac_check_lib_save_LIBS
9678 fi
9679 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
9680 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
9681 if test $ac_cv_lib_dl_dlopen = yes; then
9682   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
9683 else
9684   echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
9685 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
9686 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
9687   echo $ECHO_N "(cached) $ECHO_C" >&6
9688 else
9689   ac_check_lib_save_LIBS=$LIBS
9690 LIBS="-lsvld  $LIBS"
9691 if test x$gcc_no_link = xyes; then
9692   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9693 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9694    { (exit 1); exit 1; }; }
9695 fi
9696 cat >conftest.$ac_ext <<_ACEOF
9697 /* confdefs.h.  */
9698 _ACEOF
9699 cat confdefs.h >>conftest.$ac_ext
9700 cat >>conftest.$ac_ext <<_ACEOF
9701 /* end confdefs.h.  */
9702
9703 /* Override any gcc2 internal prototype to avoid an error.  */
9704 #ifdef __cplusplus
9705 extern "C"
9706 #endif
9707 /* We use char because int might match the return type of a gcc2
9708    builtin and then its argument prototype would still apply.  */
9709 char dlopen ();
9710 int
9711 main ()
9712 {
9713 dlopen ();
9714   ;
9715   return 0;
9716 }
9717 _ACEOF
9718 rm -f conftest.$ac_objext conftest$ac_exeext
9719 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9720   (eval $ac_link) 2>conftest.er1
9721   ac_status=$?
9722   grep -v '^ *+' conftest.er1 >conftest.err
9723   rm -f conftest.er1
9724   cat conftest.err >&5
9725   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9726   (exit $ac_status); } &&
9727          { ac_try='test -z "$ac_c_werror_flag"
9728                          || test ! -s conftest.err'
9729   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9730   (eval $ac_try) 2>&5
9731   ac_status=$?
9732   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9733   (exit $ac_status); }; } &&
9734          { ac_try='test -s conftest$ac_exeext'
9735   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9736   (eval $ac_try) 2>&5
9737   ac_status=$?
9738   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9739   (exit $ac_status); }; }; then
9740   ac_cv_lib_svld_dlopen=yes
9741 else
9742   echo "$as_me: failed program was:" >&5
9743 sed 's/^/| /' conftest.$ac_ext >&5
9744
9745 ac_cv_lib_svld_dlopen=no
9746 fi
9747 rm -f conftest.err conftest.$ac_objext \
9748       conftest$ac_exeext conftest.$ac_ext
9749 LIBS=$ac_check_lib_save_LIBS
9750 fi
9751 echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
9752 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
9753 if test $ac_cv_lib_svld_dlopen = yes; then
9754   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
9755 else
9756   echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
9757 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
9758 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
9759   echo $ECHO_N "(cached) $ECHO_C" >&6
9760 else
9761   ac_check_lib_save_LIBS=$LIBS
9762 LIBS="-ldld  $LIBS"
9763 if test x$gcc_no_link = xyes; then
9764   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9765 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9766    { (exit 1); exit 1; }; }
9767 fi
9768 cat >conftest.$ac_ext <<_ACEOF
9769 /* confdefs.h.  */
9770 _ACEOF
9771 cat confdefs.h >>conftest.$ac_ext
9772 cat >>conftest.$ac_ext <<_ACEOF
9773 /* end confdefs.h.  */
9774
9775 /* Override any gcc2 internal prototype to avoid an error.  */
9776 #ifdef __cplusplus
9777 extern "C"
9778 #endif
9779 /* We use char because int might match the return type of a gcc2
9780    builtin and then its argument prototype would still apply.  */
9781 char dld_link ();
9782 int
9783 main ()
9784 {
9785 dld_link ();
9786   ;
9787   return 0;
9788 }
9789 _ACEOF
9790 rm -f conftest.$ac_objext conftest$ac_exeext
9791 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9792   (eval $ac_link) 2>conftest.er1
9793   ac_status=$?
9794   grep -v '^ *+' conftest.er1 >conftest.err
9795   rm -f conftest.er1
9796   cat conftest.err >&5
9797   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9798   (exit $ac_status); } &&
9799          { ac_try='test -z "$ac_c_werror_flag"
9800                          || test ! -s conftest.err'
9801   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9802   (eval $ac_try) 2>&5
9803   ac_status=$?
9804   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9805   (exit $ac_status); }; } &&
9806          { ac_try='test -s conftest$ac_exeext'
9807   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9808   (eval $ac_try) 2>&5
9809   ac_status=$?
9810   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9811   (exit $ac_status); }; }; then
9812   ac_cv_lib_dld_dld_link=yes
9813 else
9814   echo "$as_me: failed program was:" >&5
9815 sed 's/^/| /' conftest.$ac_ext >&5
9816
9817 ac_cv_lib_dld_dld_link=no
9818 fi
9819 rm -f conftest.err conftest.$ac_objext \
9820       conftest$ac_exeext conftest.$ac_ext
9821 LIBS=$ac_check_lib_save_LIBS
9822 fi
9823 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
9824 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
9825 if test $ac_cv_lib_dld_dld_link = yes; then
9826   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
9827 fi
9828
9829
9830 fi
9831
9832
9833 fi
9834
9835
9836 fi
9837
9838
9839 fi
9840
9841
9842 fi
9843
9844     ;;
9845   esac
9846
9847   if test "x$lt_cv_dlopen" != xno; then
9848     enable_dlopen=yes
9849   else
9850     enable_dlopen=no
9851   fi
9852
9853   case $lt_cv_dlopen in
9854   dlopen)
9855     save_CPPFLAGS="$CPPFLAGS"
9856     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
9857
9858     save_LDFLAGS="$LDFLAGS"
9859     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
9860
9861     save_LIBS="$LIBS"
9862     LIBS="$lt_cv_dlopen_libs $LIBS"
9863
9864     echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
9865 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
9866 if test "${lt_cv_dlopen_self+set}" = set; then
9867   echo $ECHO_N "(cached) $ECHO_C" >&6
9868 else
9869           if test "$cross_compiling" = yes; then :
9870   lt_cv_dlopen_self=cross
9871 else
9872   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
9873   lt_status=$lt_dlunknown
9874   cat > conftest.$ac_ext <<_LT_EOF
9875 #line 9875 "configure"
9876 #include "confdefs.h"
9877
9878 #if HAVE_DLFCN_H
9879 #include <dlfcn.h>
9880 #endif
9881
9882 #include <stdio.h>
9883
9884 #ifdef RTLD_GLOBAL
9885 #  define LT_DLGLOBAL           RTLD_GLOBAL
9886 #else
9887 #  ifdef DL_GLOBAL
9888 #    define LT_DLGLOBAL         DL_GLOBAL
9889 #  else
9890 #    define LT_DLGLOBAL         0
9891 #  endif
9892 #endif
9893
9894 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
9895    find out it does not work in some platform. */
9896 #ifndef LT_DLLAZY_OR_NOW
9897 #  ifdef RTLD_LAZY
9898 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
9899 #  else
9900 #    ifdef DL_LAZY
9901 #      define LT_DLLAZY_OR_NOW          DL_LAZY
9902 #    else
9903 #      ifdef RTLD_NOW
9904 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
9905 #      else
9906 #        ifdef DL_NOW
9907 #          define LT_DLLAZY_OR_NOW      DL_NOW
9908 #        else
9909 #          define LT_DLLAZY_OR_NOW      0
9910 #        endif
9911 #      endif
9912 #    endif
9913 #  endif
9914 #endif
9915
9916 #ifdef __cplusplus
9917 extern "C" void exit (int);
9918 #endif
9919
9920 void fnord() { int i=42;}
9921 int main ()
9922 {
9923   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
9924   int status = $lt_dlunknown;
9925
9926   if (self)
9927     {
9928       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
9929       else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
9930       /* dlclose (self); */
9931     }
9932   else
9933     puts (dlerror ());
9934
9935     exit (status);
9936 }
9937 _LT_EOF
9938   if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9939   (eval $ac_link) 2>&5
9940   ac_status=$?
9941   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9942   (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
9943     (./conftest; exit; ) >&5 2>/dev/null
9944     lt_status=$?
9945     case x$lt_status in
9946       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
9947       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
9948       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
9949     esac
9950   else :
9951     # compilation failed
9952     lt_cv_dlopen_self=no
9953   fi
9954 fi
9955 rm -fr conftest*
9956
9957
9958 fi
9959 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
9960 echo "${ECHO_T}$lt_cv_dlopen_self" >&6
9961
9962     if test "x$lt_cv_dlopen_self" = xyes; then
9963       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
9964       echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
9965 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
9966 if test "${lt_cv_dlopen_self_static+set}" = set; then
9967   echo $ECHO_N "(cached) $ECHO_C" >&6
9968 else
9969           if test "$cross_compiling" = yes; then :
9970   lt_cv_dlopen_self_static=cross
9971 else
9972   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
9973   lt_status=$lt_dlunknown
9974   cat > conftest.$ac_ext <<_LT_EOF
9975 #line 9975 "configure"
9976 #include "confdefs.h"
9977
9978 #if HAVE_DLFCN_H
9979 #include <dlfcn.h>
9980 #endif
9981
9982 #include <stdio.h>
9983
9984 #ifdef RTLD_GLOBAL
9985 #  define LT_DLGLOBAL           RTLD_GLOBAL
9986 #else
9987 #  ifdef DL_GLOBAL
9988 #    define LT_DLGLOBAL         DL_GLOBAL
9989 #  else
9990 #    define LT_DLGLOBAL         0
9991 #  endif
9992 #endif
9993
9994 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
9995    find out it does not work in some platform. */
9996 #ifndef LT_DLLAZY_OR_NOW
9997 #  ifdef RTLD_LAZY
9998 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
9999 #  else
10000 #    ifdef DL_LAZY
10001 #      define LT_DLLAZY_OR_NOW          DL_LAZY
10002 #    else
10003 #      ifdef RTLD_NOW
10004 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
10005 #      else
10006 #        ifdef DL_NOW
10007 #          define LT_DLLAZY_OR_NOW      DL_NOW
10008 #        else
10009 #          define LT_DLLAZY_OR_NOW      0
10010 #        endif
10011 #      endif
10012 #    endif
10013 #  endif
10014 #endif
10015
10016 #ifdef __cplusplus
10017 extern "C" void exit (int);
10018 #endif
10019
10020 void fnord() { int i=42;}
10021 int main ()
10022 {
10023   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10024   int status = $lt_dlunknown;
10025
10026   if (self)
10027     {
10028       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
10029       else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10030       /* dlclose (self); */
10031     }
10032   else
10033     puts (dlerror ());
10034
10035     exit (status);
10036 }
10037 _LT_EOF
10038   if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10039   (eval $ac_link) 2>&5
10040   ac_status=$?
10041   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10042   (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
10043     (./conftest; exit; ) >&5 2>/dev/null
10044     lt_status=$?
10045     case x$lt_status in
10046       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
10047       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
10048       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
10049     esac
10050   else :
10051     # compilation failed
10052     lt_cv_dlopen_self_static=no
10053   fi
10054 fi
10055 rm -fr conftest*
10056
10057
10058 fi
10059 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
10060 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
10061     fi
10062
10063     CPPFLAGS="$save_CPPFLAGS"
10064     LDFLAGS="$save_LDFLAGS"
10065     LIBS="$save_LIBS"
10066     ;;
10067   esac
10068
10069   case $lt_cv_dlopen_self in
10070   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
10071   *) enable_dlopen_self=unknown ;;
10072   esac
10073
10074   case $lt_cv_dlopen_self_static in
10075   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
10076   *) enable_dlopen_self_static=unknown ;;
10077   esac
10078 fi
10079
10080
10081
10082
10083
10084
10085
10086
10087
10088
10089
10090
10091
10092
10093
10094
10095
10096 striplib=
10097 old_striplib=
10098 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
10099 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
10100 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
10101   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
10102   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
10103   echo "$as_me:$LINENO: result: yes" >&5
10104 echo "${ECHO_T}yes" >&6
10105 else
10106 # FIXME - insert some real tests, host_os isn't really good enough
10107   case $host_os in
10108   darwin*)
10109     if test -n "$STRIP" ; then
10110       striplib="$STRIP -x"
10111       old_striplib="$STRIP -S"
10112       echo "$as_me:$LINENO: result: yes" >&5
10113 echo "${ECHO_T}yes" >&6
10114     else
10115       echo "$as_me:$LINENO: result: no" >&5
10116 echo "${ECHO_T}no" >&6
10117     fi
10118     ;;
10119   *)
10120     echo "$as_me:$LINENO: result: no" >&5
10121 echo "${ECHO_T}no" >&6
10122     ;;
10123   esac
10124 fi
10125
10126
10127
10128
10129
10130
10131
10132
10133
10134
10135
10136
10137   # Report which library types will actually be built
10138   echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
10139 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
10140   echo "$as_me:$LINENO: result: $can_build_shared" >&5
10141 echo "${ECHO_T}$can_build_shared" >&6
10142
10143   echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
10144 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
10145   test "$can_build_shared" = "no" && enable_shared=no
10146
10147   # On AIX, shared libraries and static libraries use the same namespace, and
10148   # are all built from PIC.
10149   case $host_os in
10150   aix3*)
10151     test "$enable_shared" = yes && enable_static=no
10152     if test -n "$RANLIB"; then
10153       archive_cmds="$archive_cmds~\$RANLIB \$lib"
10154       postinstall_cmds='$RANLIB $lib'
10155     fi
10156     ;;
10157
10158   aix[4-9]*)
10159     if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
10160       test "$enable_shared" = yes && enable_static=no
10161     fi
10162     ;;
10163   esac
10164   echo "$as_me:$LINENO: result: $enable_shared" >&5
10165 echo "${ECHO_T}$enable_shared" >&6
10166
10167   echo "$as_me:$LINENO: checking whether to build static libraries" >&5
10168 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
10169   # Make sure either enable_shared or enable_static is yes.
10170   test "$enable_shared" = yes || enable_static=yes
10171   echo "$as_me:$LINENO: result: $enable_static" >&5
10172 echo "${ECHO_T}$enable_static" >&6
10173
10174
10175
10176
10177 fi
10178 ac_ext=c
10179 ac_cpp='$CPP $CPPFLAGS'
10180 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10181 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10182 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10183
10184 CC="$lt_save_CC"
10185
10186
10187
10188
10189
10190
10191
10192
10193
10194
10195
10196
10197
10198                   ac_config_commands="$ac_config_commands libtool"
10199
10200
10201
10202
10203 # Only expand once:
10204
10205
10206
10207
10208 #AC_MSG_NOTICE([====== Finished libtool configuration]) ; sleep 10
10209
10210 # We need gfortran to compile parts of the library
10211 #AC_PROG_FC(gfortran)
10212 FC="$GFORTRAN"
10213 ac_ext=${FC_SRCEXT-f}
10214 ac_compile='$FC -c $FCFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext >&5'
10215 ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext $LIBS >&5'
10216 ac_compiler_gnu=$ac_cv_fc_compiler_gnu
10217 if test -n "$ac_tool_prefix"; then
10218   for ac_prog in gfortran
10219   do
10220     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
10221 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
10222 echo "$as_me:$LINENO: checking for $ac_word" >&5
10223 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10224 if test "${ac_cv_prog_FC+set}" = set; then
10225   echo $ECHO_N "(cached) $ECHO_C" >&6
10226 else
10227   if test -n "$FC"; then
10228   ac_cv_prog_FC="$FC" # Let the user override the test.
10229 else
10230 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10231 for as_dir in $PATH
10232 do
10233   IFS=$as_save_IFS
10234   test -z "$as_dir" && as_dir=.
10235   for ac_exec_ext in '' $ac_executable_extensions; do
10236   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10237     ac_cv_prog_FC="$ac_tool_prefix$ac_prog"
10238     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10239     break 2
10240   fi
10241 done
10242 done
10243
10244 fi
10245 fi
10246 FC=$ac_cv_prog_FC
10247 if test -n "$FC"; then
10248   echo "$as_me:$LINENO: result: $FC" >&5
10249 echo "${ECHO_T}$FC" >&6
10250 else
10251   echo "$as_me:$LINENO: result: no" >&5
10252 echo "${ECHO_T}no" >&6
10253 fi
10254
10255     test -n "$FC" && break
10256   done
10257 fi
10258 if test -z "$FC"; then
10259   ac_ct_FC=$FC
10260   for ac_prog in gfortran
10261 do
10262   # Extract the first word of "$ac_prog", so it can be a program name with args.
10263 set dummy $ac_prog; ac_word=$2
10264 echo "$as_me:$LINENO: checking for $ac_word" >&5
10265 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10266 if test "${ac_cv_prog_ac_ct_FC+set}" = set; then
10267   echo $ECHO_N "(cached) $ECHO_C" >&6
10268 else
10269   if test -n "$ac_ct_FC"; then
10270   ac_cv_prog_ac_ct_FC="$ac_ct_FC" # Let the user override the test.
10271 else
10272 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10273 for as_dir in $PATH
10274 do
10275   IFS=$as_save_IFS
10276   test -z "$as_dir" && as_dir=.
10277   for ac_exec_ext in '' $ac_executable_extensions; do
10278   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10279     ac_cv_prog_ac_ct_FC="$ac_prog"
10280     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10281     break 2
10282   fi
10283 done
10284 done
10285
10286 fi
10287 fi
10288 ac_ct_FC=$ac_cv_prog_ac_ct_FC
10289 if test -n "$ac_ct_FC"; then
10290   echo "$as_me:$LINENO: result: $ac_ct_FC" >&5
10291 echo "${ECHO_T}$ac_ct_FC" >&6
10292 else
10293   echo "$as_me:$LINENO: result: no" >&5
10294 echo "${ECHO_T}no" >&6
10295 fi
10296
10297   test -n "$ac_ct_FC" && break
10298 done
10299
10300   FC=$ac_ct_FC
10301 fi
10302
10303
10304 # Provide some information about the compiler.
10305 echo "$as_me:10305:" \
10306      "checking for Fortran compiler version" >&5
10307 ac_compiler=`set X $ac_compile; echo $2`
10308 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
10309   (eval $ac_compiler --version </dev/null >&5) 2>&5
10310   ac_status=$?
10311   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10312   (exit $ac_status); }
10313 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
10314   (eval $ac_compiler -v </dev/null >&5) 2>&5
10315   ac_status=$?
10316   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10317   (exit $ac_status); }
10318 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
10319   (eval $ac_compiler -V </dev/null >&5) 2>&5
10320   ac_status=$?
10321   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10322   (exit $ac_status); }
10323 rm -f a.out
10324
10325 # If we don't use `.F' as extension, the preprocessor is not run on the
10326 # input file.  (Note that this only needs to work for GNU compilers.)
10327 ac_save_ext=$ac_ext
10328 ac_ext=F
10329 echo "$as_me:$LINENO: checking whether we are using the GNU Fortran compiler" >&5
10330 echo $ECHO_N "checking whether we are using the GNU Fortran compiler... $ECHO_C" >&6
10331 if test "${ac_cv_fc_compiler_gnu+set}" = set; then
10332   echo $ECHO_N "(cached) $ECHO_C" >&6
10333 else
10334   cat >conftest.$ac_ext <<_ACEOF
10335       program main
10336 #ifndef __GNUC__
10337        choke me
10338 #endif
10339
10340       end
10341 _ACEOF
10342 rm -f conftest.$ac_objext
10343 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10344   (eval $ac_compile) 2>conftest.er1
10345   ac_status=$?
10346   grep -v '^ *+' conftest.er1 >conftest.err
10347   rm -f conftest.er1
10348   cat conftest.err >&5
10349   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10350   (exit $ac_status); } &&
10351          { ac_try='test -z "$ac_fc_werror_flag"
10352                          || test ! -s conftest.err'
10353   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10354   (eval $ac_try) 2>&5
10355   ac_status=$?
10356   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10357   (exit $ac_status); }; } &&
10358          { ac_try='test -s conftest.$ac_objext'
10359   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10360   (eval $ac_try) 2>&5
10361   ac_status=$?
10362   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10363   (exit $ac_status); }; }; then
10364   ac_compiler_gnu=yes
10365 else
10366   echo "$as_me: failed program was:" >&5
10367 sed 's/^/| /' conftest.$ac_ext >&5
10368
10369 ac_compiler_gnu=no
10370 fi
10371 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10372 ac_cv_fc_compiler_gnu=$ac_compiler_gnu
10373
10374 fi
10375 echo "$as_me:$LINENO: result: $ac_cv_fc_compiler_gnu" >&5
10376 echo "${ECHO_T}$ac_cv_fc_compiler_gnu" >&6
10377 ac_ext=$ac_save_ext
10378 ac_test_FFLAGS=${FCFLAGS+set}
10379 ac_save_FFLAGS=$FCFLAGS
10380 FCFLAGS=
10381 echo "$as_me:$LINENO: checking whether $FC accepts -g" >&5
10382 echo $ECHO_N "checking whether $FC accepts -g... $ECHO_C" >&6
10383 if test "${ac_cv_prog_fc_g+set}" = set; then
10384   echo $ECHO_N "(cached) $ECHO_C" >&6
10385 else
10386   FCFLAGS=-g
10387 cat >conftest.$ac_ext <<_ACEOF
10388       program main
10389
10390       end
10391 _ACEOF
10392 rm -f conftest.$ac_objext
10393 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10394   (eval $ac_compile) 2>conftest.er1
10395   ac_status=$?
10396   grep -v '^ *+' conftest.er1 >conftest.err
10397   rm -f conftest.er1
10398   cat conftest.err >&5
10399   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10400   (exit $ac_status); } &&
10401          { ac_try='test -z "$ac_fc_werror_flag"
10402                          || test ! -s conftest.err'
10403   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10404   (eval $ac_try) 2>&5
10405   ac_status=$?
10406   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10407   (exit $ac_status); }; } &&
10408          { ac_try='test -s conftest.$ac_objext'
10409   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10410   (eval $ac_try) 2>&5
10411   ac_status=$?
10412   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10413   (exit $ac_status); }; }; then
10414   ac_cv_prog_fc_g=yes
10415 else
10416   echo "$as_me: failed program was:" >&5
10417 sed 's/^/| /' conftest.$ac_ext >&5
10418
10419 ac_cv_prog_fc_g=no
10420 fi
10421 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10422
10423 fi
10424 echo "$as_me:$LINENO: result: $ac_cv_prog_fc_g" >&5
10425 echo "${ECHO_T}$ac_cv_prog_fc_g" >&6
10426 if test "$ac_test_FFLAGS" = set; then
10427   FCFLAGS=$ac_save_FFLAGS
10428 elif test $ac_cv_prog_fc_g = yes; then
10429   if test "x$ac_cv_fc_compiler_gnu" = xyes; then
10430     FCFLAGS="-g -O2"
10431   else
10432     FCFLAGS="-g"
10433   fi
10434 else
10435   if test "x$ac_cv_fc_compiler_gnu" = xyes; then
10436     FCFLAGS="-O2"
10437   else
10438     FCFLAGS=
10439   fi
10440 fi
10441
10442 ac_ext=c
10443 ac_cpp='$CPP $CPPFLAGS'
10444 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10445 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10446 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10447
10448
10449 ac_ext=${FC_SRCEXT-f}
10450 ac_compile='$FC -c $FCFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext >&5'
10451 ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext $LIBS >&5'
10452 ac_compiler_gnu=$ac_cv_fc_compiler_gnu
10453 if test -n "$ac_tool_prefix"; then
10454   for ac_prog in f95 fort xlf95 ifc efc pgf95 lf95 gfortran f90 xlf90 pgf90 epcf90 g77 f77 xlf frt pgf77 fort77 fl32 af77
10455   do
10456     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
10457 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
10458 echo "$as_me:$LINENO: checking for $ac_word" >&5
10459 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10460 if test "${ac_cv_prog_FC+set}" = set; then
10461   echo $ECHO_N "(cached) $ECHO_C" >&6
10462 else
10463   if test -n "$FC"; then
10464   ac_cv_prog_FC="$FC" # Let the user override the test.
10465 else
10466 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10467 for as_dir in $PATH
10468 do
10469   IFS=$as_save_IFS
10470   test -z "$as_dir" && as_dir=.
10471   for ac_exec_ext in '' $ac_executable_extensions; do
10472   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10473     ac_cv_prog_FC="$ac_tool_prefix$ac_prog"
10474     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10475     break 2
10476   fi
10477 done
10478 done
10479
10480 fi
10481 fi
10482 FC=$ac_cv_prog_FC
10483 if test -n "$FC"; then
10484   echo "$as_me:$LINENO: result: $FC" >&5
10485 echo "${ECHO_T}$FC" >&6
10486 else
10487   echo "$as_me:$LINENO: result: no" >&5
10488 echo "${ECHO_T}no" >&6
10489 fi
10490
10491     test -n "$FC" && break
10492   done
10493 fi
10494 if test -z "$FC"; then
10495   ac_ct_FC=$FC
10496   for ac_prog in f95 fort xlf95 ifc efc pgf95 lf95 gfortran f90 xlf90 pgf90 epcf90 g77 f77 xlf frt pgf77 fort77 fl32 af77
10497 do
10498   # Extract the first word of "$ac_prog", so it can be a program name with args.
10499 set dummy $ac_prog; ac_word=$2
10500 echo "$as_me:$LINENO: checking for $ac_word" >&5
10501 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10502 if test "${ac_cv_prog_ac_ct_FC+set}" = set; then
10503   echo $ECHO_N "(cached) $ECHO_C" >&6
10504 else
10505   if test -n "$ac_ct_FC"; then
10506   ac_cv_prog_ac_ct_FC="$ac_ct_FC" # Let the user override the test.
10507 else
10508 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10509 for as_dir in $PATH
10510 do
10511   IFS=$as_save_IFS
10512   test -z "$as_dir" && as_dir=.
10513   for ac_exec_ext in '' $ac_executable_extensions; do
10514   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10515     ac_cv_prog_ac_ct_FC="$ac_prog"
10516     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10517     break 2
10518   fi
10519 done
10520 done
10521
10522 fi
10523 fi
10524 ac_ct_FC=$ac_cv_prog_ac_ct_FC
10525 if test -n "$ac_ct_FC"; then
10526   echo "$as_me:$LINENO: result: $ac_ct_FC" >&5
10527 echo "${ECHO_T}$ac_ct_FC" >&6
10528 else
10529   echo "$as_me:$LINENO: result: no" >&5
10530 echo "${ECHO_T}no" >&6
10531 fi
10532
10533   test -n "$ac_ct_FC" && break
10534 done
10535
10536   FC=$ac_ct_FC
10537 fi
10538
10539
10540 # Provide some information about the compiler.
10541 echo "$as_me:10541:" \
10542      "checking for Fortran compiler version" >&5
10543 ac_compiler=`set X $ac_compile; echo $2`
10544 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
10545   (eval $ac_compiler --version </dev/null >&5) 2>&5
10546   ac_status=$?
10547   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10548   (exit $ac_status); }
10549 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
10550   (eval $ac_compiler -v </dev/null >&5) 2>&5
10551   ac_status=$?
10552   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10553   (exit $ac_status); }
10554 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
10555   (eval $ac_compiler -V </dev/null >&5) 2>&5
10556   ac_status=$?
10557   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10558   (exit $ac_status); }
10559 rm -f a.out
10560
10561 # If we don't use `.F' as extension, the preprocessor is not run on the
10562 # input file.  (Note that this only needs to work for GNU compilers.)
10563 ac_save_ext=$ac_ext
10564 ac_ext=F
10565 echo "$as_me:$LINENO: checking whether we are using the GNU Fortran compiler" >&5
10566 echo $ECHO_N "checking whether we are using the GNU Fortran compiler... $ECHO_C" >&6
10567 if test "${ac_cv_fc_compiler_gnu+set}" = set; then
10568   echo $ECHO_N "(cached) $ECHO_C" >&6
10569 else
10570   cat >conftest.$ac_ext <<_ACEOF
10571       program main
10572 #ifndef __GNUC__
10573        choke me
10574 #endif
10575
10576       end
10577 _ACEOF
10578 rm -f conftest.$ac_objext
10579 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10580   (eval $ac_compile) 2>conftest.er1
10581   ac_status=$?
10582   grep -v '^ *+' conftest.er1 >conftest.err
10583   rm -f conftest.er1
10584   cat conftest.err >&5
10585   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10586   (exit $ac_status); } &&
10587          { ac_try='test -z "$ac_fc_werror_flag"
10588                          || test ! -s conftest.err'
10589   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10590   (eval $ac_try) 2>&5
10591   ac_status=$?
10592   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10593   (exit $ac_status); }; } &&
10594          { ac_try='test -s conftest.$ac_objext'
10595   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10596   (eval $ac_try) 2>&5
10597   ac_status=$?
10598   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10599   (exit $ac_status); }; }; then
10600   ac_compiler_gnu=yes
10601 else
10602   echo "$as_me: failed program was:" >&5
10603 sed 's/^/| /' conftest.$ac_ext >&5
10604
10605 ac_compiler_gnu=no
10606 fi
10607 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10608 ac_cv_fc_compiler_gnu=$ac_compiler_gnu
10609
10610 fi
10611 echo "$as_me:$LINENO: result: $ac_cv_fc_compiler_gnu" >&5
10612 echo "${ECHO_T}$ac_cv_fc_compiler_gnu" >&6
10613 ac_ext=$ac_save_ext
10614 ac_test_FFLAGS=${FCFLAGS+set}
10615 ac_save_FFLAGS=$FCFLAGS
10616 FCFLAGS=
10617 echo "$as_me:$LINENO: checking whether $FC accepts -g" >&5
10618 echo $ECHO_N "checking whether $FC accepts -g... $ECHO_C" >&6
10619 if test "${ac_cv_prog_fc_g+set}" = set; then
10620   echo $ECHO_N "(cached) $ECHO_C" >&6
10621 else
10622   FCFLAGS=-g
10623 cat >conftest.$ac_ext <<_ACEOF
10624       program main
10625
10626       end
10627 _ACEOF
10628 rm -f conftest.$ac_objext
10629 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10630   (eval $ac_compile) 2>conftest.er1
10631   ac_status=$?
10632   grep -v '^ *+' conftest.er1 >conftest.err
10633   rm -f conftest.er1
10634   cat conftest.err >&5
10635   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10636   (exit $ac_status); } &&
10637          { ac_try='test -z "$ac_fc_werror_flag"
10638                          || test ! -s conftest.err'
10639   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10640   (eval $ac_try) 2>&5
10641   ac_status=$?
10642   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10643   (exit $ac_status); }; } &&
10644          { ac_try='test -s conftest.$ac_objext'
10645   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10646   (eval $ac_try) 2>&5
10647   ac_status=$?
10648   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10649   (exit $ac_status); }; }; then
10650   ac_cv_prog_fc_g=yes
10651 else
10652   echo "$as_me: failed program was:" >&5
10653 sed 's/^/| /' conftest.$ac_ext >&5
10654
10655 ac_cv_prog_fc_g=no
10656 fi
10657 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10658
10659 fi
10660 echo "$as_me:$LINENO: result: $ac_cv_prog_fc_g" >&5
10661 echo "${ECHO_T}$ac_cv_prog_fc_g" >&6
10662 if test "$ac_test_FFLAGS" = set; then
10663   FCFLAGS=$ac_save_FFLAGS
10664 elif test $ac_cv_prog_fc_g = yes; then
10665   if test "x$ac_cv_fc_compiler_gnu" = xyes; then
10666     FCFLAGS="-g -O2"
10667   else
10668     FCFLAGS="-g"
10669   fi
10670 else
10671   if test "x$ac_cv_fc_compiler_gnu" = xyes; then
10672     FCFLAGS="-O2"
10673   else
10674     FCFLAGS=
10675   fi
10676 fi
10677
10678 ac_ext=c
10679 ac_cpp='$CPP $CPPFLAGS'
10680 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10681 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10682 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10683
10684 if test -z "$FC" || test "X$FC" = "Xno"; then
10685   _lt_disable_FC=yes
10686 fi
10687
10688
10689
10690       ac_ext=${FC_SRCEXT-f}
10691 ac_compile='$FC -c $FCFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext >&5'
10692 ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext $LIBS >&5'
10693 ac_compiler_gnu=$ac_cv_fc_compiler_gnu
10694
10695
10696 archive_cmds_need_lc_FC=no
10697 allow_undefined_flag_FC=
10698 always_export_symbols_FC=no
10699 archive_expsym_cmds_FC=
10700 export_dynamic_flag_spec_FC=
10701 hardcode_direct_FC=no
10702 hardcode_direct_absolute_FC=no
10703 hardcode_libdir_flag_spec_FC=
10704 hardcode_libdir_flag_spec_ld_FC=
10705 hardcode_libdir_separator_FC=
10706 hardcode_minus_L_FC=no
10707 hardcode_automatic_FC=no
10708 inherit_rpath_FC=no
10709 module_cmds_FC=
10710 module_expsym_cmds_FC=
10711 link_all_deplibs_FC=unknown
10712 old_archive_cmds_FC=$old_archive_cmds
10713 no_undefined_flag_FC=
10714 whole_archive_flag_spec_FC=
10715 enable_shared_with_static_runtimes_FC=no
10716
10717 # Source file extension for fc test sources.
10718 ac_ext=${ac_fc_srcext-f}
10719
10720 # Object file extension for compiled fc test sources.
10721 objext=o
10722 objext_FC=$objext
10723
10724 # No sense in running all these tests if we already determined that
10725 # the FC compiler isn't working.  Some variables (like enable_shared)
10726 # are currently assumed to apply to all compilers on this platform,
10727 # and will be corrupted by setting them based on a non-working compiler.
10728 if test "$_lt_disable_FC" != yes; then
10729   # Code to be used in simple compile tests
10730   lt_simple_compile_test_code="\
10731       subroutine t
10732       return
10733       end
10734 "
10735
10736   # Code to be used in simple link tests
10737   lt_simple_link_test_code="\
10738       program t
10739       end
10740 "
10741
10742   # ltmain only uses $CC for tagged configurations so make sure $CC is set.
10743
10744
10745
10746
10747
10748
10749 # If no C compiler was specified, use CC.
10750 LTCC=${LTCC-"$CC"}
10751
10752 # If no C compiler flags were specified, use CFLAGS.
10753 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
10754
10755 # Allow CC to be a program name with arguments.
10756 compiler=$CC
10757
10758
10759   # save warnings/boilerplate of simple test code
10760   ac_outfile=conftest.$ac_objext
10761 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
10762 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
10763 _lt_compiler_boilerplate=`cat conftest.err`
10764 $RM conftest*
10765
10766   ac_outfile=conftest.$ac_objext
10767 echo "$lt_simple_link_test_code" >conftest.$ac_ext
10768 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
10769 _lt_linker_boilerplate=`cat conftest.err`
10770 $RM conftest*
10771
10772
10773   # Allow CC to be a program name with arguments.
10774   lt_save_CC="$CC"
10775   CC=${FC-"f95"}
10776   compiler=$CC
10777   compiler_FC=$CC
10778   for cc_temp in $compiler""; do
10779   case $cc_temp in
10780     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
10781     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
10782     \-*) ;;
10783     *) break;;
10784   esac
10785 done
10786 cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
10787
10788
10789   if test -n "$compiler"; then
10790     echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
10791 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
10792     echo "$as_me:$LINENO: result: $can_build_shared" >&5
10793 echo "${ECHO_T}$can_build_shared" >&6
10794
10795     echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
10796 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
10797     test "$can_build_shared" = "no" && enable_shared=no
10798
10799     # On AIX, shared libraries and static libraries use the same namespace, and
10800     # are all built from PIC.
10801     case $host_os in
10802       aix3*)
10803         test "$enable_shared" = yes && enable_static=no
10804         if test -n "$RANLIB"; then
10805           archive_cmds="$archive_cmds~\$RANLIB \$lib"
10806           postinstall_cmds='$RANLIB $lib'
10807         fi
10808         ;;
10809       aix[4-9]*)
10810         if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
10811           test "$enable_shared" = yes && enable_static=no
10812         fi
10813         ;;
10814     esac
10815     echo "$as_me:$LINENO: result: $enable_shared" >&5
10816 echo "${ECHO_T}$enable_shared" >&6
10817
10818     echo "$as_me:$LINENO: checking whether to build static libraries" >&5
10819 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
10820     # Make sure either enable_shared or enable_static is yes.
10821     test "$enable_shared" = yes || enable_static=yes
10822     echo "$as_me:$LINENO: result: $enable_static" >&5
10823 echo "${ECHO_T}$enable_static" >&6
10824
10825     GCC_FC="$ac_cv_fc_compiler_gnu"
10826     LD_FC="$LD"
10827
10828     ## CAVEAT EMPTOR:
10829     ## There is no encapsulation within the following macros, do not change
10830     ## the running order or otherwise move them around unless you know exactly
10831     ## what you are doing...
10832     # Dependencies to place before and after the object being linked:
10833 predep_objects_FC=
10834 postdep_objects_FC=
10835 predeps_FC=
10836 postdeps_FC=
10837 compiler_lib_search_path_FC=
10838
10839 cat > conftest.$ac_ext <<_LT_EOF
10840       subroutine foo
10841       implicit none
10842       integer a
10843       a=0
10844       return
10845       end
10846 _LT_EOF
10847
10848 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10849   (eval $ac_compile) 2>&5
10850   ac_status=$?
10851   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10852   (exit $ac_status); }; then
10853   # Parse the compiler output and extract the necessary
10854   # objects, libraries and library flags.
10855
10856   # Sentinel used to keep track of whether or not we are before
10857   # the conftest object file.
10858   pre_test_object_deps_done=no
10859
10860   # The `*' in the case matches for architectures that use `case' in
10861   # $output_verbose_cmd can trigger glob expansion during the loop
10862   # eval without this substitution.
10863   output_verbose_link_cmd=`$ECHO "X$output_verbose_link_cmd" | $Xsed -e "$no_glob_subst"`
10864
10865   for p in `eval $output_verbose_link_cmd`; do
10866     case $p in
10867
10868     -L* | -R* | -l*)
10869        # Some compilers place space between "-{L,R}" and the path.
10870        # Remove the space.
10871        if test $p = "-L" ||
10872           test $p = "-R"; then
10873          prev=$p
10874          continue
10875        else
10876          prev=
10877        fi
10878
10879        if test "$pre_test_object_deps_done" = no; then
10880          case $p in
10881          -L* | -R*)
10882            # Internal compiler library paths should come after those
10883            # provided the user.  The postdeps already come after the
10884            # user supplied libs so there is no need to process them.
10885            if test -z "$compiler_lib_search_path_FC"; then
10886              compiler_lib_search_path_FC="${prev}${p}"
10887            else
10888              compiler_lib_search_path_FC="${compiler_lib_search_path_FC} ${prev}${p}"
10889            fi
10890            ;;
10891          # The "-l" case would never come before the object being
10892          # linked, so don't bother handling this case.
10893          esac
10894        else
10895          if test -z "$postdeps_FC"; then
10896            postdeps_FC="${prev}${p}"
10897          else
10898            postdeps_FC="${postdeps_FC} ${prev}${p}"
10899          fi
10900        fi
10901        ;;
10902
10903     *.$objext)
10904        # This assumes that the test object file only shows up
10905        # once in the compiler output.
10906        if test "$p" = "conftest.$objext"; then
10907          pre_test_object_deps_done=yes
10908          continue
10909        fi
10910
10911        if test "$pre_test_object_deps_done" = no; then
10912          if test -z "$predep_objects_FC"; then
10913            predep_objects_FC="$p"
10914          else
10915            predep_objects_FC="$predep_objects_FC $p"
10916          fi
10917        else
10918          if test -z "$postdep_objects_FC"; then
10919            postdep_objects_FC="$p"
10920          else
10921            postdep_objects_FC="$postdep_objects_FC $p"
10922          fi
10923        fi
10924        ;;
10925
10926     *) ;; # Ignore the rest.
10927
10928     esac
10929   done
10930
10931   # Clean up.
10932   rm -f a.out a.exe
10933 else
10934   echo "libtool.m4: error: problem compiling FC test program"
10935 fi
10936
10937 $RM -f confest.$objext
10938
10939 # PORTME: override above test on systems where it is broken
10940
10941
10942 case " $postdeps_FC " in
10943 *" -lc "*) archive_cmds_need_lc_FC=no ;;
10944 esac
10945
10946
10947
10948
10949
10950
10951
10952
10953
10954
10955
10956
10957
10958
10959
10960
10961
10962
10963
10964
10965
10966
10967
10968
10969
10970
10971     lt_prog_compiler_wl_FC=
10972 lt_prog_compiler_pic_FC=
10973 lt_prog_compiler_static_FC=
10974
10975 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
10976 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
10977
10978   if test "$GCC" = yes; then
10979     lt_prog_compiler_wl_FC='-Wl,'
10980     lt_prog_compiler_static_FC='-static'
10981
10982     case $host_os in
10983       aix*)
10984       # All AIX code is PIC.
10985       if test "$host_cpu" = ia64; then
10986         # AIX 5 now supports IA64 processor
10987         lt_prog_compiler_static_FC='-Bstatic'
10988       fi
10989       ;;
10990
10991     amigaos*)
10992       if test "$host_cpu" = m68k; then
10993         # FIXME: we need at least 68020 code to build shared libraries, but
10994         # adding the `-m68020' flag to GCC prevents building anything better,
10995         # like `-m68040'.
10996         lt_prog_compiler_pic_FC='-m68020 -resident32 -malways-restore-a4'
10997       fi
10998       ;;
10999
11000     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
11001       # PIC is the default for these OSes.
11002       ;;
11003
11004     mingw* | cygwin* | pw32* | os2*)
11005       # This hack is so that the source file can tell whether it is being
11006       # built for inclusion in a dll (and should export symbols for example).
11007       # Although the cygwin gcc ignores -fPIC, still need this for old-style
11008       # (--disable-auto-import) libraries
11009       lt_prog_compiler_pic_FC='-DDLL_EXPORT'
11010       ;;
11011
11012     darwin* | rhapsody*)
11013       # PIC is the default on this platform
11014       # Common symbols not allowed in MH_DYLIB files
11015       lt_prog_compiler_pic_FC='-fno-common'
11016       ;;
11017
11018     hpux*)
11019       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
11020       # not for PA HP-UX.
11021       case $host_cpu in
11022       hppa*64*|ia64*)
11023         # +Z the default
11024         ;;
11025       *)
11026         lt_prog_compiler_pic_FC='-fPIC'
11027         ;;
11028       esac
11029       ;;
11030
11031     interix[3-9]*)
11032       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
11033       # Instead, we relocate shared libraries at runtime.
11034       ;;
11035
11036     msdosdjgpp*)
11037       # Just because we use GCC doesn't mean we suddenly get shared libraries
11038       # on systems that don't support them.
11039       lt_prog_compiler_can_build_shared_FC=no
11040       enable_shared=no
11041       ;;
11042
11043     *nto* | *qnx*)
11044       # QNX uses GNU C++, but need to define -shared option too, otherwise
11045       # it will coredump.
11046       lt_prog_compiler_pic_FC='-fPIC -shared'
11047       ;;
11048
11049     sysv4*MP*)
11050       if test -d /usr/nec; then
11051         lt_prog_compiler_pic_FC=-Kconform_pic
11052       fi
11053       ;;
11054
11055     *)
11056       lt_prog_compiler_pic_FC='-fPIC'
11057       ;;
11058     esac
11059   else
11060     # PORTME Check for flag to pass linker flags through the system compiler.
11061     case $host_os in
11062     aix*)
11063       lt_prog_compiler_wl_FC='-Wl,'
11064       if test "$host_cpu" = ia64; then
11065         # AIX 5 now supports IA64 processor
11066         lt_prog_compiler_static_FC='-Bstatic'
11067       else
11068         lt_prog_compiler_static_FC='-bnso -bI:/lib/syscalls.exp'
11069       fi
11070       ;;
11071     darwin*)
11072       # PIC is the default on this platform
11073       # Common symbols not allowed in MH_DYLIB files
11074       case $cc_basename in
11075       xlc*)
11076         lt_prog_compiler_pic_FC='-qnocommon'
11077         lt_prog_compiler_wl_FC='-Wl,'
11078         ;;
11079       esac
11080       ;;
11081
11082     mingw* | cygwin* | pw32* | os2*)
11083       # This hack is so that the source file can tell whether it is being
11084       # built for inclusion in a dll (and should export symbols for example).
11085       lt_prog_compiler_pic_FC='-DDLL_EXPORT'
11086       ;;
11087
11088     hpux9* | hpux10* | hpux11*)
11089       lt_prog_compiler_wl_FC='-Wl,'
11090       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
11091       # not for PA HP-UX.
11092       case $host_cpu in
11093       hppa*64*|ia64*)
11094         # +Z the default
11095         ;;
11096       *)
11097         lt_prog_compiler_pic_FC='+Z'
11098         ;;
11099       esac
11100       # Is there a better lt_prog_compiler_static that works with the bundled CC?
11101       lt_prog_compiler_static_FC='${wl}-a ${wl}archive'
11102       ;;
11103
11104     irix5* | irix6* | nonstopux*)
11105       lt_prog_compiler_wl_FC='-Wl,'
11106       # PIC (with -KPIC) is the default.
11107       lt_prog_compiler_static_FC='-non_shared'
11108       ;;
11109
11110     linux* | k*bsd*-gnu)
11111       case $cc_basename in
11112       icc* | ecc*)
11113         lt_prog_compiler_wl_FC='-Wl,'
11114         lt_prog_compiler_pic_FC='-KPIC'
11115         lt_prog_compiler_static_FC='-static'
11116         ;;
11117       pgcc* | pgf77* | pgf90* | pgf95*)
11118         # Portland Group compilers (*not* the Pentium gcc compiler,
11119         # which looks to be a dead project)
11120         lt_prog_compiler_wl_FC='-Wl,'
11121         lt_prog_compiler_pic_FC='-fpic'
11122         lt_prog_compiler_static_FC='-Bstatic'
11123         ;;
11124       ccc*)
11125         lt_prog_compiler_wl_FC='-Wl,'
11126         # All Alpha code is PIC.
11127         lt_prog_compiler_static_FC='-non_shared'
11128         ;;
11129       *)
11130         case `$CC -V 2>&1 | sed 5q` in
11131         *Sun\ C*)
11132           # Sun C 5.9
11133           lt_prog_compiler_pic_FC='-KPIC'
11134           lt_prog_compiler_static_FC='-Bstatic'
11135           lt_prog_compiler_wl_FC='-Wl,'
11136           ;;
11137         *Sun\ F*)
11138           # Sun Fortran 8.3 passes all unrecognized flags to the linker
11139           lt_prog_compiler_pic_FC='-KPIC'
11140           lt_prog_compiler_static_FC='-Bstatic'
11141           lt_prog_compiler_wl_FC=''
11142           ;;
11143         esac
11144         ;;
11145       esac
11146       ;;
11147
11148     newsos6)
11149       lt_prog_compiler_pic_FC='-KPIC'
11150       lt_prog_compiler_static_FC='-Bstatic'
11151       ;;
11152
11153     *nto* | *qnx*)
11154       # QNX uses GNU C++, but need to define -shared option too, otherwise
11155       # it will coredump.
11156       lt_prog_compiler_pic_FC='-fPIC -shared'
11157       ;;
11158
11159     osf3* | osf4* | osf5*)
11160       lt_prog_compiler_wl_FC='-Wl,'
11161       # All OSF/1 code is PIC.
11162       lt_prog_compiler_static_FC='-non_shared'
11163       ;;
11164
11165     rdos*)
11166       lt_prog_compiler_static_FC='-non_shared'
11167       ;;
11168
11169     solaris*)
11170       lt_prog_compiler_pic_FC='-KPIC'
11171       lt_prog_compiler_static_FC='-Bstatic'
11172       case $cc_basename in
11173       f77* | f90* | f95*)
11174         lt_prog_compiler_wl_FC='-Qoption ld ';;
11175       *)
11176         lt_prog_compiler_wl_FC='-Wl,';;
11177       esac
11178       ;;
11179
11180     sunos4*)
11181       lt_prog_compiler_wl_FC='-Qoption ld '
11182       lt_prog_compiler_pic_FC='-PIC'
11183       lt_prog_compiler_static_FC='-Bstatic'
11184       ;;
11185
11186     sysv4 | sysv4.2uw2* | sysv4.3*)
11187       lt_prog_compiler_wl_FC='-Wl,'
11188       lt_prog_compiler_pic_FC='-KPIC'
11189       lt_prog_compiler_static_FC='-Bstatic'
11190       ;;
11191
11192     sysv4*MP*)
11193       if test -d /usr/nec ;then
11194         lt_prog_compiler_pic_FC='-Kconform_pic'
11195         lt_prog_compiler_static_FC='-Bstatic'
11196       fi
11197       ;;
11198
11199     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
11200       lt_prog_compiler_wl_FC='-Wl,'
11201       lt_prog_compiler_pic_FC='-KPIC'
11202       lt_prog_compiler_static_FC='-Bstatic'
11203       ;;
11204
11205     unicos*)
11206       lt_prog_compiler_wl_FC='-Wl,'
11207       lt_prog_compiler_can_build_shared_FC=no
11208       ;;
11209
11210     uts4*)
11211       lt_prog_compiler_pic_FC='-pic'
11212       lt_prog_compiler_static_FC='-Bstatic'
11213       ;;
11214
11215     *)
11216       lt_prog_compiler_can_build_shared_FC=no
11217       ;;
11218     esac
11219   fi
11220
11221 case $host_os in
11222   # For platforms which do not support PIC, -DPIC is meaningless:
11223   *djgpp*)
11224     lt_prog_compiler_pic_FC=
11225     ;;
11226   *)
11227     lt_prog_compiler_pic_FC="$lt_prog_compiler_pic_FC"
11228     ;;
11229 esac
11230 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_FC" >&5
11231 echo "${ECHO_T}$lt_prog_compiler_pic_FC" >&6
11232
11233
11234
11235 #
11236 # Check to make sure the PIC flag actually works.
11237 #
11238 if test -n "$lt_prog_compiler_pic_FC"; then
11239   echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_FC works" >&5
11240 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_FC works... $ECHO_C" >&6
11241 if test "${lt_prog_compiler_pic_works_FC+set}" = set; then
11242   echo $ECHO_N "(cached) $ECHO_C" >&6
11243 else
11244   lt_prog_compiler_pic_works_FC=no
11245    ac_outfile=conftest.$ac_objext
11246    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
11247    lt_compiler_flag="$lt_prog_compiler_pic_FC"
11248    # Insert the option either (1) after the last *FLAGS variable, or
11249    # (2) before a word containing "conftest.", or (3) at the end.
11250    # Note that $ac_compile itself does not contain backslashes and begins
11251    # with a dollar sign (not a hyphen), so the echo should work correctly.
11252    # The option is referenced via a variable to avoid confusing sed.
11253    lt_compile=`echo "$ac_compile" | $SED \
11254    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
11255    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11256    -e 's:$: $lt_compiler_flag:'`
11257    (eval echo "\"\$as_me:11257: $lt_compile\"" >&5)
11258    (eval "$lt_compile" 2>conftest.err)
11259    ac_status=$?
11260    cat conftest.err >&5
11261    echo "$as_me:11261: \$? = $ac_status" >&5
11262    if (exit $ac_status) && test -s "$ac_outfile"; then
11263      # The compiler can only warn and ignore the option if not recognized
11264      # So say no if there are warnings other than the usual output.
11265      $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
11266      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
11267      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
11268        lt_prog_compiler_pic_works_FC=yes
11269      fi
11270    fi
11271    $RM conftest*
11272
11273 fi
11274 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_FC" >&5
11275 echo "${ECHO_T}$lt_prog_compiler_pic_works_FC" >&6
11276
11277 if test x"$lt_prog_compiler_pic_works_FC" = xyes; then
11278     case $lt_prog_compiler_pic_FC in
11279      "" | " "*) ;;
11280      *) lt_prog_compiler_pic_FC=" $lt_prog_compiler_pic_FC" ;;
11281      esac
11282 else
11283     lt_prog_compiler_pic_FC=
11284      lt_prog_compiler_can_build_shared_FC=no
11285 fi
11286
11287 fi
11288
11289
11290
11291 #
11292 # Check to make sure the static flag actually works.
11293 #
11294 wl=$lt_prog_compiler_wl_FC eval lt_tmp_static_flag=\"$lt_prog_compiler_static_FC\"
11295 echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
11296 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
11297 if test "${lt_prog_compiler_static_works_FC+set}" = set; then
11298   echo $ECHO_N "(cached) $ECHO_C" >&6
11299 else
11300   lt_prog_compiler_static_works_FC=no
11301    save_LDFLAGS="$LDFLAGS"
11302    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
11303    echo "$lt_simple_link_test_code" > conftest.$ac_ext
11304    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
11305      # The linker can only warn and ignore the option if not recognized
11306      # So say no if there are warnings
11307      if test -s conftest.err; then
11308        # Append any errors to the config.log.
11309        cat conftest.err 1>&5
11310        $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
11311        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
11312        if diff conftest.exp conftest.er2 >/dev/null; then
11313          lt_prog_compiler_static_works_FC=yes
11314        fi
11315      else
11316        lt_prog_compiler_static_works_FC=yes
11317      fi
11318    fi
11319    $RM conftest*
11320    LDFLAGS="$save_LDFLAGS"
11321
11322 fi
11323 echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_FC" >&5
11324 echo "${ECHO_T}$lt_prog_compiler_static_works_FC" >&6
11325
11326 if test x"$lt_prog_compiler_static_works_FC" = xyes; then
11327     :
11328 else
11329     lt_prog_compiler_static_FC=
11330 fi
11331
11332
11333
11334
11335     echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
11336 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
11337 if test "${lt_cv_prog_compiler_c_o_FC+set}" = set; then
11338   echo $ECHO_N "(cached) $ECHO_C" >&6
11339 else
11340   lt_cv_prog_compiler_c_o_FC=no
11341    $RM -r conftest 2>/dev/null
11342    mkdir conftest
11343    cd conftest
11344    mkdir out
11345    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
11346
11347    lt_compiler_flag="-o out/conftest2.$ac_objext"
11348    # Insert the option either (1) after the last *FLAGS variable, or
11349    # (2) before a word containing "conftest.", or (3) at the end.
11350    # Note that $ac_compile itself does not contain backslashes and begins
11351    # with a dollar sign (not a hyphen), so the echo should work correctly.
11352    lt_compile=`echo "$ac_compile" | $SED \
11353    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
11354    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11355    -e 's:$: $lt_compiler_flag:'`
11356    (eval echo "\"\$as_me:11356: $lt_compile\"" >&5)
11357    (eval "$lt_compile" 2>out/conftest.err)
11358    ac_status=$?
11359    cat out/conftest.err >&5
11360    echo "$as_me:11360: \$? = $ac_status" >&5
11361    if (exit $ac_status) && test -s out/conftest2.$ac_objext
11362    then
11363      # The compiler can only warn and ignore the option if not recognized
11364      # So say no if there are warnings
11365      $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
11366      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
11367      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
11368        lt_cv_prog_compiler_c_o_FC=yes
11369      fi
11370    fi
11371    chmod u+w . 2>&5
11372    $RM conftest*
11373    # SGI C++ compiler will create directory out/ii_files/ for
11374    # template instantiation
11375    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
11376    $RM out/* && rmdir out
11377    cd ..
11378    $RM -r conftest
11379    $RM conftest*
11380
11381 fi
11382 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_FC" >&5
11383 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_FC" >&6
11384
11385
11386
11387     echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
11388 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
11389 if test "${lt_cv_prog_compiler_c_o_FC+set}" = set; then
11390   echo $ECHO_N "(cached) $ECHO_C" >&6
11391 else
11392   lt_cv_prog_compiler_c_o_FC=no
11393    $RM -r conftest 2>/dev/null
11394    mkdir conftest
11395    cd conftest
11396    mkdir out
11397    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
11398
11399    lt_compiler_flag="-o out/conftest2.$ac_objext"
11400    # Insert the option either (1) after the last *FLAGS variable, or
11401    # (2) before a word containing "conftest.", or (3) at the end.
11402    # Note that $ac_compile itself does not contain backslashes and begins
11403    # with a dollar sign (not a hyphen), so the echo should work correctly.
11404    lt_compile=`echo "$ac_compile" | $SED \
11405    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
11406    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11407    -e 's:$: $lt_compiler_flag:'`
11408    (eval echo "\"\$as_me:11408: $lt_compile\"" >&5)
11409    (eval "$lt_compile" 2>out/conftest.err)
11410    ac_status=$?
11411    cat out/conftest.err >&5
11412    echo "$as_me:11412: \$? = $ac_status" >&5
11413    if (exit $ac_status) && test -s out/conftest2.$ac_objext
11414    then
11415      # The compiler can only warn and ignore the option if not recognized
11416      # So say no if there are warnings
11417      $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
11418      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
11419      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
11420        lt_cv_prog_compiler_c_o_FC=yes
11421      fi
11422    fi
11423    chmod u+w . 2>&5
11424    $RM conftest*
11425    # SGI C++ compiler will create directory out/ii_files/ for
11426    # template instantiation
11427    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
11428    $RM out/* && rmdir out
11429    cd ..
11430    $RM -r conftest
11431    $RM conftest*
11432
11433 fi
11434 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_FC" >&5
11435 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_FC" >&6
11436
11437
11438
11439
11440 hard_links="nottested"
11441 if test "$lt_cv_prog_compiler_c_o_FC" = no && test "$need_locks" != no; then
11442   # do not overwrite the value of need_locks provided by the user
11443   echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
11444 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
11445   hard_links=yes
11446   $RM conftest*
11447   ln conftest.a conftest.b 2>/dev/null && hard_links=no
11448   touch conftest.a
11449   ln conftest.a conftest.b 2>&5 || hard_links=no
11450   ln conftest.a conftest.b 2>/dev/null && hard_links=no
11451   echo "$as_me:$LINENO: result: $hard_links" >&5
11452 echo "${ECHO_T}$hard_links" >&6
11453   if test "$hard_links" = no; then
11454     { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
11455 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
11456     need_locks=warn
11457   fi
11458 else
11459   need_locks=no
11460 fi
11461
11462
11463
11464     echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
11465 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
11466
11467   runpath_var=
11468   allow_undefined_flag_FC=
11469   always_export_symbols_FC=no
11470   archive_cmds_FC=
11471   archive_expsym_cmds_FC=
11472   compiler_needs_object_FC=no
11473   enable_shared_with_static_runtimes_FC=no
11474   export_dynamic_flag_spec_FC=
11475   export_symbols_cmds_FC='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
11476   hardcode_automatic_FC=no
11477   hardcode_direct_FC=no
11478   hardcode_direct_absolute_FC=no
11479   hardcode_libdir_flag_spec_FC=
11480   hardcode_libdir_flag_spec_ld_FC=
11481   hardcode_libdir_separator_FC=
11482   hardcode_minus_L_FC=no
11483   hardcode_shlibpath_var_FC=unsupported
11484   inherit_rpath_FC=no
11485   link_all_deplibs_FC=unknown
11486   module_cmds_FC=
11487   module_expsym_cmds_FC=
11488   old_archive_from_new_cmds_FC=
11489   old_archive_from_expsyms_cmds_FC=
11490   thread_safe_flag_spec_FC=
11491   whole_archive_flag_spec_FC=
11492   # include_expsyms should be a list of space-separated symbols to be *always*
11493   # included in the symbol list
11494   include_expsyms_FC=
11495   # exclude_expsyms can be an extended regexp of symbols to exclude
11496   # it will be wrapped by ` (' and `)$', so one must not match beginning or
11497   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
11498   # as well as any symbol that contains `d'.
11499   exclude_expsyms_FC="_GLOBAL_OFFSET_TABLE_"
11500   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
11501   # platforms (ab)use it in PIC code, but their linkers get confused if
11502   # the symbol is explicitly referenced.  Since portable code cannot
11503   # rely on this symbol name, it's probably fine to never include it in
11504   # preloaded symbol tables.
11505   extract_expsyms_cmds=
11506
11507   case $host_os in
11508   cygwin* | mingw* | pw32*)
11509     # FIXME: the MSVC++ port hasn't been tested in a loooong time
11510     # When not using gcc, we currently assume that we are using
11511     # Microsoft Visual C++.
11512     if test "$GCC" != yes; then
11513       with_gnu_ld=no
11514     fi
11515     ;;
11516   interix*)
11517     # we just hope/assume this is gcc and not c89 (= MSVC++)
11518     with_gnu_ld=yes
11519     ;;
11520   openbsd*)
11521     with_gnu_ld=no
11522     ;;
11523   esac
11524
11525   ld_shlibs_FC=yes
11526   if test "$with_gnu_ld" = yes; then
11527     # If archive_cmds runs LD, not CC, wlarc should be empty
11528     wlarc='${wl}'
11529
11530     # Set some defaults for GNU ld with shared library support. These
11531     # are reset later if shared libraries are not supported. Putting them
11532     # here allows them to be overridden if necessary.
11533     runpath_var=LD_RUN_PATH
11534     hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir'
11535     export_dynamic_flag_spec_FC='${wl}--export-dynamic'
11536     # ancient GNU ld didn't support --whole-archive et. al.
11537     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
11538       whole_archive_flag_spec_FC="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
11539     else
11540       whole_archive_flag_spec_FC=
11541     fi
11542     supports_anon_versioning=no
11543     case `$LD -v 2>&1` in
11544       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
11545       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
11546       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
11547       *\ 2.11.*) ;; # other 2.11 versions
11548       *) supports_anon_versioning=yes ;;
11549     esac
11550
11551     # See if GNU ld supports shared libraries.
11552     case $host_os in
11553     aix[3-9]*)
11554       # On AIX/PPC, the GNU linker is very broken
11555       if test "$host_cpu" != ia64; then
11556         ld_shlibs_FC=no
11557         cat <<_LT_EOF 1>&2
11558
11559 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
11560 *** to be unable to reliably create shared libraries on AIX.
11561 *** Therefore, libtool is disabling shared libraries support.  If you
11562 *** really care for shared libraries, you may want to modify your PATH
11563 *** so that a non-GNU linker is found, and then restart.
11564
11565 _LT_EOF
11566       fi
11567       ;;
11568
11569     amigaos*)
11570       if test "$host_cpu" = m68k; then
11571         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)'
11572         hardcode_libdir_flag_spec_FC='-L$libdir'
11573         hardcode_minus_L_FC=yes
11574       fi
11575
11576       # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
11577       # that the semantics of dynamic libraries on AmigaOS, at least up
11578       # to version 4, is to share data among multiple programs linked
11579       # with the same dynamic library.  Since this doesn't match the
11580       # behavior of shared libraries on other platforms, we can't use
11581       # them.
11582       ld_shlibs_FC=no
11583       ;;
11584
11585     beos*)
11586       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
11587         allow_undefined_flag_FC=unsupported
11588         # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
11589         # support --undefined.  This deserves some investigation.  FIXME
11590         archive_cmds_FC='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11591       else
11592         ld_shlibs_FC=no
11593       fi
11594       ;;
11595
11596     cygwin* | mingw* | pw32*)
11597       # _LT_TAGVAR(hardcode_libdir_flag_spec, FC) is actually meaningless,
11598       # as there is no search path for DLLs.
11599       hardcode_libdir_flag_spec_FC='-L$libdir'
11600       allow_undefined_flag_FC=unsupported
11601       always_export_symbols_FC=no
11602       enable_shared_with_static_runtimes_FC=yes
11603       export_symbols_cmds_FC='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
11604
11605       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
11606         archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
11607         # If the export-symbols file already is a .def file (1st line
11608         # is EXPORTS), use it as is; otherwise, prepend...
11609         archive_expsym_cmds_FC='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
11610           cp $export_symbols $output_objdir/$soname.def;
11611         else
11612           echo EXPORTS > $output_objdir/$soname.def;
11613           cat $export_symbols >> $output_objdir/$soname.def;
11614         fi~
11615         $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
11616       else
11617         ld_shlibs_FC=no
11618       fi
11619       ;;
11620
11621     interix[3-9]*)
11622       hardcode_direct_FC=no
11623       hardcode_shlibpath_var_FC=no
11624       hardcode_libdir_flag_spec_FC='${wl}-rpath,$libdir'
11625       export_dynamic_flag_spec_FC='${wl}-E'
11626       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
11627       # Instead, shared libraries are loaded at an image base (0x10000000 by
11628       # default) and relocated if they conflict, which is a slow very memory
11629       # consuming and fragmenting process.  To avoid this, we pick a random,
11630       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
11631       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
11632       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'
11633       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'
11634       ;;
11635
11636     gnu* | linux* | tpf* | k*bsd*-gnu)
11637       tmp_diet=no
11638       if test "$host_os" = linux-dietlibc; then
11639         case $cc_basename in
11640           diet\ *) tmp_diet=yes;;       # linux-dietlibc with static linking (!diet-dyn)
11641         esac
11642       fi
11643       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
11644          && test "$tmp_diet" = no
11645       then
11646         tmp_addflag=
11647         case $cc_basename,$host_cpu in
11648         pgcc*)                          # Portland Group C compiler
11649           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'
11650           tmp_addflag=' $pic_flag'
11651           ;;
11652         pgf77* | pgf90* | pgf95*)       # Portland Group f77 and f90 compilers
11653           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'
11654           tmp_addflag=' $pic_flag -Mnomain' ;;
11655         ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
11656           tmp_addflag=' -i_dynamic' ;;
11657         efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
11658           tmp_addflag=' -i_dynamic -nofor_main' ;;
11659         ifc* | ifort*)                  # Intel Fortran compiler
11660           tmp_addflag=' -nofor_main' ;;
11661         esac
11662         case `$CC -V 2>&1 | sed 5q` in
11663         *Sun\ C*)                       # Sun C 5.9
11664           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'
11665           compiler_needs_object_FC=yes
11666           tmp_sharedflag='-G' ;;
11667         *Sun\ F*)                       # Sun Fortran 8.3
11668           tmp_sharedflag='-G' ;;
11669         *)
11670           tmp_sharedflag='-shared' ;;
11671         esac
11672         archive_cmds_FC='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11673
11674         if test "x$supports_anon_versioning" = xyes; then
11675           archive_expsym_cmds_FC='echo "{ global:" > $output_objdir/$libname.ver~
11676             cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
11677             echo "local: *; };" >> $output_objdir/$libname.ver~
11678             $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
11679         fi
11680       else
11681         ld_shlibs_FC=no
11682       fi
11683       ;;
11684
11685     netbsd*)
11686       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11687         archive_cmds_FC='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
11688         wlarc=
11689       else
11690         archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11691         archive_expsym_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
11692       fi
11693       ;;
11694
11695     solaris*)
11696       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
11697         ld_shlibs_FC=no
11698         cat <<_LT_EOF 1>&2
11699
11700 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
11701 *** create shared libraries on Solaris systems.  Therefore, libtool
11702 *** is disabling shared libraries support.  We urge you to upgrade GNU
11703 *** binutils to release 2.9.1 or newer.  Another option is to modify
11704 *** your PATH or compiler configuration so that the native linker is
11705 *** used, and then restart.
11706
11707 _LT_EOF
11708       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
11709         archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11710         archive_expsym_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
11711       else
11712         ld_shlibs_FC=no
11713       fi
11714       ;;
11715
11716     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
11717       case `$LD -v 2>&1` in
11718         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
11719         ld_shlibs_FC=no
11720         cat <<_LT_EOF 1>&2
11721
11722 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
11723 *** reliably create shared libraries on SCO systems.  Therefore, libtool
11724 *** is disabling shared libraries support.  We urge you to upgrade GNU
11725 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
11726 *** your PATH or compiler configuration so that the native linker is
11727 *** used, and then restart.
11728
11729 _LT_EOF
11730         ;;
11731         *)
11732           # For security reasons, it is highly recommended that you always
11733           # use absolute paths for naming shared libraries, and exclude the
11734           # DT_RUNPATH tag from executables and libraries.  But doing so
11735           # requires that you compile everything twice, which is a pain.
11736           if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
11737             hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir'
11738             archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11739             archive_expsym_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
11740           else
11741             ld_shlibs_FC=no
11742           fi
11743         ;;
11744       esac
11745       ;;
11746
11747     sunos4*)
11748       archive_cmds_FC='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
11749       wlarc=
11750       hardcode_direct_FC=yes
11751       hardcode_shlibpath_var_FC=no
11752       ;;
11753
11754     *)
11755       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
11756         archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11757         archive_expsym_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
11758       else
11759         ld_shlibs_FC=no
11760       fi
11761       ;;
11762     esac
11763
11764     if test "$ld_shlibs_FC" = no; then
11765       runpath_var=
11766       hardcode_libdir_flag_spec_FC=
11767       export_dynamic_flag_spec_FC=
11768       whole_archive_flag_spec_FC=
11769     fi
11770   else
11771     # PORTME fill in a description of your system's linker (not GNU ld)
11772     case $host_os in
11773     aix3*)
11774       allow_undefined_flag_FC=unsupported
11775       always_export_symbols_FC=yes
11776       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'
11777       # Note: this linker hardcodes the directories in LIBPATH if there
11778       # are no directories specified by -L.
11779       hardcode_minus_L_FC=yes
11780       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
11781         # Neither direct hardcoding nor static linking is supported with a
11782         # broken collect2.
11783         hardcode_direct_FC=unsupported
11784       fi
11785       ;;
11786
11787     aix[4-9]*)
11788       if test "$host_cpu" = ia64; then
11789         # On IA64, the linker does run time linking by default, so we don't
11790         # have to do anything special.
11791         aix_use_runtimelinking=no
11792         exp_sym_flag='-Bexport'
11793         no_entry_flag=""
11794       else
11795         # If we're using GNU nm, then we don't want the "-C" option.
11796         # -C means demangle to AIX nm, but means don't demangle with GNU nm
11797         if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
11798           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'
11799         else
11800           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'
11801         fi
11802         aix_use_runtimelinking=no
11803
11804         # Test if we are trying to use run time linking or normal
11805         # AIX style linking. If -brtl is somewhere in LDFLAGS, we
11806         # need to do runtime linking.
11807         case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
11808           for ld_flag in $LDFLAGS; do
11809           if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
11810             aix_use_runtimelinking=yes
11811             break
11812           fi
11813           done
11814           ;;
11815         esac
11816
11817         exp_sym_flag='-bexport'
11818         no_entry_flag='-bnoentry'
11819       fi
11820
11821       # When large executables or shared objects are built, AIX ld can
11822       # have problems creating the table of contents.  If linking a library
11823       # or program results in "error TOC overflow" add -mminimal-toc to
11824       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
11825       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
11826
11827       archive_cmds_FC=''
11828       hardcode_direct_FC=yes
11829       hardcode_direct_absolute_FC=yes
11830       hardcode_libdir_separator_FC=':'
11831       link_all_deplibs_FC=yes
11832       file_list_spec_FC='${wl}-f,'
11833
11834       if test "$GCC" = yes; then
11835         case $host_os in aix4.[012]|aix4.[012].*)
11836         # We only want to do this on AIX 4.2 and lower, the check
11837         # below for broken collect2 doesn't work under 4.3+
11838           collect2name=`${CC} -print-prog-name=collect2`
11839           if test -f "$collect2name" &&
11840            strings "$collect2name" | $GREP resolve_lib_name >/dev/null
11841           then
11842           # We have reworked collect2
11843           :
11844           else
11845           # We have old collect2
11846           hardcode_direct_FC=unsupported
11847           # It fails to find uninstalled libraries when the uninstalled
11848           # path is not listed in the libpath.  Setting hardcode_minus_L
11849           # to unsupported forces relinking
11850           hardcode_minus_L_FC=yes
11851           hardcode_libdir_flag_spec_FC='-L$libdir'
11852           hardcode_libdir_separator_FC=
11853           fi
11854           ;;
11855         esac
11856         shared_flag='-shared'
11857         if test "$aix_use_runtimelinking" = yes; then
11858           shared_flag="$shared_flag "'${wl}-G'
11859         fi
11860       else
11861         # not using gcc
11862         if test "$host_cpu" = ia64; then
11863         # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
11864         # chokes on -Wl,-G. The following line is correct:
11865           shared_flag='-G'
11866         else
11867           if test "$aix_use_runtimelinking" = yes; then
11868             shared_flag='${wl}-G'
11869           else
11870             shared_flag='${wl}-bM:SRE'
11871           fi
11872         fi
11873       fi
11874
11875       # It seems that -bexpall does not export symbols beginning with
11876       # underscore (_), so it is better to generate a list of symbols to export.
11877       always_export_symbols_FC=yes
11878       if test "$aix_use_runtimelinking" = yes; then
11879         # Warning - without using the other runtime loading flags (-brtl),
11880         # -berok will link without error, but may produce a broken library.
11881         allow_undefined_flag_FC='-berok'
11882         # Determine the default libpath from the value encoded in an
11883         # empty executable.
11884         if test x$gcc_no_link = xyes; then
11885   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11886 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11887    { (exit 1); exit 1; }; }
11888 fi
11889 cat >conftest.$ac_ext <<_ACEOF
11890       program main
11891
11892       end
11893 _ACEOF
11894 rm -f conftest.$ac_objext conftest$ac_exeext
11895 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11896   (eval $ac_link) 2>conftest.er1
11897   ac_status=$?
11898   grep -v '^ *+' conftest.er1 >conftest.err
11899   rm -f conftest.er1
11900   cat conftest.err >&5
11901   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11902   (exit $ac_status); } &&
11903          { ac_try='test -z "$ac_fc_werror_flag"
11904                          || test ! -s conftest.err'
11905   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11906   (eval $ac_try) 2>&5
11907   ac_status=$?
11908   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11909   (exit $ac_status); }; } &&
11910          { ac_try='test -s conftest$ac_exeext'
11911   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11912   (eval $ac_try) 2>&5
11913   ac_status=$?
11914   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11915   (exit $ac_status); }; }; then
11916
11917 lt_aix_libpath_sed='
11918     /Import File Strings/,/^$/ {
11919         /^0/ {
11920             s/^0  *\(.*\)$/\1/
11921             p
11922         }
11923     }'
11924 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11925 # Check for a 64-bit object if we didn't find anything.
11926 if test -z "$aix_libpath"; then
11927   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11928 fi
11929 else
11930   echo "$as_me: failed program was:" >&5
11931 sed 's/^/| /' conftest.$ac_ext >&5
11932
11933 fi
11934 rm -f conftest.err conftest.$ac_objext \
11935       conftest$ac_exeext conftest.$ac_ext
11936 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
11937
11938         hardcode_libdir_flag_spec_FC='${wl}-blibpath:$libdir:'"$aix_libpath"
11939         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"
11940       else
11941         if test "$host_cpu" = ia64; then
11942           hardcode_libdir_flag_spec_FC='${wl}-R $libdir:/usr/lib:/lib'
11943           allow_undefined_flag_FC="-z nodefs"
11944           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"
11945         else
11946          # Determine the default libpath from the value encoded in an
11947          # empty executable.
11948          if test x$gcc_no_link = xyes; then
11949   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11950 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11951    { (exit 1); exit 1; }; }
11952 fi
11953 cat >conftest.$ac_ext <<_ACEOF
11954       program main
11955
11956       end
11957 _ACEOF
11958 rm -f conftest.$ac_objext conftest$ac_exeext
11959 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11960   (eval $ac_link) 2>conftest.er1
11961   ac_status=$?
11962   grep -v '^ *+' conftest.er1 >conftest.err
11963   rm -f conftest.er1
11964   cat conftest.err >&5
11965   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11966   (exit $ac_status); } &&
11967          { ac_try='test -z "$ac_fc_werror_flag"
11968                          || test ! -s conftest.err'
11969   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11970   (eval $ac_try) 2>&5
11971   ac_status=$?
11972   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11973   (exit $ac_status); }; } &&
11974          { ac_try='test -s conftest$ac_exeext'
11975   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11976   (eval $ac_try) 2>&5
11977   ac_status=$?
11978   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11979   (exit $ac_status); }; }; then
11980
11981 lt_aix_libpath_sed='
11982     /Import File Strings/,/^$/ {
11983         /^0/ {
11984             s/^0  *\(.*\)$/\1/
11985             p
11986         }
11987     }'
11988 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11989 # Check for a 64-bit object if we didn't find anything.
11990 if test -z "$aix_libpath"; then
11991   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11992 fi
11993 else
11994   echo "$as_me: failed program was:" >&5
11995 sed 's/^/| /' conftest.$ac_ext >&5
11996
11997 fi
11998 rm -f conftest.err conftest.$ac_objext \
11999       conftest$ac_exeext conftest.$ac_ext
12000 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12001
12002          hardcode_libdir_flag_spec_FC='${wl}-blibpath:$libdir:'"$aix_libpath"
12003           # Warning - without using the other run time loading flags,
12004           # -berok will link without error, but may produce a broken library.
12005           no_undefined_flag_FC=' ${wl}-bernotok'
12006           allow_undefined_flag_FC=' ${wl}-berok'
12007           # Exported symbols can be pulled into shared objects from archives
12008           whole_archive_flag_spec_FC='$convenience'
12009           archive_cmds_need_lc_FC=yes
12010           # This is similar to how AIX traditionally builds its shared libraries.
12011           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'
12012         fi
12013       fi
12014       ;;
12015
12016     amigaos*)
12017       if test "$host_cpu" = m68k; then
12018         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)'
12019         hardcode_libdir_flag_spec_FC='-L$libdir'
12020         hardcode_minus_L_FC=yes
12021       fi
12022       # see comment about different semantics on the GNU ld section
12023       ld_shlibs_FC=no
12024       ;;
12025
12026     bsdi[45]*)
12027       export_dynamic_flag_spec_FC=-rdynamic
12028       ;;
12029
12030     cygwin* | mingw* | pw32*)
12031       # When not using gcc, we currently assume that we are using
12032       # Microsoft Visual C++.
12033       # hardcode_libdir_flag_spec is actually meaningless, as there is
12034       # no search path for DLLs.
12035       hardcode_libdir_flag_spec_FC=' '
12036       allow_undefined_flag_FC=unsupported
12037       # Tell ltmain to make .lib files, not .a files.
12038       libext=lib
12039       # Tell ltmain to make .dll files, not .so files.
12040       shrext_cmds=".dll"
12041       # FIXME: Setting linknames here is a bad hack.
12042       archive_cmds_FC='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
12043       # The linker will automatically build a .lib file if we build a DLL.
12044       old_archive_from_new_cmds_FC='true'
12045       # FIXME: Should let the user specify the lib program.
12046       old_archive_cmds_FC='lib -OUT:$oldlib$oldobjs$old_deplibs'
12047       fix_srcfile_path_FC='`cygpath -w "$srcfile"`'
12048       enable_shared_with_static_runtimes_FC=yes
12049       ;;
12050
12051     darwin* | rhapsody*)
12052       case $host_os in
12053       rhapsody* | darwin1.[012])
12054         allow_undefined_flag_FC='${wl}-undefined ${wl}suppress'
12055         ;;
12056       *) # Darwin 1.3 on
12057         case ${MACOSX_DEPLOYMENT_TARGET-10.0} in
12058         10.[012])
12059           allow_undefined_flag_FC='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
12060           ;;
12061         10.*)
12062           allow_undefined_flag_FC='${wl}-undefined ${wl}dynamic_lookup'
12063           ;;
12064         esac
12065         ;;
12066       esac
12067       archive_cmds_need_lc_FC=no
12068       hardcode_direct_FC=no
12069       hardcode_automatic_FC=yes
12070       hardcode_shlibpath_var_FC=unsupported
12071       whole_archive_flag_spec_FC=''
12072       link_all_deplibs_FC=yes
12073       if test "$GCC" = yes ; then
12074         if test "${lt_cv_apple_cc_single_mod+set}" = set; then
12075   echo $ECHO_N "(cached) $ECHO_C" >&6
12076 else
12077   lt_cv_apple_cc_single_mod=no
12078         if test -z "${LT_MULTI_MODULE}"; then
12079           # By default we will add the -single_module flag. You can override
12080           # by either setting the environment variable LT_MULTI_MODULE
12081           # non-empty at configure time, or by adding -multi-module to the
12082           # link flags.
12083           echo "int foo(void){return 1;}" > conftest.c
12084           $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
12085               -dynamiclib ${wl}-single_module conftest.c
12086           if test -f libconftest.dylib; then
12087               lt_cv_apple_cc_single_mod=yes
12088               rm libconftest.dylib
12089           fi
12090           rm conftest.$ac_ext
12091         fi
12092 fi
12093
12094         output_verbose_link_cmd=echo
12095         if test "X$lt_cv_apple_cc_single_mod" = Xyes ; then
12096           archive_cmds_FC='$CC -dynamiclib $single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
12097           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}'
12098         else
12099           archive_cmds_FC='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
12100           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}'
12101         fi
12102         module_cmds_FC='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
12103         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}'
12104       else
12105         case $cc_basename in
12106         xlc*)
12107           output_verbose_link_cmd=echo
12108           archive_cmds_FC='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`$ECHO $rpath/$soname` $verstring'
12109           module_cmds_FC='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
12110           # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
12111           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}'
12112           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}'
12113           ;;
12114         *)
12115           ld_shlibs_FC=no
12116           ;;
12117         esac
12118       fi
12119       ;;
12120
12121     dgux*)
12122       archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12123       hardcode_libdir_flag_spec_FC='-L$libdir'
12124       hardcode_shlibpath_var_FC=no
12125       ;;
12126
12127     freebsd1*)
12128       ld_shlibs_FC=no
12129       ;;
12130
12131     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
12132     # support.  Future versions do this automatically, but an explicit c++rt0.o
12133     # does not break anything, and helps significantly (at the cost of a little
12134     # extra space).
12135     freebsd2.2*)
12136       archive_cmds_FC='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
12137       hardcode_libdir_flag_spec_FC='-R$libdir'
12138       hardcode_direct_FC=yes
12139       hardcode_shlibpath_var_FC=no
12140       ;;
12141
12142     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
12143     freebsd2*)
12144       archive_cmds_FC='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
12145       hardcode_direct_FC=yes
12146       hardcode_minus_L_FC=yes
12147       hardcode_shlibpath_var_FC=no
12148       ;;
12149
12150     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
12151     freebsd* | dragonfly*)
12152       archive_cmds_FC='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
12153       hardcode_libdir_flag_spec_FC='-R$libdir'
12154       hardcode_direct_FC=yes
12155       hardcode_shlibpath_var_FC=no
12156       ;;
12157
12158     hpux9*)
12159       if test "$GCC" = yes; then
12160         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'
12161       else
12162         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'
12163       fi
12164       hardcode_libdir_flag_spec_FC='${wl}+b ${wl}$libdir'
12165       hardcode_libdir_separator_FC=:
12166       hardcode_direct_FC=yes
12167
12168       # hardcode_minus_L: Not really in the search PATH,
12169       # but as the default location of the library.
12170       hardcode_minus_L_FC=yes
12171       export_dynamic_flag_spec_FC='${wl}-E'
12172       ;;
12173
12174     hpux10*)
12175       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
12176         archive_cmds_FC='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
12177       else
12178         archive_cmds_FC='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
12179       fi
12180       if test "$with_gnu_ld" = no; then
12181         hardcode_libdir_flag_spec_FC='${wl}+b ${wl}$libdir'
12182         hardcode_libdir_flag_spec_ld_FC='+b $libdir'
12183         hardcode_libdir_separator_FC=:
12184         hardcode_direct_FC=yes
12185         hardcode_direct_absolute_FC=yes
12186         export_dynamic_flag_spec_FC='${wl}-E'
12187         # hardcode_minus_L: Not really in the search PATH,
12188         # but as the default location of the library.
12189         hardcode_minus_L_FC=yes
12190       fi
12191       ;;
12192
12193     hpux11*)
12194       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
12195         case $host_cpu in
12196         hppa*64*)
12197           archive_cmds_FC='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
12198           ;;
12199         ia64*)
12200           archive_cmds_FC='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
12201           ;;
12202         *)
12203           archive_cmds_FC='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
12204           ;;
12205         esac
12206       else
12207         case $host_cpu in
12208         hppa*64*)
12209           archive_cmds_FC='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
12210           ;;
12211         ia64*)
12212           archive_cmds_FC='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
12213           ;;
12214         *)
12215           archive_cmds_FC='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
12216           ;;
12217         esac
12218       fi
12219       if test "$with_gnu_ld" = no; then
12220         hardcode_libdir_flag_spec_FC='${wl}+b ${wl}$libdir'
12221         hardcode_libdir_separator_FC=:
12222
12223         case $host_cpu in
12224         hppa*64*|ia64*)
12225           hardcode_direct_FC=no
12226           hardcode_shlibpath_var_FC=no
12227           ;;
12228         *)
12229           hardcode_direct_FC=yes
12230           hardcode_direct_absolute_FC=yes
12231           export_dynamic_flag_spec_FC='${wl}-E'
12232
12233           # hardcode_minus_L: Not really in the search PATH,
12234           # but as the default location of the library.
12235           hardcode_minus_L_FC=yes
12236           ;;
12237         esac
12238       fi
12239       ;;
12240
12241     irix5* | irix6* | nonstopux*)
12242       if test "$GCC" = yes; then
12243         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'
12244         # Try to use the -exported_symbol ld option, if it does not
12245         # work, assume that -exports_file does not work either and
12246         # implicitly export all symbols.
12247         save_LDFLAGS="$LDFLAGS"
12248         LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
12249         if test x$gcc_no_link = xyes; then
12250   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12251 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12252    { (exit 1); exit 1; }; }
12253 fi
12254 cat >conftest.$ac_ext <<_ACEOF
12255 int foo(void) {}
12256 _ACEOF
12257 rm -f conftest.$ac_objext conftest$ac_exeext
12258 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12259   (eval $ac_link) 2>conftest.er1
12260   ac_status=$?
12261   grep -v '^ *+' conftest.er1 >conftest.err
12262   rm -f conftest.er1
12263   cat conftest.err >&5
12264   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12265   (exit $ac_status); } &&
12266          { ac_try='test -z "$ac_fc_werror_flag"
12267                          || test ! -s conftest.err'
12268   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12269   (eval $ac_try) 2>&5
12270   ac_status=$?
12271   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12272   (exit $ac_status); }; } &&
12273          { ac_try='test -s conftest$ac_exeext'
12274   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12275   (eval $ac_try) 2>&5
12276   ac_status=$?
12277   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12278   (exit $ac_status); }; }; then
12279   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'
12280
12281 else
12282   echo "$as_me: failed program was:" >&5
12283 sed 's/^/| /' conftest.$ac_ext >&5
12284
12285 fi
12286 rm -f conftest.err conftest.$ac_objext \
12287       conftest$ac_exeext conftest.$ac_ext
12288         LDFLAGS="$save_LDFLAGS"
12289       else
12290         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'
12291         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'
12292       fi
12293       archive_cmds_need_lc_FC='no'
12294       hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir'
12295       hardcode_libdir_separator_FC=:
12296       inherit_rpath_FC=yes
12297       link_all_deplibs_FC=yes
12298       ;;
12299
12300     netbsd*)
12301       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
12302         archive_cmds_FC='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
12303       else
12304         archive_cmds_FC='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
12305       fi
12306       hardcode_libdir_flag_spec_FC='-R$libdir'
12307       hardcode_direct_FC=yes
12308       hardcode_shlibpath_var_FC=no
12309       ;;
12310
12311     newsos6)
12312       archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12313       hardcode_direct_FC=yes
12314       hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir'
12315       hardcode_libdir_separator_FC=:
12316       hardcode_shlibpath_var_FC=no
12317       ;;
12318
12319     *nto* | *qnx*)
12320       ;;
12321
12322     openbsd*)
12323       hardcode_direct_FC=yes
12324       hardcode_shlibpath_var_FC=no
12325       hardcode_direct_absolute_FC=yes
12326       if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12327         archive_cmds_FC='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
12328         archive_expsym_cmds_FC='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
12329         hardcode_libdir_flag_spec_FC='${wl}-rpath,$libdir'
12330         export_dynamic_flag_spec_FC='${wl}-E'
12331       else
12332         case $host_os in
12333         openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
12334           archive_cmds_FC='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
12335           hardcode_libdir_flag_spec_FC='-R$libdir'
12336           ;;
12337         *)
12338           archive_cmds_FC='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
12339           hardcode_libdir_flag_spec_FC='${wl}-rpath,$libdir'
12340           ;;
12341         esac
12342       fi
12343       ;;
12344
12345     os2*)
12346       hardcode_libdir_flag_spec_FC='-L$libdir'
12347       hardcode_minus_L_FC=yes
12348       allow_undefined_flag_FC=unsupported
12349       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'
12350       old_archive_from_new_cmds_FC='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
12351       ;;
12352
12353     osf3*)
12354       if test "$GCC" = yes; then
12355         allow_undefined_flag_FC=' ${wl}-expect_unresolved ${wl}\*'
12356         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'
12357       else
12358         allow_undefined_flag_FC=' -expect_unresolved \*'
12359         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'
12360       fi
12361       archive_cmds_need_lc_FC='no'
12362       hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir'
12363       hardcode_libdir_separator_FC=:
12364       ;;
12365
12366     osf4* | osf5*)      # as osf3* with the addition of -msym flag
12367       if test "$GCC" = yes; then
12368         allow_undefined_flag_FC=' ${wl}-expect_unresolved ${wl}\*'
12369         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'
12370         hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir'
12371       else
12372         allow_undefined_flag_FC=' -expect_unresolved \*'
12373         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'
12374         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~
12375         $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'
12376
12377         # Both c and cxx compiler support -rpath directly
12378         hardcode_libdir_flag_spec_FC='-rpath $libdir'
12379       fi
12380       archive_cmds_need_lc_FC='no'
12381       hardcode_libdir_separator_FC=:
12382       ;;
12383
12384     solaris*)
12385       no_undefined_flag_FC=' -z defs'
12386       if test "$GCC" = yes; then
12387         wlarc='${wl}'
12388         archive_cmds_FC='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
12389         archive_expsym_cmds_FC='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12390           $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
12391       else
12392         case `$CC -V 2>&1` in
12393         *"Compilers 5.0"*)
12394           wlarc=''
12395           archive_cmds_FC='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
12396           archive_expsym_cmds_FC='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12397           $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
12398           ;;
12399         *)
12400           wlarc='${wl}'
12401           archive_cmds_FC='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
12402           archive_expsym_cmds_FC='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12403           $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
12404           ;;
12405         esac
12406       fi
12407       hardcode_libdir_flag_spec_FC='-R$libdir'
12408       hardcode_shlibpath_var_FC=no
12409       case $host_os in
12410       solaris2.[0-5] | solaris2.[0-5].*) ;;
12411       *)
12412         # The compiler driver will combine and reorder linker options,
12413         # but understands `-z linker_flag'.  GCC discards it without `$wl',
12414         # but is careful enough not to reorder.
12415         # Supported since Solaris 2.6 (maybe 2.5.1?)
12416         if test "$GCC" = yes; then
12417           whole_archive_flag_spec_FC='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
12418         else
12419           whole_archive_flag_spec_FC='-z allextract$convenience -z defaultextract'
12420         fi
12421         ;;
12422       esac
12423       link_all_deplibs_FC=yes
12424       ;;
12425
12426     sunos4*)
12427       if test "x$host_vendor" = xsequent; then
12428         # Use $CC to link under sequent, because it throws in some extra .o
12429         # files that make .init and .fini sections work.
12430         archive_cmds_FC='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
12431       else
12432         archive_cmds_FC='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
12433       fi
12434       hardcode_libdir_flag_spec_FC='-L$libdir'
12435       hardcode_direct_FC=yes
12436       hardcode_minus_L_FC=yes
12437       hardcode_shlibpath_var_FC=no
12438       ;;
12439
12440     sysv4)
12441       case $host_vendor in
12442         sni)
12443           archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12444           hardcode_direct_FC=yes # is this really true???
12445         ;;
12446         siemens)
12447           ## LD is ld it makes a PLAMLIB
12448           ## CC just makes a GrossModule.
12449           archive_cmds_FC='$LD -G -o $lib $libobjs $deplibs $linker_flags'
12450           reload_cmds_FC='$CC -r -o $output$reload_objs'
12451           hardcode_direct_FC=no
12452         ;;
12453         motorola)
12454           archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12455           hardcode_direct_FC=no #Motorola manual says yes, but my tests say they lie
12456         ;;
12457       esac
12458       runpath_var='LD_RUN_PATH'
12459       hardcode_shlibpath_var_FC=no
12460       ;;
12461
12462     sysv4.3*)
12463       archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12464       hardcode_shlibpath_var_FC=no
12465       export_dynamic_flag_spec_FC='-Bexport'
12466       ;;
12467
12468     sysv4*MP*)
12469       if test -d /usr/nec; then
12470         archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12471         hardcode_shlibpath_var_FC=no
12472         runpath_var=LD_RUN_PATH
12473         hardcode_runpath_var=yes
12474         ld_shlibs_FC=yes
12475       fi
12476       ;;
12477
12478     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
12479       no_undefined_flag_FC='${wl}-z,text'
12480       archive_cmds_need_lc_FC=no
12481       hardcode_shlibpath_var_FC=no
12482       runpath_var='LD_RUN_PATH'
12483
12484       if test "$GCC" = yes; then
12485         archive_cmds_FC='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12486         archive_expsym_cmds_FC='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12487       else
12488         archive_cmds_FC='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12489         archive_expsym_cmds_FC='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12490       fi
12491       ;;
12492
12493     sysv5* | sco3.2v5* | sco5v6*)
12494       # Note: We can NOT use -z defs as we might desire, because we do not
12495       # link with -lc, and that would cause any symbols used from libc to
12496       # always be unresolved, which means just about no library would
12497       # ever link correctly.  If we're not using GNU ld we use -z text
12498       # though, which does catch some bad symbols but isn't as heavy-handed
12499       # as -z defs.
12500       no_undefined_flag_FC='${wl}-z,text'
12501       allow_undefined_flag_FC='${wl}-z,nodefs'
12502       archive_cmds_need_lc_FC=no
12503       hardcode_shlibpath_var_FC=no
12504       hardcode_libdir_flag_spec_FC='${wl}-R,$libdir'
12505       hardcode_libdir_separator_FC=':'
12506       link_all_deplibs_FC=yes
12507       export_dynamic_flag_spec_FC='${wl}-Bexport'
12508       runpath_var='LD_RUN_PATH'
12509
12510       if test "$GCC" = yes; then
12511         archive_cmds_FC='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12512         archive_expsym_cmds_FC='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12513       else
12514         archive_cmds_FC='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12515         archive_expsym_cmds_FC='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12516       fi
12517       ;;
12518
12519     uts4*)
12520       archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12521       hardcode_libdir_flag_spec_FC='-L$libdir'
12522       hardcode_shlibpath_var_FC=no
12523       ;;
12524
12525     *)
12526       ld_shlibs_FC=no
12527       ;;
12528     esac
12529
12530     if test x$host_vendor = xsni; then
12531       case $host in
12532       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
12533         export_dynamic_flag_spec_FC='${wl}-Blargedynsym'
12534         ;;
12535       esac
12536     fi
12537   fi
12538
12539 echo "$as_me:$LINENO: result: $ld_shlibs_FC" >&5
12540 echo "${ECHO_T}$ld_shlibs_FC" >&6
12541 test "$ld_shlibs_FC" = no && can_build_shared=no
12542
12543 with_gnu_ld_FC=$with_gnu_ld
12544
12545
12546
12547
12548
12549
12550 #
12551 # Do we need to explicitly link libc?
12552 #
12553 case "x$archive_cmds_need_lc_FC" in
12554 x|xyes)
12555   # Assume -lc should be added
12556   archive_cmds_need_lc_FC=yes
12557
12558   if test "$enable_shared" = yes && test "$GCC" = yes; then
12559     case $archive_cmds_FC in
12560     *'~'*)
12561       # FIXME: we may have to deal with multi-command sequences.
12562       ;;
12563     '$CC '*)
12564       # Test whether the compiler implicitly links with -lc since on some
12565       # systems, -lgcc has to come before -lc. If gcc already passes -lc
12566       # to ld, don't add -lc before -lgcc.
12567       echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
12568 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
12569       $RM conftest*
12570       echo "$lt_simple_compile_test_code" > conftest.$ac_ext
12571
12572       if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12573   (eval $ac_compile) 2>&5
12574   ac_status=$?
12575   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12576   (exit $ac_status); } 2>conftest.err; then
12577         soname=conftest
12578         lib=conftest
12579         libobjs=conftest.$ac_objext
12580         deplibs=
12581         wl=$lt_prog_compiler_wl_FC
12582         pic_flag=$lt_prog_compiler_pic_FC
12583         compiler_flags=-v
12584         linker_flags=-v
12585         verstring=
12586         output_objdir=.
12587         libname=conftest
12588         lt_save_allow_undefined_flag=$allow_undefined_flag_FC
12589         allow_undefined_flag_FC=
12590         if { (eval echo "$as_me:$LINENO: \"$archive_cmds_FC 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
12591   (eval $archive_cmds_FC 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
12592   ac_status=$?
12593   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12594   (exit $ac_status); }
12595         then
12596           archive_cmds_need_lc_FC=no
12597         else
12598           archive_cmds_need_lc_FC=yes
12599         fi
12600         allow_undefined_flag_FC=$lt_save_allow_undefined_flag
12601       else
12602         cat conftest.err 1>&5
12603       fi
12604       $RM conftest*
12605       echo "$as_me:$LINENO: result: $archive_cmds_need_lc_FC" >&5
12606 echo "${ECHO_T}$archive_cmds_need_lc_FC" >&6
12607       ;;
12608     esac
12609   fi
12610   ;;
12611 esac
12612
12613
12614
12615
12616
12617
12618
12619
12620
12621
12622
12623
12624
12625
12626
12627
12628
12629
12630
12631
12632
12633
12634
12635
12636
12637
12638
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     echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
12677 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
12678 withGCC=$ac_cv_fc_compiler_gnu
12679 library_names_spec=
12680 libname_spec='lib$name'
12681 soname_spec=
12682 shrext_cmds=".so"
12683 postinstall_cmds=
12684 postuninstall_cmds=
12685 finish_cmds=
12686 finish_eval=
12687 shlibpath_var=
12688 shlibpath_overrides_runpath=unknown
12689 version_type=none
12690 dynamic_linker="$host_os ld.so"
12691 sys_lib_dlsearch_path_spec="/lib /usr/lib"
12692 need_lib_prefix=unknown
12693 hardcode_into_libs=no
12694
12695 # when you set need_version to no, make sure it does not cause -set_version
12696 # flags to be left without arguments
12697 need_version=unknown
12698
12699 case $host_os in
12700 aix3*)
12701   version_type=linux
12702   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
12703   shlibpath_var=LIBPATH
12704
12705   # AIX 3 has no versioning support, so we append a major version to the name.
12706   soname_spec='${libname}${release}${shared_ext}$major'
12707   ;;
12708
12709 aix[4-9]*)
12710   version_type=linux
12711   need_lib_prefix=no
12712   need_version=no
12713   hardcode_into_libs=yes
12714   if test "$host_cpu" = ia64; then
12715     # AIX 5 supports IA64
12716     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
12717     shlibpath_var=LD_LIBRARY_PATH
12718   else
12719     # With GCC up to 2.95.x, collect2 would create an import file
12720     # for dependence libraries.  The import file would start with
12721     # the line `#! .'.  This would cause the generated library to
12722     # depend on `.', always an invalid library.  This was fixed in
12723     # development snapshots of GCC prior to 3.0.
12724     case $host_os in
12725       aix4 | aix4.[01] | aix4.[01].*)
12726       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
12727            echo ' yes '
12728            echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
12729         :
12730       else
12731         can_build_shared=no
12732       fi
12733       ;;
12734     esac
12735     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
12736     # soname into executable. Probably we can add versioning support to
12737     # collect2, so additional links can be useful in future.
12738     if test "$aix_use_runtimelinking" = yes; then
12739       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
12740       # instead of lib<name>.a to let people know that these are not
12741       # typical AIX shared libraries.
12742       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12743     else
12744       # We preserve .a as extension for shared libraries through AIX4.2
12745       # and later when we are not doing run time linking.
12746       library_names_spec='${libname}${release}.a $libname.a'
12747       soname_spec='${libname}${release}${shared_ext}$major'
12748     fi
12749     shlibpath_var=LIBPATH
12750   fi
12751   ;;
12752
12753 amigaos*)
12754   if test "$host_cpu" = m68k; then
12755     library_names_spec='$libname.ixlibrary $libname.a'
12756     # Create ${libname}_ixlibrary.a entries in /sys/libs.
12757     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'
12758   else
12759     dynamic_linker=no
12760   fi
12761   ;;
12762
12763 beos*)
12764   library_names_spec='${libname}${shared_ext}'
12765   dynamic_linker="$host_os ld.so"
12766   shlibpath_var=LIBRARY_PATH
12767   ;;
12768
12769 bsdi[45]*)
12770   version_type=linux
12771   need_version=no
12772   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12773   soname_spec='${libname}${release}${shared_ext}$major'
12774   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
12775   shlibpath_var=LD_LIBRARY_PATH
12776   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
12777   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
12778   # the default ld.so.conf also contains /usr/contrib/lib and
12779   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
12780   # libtool to hard-code these into programs
12781   ;;
12782
12783 cygwin* | mingw* | pw32*)
12784   version_type=windows
12785   shrext_cmds=".dll"
12786   need_version=no
12787   need_lib_prefix=no
12788
12789   case $withGCC,$host_os in
12790   yes,cygwin* | yes,mingw* | yes,pw32*)
12791     library_names_spec='$libname.dll.a'
12792     # DLL is installed to $(libdir)/../bin by postinstall_cmds
12793     postinstall_cmds='base_file=`basename \${file}`~
12794       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
12795       dldir=$destdir/`dirname \$dlpath`~
12796       test -d \$dldir || mkdir -p \$dldir~
12797       $install_prog $dir/$dlname \$dldir/$dlname~
12798       chmod a+x \$dldir/$dlname~
12799       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
12800         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
12801       fi'
12802     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
12803       dlpath=$dir/\$dldll~
12804        $RM \$dlpath'
12805     shlibpath_overrides_runpath=yes
12806
12807     case $host_os in
12808     cygwin*)
12809       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
12810       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
12811       sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
12812       ;;
12813     mingw*)
12814       # MinGW DLLs use traditional 'lib' prefix
12815       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
12816       sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
12817       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
12818         # It is most probably a Windows format PATH printed by
12819         # mingw gcc, but we are running on Cygwin. Gcc prints its search
12820         # path with ; separators, and with drive letters. We can handle the
12821         # drive letters (cygwin fileutils understands them), so leave them,
12822         # especially as we might pass files found there to a mingw objdump,
12823         # which wouldn't understand a cygwinified path. Ahh.
12824         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
12825       else
12826         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
12827       fi
12828       ;;
12829     pw32*)
12830       # pw32 DLLs use 'pw' prefix rather than 'lib'
12831       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
12832       ;;
12833     esac
12834     ;;
12835
12836   *)
12837     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
12838     ;;
12839   esac
12840   dynamic_linker='Win32 ld.exe'
12841   # FIXME: first we should search . and the directory the executable is in
12842   shlibpath_var=PATH
12843   ;;
12844
12845 darwin* | rhapsody*)
12846   dynamic_linker="$host_os dyld"
12847   version_type=darwin
12848   need_lib_prefix=no
12849   need_version=no
12850   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
12851   soname_spec='${libname}${release}${major}$shared_ext'
12852   shlibpath_overrides_runpath=yes
12853   shlibpath_var=DYLD_LIBRARY_PATH
12854   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
12855
12856   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
12857   ;;
12858
12859 dgux*)
12860   version_type=linux
12861   need_lib_prefix=no
12862   need_version=no
12863   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
12864   soname_spec='${libname}${release}${shared_ext}$major'
12865   shlibpath_var=LD_LIBRARY_PATH
12866   ;;
12867
12868 freebsd1*)
12869   dynamic_linker=no
12870   ;;
12871
12872 freebsd* | dragonfly*)
12873   # DragonFly does not have aout.  When/if they implement a new
12874   # versioning mechanism, adjust this.
12875   if test -x /usr/bin/objformat; then
12876     objformat=`/usr/bin/objformat`
12877   else
12878     case $host_os in
12879     freebsd[123]*) objformat=aout ;;
12880     *) objformat=elf ;;
12881     esac
12882   fi
12883   version_type=freebsd-$objformat
12884   case $version_type in
12885     freebsd-elf*)
12886       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
12887       need_version=no
12888       need_lib_prefix=no
12889       ;;
12890     freebsd-*)
12891       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
12892       need_version=yes
12893       ;;
12894   esac
12895   shlibpath_var=LD_LIBRARY_PATH
12896   case $host_os in
12897   freebsd2*)
12898     shlibpath_overrides_runpath=yes
12899     ;;
12900   freebsd3.[01]* | freebsdelf3.[01]*)
12901     shlibpath_overrides_runpath=yes
12902     hardcode_into_libs=yes
12903     ;;
12904   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
12905   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
12906     shlibpath_overrides_runpath=no
12907     hardcode_into_libs=yes
12908     ;;
12909   *) # from 4.6 on, and DragonFly
12910     shlibpath_overrides_runpath=yes
12911     hardcode_into_libs=yes
12912     ;;
12913   esac
12914   ;;
12915
12916 gnu*)
12917   version_type=linux
12918   need_lib_prefix=no
12919   need_version=no
12920   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
12921   soname_spec='${libname}${release}${shared_ext}$major'
12922   shlibpath_var=LD_LIBRARY_PATH
12923   hardcode_into_libs=yes
12924   ;;
12925
12926 hpux9* | hpux10* | hpux11*)
12927   # Give a soname corresponding to the major version so that dld.sl refuses to
12928   # link against other versions.
12929   version_type=sunos
12930   need_lib_prefix=no
12931   need_version=no
12932   case $host_cpu in
12933   ia64*)
12934     shrext_cmds='.so'
12935     hardcode_into_libs=yes
12936     dynamic_linker="$host_os dld.so"
12937     shlibpath_var=LD_LIBRARY_PATH
12938     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
12939     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12940     soname_spec='${libname}${release}${shared_ext}$major'
12941     if test "X$HPUX_IA64_MODE" = X32; then
12942       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
12943     else
12944       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
12945     fi
12946     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
12947     ;;
12948   hppa*64*)
12949     shrext_cmds='.sl'
12950     hardcode_into_libs=yes
12951     dynamic_linker="$host_os dld.sl"
12952     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
12953     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
12954     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12955     soname_spec='${libname}${release}${shared_ext}$major'
12956     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
12957     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
12958     ;;
12959   *)
12960     shrext_cmds='.sl'
12961     dynamic_linker="$host_os dld.sl"
12962     shlibpath_var=SHLIB_PATH
12963     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
12964     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12965     soname_spec='${libname}${release}${shared_ext}$major'
12966     ;;
12967   esac
12968   # HP-UX runs *really* slowly unless shared libraries are mode 555.
12969   postinstall_cmds='chmod 555 $lib'
12970   ;;
12971
12972 interix[3-9]*)
12973   version_type=linux
12974   need_lib_prefix=no
12975   need_version=no
12976   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12977   soname_spec='${libname}${release}${shared_ext}$major'
12978   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
12979   shlibpath_var=LD_LIBRARY_PATH
12980   shlibpath_overrides_runpath=no
12981   hardcode_into_libs=yes
12982   ;;
12983
12984 irix5* | irix6* | nonstopux*)
12985   case $host_os in
12986     nonstopux*) version_type=nonstopux ;;
12987     *)
12988         if test "$lt_cv_prog_gnu_ld" = yes; then
12989                 version_type=linux
12990         else
12991                 version_type=irix
12992         fi ;;
12993   esac
12994   need_lib_prefix=no
12995   need_version=no
12996   soname_spec='${libname}${release}${shared_ext}$major'
12997   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
12998   case $host_os in
12999   irix5* | nonstopux*)
13000     libsuff= shlibsuff=
13001     ;;
13002   *)
13003     case $LD in # libtool.m4 will add one of these switches to LD
13004     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
13005       libsuff= shlibsuff= libmagic=32-bit;;
13006     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
13007       libsuff=32 shlibsuff=N32 libmagic=N32;;
13008     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
13009       libsuff=64 shlibsuff=64 libmagic=64-bit;;
13010     *) libsuff= shlibsuff= libmagic=never-match;;
13011     esac
13012     ;;
13013   esac
13014   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
13015   shlibpath_overrides_runpath=no
13016   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
13017   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
13018   hardcode_into_libs=yes
13019   ;;
13020
13021 # No shared lib support for Linux oldld, aout, or coff.
13022 linux*oldld* | linux*aout* | linux*coff*)
13023   dynamic_linker=no
13024   ;;
13025
13026 # This must be Linux ELF.
13027 linux* | k*bsd*-gnu)
13028   version_type=linux
13029   need_lib_prefix=no
13030   need_version=no
13031   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13032   soname_spec='${libname}${release}${shared_ext}$major'
13033   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
13034   shlibpath_var=LD_LIBRARY_PATH
13035   shlibpath_overrides_runpath=no
13036   # Some binutils ld are patched to set DT_RUNPATH
13037   save_LDFLAGS=$LDFLAGS
13038   save_libdir=$libdir
13039   eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_FC\"; \
13040        LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_FC\""
13041   if test x$gcc_no_link = xyes; then
13042   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13043 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13044    { (exit 1); exit 1; }; }
13045 fi
13046 cat >conftest.$ac_ext <<_ACEOF
13047       program main
13048
13049       end
13050 _ACEOF
13051 rm -f conftest.$ac_objext conftest$ac_exeext
13052 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13053   (eval $ac_link) 2>conftest.er1
13054   ac_status=$?
13055   grep -v '^ *+' conftest.er1 >conftest.err
13056   rm -f conftest.er1
13057   cat conftest.err >&5
13058   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13059   (exit $ac_status); } &&
13060          { ac_try='test -z "$ac_fc_werror_flag"
13061                          || test ! -s conftest.err'
13062   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13063   (eval $ac_try) 2>&5
13064   ac_status=$?
13065   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13066   (exit $ac_status); }; } &&
13067          { ac_try='test -s conftest$ac_exeext'
13068   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13069   (eval $ac_try) 2>&5
13070   ac_status=$?
13071   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13072   (exit $ac_status); }; }; then
13073   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir"; then
13074   shlibpath_overrides_runpath=yes
13075 fi
13076
13077 else
13078   echo "$as_me: failed program was:" >&5
13079 sed 's/^/| /' conftest.$ac_ext >&5
13080
13081 fi
13082 rm -f conftest.err conftest.$ac_objext \
13083       conftest$ac_exeext conftest.$ac_ext
13084   LDFLAGS=$save_LDFLAGS
13085   libdir=$save_libdir
13086
13087   # This implies no fast_install, which is unacceptable.
13088   # Some rework will be needed to allow for fast_install
13089   # before this can be enabled.
13090   hardcode_into_libs=yes
13091
13092   # Append ld.so.conf contents to the search path
13093   if test -f /etc/ld.so.conf; then
13094     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' ' '`
13095     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
13096   fi
13097
13098   # We used to test for /lib/ld.so.1 and disable shared libraries on
13099   # powerpc, because MkLinux only supported shared libraries with the
13100   # GNU dynamic linker.  Since this was broken with cross compilers,
13101   # most powerpc-linux boxes support dynamic linking these days and
13102   # people can always --disable-shared, the test was removed, and we
13103   # assume the GNU/Linux dynamic linker is in use.
13104   dynamic_linker='GNU/Linux ld.so'
13105   ;;
13106
13107 netbsd*)
13108   version_type=sunos
13109   need_lib_prefix=no
13110   need_version=no
13111   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
13112     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13113     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13114     dynamic_linker='NetBSD (a.out) ld.so'
13115   else
13116     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13117     soname_spec='${libname}${release}${shared_ext}$major'
13118     dynamic_linker='NetBSD ld.elf_so'
13119   fi
13120   shlibpath_var=LD_LIBRARY_PATH
13121   shlibpath_overrides_runpath=yes
13122   hardcode_into_libs=yes
13123   ;;
13124
13125 newsos6)
13126   version_type=linux
13127   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13128   shlibpath_var=LD_LIBRARY_PATH
13129   shlibpath_overrides_runpath=yes
13130   ;;
13131
13132 *nto* | *qnx*)
13133   version_type=qnx
13134   need_lib_prefix=no
13135   need_version=no
13136   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13137   soname_spec='${libname}${release}${shared_ext}$major'
13138   shlibpath_var=LD_LIBRARY_PATH
13139   shlibpath_overrides_runpath=no
13140   hardcode_into_libs=yes
13141   dynamic_linker='ldqnx.so'
13142   ;;
13143
13144 openbsd*)
13145   version_type=sunos
13146   sys_lib_dlsearch_path_spec="/usr/lib"
13147   need_lib_prefix=no
13148   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
13149   case $host_os in
13150     openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
13151     *)                          need_version=no  ;;
13152   esac
13153   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13154   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13155   shlibpath_var=LD_LIBRARY_PATH
13156   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13157     case $host_os in
13158       openbsd2.[89] | openbsd2.[89].*)
13159         shlibpath_overrides_runpath=no
13160         ;;
13161       *)
13162         shlibpath_overrides_runpath=yes
13163         ;;
13164       esac
13165   else
13166     shlibpath_overrides_runpath=yes
13167   fi
13168   ;;
13169
13170 os2*)
13171   libname_spec='$name'
13172   shrext_cmds=".dll"
13173   need_lib_prefix=no
13174   library_names_spec='$libname${shared_ext} $libname.a'
13175   dynamic_linker='OS/2 ld.exe'
13176   shlibpath_var=LIBPATH
13177   ;;
13178
13179 osf3* | osf4* | osf5*)
13180   version_type=osf
13181   need_lib_prefix=no
13182   need_version=no
13183   soname_spec='${libname}${release}${shared_ext}$major'
13184   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13185   shlibpath_var=LD_LIBRARY_PATH
13186   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
13187   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
13188   ;;
13189
13190 rdos*)
13191   dynamic_linker=no
13192   ;;
13193
13194 solaris*)
13195   version_type=linux
13196   need_lib_prefix=no
13197   need_version=no
13198   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13199   soname_spec='${libname}${release}${shared_ext}$major'
13200   shlibpath_var=LD_LIBRARY_PATH
13201   shlibpath_overrides_runpath=yes
13202   hardcode_into_libs=yes
13203   # ldd complains unless libraries are executable
13204   postinstall_cmds='chmod +x $lib'
13205   ;;
13206
13207 sunos4*)
13208   version_type=sunos
13209   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13210   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
13211   shlibpath_var=LD_LIBRARY_PATH
13212   shlibpath_overrides_runpath=yes
13213   if test "$with_gnu_ld" = yes; then
13214     need_lib_prefix=no
13215   fi
13216   need_version=yes
13217   ;;
13218
13219 sysv4 | sysv4.3*)
13220   version_type=linux
13221   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13222   soname_spec='${libname}${release}${shared_ext}$major'
13223   shlibpath_var=LD_LIBRARY_PATH
13224   case $host_vendor in
13225     sni)
13226       shlibpath_overrides_runpath=no
13227       need_lib_prefix=no
13228       runpath_var=LD_RUN_PATH
13229       ;;
13230     siemens)
13231       need_lib_prefix=no
13232       ;;
13233     motorola)
13234       need_lib_prefix=no
13235       need_version=no
13236       shlibpath_overrides_runpath=no
13237       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
13238       ;;
13239   esac
13240   ;;
13241
13242 sysv4*MP*)
13243   if test -d /usr/nec ;then
13244     version_type=linux
13245     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
13246     soname_spec='$libname${shared_ext}.$major'
13247     shlibpath_var=LD_LIBRARY_PATH
13248   fi
13249   ;;
13250
13251 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
13252   version_type=freebsd-elf
13253   need_lib_prefix=no
13254   need_version=no
13255   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
13256   soname_spec='${libname}${release}${shared_ext}$major'
13257   shlibpath_var=LD_LIBRARY_PATH
13258   shlibpath_overrides_runpath=yes
13259   hardcode_into_libs=yes
13260   if test "$with_gnu_ld" = yes; then
13261     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
13262   else
13263     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
13264     case $host_os in
13265       sco3.2v5*)
13266         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
13267         ;;
13268     esac
13269   fi
13270   sys_lib_dlsearch_path_spec='/usr/lib'
13271   ;;
13272
13273 tpf*)
13274   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
13275   version_type=linux
13276   need_lib_prefix=no
13277   need_version=no
13278   library_name_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13279   shlibpath_var=LD_LIBRARY_PATH
13280   shlibpath_overrides_runpath=no
13281   hardcode_into_libs=yes
13282   ;;
13283
13284 uts4*)
13285   version_type=linux
13286   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13287   soname_spec='${libname}${release}${shared_ext}$major'
13288   shlibpath_var=LD_LIBRARY_PATH
13289   ;;
13290
13291 *)
13292   dynamic_linker=no
13293   ;;
13294 esac
13295 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
13296 echo "${ECHO_T}$dynamic_linker" >&6
13297 test "$dynamic_linker" = no && can_build_shared=no
13298
13299 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
13300 if test "$GCC" = yes; then
13301   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
13302 fi
13303
13304
13305
13306
13307
13308
13309
13310
13311
13312
13313
13314
13315
13316
13317
13318
13319
13320
13321
13322
13323
13324
13325
13326
13327
13328
13329
13330
13331
13332
13333
13334
13335
13336
13337
13338
13339     echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
13340 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
13341 hardcode_action_FC=
13342 if test -n "$hardcode_libdir_flag_spec_FC" ||
13343    test -n "$runpath_var_FC" ||
13344    test "X$hardcode_automatic_FC" = "Xyes" ; then
13345
13346   # We can hardcode non-existent directories.
13347   if test "$hardcode_direct_FC" != no &&
13348      # If the only mechanism to avoid hardcoding is shlibpath_var, we
13349      # have to relink, otherwise we might link with an installed library
13350      # when we should be linking with a yet-to-be-installed one
13351      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, FC)" != no &&
13352      test "$hardcode_minus_L_FC" != no; then
13353     # Linking always hardcodes the temporary library directory.
13354     hardcode_action_FC=relink
13355   else
13356     # We can link without hardcoding, and we can hardcode nonexisting dirs.
13357     hardcode_action_FC=immediate
13358   fi
13359 else
13360   # We cannot hardcode anything, or else we can only hardcode existing
13361   # directories.
13362   hardcode_action_FC=unsupported
13363 fi
13364 echo "$as_me:$LINENO: result: $hardcode_action_FC" >&5
13365 echo "${ECHO_T}$hardcode_action_FC" >&6
13366
13367 if test "$hardcode_action_FC" = relink ||
13368    test "$inherit_rpath_FC" = yes; then
13369   # Fast installation is not supported
13370   enable_fast_install=no
13371 elif test "$shlibpath_overrides_runpath" = yes ||
13372      test "$enable_shared" = no; then
13373   # Fast installation is not necessary
13374   enable_fast_install=needless
13375 fi
13376
13377
13378
13379
13380
13381
13382
13383   fi # test -n "$compiler"
13384
13385   CC="$lt_save_CC"
13386 fi # test "$_lt_disable_FC" != yes
13387
13388 ac_ext=c
13389 ac_cpp='$CPP $CPPFLAGS'
13390 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13391 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13392 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13393
13394
13395
13396 # extra LD Flags which are required for targets
13397 case "${host}" in
13398   *-darwin*)
13399     # Darwin needs -single_module when linking libgfortran
13400     extra_ldflags_libgfortran=-Wl,-single_module
13401     ;;
13402 esac
13403
13404
13405 # We need a working compiler at that point, otherwise give a clear
13406 # error message and bail out.
13407
13408 echo "$as_me:$LINENO: checking whether the GNU Fortran compiler is working" >&5
13409 echo $ECHO_N "checking whether the GNU Fortran compiler is working... $ECHO_C" >&6
13410 ac_ext=${FC_SRCEXT-f}
13411 ac_compile='$FC -c $FCFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext >&5'
13412 ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext $LIBS >&5'
13413 ac_compiler_gnu=$ac_cv_fc_compiler_gnu
13414
13415 cat >conftest.$ac_ext <<_ACEOF
13416
13417       program foo
13418       real, parameter :: bar = sin (12.34 / 2.5)
13419       end program foo
13420 _ACEOF
13421 rm -f conftest.$ac_objext
13422 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13423   (eval $ac_compile) 2>conftest.er1
13424   ac_status=$?
13425   grep -v '^ *+' conftest.er1 >conftest.err
13426   rm -f conftest.er1
13427   cat conftest.err >&5
13428   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13429   (exit $ac_status); } &&
13430          { ac_try='test -z "$ac_fc_werror_flag"
13431                          || test ! -s conftest.err'
13432   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13433   (eval $ac_try) 2>&5
13434   ac_status=$?
13435   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13436   (exit $ac_status); }; } &&
13437          { ac_try='test -s conftest.$ac_objext'
13438   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13439   (eval $ac_try) 2>&5
13440   ac_status=$?
13441   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13442   (exit $ac_status); }; }; then
13443   echo "$as_me:$LINENO: result: yes" >&5
13444 echo "${ECHO_T}yes" >&6
13445 else
13446   echo "$as_me: failed program was:" >&5
13447 sed 's/^/| /' conftest.$ac_ext >&5
13448
13449 echo "$as_me:$LINENO: result: no" >&5
13450 echo "${ECHO_T}no" >&6
13451      { { 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
13452 echo "$as_me: error: GNU Fortran is not working; please report a bug in http://gcc.gnu.org/bugzilla, attaching $PWD/config.log" >&2;}
13453    { (exit 1); exit 1; }; }
13454
13455 fi
13456 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13457 ac_ext=c
13458 ac_cpp='$CPP $CPPFLAGS'
13459 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13460 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13461 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13462
13463
13464
13465 # Check whether --enable-largefile or --disable-largefile was given.
13466 if test "${enable_largefile+set}" = set; then
13467   enableval="$enable_largefile"
13468
13469 fi;
13470 if test "$enable_largefile" != no; then
13471
13472   echo "$as_me:$LINENO: checking for special C compiler options needed for large files" >&5
13473 echo $ECHO_N "checking for special C compiler options needed for large files... $ECHO_C" >&6
13474 if test "${ac_cv_sys_largefile_CC+set}" = set; then
13475   echo $ECHO_N "(cached) $ECHO_C" >&6
13476 else
13477   ac_cv_sys_largefile_CC=no
13478      if test "$GCC" != yes; then
13479        ac_save_CC=$CC
13480        while :; do
13481          # IRIX 6.2 and later do not support large files by default,
13482          # so use the C compiler's -n32 option if that helps.
13483          cat >conftest.$ac_ext <<_ACEOF
13484 /* confdefs.h.  */
13485 _ACEOF
13486 cat confdefs.h >>conftest.$ac_ext
13487 cat >>conftest.$ac_ext <<_ACEOF
13488 /* end confdefs.h.  */
13489 #include <sys/types.h>
13490  /* Check that off_t can represent 2**63 - 1 correctly.
13491     We can't simply define LARGE_OFF_T to be 9223372036854775807,
13492     since some C++ compilers masquerading as C compilers
13493     incorrectly reject 9223372036854775807.  */
13494 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
13495   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
13496                        && LARGE_OFF_T % 2147483647 == 1)
13497                       ? 1 : -1];
13498 int
13499 main ()
13500 {
13501
13502   ;
13503   return 0;
13504 }
13505 _ACEOF
13506          rm -f conftest.$ac_objext
13507 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13508   (eval $ac_compile) 2>conftest.er1
13509   ac_status=$?
13510   grep -v '^ *+' conftest.er1 >conftest.err
13511   rm -f conftest.er1
13512   cat conftest.err >&5
13513   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13514   (exit $ac_status); } &&
13515          { ac_try='test -z "$ac_c_werror_flag"
13516                          || test ! -s conftest.err'
13517   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13518   (eval $ac_try) 2>&5
13519   ac_status=$?
13520   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13521   (exit $ac_status); }; } &&
13522          { ac_try='test -s conftest.$ac_objext'
13523   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13524   (eval $ac_try) 2>&5
13525   ac_status=$?
13526   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13527   (exit $ac_status); }; }; then
13528   break
13529 else
13530   echo "$as_me: failed program was:" >&5
13531 sed 's/^/| /' conftest.$ac_ext >&5
13532
13533 fi
13534 rm -f conftest.err conftest.$ac_objext
13535          CC="$CC -n32"
13536          rm -f conftest.$ac_objext
13537 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13538   (eval $ac_compile) 2>conftest.er1
13539   ac_status=$?
13540   grep -v '^ *+' conftest.er1 >conftest.err
13541   rm -f conftest.er1
13542   cat conftest.err >&5
13543   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13544   (exit $ac_status); } &&
13545          { ac_try='test -z "$ac_c_werror_flag"
13546                          || test ! -s conftest.err'
13547   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13548   (eval $ac_try) 2>&5
13549   ac_status=$?
13550   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13551   (exit $ac_status); }; } &&
13552          { ac_try='test -s conftest.$ac_objext'
13553   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13554   (eval $ac_try) 2>&5
13555   ac_status=$?
13556   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13557   (exit $ac_status); }; }; then
13558   ac_cv_sys_largefile_CC=' -n32'; break
13559 else
13560   echo "$as_me: failed program was:" >&5
13561 sed 's/^/| /' conftest.$ac_ext >&5
13562
13563 fi
13564 rm -f conftest.err conftest.$ac_objext
13565          break
13566        done
13567        CC=$ac_save_CC
13568        rm -f conftest.$ac_ext
13569     fi
13570 fi
13571 echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_CC" >&5
13572 echo "${ECHO_T}$ac_cv_sys_largefile_CC" >&6
13573   if test "$ac_cv_sys_largefile_CC" != no; then
13574     CC=$CC$ac_cv_sys_largefile_CC
13575   fi
13576
13577   echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
13578 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
13579 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
13580   echo $ECHO_N "(cached) $ECHO_C" >&6
13581 else
13582   while :; do
13583   ac_cv_sys_file_offset_bits=no
13584   cat >conftest.$ac_ext <<_ACEOF
13585 /* confdefs.h.  */
13586 _ACEOF
13587 cat confdefs.h >>conftest.$ac_ext
13588 cat >>conftest.$ac_ext <<_ACEOF
13589 /* end confdefs.h.  */
13590 #include <sys/types.h>
13591  /* Check that off_t can represent 2**63 - 1 correctly.
13592     We can't simply define LARGE_OFF_T to be 9223372036854775807,
13593     since some C++ compilers masquerading as C compilers
13594     incorrectly reject 9223372036854775807.  */
13595 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
13596   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
13597                        && LARGE_OFF_T % 2147483647 == 1)
13598                       ? 1 : -1];
13599 int
13600 main ()
13601 {
13602
13603   ;
13604   return 0;
13605 }
13606 _ACEOF
13607 rm -f conftest.$ac_objext
13608 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13609   (eval $ac_compile) 2>conftest.er1
13610   ac_status=$?
13611   grep -v '^ *+' conftest.er1 >conftest.err
13612   rm -f conftest.er1
13613   cat conftest.err >&5
13614   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13615   (exit $ac_status); } &&
13616          { ac_try='test -z "$ac_c_werror_flag"
13617                          || test ! -s conftest.err'
13618   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13619   (eval $ac_try) 2>&5
13620   ac_status=$?
13621   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13622   (exit $ac_status); }; } &&
13623          { ac_try='test -s conftest.$ac_objext'
13624   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13625   (eval $ac_try) 2>&5
13626   ac_status=$?
13627   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13628   (exit $ac_status); }; }; then
13629   break
13630 else
13631   echo "$as_me: failed program was:" >&5
13632 sed 's/^/| /' conftest.$ac_ext >&5
13633
13634 fi
13635 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13636   cat >conftest.$ac_ext <<_ACEOF
13637 /* confdefs.h.  */
13638 _ACEOF
13639 cat confdefs.h >>conftest.$ac_ext
13640 cat >>conftest.$ac_ext <<_ACEOF
13641 /* end confdefs.h.  */
13642 #define _FILE_OFFSET_BITS 64
13643 #include <sys/types.h>
13644  /* Check that off_t can represent 2**63 - 1 correctly.
13645     We can't simply define LARGE_OFF_T to be 9223372036854775807,
13646     since some C++ compilers masquerading as C compilers
13647     incorrectly reject 9223372036854775807.  */
13648 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
13649   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
13650                        && LARGE_OFF_T % 2147483647 == 1)
13651                       ? 1 : -1];
13652 int
13653 main ()
13654 {
13655
13656   ;
13657   return 0;
13658 }
13659 _ACEOF
13660 rm -f conftest.$ac_objext
13661 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13662   (eval $ac_compile) 2>conftest.er1
13663   ac_status=$?
13664   grep -v '^ *+' conftest.er1 >conftest.err
13665   rm -f conftest.er1
13666   cat conftest.err >&5
13667   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13668   (exit $ac_status); } &&
13669          { ac_try='test -z "$ac_c_werror_flag"
13670                          || test ! -s conftest.err'
13671   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13672   (eval $ac_try) 2>&5
13673   ac_status=$?
13674   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13675   (exit $ac_status); }; } &&
13676          { ac_try='test -s conftest.$ac_objext'
13677   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13678   (eval $ac_try) 2>&5
13679   ac_status=$?
13680   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13681   (exit $ac_status); }; }; then
13682   ac_cv_sys_file_offset_bits=64; break
13683 else
13684   echo "$as_me: failed program was:" >&5
13685 sed 's/^/| /' conftest.$ac_ext >&5
13686
13687 fi
13688 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13689   break
13690 done
13691 fi
13692 echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
13693 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
13694 if test "$ac_cv_sys_file_offset_bits" != no; then
13695
13696 cat >>confdefs.h <<_ACEOF
13697 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
13698 _ACEOF
13699
13700 fi
13701 rm -f conftest*
13702   echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
13703 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
13704 if test "${ac_cv_sys_large_files+set}" = set; then
13705   echo $ECHO_N "(cached) $ECHO_C" >&6
13706 else
13707   while :; do
13708   ac_cv_sys_large_files=no
13709   cat >conftest.$ac_ext <<_ACEOF
13710 /* confdefs.h.  */
13711 _ACEOF
13712 cat confdefs.h >>conftest.$ac_ext
13713 cat >>conftest.$ac_ext <<_ACEOF
13714 /* end confdefs.h.  */
13715 #include <sys/types.h>
13716  /* Check that off_t can represent 2**63 - 1 correctly.
13717     We can't simply define LARGE_OFF_T to be 9223372036854775807,
13718     since some C++ compilers masquerading as C compilers
13719     incorrectly reject 9223372036854775807.  */
13720 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
13721   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
13722                        && LARGE_OFF_T % 2147483647 == 1)
13723                       ? 1 : -1];
13724 int
13725 main ()
13726 {
13727
13728   ;
13729   return 0;
13730 }
13731 _ACEOF
13732 rm -f conftest.$ac_objext
13733 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13734   (eval $ac_compile) 2>conftest.er1
13735   ac_status=$?
13736   grep -v '^ *+' conftest.er1 >conftest.err
13737   rm -f conftest.er1
13738   cat conftest.err >&5
13739   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13740   (exit $ac_status); } &&
13741          { ac_try='test -z "$ac_c_werror_flag"
13742                          || test ! -s conftest.err'
13743   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13744   (eval $ac_try) 2>&5
13745   ac_status=$?
13746   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13747   (exit $ac_status); }; } &&
13748          { ac_try='test -s conftest.$ac_objext'
13749   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13750   (eval $ac_try) 2>&5
13751   ac_status=$?
13752   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13753   (exit $ac_status); }; }; then
13754   break
13755 else
13756   echo "$as_me: failed program was:" >&5
13757 sed 's/^/| /' conftest.$ac_ext >&5
13758
13759 fi
13760 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13761   cat >conftest.$ac_ext <<_ACEOF
13762 /* confdefs.h.  */
13763 _ACEOF
13764 cat confdefs.h >>conftest.$ac_ext
13765 cat >>conftest.$ac_ext <<_ACEOF
13766 /* end confdefs.h.  */
13767 #define _LARGE_FILES 1
13768 #include <sys/types.h>
13769  /* Check that off_t can represent 2**63 - 1 correctly.
13770     We can't simply define LARGE_OFF_T to be 9223372036854775807,
13771     since some C++ compilers masquerading as C compilers
13772     incorrectly reject 9223372036854775807.  */
13773 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
13774   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
13775                        && LARGE_OFF_T % 2147483647 == 1)
13776                       ? 1 : -1];
13777 int
13778 main ()
13779 {
13780
13781   ;
13782   return 0;
13783 }
13784 _ACEOF
13785 rm -f conftest.$ac_objext
13786 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13787   (eval $ac_compile) 2>conftest.er1
13788   ac_status=$?
13789   grep -v '^ *+' conftest.er1 >conftest.err
13790   rm -f conftest.er1
13791   cat conftest.err >&5
13792   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13793   (exit $ac_status); } &&
13794          { ac_try='test -z "$ac_c_werror_flag"
13795                          || test ! -s conftest.err'
13796   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13797   (eval $ac_try) 2>&5
13798   ac_status=$?
13799   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13800   (exit $ac_status); }; } &&
13801          { ac_try='test -s conftest.$ac_objext'
13802   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13803   (eval $ac_try) 2>&5
13804   ac_status=$?
13805   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13806   (exit $ac_status); }; }; then
13807   ac_cv_sys_large_files=1; break
13808 else
13809   echo "$as_me: failed program was:" >&5
13810 sed 's/^/| /' conftest.$ac_ext >&5
13811
13812 fi
13813 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13814   break
13815 done
13816 fi
13817 echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
13818 echo "${ECHO_T}$ac_cv_sys_large_files" >&6
13819 if test "$ac_cv_sys_large_files" != no; then
13820
13821 cat >>confdefs.h <<_ACEOF
13822 #define _LARGE_FILES $ac_cv_sys_large_files
13823 _ACEOF
13824
13825 fi
13826 rm -f conftest*
13827 fi
13828
13829 echo "$as_me:$LINENO: checking for off_t" >&5
13830 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
13831 if test "${ac_cv_type_off_t+set}" = set; then
13832   echo $ECHO_N "(cached) $ECHO_C" >&6
13833 else
13834   cat >conftest.$ac_ext <<_ACEOF
13835 /* confdefs.h.  */
13836 _ACEOF
13837 cat confdefs.h >>conftest.$ac_ext
13838 cat >>conftest.$ac_ext <<_ACEOF
13839 /* end confdefs.h.  */
13840 $ac_includes_default
13841 int
13842 main ()
13843 {
13844 if ((off_t *) 0)
13845   return 0;
13846 if (sizeof (off_t))
13847   return 0;
13848   ;
13849   return 0;
13850 }
13851 _ACEOF
13852 rm -f conftest.$ac_objext
13853 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13854   (eval $ac_compile) 2>conftest.er1
13855   ac_status=$?
13856   grep -v '^ *+' conftest.er1 >conftest.err
13857   rm -f conftest.er1
13858   cat conftest.err >&5
13859   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13860   (exit $ac_status); } &&
13861          { ac_try='test -z "$ac_c_werror_flag"
13862                          || test ! -s conftest.err'
13863   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13864   (eval $ac_try) 2>&5
13865   ac_status=$?
13866   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13867   (exit $ac_status); }; } &&
13868          { ac_try='test -s conftest.$ac_objext'
13869   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13870   (eval $ac_try) 2>&5
13871   ac_status=$?
13872   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13873   (exit $ac_status); }; }; then
13874   ac_cv_type_off_t=yes
13875 else
13876   echo "$as_me: failed program was:" >&5
13877 sed 's/^/| /' conftest.$ac_ext >&5
13878
13879 ac_cv_type_off_t=no
13880 fi
13881 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13882 fi
13883 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
13884 echo "${ECHO_T}$ac_cv_type_off_t" >&6
13885 if test $ac_cv_type_off_t = yes; then
13886   :
13887 else
13888
13889 cat >>confdefs.h <<_ACEOF
13890 #define off_t long
13891 _ACEOF
13892
13893 fi
13894
13895
13896 # check header files
13897 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
13898 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
13899 if test "${ac_cv_header_stdc+set}" = set; then
13900   echo $ECHO_N "(cached) $ECHO_C" >&6
13901 else
13902   cat >conftest.$ac_ext <<_ACEOF
13903 /* confdefs.h.  */
13904 _ACEOF
13905 cat confdefs.h >>conftest.$ac_ext
13906 cat >>conftest.$ac_ext <<_ACEOF
13907 /* end confdefs.h.  */
13908 #include <stdlib.h>
13909 #include <stdarg.h>
13910 #include <string.h>
13911 #include <float.h>
13912
13913 int
13914 main ()
13915 {
13916
13917   ;
13918   return 0;
13919 }
13920 _ACEOF
13921 rm -f conftest.$ac_objext
13922 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13923   (eval $ac_compile) 2>conftest.er1
13924   ac_status=$?
13925   grep -v '^ *+' conftest.er1 >conftest.err
13926   rm -f conftest.er1
13927   cat conftest.err >&5
13928   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13929   (exit $ac_status); } &&
13930          { ac_try='test -z "$ac_c_werror_flag"
13931                          || test ! -s conftest.err'
13932   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13933   (eval $ac_try) 2>&5
13934   ac_status=$?
13935   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13936   (exit $ac_status); }; } &&
13937          { ac_try='test -s conftest.$ac_objext'
13938   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13939   (eval $ac_try) 2>&5
13940   ac_status=$?
13941   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13942   (exit $ac_status); }; }; then
13943   ac_cv_header_stdc=yes
13944 else
13945   echo "$as_me: failed program was:" >&5
13946 sed 's/^/| /' conftest.$ac_ext >&5
13947
13948 ac_cv_header_stdc=no
13949 fi
13950 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13951
13952 if test $ac_cv_header_stdc = yes; then
13953   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
13954   cat >conftest.$ac_ext <<_ACEOF
13955 /* confdefs.h.  */
13956 _ACEOF
13957 cat confdefs.h >>conftest.$ac_ext
13958 cat >>conftest.$ac_ext <<_ACEOF
13959 /* end confdefs.h.  */
13960 #include <string.h>
13961
13962 _ACEOF
13963 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13964   $EGREP "memchr" >/dev/null 2>&1; then
13965   :
13966 else
13967   ac_cv_header_stdc=no
13968 fi
13969 rm -f conftest*
13970
13971 fi
13972
13973 if test $ac_cv_header_stdc = yes; then
13974   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
13975   cat >conftest.$ac_ext <<_ACEOF
13976 /* confdefs.h.  */
13977 _ACEOF
13978 cat confdefs.h >>conftest.$ac_ext
13979 cat >>conftest.$ac_ext <<_ACEOF
13980 /* end confdefs.h.  */
13981 #include <stdlib.h>
13982
13983 _ACEOF
13984 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13985   $EGREP "free" >/dev/null 2>&1; then
13986   :
13987 else
13988   ac_cv_header_stdc=no
13989 fi
13990 rm -f conftest*
13991
13992 fi
13993
13994 if test $ac_cv_header_stdc = yes; then
13995   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
13996   if test "$cross_compiling" = yes; then
13997   :
13998 else
13999   cat >conftest.$ac_ext <<_ACEOF
14000 /* confdefs.h.  */
14001 _ACEOF
14002 cat confdefs.h >>conftest.$ac_ext
14003 cat >>conftest.$ac_ext <<_ACEOF
14004 /* end confdefs.h.  */
14005 #include <ctype.h>
14006 #if ((' ' & 0x0FF) == 0x020)
14007 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
14008 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
14009 #else
14010 # define ISLOWER(c) \
14011                    (('a' <= (c) && (c) <= 'i') \
14012                      || ('j' <= (c) && (c) <= 'r') \
14013                      || ('s' <= (c) && (c) <= 'z'))
14014 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
14015 #endif
14016
14017 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
14018 int
14019 main ()
14020 {
14021   int i;
14022   for (i = 0; i < 256; i++)
14023     if (XOR (islower (i), ISLOWER (i))
14024         || toupper (i) != TOUPPER (i))
14025       exit(2);
14026   exit (0);
14027 }
14028 _ACEOF
14029 rm -f conftest$ac_exeext
14030 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14031   (eval $ac_link) 2>&5
14032   ac_status=$?
14033   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14034   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
14035   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14036   (eval $ac_try) 2>&5
14037   ac_status=$?
14038   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14039   (exit $ac_status); }; }; then
14040   :
14041 else
14042   echo "$as_me: program exited with status $ac_status" >&5
14043 echo "$as_me: failed program was:" >&5
14044 sed 's/^/| /' conftest.$ac_ext >&5
14045
14046 ( exit $ac_status )
14047 ac_cv_header_stdc=no
14048 fi
14049 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
14050 fi
14051 fi
14052 fi
14053 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
14054 echo "${ECHO_T}$ac_cv_header_stdc" >&6
14055 if test $ac_cv_header_stdc = yes; then
14056
14057 cat >>confdefs.h <<\_ACEOF
14058 #define STDC_HEADERS 1
14059 _ACEOF
14060
14061 fi
14062
14063 echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
14064 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
14065 if test "${ac_cv_header_time+set}" = set; then
14066   echo $ECHO_N "(cached) $ECHO_C" >&6
14067 else
14068   cat >conftest.$ac_ext <<_ACEOF
14069 /* confdefs.h.  */
14070 _ACEOF
14071 cat confdefs.h >>conftest.$ac_ext
14072 cat >>conftest.$ac_ext <<_ACEOF
14073 /* end confdefs.h.  */
14074 #include <sys/types.h>
14075 #include <sys/time.h>
14076 #include <time.h>
14077
14078 int
14079 main ()
14080 {
14081 if ((struct tm *) 0)
14082 return 0;
14083   ;
14084   return 0;
14085 }
14086 _ACEOF
14087 rm -f conftest.$ac_objext
14088 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14089   (eval $ac_compile) 2>conftest.er1
14090   ac_status=$?
14091   grep -v '^ *+' conftest.er1 >conftest.err
14092   rm -f conftest.er1
14093   cat conftest.err >&5
14094   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14095   (exit $ac_status); } &&
14096          { ac_try='test -z "$ac_c_werror_flag"
14097                          || test ! -s conftest.err'
14098   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14099   (eval $ac_try) 2>&5
14100   ac_status=$?
14101   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14102   (exit $ac_status); }; } &&
14103          { ac_try='test -s conftest.$ac_objext'
14104   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14105   (eval $ac_try) 2>&5
14106   ac_status=$?
14107   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14108   (exit $ac_status); }; }; then
14109   ac_cv_header_time=yes
14110 else
14111   echo "$as_me: failed program was:" >&5
14112 sed 's/^/| /' conftest.$ac_ext >&5
14113
14114 ac_cv_header_time=no
14115 fi
14116 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14117 fi
14118 echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
14119 echo "${ECHO_T}$ac_cv_header_time" >&6
14120 if test $ac_cv_header_time = yes; then
14121
14122 cat >>confdefs.h <<\_ACEOF
14123 #define TIME_WITH_SYS_TIME 1
14124 _ACEOF
14125
14126 fi
14127
14128
14129
14130
14131
14132
14133
14134 for ac_header in stdio.h stdlib.h string.h unistd.h signal.h stdarg.h
14135 do
14136 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14137 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14138   echo "$as_me:$LINENO: checking for $ac_header" >&5
14139 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14140 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14141   echo $ECHO_N "(cached) $ECHO_C" >&6
14142 fi
14143 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14144 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14145 else
14146   # Is the header compilable?
14147 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14148 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14149 cat >conftest.$ac_ext <<_ACEOF
14150 /* confdefs.h.  */
14151 _ACEOF
14152 cat confdefs.h >>conftest.$ac_ext
14153 cat >>conftest.$ac_ext <<_ACEOF
14154 /* end confdefs.h.  */
14155 $ac_includes_default
14156 #include <$ac_header>
14157 _ACEOF
14158 rm -f conftest.$ac_objext
14159 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14160   (eval $ac_compile) 2>conftest.er1
14161   ac_status=$?
14162   grep -v '^ *+' conftest.er1 >conftest.err
14163   rm -f conftest.er1
14164   cat conftest.err >&5
14165   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14166   (exit $ac_status); } &&
14167          { ac_try='test -z "$ac_c_werror_flag"
14168                          || test ! -s conftest.err'
14169   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14170   (eval $ac_try) 2>&5
14171   ac_status=$?
14172   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14173   (exit $ac_status); }; } &&
14174          { ac_try='test -s conftest.$ac_objext'
14175   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14176   (eval $ac_try) 2>&5
14177   ac_status=$?
14178   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14179   (exit $ac_status); }; }; then
14180   ac_header_compiler=yes
14181 else
14182   echo "$as_me: failed program was:" >&5
14183 sed 's/^/| /' conftest.$ac_ext >&5
14184
14185 ac_header_compiler=no
14186 fi
14187 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14188 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14189 echo "${ECHO_T}$ac_header_compiler" >&6
14190
14191 # Is the header present?
14192 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14193 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14194 cat >conftest.$ac_ext <<_ACEOF
14195 /* confdefs.h.  */
14196 _ACEOF
14197 cat confdefs.h >>conftest.$ac_ext
14198 cat >>conftest.$ac_ext <<_ACEOF
14199 /* end confdefs.h.  */
14200 #include <$ac_header>
14201 _ACEOF
14202 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14203   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
14204   ac_status=$?
14205   grep -v '^ *+' conftest.er1 >conftest.err
14206   rm -f conftest.er1
14207   cat conftest.err >&5
14208   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14209   (exit $ac_status); } >/dev/null; then
14210   if test -s conftest.err; then
14211     ac_cpp_err=$ac_c_preproc_warn_flag
14212     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
14213   else
14214     ac_cpp_err=
14215   fi
14216 else
14217   ac_cpp_err=yes
14218 fi
14219 if test -z "$ac_cpp_err"; then
14220   ac_header_preproc=yes
14221 else
14222   echo "$as_me: failed program was:" >&5
14223 sed 's/^/| /' conftest.$ac_ext >&5
14224
14225   ac_header_preproc=no
14226 fi
14227 rm -f conftest.err conftest.$ac_ext
14228 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14229 echo "${ECHO_T}$ac_header_preproc" >&6
14230
14231 # So?  What about this header?
14232 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14233   yes:no: )
14234     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14235 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14236     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14237 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14238     ac_header_preproc=yes
14239     ;;
14240   no:yes:* )
14241     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14242 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14243     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
14244 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
14245     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14246 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14247     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
14248 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
14249     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14250 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14251     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14252 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14253     (
14254       cat <<\_ASBOX
14255 ## ------------------------------------------------------ ##
14256 ## Report this to the GNU Fortran Runtime Library lists.  ##
14257 ## ------------------------------------------------------ ##
14258 _ASBOX
14259     ) |
14260       sed "s/^/$as_me: WARNING:     /" >&2
14261     ;;
14262 esac
14263 echo "$as_me:$LINENO: checking for $ac_header" >&5
14264 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14265 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14266   echo $ECHO_N "(cached) $ECHO_C" >&6
14267 else
14268   eval "$as_ac_Header=\$ac_header_preproc"
14269 fi
14270 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14271 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14272
14273 fi
14274 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14275   cat >>confdefs.h <<_ACEOF
14276 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14277 _ACEOF
14278
14279 fi
14280
14281 done
14282
14283
14284
14285
14286
14287 for ac_header in time.h sys/time.h sys/times.h sys/resource.h
14288 do
14289 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14290 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14291   echo "$as_me:$LINENO: checking for $ac_header" >&5
14292 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14293 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14294   echo $ECHO_N "(cached) $ECHO_C" >&6
14295 fi
14296 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14297 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14298 else
14299   # Is the header compilable?
14300 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14301 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14302 cat >conftest.$ac_ext <<_ACEOF
14303 /* confdefs.h.  */
14304 _ACEOF
14305 cat confdefs.h >>conftest.$ac_ext
14306 cat >>conftest.$ac_ext <<_ACEOF
14307 /* end confdefs.h.  */
14308 $ac_includes_default
14309 #include <$ac_header>
14310 _ACEOF
14311 rm -f conftest.$ac_objext
14312 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14313   (eval $ac_compile) 2>conftest.er1
14314   ac_status=$?
14315   grep -v '^ *+' conftest.er1 >conftest.err
14316   rm -f conftest.er1
14317   cat conftest.err >&5
14318   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14319   (exit $ac_status); } &&
14320          { ac_try='test -z "$ac_c_werror_flag"
14321                          || test ! -s conftest.err'
14322   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14323   (eval $ac_try) 2>&5
14324   ac_status=$?
14325   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14326   (exit $ac_status); }; } &&
14327          { ac_try='test -s conftest.$ac_objext'
14328   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14329   (eval $ac_try) 2>&5
14330   ac_status=$?
14331   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14332   (exit $ac_status); }; }; then
14333   ac_header_compiler=yes
14334 else
14335   echo "$as_me: failed program was:" >&5
14336 sed 's/^/| /' conftest.$ac_ext >&5
14337
14338 ac_header_compiler=no
14339 fi
14340 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14341 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14342 echo "${ECHO_T}$ac_header_compiler" >&6
14343
14344 # Is the header present?
14345 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14346 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14347 cat >conftest.$ac_ext <<_ACEOF
14348 /* confdefs.h.  */
14349 _ACEOF
14350 cat confdefs.h >>conftest.$ac_ext
14351 cat >>conftest.$ac_ext <<_ACEOF
14352 /* end confdefs.h.  */
14353 #include <$ac_header>
14354 _ACEOF
14355 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14356   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
14357   ac_status=$?
14358   grep -v '^ *+' conftest.er1 >conftest.err
14359   rm -f conftest.er1
14360   cat conftest.err >&5
14361   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14362   (exit $ac_status); } >/dev/null; then
14363   if test -s conftest.err; then
14364     ac_cpp_err=$ac_c_preproc_warn_flag
14365     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
14366   else
14367     ac_cpp_err=
14368   fi
14369 else
14370   ac_cpp_err=yes
14371 fi
14372 if test -z "$ac_cpp_err"; then
14373   ac_header_preproc=yes
14374 else
14375   echo "$as_me: failed program was:" >&5
14376 sed 's/^/| /' conftest.$ac_ext >&5
14377
14378   ac_header_preproc=no
14379 fi
14380 rm -f conftest.err conftest.$ac_ext
14381 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14382 echo "${ECHO_T}$ac_header_preproc" >&6
14383
14384 # So?  What about this header?
14385 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14386   yes:no: )
14387     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14388 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14389     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14390 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14391     ac_header_preproc=yes
14392     ;;
14393   no:yes:* )
14394     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14395 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14396     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
14397 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
14398     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14399 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14400     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
14401 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
14402     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14403 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14404     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14405 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14406     (
14407       cat <<\_ASBOX
14408 ## ------------------------------------------------------ ##
14409 ## Report this to the GNU Fortran Runtime Library lists.  ##
14410 ## ------------------------------------------------------ ##
14411 _ASBOX
14412     ) |
14413       sed "s/^/$as_me: WARNING:     /" >&2
14414     ;;
14415 esac
14416 echo "$as_me:$LINENO: checking for $ac_header" >&5
14417 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14418 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14419   echo $ECHO_N "(cached) $ECHO_C" >&6
14420 else
14421   eval "$as_ac_Header=\$ac_header_preproc"
14422 fi
14423 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14424 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14425
14426 fi
14427 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14428   cat >>confdefs.h <<_ACEOF
14429 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14430 _ACEOF
14431
14432 fi
14433
14434 done
14435
14436
14437
14438
14439
14440
14441 for ac_header in sys/types.h sys/stat.h sys/wait.h floatingpoint.h ieeefp.h
14442 do
14443 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14444 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14445   echo "$as_me:$LINENO: checking for $ac_header" >&5
14446 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14447 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14448   echo $ECHO_N "(cached) $ECHO_C" >&6
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 else
14453   # Is the header compilable?
14454 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14455 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14456 cat >conftest.$ac_ext <<_ACEOF
14457 /* confdefs.h.  */
14458 _ACEOF
14459 cat confdefs.h >>conftest.$ac_ext
14460 cat >>conftest.$ac_ext <<_ACEOF
14461 /* end confdefs.h.  */
14462 $ac_includes_default
14463 #include <$ac_header>
14464 _ACEOF
14465 rm -f conftest.$ac_objext
14466 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14467   (eval $ac_compile) 2>conftest.er1
14468   ac_status=$?
14469   grep -v '^ *+' conftest.er1 >conftest.err
14470   rm -f conftest.er1
14471   cat conftest.err >&5
14472   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14473   (exit $ac_status); } &&
14474          { ac_try='test -z "$ac_c_werror_flag"
14475                          || test ! -s conftest.err'
14476   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14477   (eval $ac_try) 2>&5
14478   ac_status=$?
14479   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14480   (exit $ac_status); }; } &&
14481          { ac_try='test -s conftest.$ac_objext'
14482   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14483   (eval $ac_try) 2>&5
14484   ac_status=$?
14485   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14486   (exit $ac_status); }; }; then
14487   ac_header_compiler=yes
14488 else
14489   echo "$as_me: failed program was:" >&5
14490 sed 's/^/| /' conftest.$ac_ext >&5
14491
14492 ac_header_compiler=no
14493 fi
14494 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14495 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14496 echo "${ECHO_T}$ac_header_compiler" >&6
14497
14498 # Is the header present?
14499 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14500 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14501 cat >conftest.$ac_ext <<_ACEOF
14502 /* confdefs.h.  */
14503 _ACEOF
14504 cat confdefs.h >>conftest.$ac_ext
14505 cat >>conftest.$ac_ext <<_ACEOF
14506 /* end confdefs.h.  */
14507 #include <$ac_header>
14508 _ACEOF
14509 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14510   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
14511   ac_status=$?
14512   grep -v '^ *+' conftest.er1 >conftest.err
14513   rm -f conftest.er1
14514   cat conftest.err >&5
14515   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14516   (exit $ac_status); } >/dev/null; then
14517   if test -s conftest.err; then
14518     ac_cpp_err=$ac_c_preproc_warn_flag
14519     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
14520   else
14521     ac_cpp_err=
14522   fi
14523 else
14524   ac_cpp_err=yes
14525 fi
14526 if test -z "$ac_cpp_err"; then
14527   ac_header_preproc=yes
14528 else
14529   echo "$as_me: failed program was:" >&5
14530 sed 's/^/| /' conftest.$ac_ext >&5
14531
14532   ac_header_preproc=no
14533 fi
14534 rm -f conftest.err conftest.$ac_ext
14535 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14536 echo "${ECHO_T}$ac_header_preproc" >&6
14537
14538 # So?  What about this header?
14539 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14540   yes:no: )
14541     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14542 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14543     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14544 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14545     ac_header_preproc=yes
14546     ;;
14547   no:yes:* )
14548     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14549 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14550     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
14551 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
14552     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14553 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14554     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
14555 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
14556     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14557 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14558     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14559 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14560     (
14561       cat <<\_ASBOX
14562 ## ------------------------------------------------------ ##
14563 ## Report this to the GNU Fortran Runtime Library lists.  ##
14564 ## ------------------------------------------------------ ##
14565 _ASBOX
14566     ) |
14567       sed "s/^/$as_me: WARNING:     /" >&2
14568     ;;
14569 esac
14570 echo "$as_me:$LINENO: checking for $ac_header" >&5
14571 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14572 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14573   echo $ECHO_N "(cached) $ECHO_C" >&6
14574 else
14575   eval "$as_ac_Header=\$ac_header_preproc"
14576 fi
14577 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14578 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14579
14580 fi
14581 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14582   cat >>confdefs.h <<_ACEOF
14583 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14584 _ACEOF
14585
14586 fi
14587
14588 done
14589
14590
14591
14592
14593
14594
14595 for ac_header in fenv.h fptrap.h float.h execinfo.h pwd.h
14596 do
14597 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14598 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14599   echo "$as_me:$LINENO: checking for $ac_header" >&5
14600 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14601 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14602   echo $ECHO_N "(cached) $ECHO_C" >&6
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 else
14607   # Is the header compilable?
14608 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14609 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14610 cat >conftest.$ac_ext <<_ACEOF
14611 /* confdefs.h.  */
14612 _ACEOF
14613 cat confdefs.h >>conftest.$ac_ext
14614 cat >>conftest.$ac_ext <<_ACEOF
14615 /* end confdefs.h.  */
14616 $ac_includes_default
14617 #include <$ac_header>
14618 _ACEOF
14619 rm -f conftest.$ac_objext
14620 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14621   (eval $ac_compile) 2>conftest.er1
14622   ac_status=$?
14623   grep -v '^ *+' conftest.er1 >conftest.err
14624   rm -f conftest.er1
14625   cat conftest.err >&5
14626   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14627   (exit $ac_status); } &&
14628          { ac_try='test -z "$ac_c_werror_flag"
14629                          || test ! -s conftest.err'
14630   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14631   (eval $ac_try) 2>&5
14632   ac_status=$?
14633   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14634   (exit $ac_status); }; } &&
14635          { ac_try='test -s conftest.$ac_objext'
14636   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14637   (eval $ac_try) 2>&5
14638   ac_status=$?
14639   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14640   (exit $ac_status); }; }; then
14641   ac_header_compiler=yes
14642 else
14643   echo "$as_me: failed program was:" >&5
14644 sed 's/^/| /' conftest.$ac_ext >&5
14645
14646 ac_header_compiler=no
14647 fi
14648 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14649 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14650 echo "${ECHO_T}$ac_header_compiler" >&6
14651
14652 # Is the header present?
14653 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14654 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14655 cat >conftest.$ac_ext <<_ACEOF
14656 /* confdefs.h.  */
14657 _ACEOF
14658 cat confdefs.h >>conftest.$ac_ext
14659 cat >>conftest.$ac_ext <<_ACEOF
14660 /* end confdefs.h.  */
14661 #include <$ac_header>
14662 _ACEOF
14663 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14664   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
14665   ac_status=$?
14666   grep -v '^ *+' conftest.er1 >conftest.err
14667   rm -f conftest.er1
14668   cat conftest.err >&5
14669   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14670   (exit $ac_status); } >/dev/null; then
14671   if test -s conftest.err; then
14672     ac_cpp_err=$ac_c_preproc_warn_flag
14673     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
14674   else
14675     ac_cpp_err=
14676   fi
14677 else
14678   ac_cpp_err=yes
14679 fi
14680 if test -z "$ac_cpp_err"; then
14681   ac_header_preproc=yes
14682 else
14683   echo "$as_me: failed program was:" >&5
14684 sed 's/^/| /' conftest.$ac_ext >&5
14685
14686   ac_header_preproc=no
14687 fi
14688 rm -f conftest.err conftest.$ac_ext
14689 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14690 echo "${ECHO_T}$ac_header_preproc" >&6
14691
14692 # So?  What about this header?
14693 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14694   yes:no: )
14695     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14696 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14697     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14698 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14699     ac_header_preproc=yes
14700     ;;
14701   no:yes:* )
14702     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14703 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14704     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
14705 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
14706     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14707 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14708     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
14709 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
14710     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14711 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14712     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14713 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14714     (
14715       cat <<\_ASBOX
14716 ## ------------------------------------------------------ ##
14717 ## Report this to the GNU Fortran Runtime Library lists.  ##
14718 ## ------------------------------------------------------ ##
14719 _ASBOX
14720     ) |
14721       sed "s/^/$as_me: WARNING:     /" >&2
14722     ;;
14723 esac
14724 echo "$as_me:$LINENO: checking for $ac_header" >&5
14725 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14726 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14727   echo $ECHO_N "(cached) $ECHO_C" >&6
14728 else
14729   eval "$as_ac_Header=\$ac_header_preproc"
14730 fi
14731 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14732 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14733
14734 fi
14735 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14736   cat >>confdefs.h <<_ACEOF
14737 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14738 _ACEOF
14739
14740 fi
14741
14742 done
14743
14744 if test "${ac_cv_header_complex_h+set}" = set; then
14745   echo "$as_me:$LINENO: checking for complex.h" >&5
14746 echo $ECHO_N "checking for complex.h... $ECHO_C" >&6
14747 if test "${ac_cv_header_complex_h+set}" = set; then
14748   echo $ECHO_N "(cached) $ECHO_C" >&6
14749 fi
14750 echo "$as_me:$LINENO: result: $ac_cv_header_complex_h" >&5
14751 echo "${ECHO_T}$ac_cv_header_complex_h" >&6
14752 else
14753   # Is the header compilable?
14754 echo "$as_me:$LINENO: checking complex.h usability" >&5
14755 echo $ECHO_N "checking complex.h usability... $ECHO_C" >&6
14756 cat >conftest.$ac_ext <<_ACEOF
14757 /* confdefs.h.  */
14758 _ACEOF
14759 cat confdefs.h >>conftest.$ac_ext
14760 cat >>conftest.$ac_ext <<_ACEOF
14761 /* end confdefs.h.  */
14762 $ac_includes_default
14763 #include <complex.h>
14764 _ACEOF
14765 rm -f conftest.$ac_objext
14766 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14767   (eval $ac_compile) 2>conftest.er1
14768   ac_status=$?
14769   grep -v '^ *+' conftest.er1 >conftest.err
14770   rm -f conftest.er1
14771   cat conftest.err >&5
14772   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14773   (exit $ac_status); } &&
14774          { ac_try='test -z "$ac_c_werror_flag"
14775                          || test ! -s conftest.err'
14776   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14777   (eval $ac_try) 2>&5
14778   ac_status=$?
14779   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14780   (exit $ac_status); }; } &&
14781          { ac_try='test -s conftest.$ac_objext'
14782   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14783   (eval $ac_try) 2>&5
14784   ac_status=$?
14785   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14786   (exit $ac_status); }; }; then
14787   ac_header_compiler=yes
14788 else
14789   echo "$as_me: failed program was:" >&5
14790 sed 's/^/| /' conftest.$ac_ext >&5
14791
14792 ac_header_compiler=no
14793 fi
14794 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14795 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14796 echo "${ECHO_T}$ac_header_compiler" >&6
14797
14798 # Is the header present?
14799 echo "$as_me:$LINENO: checking complex.h presence" >&5
14800 echo $ECHO_N "checking complex.h presence... $ECHO_C" >&6
14801 cat >conftest.$ac_ext <<_ACEOF
14802 /* confdefs.h.  */
14803 _ACEOF
14804 cat confdefs.h >>conftest.$ac_ext
14805 cat >>conftest.$ac_ext <<_ACEOF
14806 /* end confdefs.h.  */
14807 #include <complex.h>
14808 _ACEOF
14809 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14810   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
14811   ac_status=$?
14812   grep -v '^ *+' conftest.er1 >conftest.err
14813   rm -f conftest.er1
14814   cat conftest.err >&5
14815   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14816   (exit $ac_status); } >/dev/null; then
14817   if test -s conftest.err; then
14818     ac_cpp_err=$ac_c_preproc_warn_flag
14819     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
14820   else
14821     ac_cpp_err=
14822   fi
14823 else
14824   ac_cpp_err=yes
14825 fi
14826 if test -z "$ac_cpp_err"; then
14827   ac_header_preproc=yes
14828 else
14829   echo "$as_me: failed program was:" >&5
14830 sed 's/^/| /' conftest.$ac_ext >&5
14831
14832   ac_header_preproc=no
14833 fi
14834 rm -f conftest.err conftest.$ac_ext
14835 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14836 echo "${ECHO_T}$ac_header_preproc" >&6
14837
14838 # So?  What about this header?
14839 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14840   yes:no: )
14841     { echo "$as_me:$LINENO: WARNING: complex.h: accepted by the compiler, rejected by the preprocessor!" >&5
14842 echo "$as_me: WARNING: complex.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
14843     { echo "$as_me:$LINENO: WARNING: complex.h: proceeding with the compiler's result" >&5
14844 echo "$as_me: WARNING: complex.h: proceeding with the compiler's result" >&2;}
14845     ac_header_preproc=yes
14846     ;;
14847   no:yes:* )
14848     { echo "$as_me:$LINENO: WARNING: complex.h: present but cannot be compiled" >&5
14849 echo "$as_me: WARNING: complex.h: present but cannot be compiled" >&2;}
14850     { echo "$as_me:$LINENO: WARNING: complex.h:     check for missing prerequisite headers?" >&5
14851 echo "$as_me: WARNING: complex.h:     check for missing prerequisite headers?" >&2;}
14852     { echo "$as_me:$LINENO: WARNING: complex.h: see the Autoconf documentation" >&5
14853 echo "$as_me: WARNING: complex.h: see the Autoconf documentation" >&2;}
14854     { echo "$as_me:$LINENO: WARNING: complex.h:     section \"Present But Cannot Be Compiled\"" >&5
14855 echo "$as_me: WARNING: complex.h:     section \"Present But Cannot Be Compiled\"" >&2;}
14856     { echo "$as_me:$LINENO: WARNING: complex.h: proceeding with the preprocessor's result" >&5
14857 echo "$as_me: WARNING: complex.h: proceeding with the preprocessor's result" >&2;}
14858     { echo "$as_me:$LINENO: WARNING: complex.h: in the future, the compiler will take precedence" >&5
14859 echo "$as_me: WARNING: complex.h: in the future, the compiler will take precedence" >&2;}
14860     (
14861       cat <<\_ASBOX
14862 ## ------------------------------------------------------ ##
14863 ## Report this to the GNU Fortran Runtime Library lists.  ##
14864 ## ------------------------------------------------------ ##
14865 _ASBOX
14866     ) |
14867       sed "s/^/$as_me: WARNING:     /" >&2
14868     ;;
14869 esac
14870 echo "$as_me:$LINENO: checking for complex.h" >&5
14871 echo $ECHO_N "checking for complex.h... $ECHO_C" >&6
14872 if test "${ac_cv_header_complex_h+set}" = set; then
14873   echo $ECHO_N "(cached) $ECHO_C" >&6
14874 else
14875   ac_cv_header_complex_h=$ac_header_preproc
14876 fi
14877 echo "$as_me:$LINENO: result: $ac_cv_header_complex_h" >&5
14878 echo "${ECHO_T}$ac_cv_header_complex_h" >&6
14879
14880 fi
14881 if test $ac_cv_header_complex_h = yes; then
14882
14883 cat >>confdefs.h <<\_ACEOF
14884 #define HAVE_COMPLEX_H 1
14885 _ACEOF
14886
14887 fi
14888
14889
14890
14891
14892 inttype_headers=`echo inttypes.h sys/inttypes.h  | sed -e 's/,/ /g'`
14893
14894 acx_cv_header_stdint=stddef.h
14895 acx_cv_header_stdint_kind="(already complete)"
14896 for i in stdint.h $inttype_headers; do
14897   unset ac_cv_type_uintptr_t
14898   unset ac_cv_type_uintmax_t
14899   unset ac_cv_type_int_least32_t
14900   unset ac_cv_type_int_fast32_t
14901   unset ac_cv_type_uint64_t
14902   echo $ECHO_N "looking for a compliant stdint.h in $i, $ECHO_C" >&6
14903   echo "$as_me:$LINENO: checking for uintmax_t" >&5
14904 echo $ECHO_N "checking for uintmax_t... $ECHO_C" >&6
14905 if test "${ac_cv_type_uintmax_t+set}" = set; then
14906   echo $ECHO_N "(cached) $ECHO_C" >&6
14907 else
14908   cat >conftest.$ac_ext <<_ACEOF
14909 /* confdefs.h.  */
14910 _ACEOF
14911 cat confdefs.h >>conftest.$ac_ext
14912 cat >>conftest.$ac_ext <<_ACEOF
14913 /* end confdefs.h.  */
14914 #include <sys/types.h>
14915 #include <$i>
14916
14917 int
14918 main ()
14919 {
14920 if ((uintmax_t *) 0)
14921   return 0;
14922 if (sizeof (uintmax_t))
14923   return 0;
14924   ;
14925   return 0;
14926 }
14927 _ACEOF
14928 rm -f conftest.$ac_objext
14929 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14930   (eval $ac_compile) 2>conftest.er1
14931   ac_status=$?
14932   grep -v '^ *+' conftest.er1 >conftest.err
14933   rm -f conftest.er1
14934   cat conftest.err >&5
14935   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14936   (exit $ac_status); } &&
14937          { ac_try='test -z "$ac_c_werror_flag"
14938                          || test ! -s conftest.err'
14939   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14940   (eval $ac_try) 2>&5
14941   ac_status=$?
14942   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14943   (exit $ac_status); }; } &&
14944          { ac_try='test -s conftest.$ac_objext'
14945   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14946   (eval $ac_try) 2>&5
14947   ac_status=$?
14948   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14949   (exit $ac_status); }; }; then
14950   ac_cv_type_uintmax_t=yes
14951 else
14952   echo "$as_me: failed program was:" >&5
14953 sed 's/^/| /' conftest.$ac_ext >&5
14954
14955 ac_cv_type_uintmax_t=no
14956 fi
14957 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14958 fi
14959 echo "$as_me:$LINENO: result: $ac_cv_type_uintmax_t" >&5
14960 echo "${ECHO_T}$ac_cv_type_uintmax_t" >&6
14961 if test $ac_cv_type_uintmax_t = yes; then
14962   acx_cv_header_stdint=$i
14963 else
14964   continue
14965 fi
14966
14967   echo "$as_me:$LINENO: checking for uintptr_t" >&5
14968 echo $ECHO_N "checking for uintptr_t... $ECHO_C" >&6
14969 if test "${ac_cv_type_uintptr_t+set}" = set; then
14970   echo $ECHO_N "(cached) $ECHO_C" >&6
14971 else
14972   cat >conftest.$ac_ext <<_ACEOF
14973 /* confdefs.h.  */
14974 _ACEOF
14975 cat confdefs.h >>conftest.$ac_ext
14976 cat >>conftest.$ac_ext <<_ACEOF
14977 /* end confdefs.h.  */
14978 #include <sys/types.h>
14979 #include <$i>
14980
14981 int
14982 main ()
14983 {
14984 if ((uintptr_t *) 0)
14985   return 0;
14986 if (sizeof (uintptr_t))
14987   return 0;
14988   ;
14989   return 0;
14990 }
14991 _ACEOF
14992 rm -f conftest.$ac_objext
14993 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14994   (eval $ac_compile) 2>conftest.er1
14995   ac_status=$?
14996   grep -v '^ *+' conftest.er1 >conftest.err
14997   rm -f conftest.er1
14998   cat conftest.err >&5
14999   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15000   (exit $ac_status); } &&
15001          { ac_try='test -z "$ac_c_werror_flag"
15002                          || test ! -s conftest.err'
15003   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15004   (eval $ac_try) 2>&5
15005   ac_status=$?
15006   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15007   (exit $ac_status); }; } &&
15008          { ac_try='test -s conftest.$ac_objext'
15009   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15010   (eval $ac_try) 2>&5
15011   ac_status=$?
15012   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15013   (exit $ac_status); }; }; then
15014   ac_cv_type_uintptr_t=yes
15015 else
15016   echo "$as_me: failed program was:" >&5
15017 sed 's/^/| /' conftest.$ac_ext >&5
15018
15019 ac_cv_type_uintptr_t=no
15020 fi
15021 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15022 fi
15023 echo "$as_me:$LINENO: result: $ac_cv_type_uintptr_t" >&5
15024 echo "${ECHO_T}$ac_cv_type_uintptr_t" >&6
15025 if test $ac_cv_type_uintptr_t = yes; then
15026   :
15027 else
15028   acx_cv_header_stdint_kind="(mostly complete)"
15029 fi
15030
15031   echo "$as_me:$LINENO: checking for int_least32_t" >&5
15032 echo $ECHO_N "checking for int_least32_t... $ECHO_C" >&6
15033 if test "${ac_cv_type_int_least32_t+set}" = set; then
15034   echo $ECHO_N "(cached) $ECHO_C" >&6
15035 else
15036   cat >conftest.$ac_ext <<_ACEOF
15037 /* confdefs.h.  */
15038 _ACEOF
15039 cat confdefs.h >>conftest.$ac_ext
15040 cat >>conftest.$ac_ext <<_ACEOF
15041 /* end confdefs.h.  */
15042 #include <sys/types.h>
15043 #include <$i>
15044
15045 int
15046 main ()
15047 {
15048 if ((int_least32_t *) 0)
15049   return 0;
15050 if (sizeof (int_least32_t))
15051   return 0;
15052   ;
15053   return 0;
15054 }
15055 _ACEOF
15056 rm -f conftest.$ac_objext
15057 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15058   (eval $ac_compile) 2>conftest.er1
15059   ac_status=$?
15060   grep -v '^ *+' conftest.er1 >conftest.err
15061   rm -f conftest.er1
15062   cat conftest.err >&5
15063   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15064   (exit $ac_status); } &&
15065          { ac_try='test -z "$ac_c_werror_flag"
15066                          || test ! -s conftest.err'
15067   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15068   (eval $ac_try) 2>&5
15069   ac_status=$?
15070   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15071   (exit $ac_status); }; } &&
15072          { ac_try='test -s conftest.$ac_objext'
15073   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15074   (eval $ac_try) 2>&5
15075   ac_status=$?
15076   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15077   (exit $ac_status); }; }; then
15078   ac_cv_type_int_least32_t=yes
15079 else
15080   echo "$as_me: failed program was:" >&5
15081 sed 's/^/| /' conftest.$ac_ext >&5
15082
15083 ac_cv_type_int_least32_t=no
15084 fi
15085 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15086 fi
15087 echo "$as_me:$LINENO: result: $ac_cv_type_int_least32_t" >&5
15088 echo "${ECHO_T}$ac_cv_type_int_least32_t" >&6
15089 if test $ac_cv_type_int_least32_t = yes; then
15090   :
15091 else
15092   acx_cv_header_stdint_kind="(mostly complete)"
15093 fi
15094
15095   echo "$as_me:$LINENO: checking for int_fast32_t" >&5
15096 echo $ECHO_N "checking for int_fast32_t... $ECHO_C" >&6
15097 if test "${ac_cv_type_int_fast32_t+set}" = set; then
15098   echo $ECHO_N "(cached) $ECHO_C" >&6
15099 else
15100   cat >conftest.$ac_ext <<_ACEOF
15101 /* confdefs.h.  */
15102 _ACEOF
15103 cat confdefs.h >>conftest.$ac_ext
15104 cat >>conftest.$ac_ext <<_ACEOF
15105 /* end confdefs.h.  */
15106 #include <sys/types.h>
15107 #include <$i>
15108
15109 int
15110 main ()
15111 {
15112 if ((int_fast32_t *) 0)
15113   return 0;
15114 if (sizeof (int_fast32_t))
15115   return 0;
15116   ;
15117   return 0;
15118 }
15119 _ACEOF
15120 rm -f conftest.$ac_objext
15121 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15122   (eval $ac_compile) 2>conftest.er1
15123   ac_status=$?
15124   grep -v '^ *+' conftest.er1 >conftest.err
15125   rm -f conftest.er1
15126   cat conftest.err >&5
15127   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15128   (exit $ac_status); } &&
15129          { ac_try='test -z "$ac_c_werror_flag"
15130                          || test ! -s conftest.err'
15131   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15132   (eval $ac_try) 2>&5
15133   ac_status=$?
15134   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15135   (exit $ac_status); }; } &&
15136          { ac_try='test -s conftest.$ac_objext'
15137   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15138   (eval $ac_try) 2>&5
15139   ac_status=$?
15140   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15141   (exit $ac_status); }; }; then
15142   ac_cv_type_int_fast32_t=yes
15143 else
15144   echo "$as_me: failed program was:" >&5
15145 sed 's/^/| /' conftest.$ac_ext >&5
15146
15147 ac_cv_type_int_fast32_t=no
15148 fi
15149 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15150 fi
15151 echo "$as_me:$LINENO: result: $ac_cv_type_int_fast32_t" >&5
15152 echo "${ECHO_T}$ac_cv_type_int_fast32_t" >&6
15153 if test $ac_cv_type_int_fast32_t = yes; then
15154   :
15155 else
15156   acx_cv_header_stdint_kind="(mostly complete)"
15157 fi
15158
15159   echo "$as_me:$LINENO: checking for uint64_t" >&5
15160 echo $ECHO_N "checking for uint64_t... $ECHO_C" >&6
15161 if test "${ac_cv_type_uint64_t+set}" = set; then
15162   echo $ECHO_N "(cached) $ECHO_C" >&6
15163 else
15164   cat >conftest.$ac_ext <<_ACEOF
15165 /* confdefs.h.  */
15166 _ACEOF
15167 cat confdefs.h >>conftest.$ac_ext
15168 cat >>conftest.$ac_ext <<_ACEOF
15169 /* end confdefs.h.  */
15170 #include <sys/types.h>
15171 #include <$i>
15172
15173 int
15174 main ()
15175 {
15176 if ((uint64_t *) 0)
15177   return 0;
15178 if (sizeof (uint64_t))
15179   return 0;
15180   ;
15181   return 0;
15182 }
15183 _ACEOF
15184 rm -f conftest.$ac_objext
15185 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15186   (eval $ac_compile) 2>conftest.er1
15187   ac_status=$?
15188   grep -v '^ *+' conftest.er1 >conftest.err
15189   rm -f conftest.er1
15190   cat conftest.err >&5
15191   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15192   (exit $ac_status); } &&
15193          { ac_try='test -z "$ac_c_werror_flag"
15194                          || test ! -s conftest.err'
15195   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15196   (eval $ac_try) 2>&5
15197   ac_status=$?
15198   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15199   (exit $ac_status); }; } &&
15200          { ac_try='test -s conftest.$ac_objext'
15201   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15202   (eval $ac_try) 2>&5
15203   ac_status=$?
15204   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15205   (exit $ac_status); }; }; then
15206   ac_cv_type_uint64_t=yes
15207 else
15208   echo "$as_me: failed program was:" >&5
15209 sed 's/^/| /' conftest.$ac_ext >&5
15210
15211 ac_cv_type_uint64_t=no
15212 fi
15213 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15214 fi
15215 echo "$as_me:$LINENO: result: $ac_cv_type_uint64_t" >&5
15216 echo "${ECHO_T}$ac_cv_type_uint64_t" >&6
15217 if test $ac_cv_type_uint64_t = yes; then
15218   :
15219 else
15220   acx_cv_header_stdint_kind="(lacks uint64_t)"
15221 fi
15222
15223   break
15224 done
15225 if test "$acx_cv_header_stdint" = stddef.h; then
15226   acx_cv_header_stdint_kind="(lacks uintmax_t)"
15227   for i in stdint.h $inttype_headers; do
15228     unset ac_cv_type_uintptr_t
15229     unset ac_cv_type_uint32_t
15230     unset ac_cv_type_uint64_t
15231     echo $ECHO_N "looking for an incomplete stdint.h in $i, $ECHO_C" >&6
15232     echo "$as_me:$LINENO: checking for uint32_t" >&5
15233 echo $ECHO_N "checking for uint32_t... $ECHO_C" >&6
15234 if test "${ac_cv_type_uint32_t+set}" = set; then
15235   echo $ECHO_N "(cached) $ECHO_C" >&6
15236 else
15237   cat >conftest.$ac_ext <<_ACEOF
15238 /* confdefs.h.  */
15239 _ACEOF
15240 cat confdefs.h >>conftest.$ac_ext
15241 cat >>conftest.$ac_ext <<_ACEOF
15242 /* end confdefs.h.  */
15243 #include <sys/types.h>
15244 #include <$i>
15245
15246 int
15247 main ()
15248 {
15249 if ((uint32_t *) 0)
15250   return 0;
15251 if (sizeof (uint32_t))
15252   return 0;
15253   ;
15254   return 0;
15255 }
15256 _ACEOF
15257 rm -f conftest.$ac_objext
15258 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15259   (eval $ac_compile) 2>conftest.er1
15260   ac_status=$?
15261   grep -v '^ *+' conftest.er1 >conftest.err
15262   rm -f conftest.er1
15263   cat conftest.err >&5
15264   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15265   (exit $ac_status); } &&
15266          { ac_try='test -z "$ac_c_werror_flag"
15267                          || test ! -s conftest.err'
15268   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15269   (eval $ac_try) 2>&5
15270   ac_status=$?
15271   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15272   (exit $ac_status); }; } &&
15273          { ac_try='test -s conftest.$ac_objext'
15274   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15275   (eval $ac_try) 2>&5
15276   ac_status=$?
15277   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15278   (exit $ac_status); }; }; then
15279   ac_cv_type_uint32_t=yes
15280 else
15281   echo "$as_me: failed program was:" >&5
15282 sed 's/^/| /' conftest.$ac_ext >&5
15283
15284 ac_cv_type_uint32_t=no
15285 fi
15286 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15287 fi
15288 echo "$as_me:$LINENO: result: $ac_cv_type_uint32_t" >&5
15289 echo "${ECHO_T}$ac_cv_type_uint32_t" >&6
15290 if test $ac_cv_type_uint32_t = yes; then
15291   acx_cv_header_stdint=$i
15292 else
15293   continue
15294 fi
15295
15296     echo "$as_me:$LINENO: checking for uint64_t" >&5
15297 echo $ECHO_N "checking for uint64_t... $ECHO_C" >&6
15298 if test "${ac_cv_type_uint64_t+set}" = set; then
15299   echo $ECHO_N "(cached) $ECHO_C" >&6
15300 else
15301   cat >conftest.$ac_ext <<_ACEOF
15302 /* confdefs.h.  */
15303 _ACEOF
15304 cat confdefs.h >>conftest.$ac_ext
15305 cat >>conftest.$ac_ext <<_ACEOF
15306 /* end confdefs.h.  */
15307 #include <sys/types.h>
15308 #include <$i>
15309
15310 int
15311 main ()
15312 {
15313 if ((uint64_t *) 0)
15314   return 0;
15315 if (sizeof (uint64_t))
15316   return 0;
15317   ;
15318   return 0;
15319 }
15320 _ACEOF
15321 rm -f conftest.$ac_objext
15322 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15323   (eval $ac_compile) 2>conftest.er1
15324   ac_status=$?
15325   grep -v '^ *+' conftest.er1 >conftest.err
15326   rm -f conftest.er1
15327   cat conftest.err >&5
15328   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15329   (exit $ac_status); } &&
15330          { ac_try='test -z "$ac_c_werror_flag"
15331                          || test ! -s conftest.err'
15332   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15333   (eval $ac_try) 2>&5
15334   ac_status=$?
15335   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15336   (exit $ac_status); }; } &&
15337          { ac_try='test -s conftest.$ac_objext'
15338   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15339   (eval $ac_try) 2>&5
15340   ac_status=$?
15341   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15342   (exit $ac_status); }; }; then
15343   ac_cv_type_uint64_t=yes
15344 else
15345   echo "$as_me: failed program was:" >&5
15346 sed 's/^/| /' conftest.$ac_ext >&5
15347
15348 ac_cv_type_uint64_t=no
15349 fi
15350 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15351 fi
15352 echo "$as_me:$LINENO: result: $ac_cv_type_uint64_t" >&5
15353 echo "${ECHO_T}$ac_cv_type_uint64_t" >&6
15354
15355     echo "$as_me:$LINENO: checking for uintptr_t" >&5
15356 echo $ECHO_N "checking for uintptr_t... $ECHO_C" >&6
15357 if test "${ac_cv_type_uintptr_t+set}" = set; then
15358   echo $ECHO_N "(cached) $ECHO_C" >&6
15359 else
15360   cat >conftest.$ac_ext <<_ACEOF
15361 /* confdefs.h.  */
15362 _ACEOF
15363 cat confdefs.h >>conftest.$ac_ext
15364 cat >>conftest.$ac_ext <<_ACEOF
15365 /* end confdefs.h.  */
15366 #include <sys/types.h>
15367 #include <$i>
15368
15369 int
15370 main ()
15371 {
15372 if ((uintptr_t *) 0)
15373   return 0;
15374 if (sizeof (uintptr_t))
15375   return 0;
15376   ;
15377   return 0;
15378 }
15379 _ACEOF
15380 rm -f conftest.$ac_objext
15381 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15382   (eval $ac_compile) 2>conftest.er1
15383   ac_status=$?
15384   grep -v '^ *+' conftest.er1 >conftest.err
15385   rm -f conftest.er1
15386   cat conftest.err >&5
15387   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15388   (exit $ac_status); } &&
15389          { ac_try='test -z "$ac_c_werror_flag"
15390                          || test ! -s conftest.err'
15391   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15392   (eval $ac_try) 2>&5
15393   ac_status=$?
15394   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15395   (exit $ac_status); }; } &&
15396          { ac_try='test -s conftest.$ac_objext'
15397   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15398   (eval $ac_try) 2>&5
15399   ac_status=$?
15400   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15401   (exit $ac_status); }; }; then
15402   ac_cv_type_uintptr_t=yes
15403 else
15404   echo "$as_me: failed program was:" >&5
15405 sed 's/^/| /' conftest.$ac_ext >&5
15406
15407 ac_cv_type_uintptr_t=no
15408 fi
15409 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15410 fi
15411 echo "$as_me:$LINENO: result: $ac_cv_type_uintptr_t" >&5
15412 echo "${ECHO_T}$ac_cv_type_uintptr_t" >&6
15413
15414     break
15415   done
15416 fi
15417 if test "$acx_cv_header_stdint" = stddef.h; then
15418   acx_cv_header_stdint_kind="(u_intXX_t style)"
15419   for i in sys/types.h $inttype_headers; do
15420     unset ac_cv_type_u_int32_t
15421     unset ac_cv_type_u_int64_t
15422     echo $ECHO_N "looking for u_intXX_t types in $i, $ECHO_C" >&6
15423     echo "$as_me:$LINENO: checking for u_int32_t" >&5
15424 echo $ECHO_N "checking for u_int32_t... $ECHO_C" >&6
15425 if test "${ac_cv_type_u_int32_t+set}" = set; then
15426   echo $ECHO_N "(cached) $ECHO_C" >&6
15427 else
15428   cat >conftest.$ac_ext <<_ACEOF
15429 /* confdefs.h.  */
15430 _ACEOF
15431 cat confdefs.h >>conftest.$ac_ext
15432 cat >>conftest.$ac_ext <<_ACEOF
15433 /* end confdefs.h.  */
15434 #include <sys/types.h>
15435 #include <$i>
15436
15437 int
15438 main ()
15439 {
15440 if ((u_int32_t *) 0)
15441   return 0;
15442 if (sizeof (u_int32_t))
15443   return 0;
15444   ;
15445   return 0;
15446 }
15447 _ACEOF
15448 rm -f conftest.$ac_objext
15449 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15450   (eval $ac_compile) 2>conftest.er1
15451   ac_status=$?
15452   grep -v '^ *+' conftest.er1 >conftest.err
15453   rm -f conftest.er1
15454   cat conftest.err >&5
15455   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15456   (exit $ac_status); } &&
15457          { ac_try='test -z "$ac_c_werror_flag"
15458                          || test ! -s conftest.err'
15459   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15460   (eval $ac_try) 2>&5
15461   ac_status=$?
15462   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15463   (exit $ac_status); }; } &&
15464          { ac_try='test -s conftest.$ac_objext'
15465   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15466   (eval $ac_try) 2>&5
15467   ac_status=$?
15468   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15469   (exit $ac_status); }; }; then
15470   ac_cv_type_u_int32_t=yes
15471 else
15472   echo "$as_me: failed program was:" >&5
15473 sed 's/^/| /' conftest.$ac_ext >&5
15474
15475 ac_cv_type_u_int32_t=no
15476 fi
15477 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15478 fi
15479 echo "$as_me:$LINENO: result: $ac_cv_type_u_int32_t" >&5
15480 echo "${ECHO_T}$ac_cv_type_u_int32_t" >&6
15481 if test $ac_cv_type_u_int32_t = yes; then
15482   acx_cv_header_stdint=$i
15483 else
15484   continue
15485 fi
15486
15487     echo "$as_me:$LINENO: checking for u_int64_t" >&5
15488 echo $ECHO_N "checking for u_int64_t... $ECHO_C" >&6
15489 if test "${ac_cv_type_u_int64_t+set}" = set; then
15490   echo $ECHO_N "(cached) $ECHO_C" >&6
15491 else
15492   cat >conftest.$ac_ext <<_ACEOF
15493 /* confdefs.h.  */
15494 _ACEOF
15495 cat confdefs.h >>conftest.$ac_ext
15496 cat >>conftest.$ac_ext <<_ACEOF
15497 /* end confdefs.h.  */
15498 #include <sys/types.h>
15499 #include <$i>
15500
15501 int
15502 main ()
15503 {
15504 if ((u_int64_t *) 0)
15505   return 0;
15506 if (sizeof (u_int64_t))
15507   return 0;
15508   ;
15509   return 0;
15510 }
15511 _ACEOF
15512 rm -f conftest.$ac_objext
15513 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15514   (eval $ac_compile) 2>conftest.er1
15515   ac_status=$?
15516   grep -v '^ *+' conftest.er1 >conftest.err
15517   rm -f conftest.er1
15518   cat conftest.err >&5
15519   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15520   (exit $ac_status); } &&
15521          { ac_try='test -z "$ac_c_werror_flag"
15522                          || test ! -s conftest.err'
15523   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15524   (eval $ac_try) 2>&5
15525   ac_status=$?
15526   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15527   (exit $ac_status); }; } &&
15528          { ac_try='test -s conftest.$ac_objext'
15529   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15530   (eval $ac_try) 2>&5
15531   ac_status=$?
15532   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15533   (exit $ac_status); }; }; then
15534   ac_cv_type_u_int64_t=yes
15535 else
15536   echo "$as_me: failed program was:" >&5
15537 sed 's/^/| /' conftest.$ac_ext >&5
15538
15539 ac_cv_type_u_int64_t=no
15540 fi
15541 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15542 fi
15543 echo "$as_me:$LINENO: result: $ac_cv_type_u_int64_t" >&5
15544 echo "${ECHO_T}$ac_cv_type_u_int64_t" >&6
15545
15546     break
15547   done
15548 fi
15549 if test "$acx_cv_header_stdint" = stddef.h; then
15550   acx_cv_header_stdint_kind="(using manual detection)"
15551 fi
15552
15553 test -z "$ac_cv_type_uintptr_t" && ac_cv_type_uintptr_t=no
15554 test -z "$ac_cv_type_uint64_t" && ac_cv_type_uint64_t=no
15555 test -z "$ac_cv_type_u_int64_t" && ac_cv_type_u_int64_t=no
15556 test -z "$ac_cv_type_int_least32_t" && ac_cv_type_int_least32_t=no
15557 test -z "$ac_cv_type_int_fast32_t" && ac_cv_type_int_fast32_t=no
15558
15559 # ----------------- Summarize what we found so far
15560
15561 echo "$as_me:$LINENO: checking what to include in gstdint.h" >&5
15562 echo $ECHO_N "checking what to include in gstdint.h... $ECHO_C" >&6
15563
15564 case `$as_basename gstdint.h ||
15565 $as_expr X/gstdint.h : '.*/\([^/][^/]*\)/*$' \| \
15566          Xgstdint.h : 'X\(//\)$' \| \
15567          Xgstdint.h : 'X\(/\)$' \| \
15568          .     : '\(.\)' 2>/dev/null ||
15569 echo X/gstdint.h |
15570     sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
15571           /^X\/\(\/\/\)$/{ s//\1/; q; }
15572           /^X\/\(\/\).*/{ s//\1/; q; }
15573           s/.*/./; q'` in
15574   stdint.h) { echo "$as_me:$LINENO: WARNING: are you sure you want it there?" >&5
15575 echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
15576   inttypes.h) { echo "$as_me:$LINENO: WARNING: are you sure you want it there?" >&5
15577 echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
15578   *) ;;
15579 esac
15580
15581 echo "$as_me:$LINENO: result: $acx_cv_header_stdint $acx_cv_header_stdint_kind" >&5
15582 echo "${ECHO_T}$acx_cv_header_stdint $acx_cv_header_stdint_kind" >&6
15583
15584 # ----------------- done included file, check C basic types --------
15585
15586 # Lacking an uintptr_t?  Test size of void *
15587 case "$acx_cv_header_stdint:$ac_cv_type_uintptr_t" in
15588   stddef.h:* | *:no) echo "$as_me:$LINENO: checking for void *" >&5
15589 echo $ECHO_N "checking for void *... $ECHO_C" >&6
15590 if test "${ac_cv_type_void_p+set}" = set; then
15591   echo $ECHO_N "(cached) $ECHO_C" >&6
15592 else
15593   cat >conftest.$ac_ext <<_ACEOF
15594 /* confdefs.h.  */
15595 _ACEOF
15596 cat confdefs.h >>conftest.$ac_ext
15597 cat >>conftest.$ac_ext <<_ACEOF
15598 /* end confdefs.h.  */
15599 $ac_includes_default
15600 int
15601 main ()
15602 {
15603 if ((void * *) 0)
15604   return 0;
15605 if (sizeof (void *))
15606   return 0;
15607   ;
15608   return 0;
15609 }
15610 _ACEOF
15611 rm -f conftest.$ac_objext
15612 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15613   (eval $ac_compile) 2>conftest.er1
15614   ac_status=$?
15615   grep -v '^ *+' conftest.er1 >conftest.err
15616   rm -f conftest.er1
15617   cat conftest.err >&5
15618   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15619   (exit $ac_status); } &&
15620          { ac_try='test -z "$ac_c_werror_flag"
15621                          || test ! -s conftest.err'
15622   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15623   (eval $ac_try) 2>&5
15624   ac_status=$?
15625   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15626   (exit $ac_status); }; } &&
15627          { ac_try='test -s conftest.$ac_objext'
15628   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15629   (eval $ac_try) 2>&5
15630   ac_status=$?
15631   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15632   (exit $ac_status); }; }; then
15633   ac_cv_type_void_p=yes
15634 else
15635   echo "$as_me: failed program was:" >&5
15636 sed 's/^/| /' conftest.$ac_ext >&5
15637
15638 ac_cv_type_void_p=no
15639 fi
15640 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15641 fi
15642 echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
15643 echo "${ECHO_T}$ac_cv_type_void_p" >&6
15644
15645 echo "$as_me:$LINENO: checking size of void *" >&5
15646 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
15647 if test "${ac_cv_sizeof_void_p+set}" = set; then
15648   echo $ECHO_N "(cached) $ECHO_C" >&6
15649 else
15650   if test "$ac_cv_type_void_p" = yes; then
15651   # The cast to unsigned long works around a bug in the HP C Compiler
15652   # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15653   # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15654   # This bug is HP SR number 8606223364.
15655   if test "$cross_compiling" = yes; then
15656   # Depending upon the size, compute the lo and hi bounds.
15657 cat >conftest.$ac_ext <<_ACEOF
15658 /* confdefs.h.  */
15659 _ACEOF
15660 cat confdefs.h >>conftest.$ac_ext
15661 cat >>conftest.$ac_ext <<_ACEOF
15662 /* end confdefs.h.  */
15663 $ac_includes_default
15664 int
15665 main ()
15666 {
15667 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)];
15668 test_array [0] = 0
15669
15670   ;
15671   return 0;
15672 }
15673 _ACEOF
15674 rm -f conftest.$ac_objext
15675 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15676   (eval $ac_compile) 2>conftest.er1
15677   ac_status=$?
15678   grep -v '^ *+' conftest.er1 >conftest.err
15679   rm -f conftest.er1
15680   cat conftest.err >&5
15681   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15682   (exit $ac_status); } &&
15683          { ac_try='test -z "$ac_c_werror_flag"
15684                          || test ! -s conftest.err'
15685   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15686   (eval $ac_try) 2>&5
15687   ac_status=$?
15688   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15689   (exit $ac_status); }; } &&
15690          { ac_try='test -s conftest.$ac_objext'
15691   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15692   (eval $ac_try) 2>&5
15693   ac_status=$?
15694   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15695   (exit $ac_status); }; }; then
15696   ac_lo=0 ac_mid=0
15697   while :; do
15698     cat >conftest.$ac_ext <<_ACEOF
15699 /* confdefs.h.  */
15700 _ACEOF
15701 cat confdefs.h >>conftest.$ac_ext
15702 cat >>conftest.$ac_ext <<_ACEOF
15703 /* end confdefs.h.  */
15704 $ac_includes_default
15705 int
15706 main ()
15707 {
15708 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
15709 test_array [0] = 0
15710
15711   ;
15712   return 0;
15713 }
15714 _ACEOF
15715 rm -f conftest.$ac_objext
15716 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15717   (eval $ac_compile) 2>conftest.er1
15718   ac_status=$?
15719   grep -v '^ *+' conftest.er1 >conftest.err
15720   rm -f conftest.er1
15721   cat conftest.err >&5
15722   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15723   (exit $ac_status); } &&
15724          { ac_try='test -z "$ac_c_werror_flag"
15725                          || test ! -s conftest.err'
15726   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15727   (eval $ac_try) 2>&5
15728   ac_status=$?
15729   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15730   (exit $ac_status); }; } &&
15731          { ac_try='test -s conftest.$ac_objext'
15732   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15733   (eval $ac_try) 2>&5
15734   ac_status=$?
15735   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15736   (exit $ac_status); }; }; then
15737   ac_hi=$ac_mid; break
15738 else
15739   echo "$as_me: failed program was:" >&5
15740 sed 's/^/| /' conftest.$ac_ext >&5
15741
15742 ac_lo=`expr $ac_mid + 1`
15743                     if test $ac_lo -le $ac_mid; then
15744                       ac_lo= ac_hi=
15745                       break
15746                     fi
15747                     ac_mid=`expr 2 '*' $ac_mid + 1`
15748 fi
15749 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15750   done
15751 else
15752   echo "$as_me: failed program was:" >&5
15753 sed 's/^/| /' conftest.$ac_ext >&5
15754
15755 cat >conftest.$ac_ext <<_ACEOF
15756 /* confdefs.h.  */
15757 _ACEOF
15758 cat confdefs.h >>conftest.$ac_ext
15759 cat >>conftest.$ac_ext <<_ACEOF
15760 /* end confdefs.h.  */
15761 $ac_includes_default
15762 int
15763 main ()
15764 {
15765 static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)];
15766 test_array [0] = 0
15767
15768   ;
15769   return 0;
15770 }
15771 _ACEOF
15772 rm -f conftest.$ac_objext
15773 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15774   (eval $ac_compile) 2>conftest.er1
15775   ac_status=$?
15776   grep -v '^ *+' conftest.er1 >conftest.err
15777   rm -f conftest.er1
15778   cat conftest.err >&5
15779   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15780   (exit $ac_status); } &&
15781          { ac_try='test -z "$ac_c_werror_flag"
15782                          || test ! -s conftest.err'
15783   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15784   (eval $ac_try) 2>&5
15785   ac_status=$?
15786   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15787   (exit $ac_status); }; } &&
15788          { ac_try='test -s conftest.$ac_objext'
15789   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15790   (eval $ac_try) 2>&5
15791   ac_status=$?
15792   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15793   (exit $ac_status); }; }; then
15794   ac_hi=-1 ac_mid=-1
15795   while :; do
15796     cat >conftest.$ac_ext <<_ACEOF
15797 /* confdefs.h.  */
15798 _ACEOF
15799 cat confdefs.h >>conftest.$ac_ext
15800 cat >>conftest.$ac_ext <<_ACEOF
15801 /* end confdefs.h.  */
15802 $ac_includes_default
15803 int
15804 main ()
15805 {
15806 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)];
15807 test_array [0] = 0
15808
15809   ;
15810   return 0;
15811 }
15812 _ACEOF
15813 rm -f conftest.$ac_objext
15814 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15815   (eval $ac_compile) 2>conftest.er1
15816   ac_status=$?
15817   grep -v '^ *+' conftest.er1 >conftest.err
15818   rm -f conftest.er1
15819   cat conftest.err >&5
15820   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15821   (exit $ac_status); } &&
15822          { ac_try='test -z "$ac_c_werror_flag"
15823                          || test ! -s conftest.err'
15824   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15825   (eval $ac_try) 2>&5
15826   ac_status=$?
15827   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15828   (exit $ac_status); }; } &&
15829          { ac_try='test -s conftest.$ac_objext'
15830   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15831   (eval $ac_try) 2>&5
15832   ac_status=$?
15833   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15834   (exit $ac_status); }; }; then
15835   ac_lo=$ac_mid; break
15836 else
15837   echo "$as_me: failed program was:" >&5
15838 sed 's/^/| /' conftest.$ac_ext >&5
15839
15840 ac_hi=`expr '(' $ac_mid ')' - 1`
15841                        if test $ac_mid -le $ac_hi; then
15842                          ac_lo= ac_hi=
15843                          break
15844                        fi
15845                        ac_mid=`expr 2 '*' $ac_mid`
15846 fi
15847 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15848   done
15849 else
15850   echo "$as_me: failed program was:" >&5
15851 sed 's/^/| /' conftest.$ac_ext >&5
15852
15853 ac_lo= ac_hi=
15854 fi
15855 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15856 fi
15857 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15858 # Binary search between lo and hi bounds.
15859 while test "x$ac_lo" != "x$ac_hi"; do
15860   ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15861   cat >conftest.$ac_ext <<_ACEOF
15862 /* confdefs.h.  */
15863 _ACEOF
15864 cat confdefs.h >>conftest.$ac_ext
15865 cat >>conftest.$ac_ext <<_ACEOF
15866 /* end confdefs.h.  */
15867 $ac_includes_default
15868 int
15869 main ()
15870 {
15871 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
15872 test_array [0] = 0
15873
15874   ;
15875   return 0;
15876 }
15877 _ACEOF
15878 rm -f conftest.$ac_objext
15879 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15880   (eval $ac_compile) 2>conftest.er1
15881   ac_status=$?
15882   grep -v '^ *+' conftest.er1 >conftest.err
15883   rm -f conftest.er1
15884   cat conftest.err >&5
15885   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15886   (exit $ac_status); } &&
15887          { ac_try='test -z "$ac_c_werror_flag"
15888                          || test ! -s conftest.err'
15889   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15890   (eval $ac_try) 2>&5
15891   ac_status=$?
15892   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15893   (exit $ac_status); }; } &&
15894          { ac_try='test -s conftest.$ac_objext'
15895   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15896   (eval $ac_try) 2>&5
15897   ac_status=$?
15898   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15899   (exit $ac_status); }; }; then
15900   ac_hi=$ac_mid
15901 else
15902   echo "$as_me: failed program was:" >&5
15903 sed 's/^/| /' conftest.$ac_ext >&5
15904
15905 ac_lo=`expr '(' $ac_mid ')' + 1`
15906 fi
15907 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15908 done
15909 case $ac_lo in
15910 ?*) ac_cv_sizeof_void_p=$ac_lo;;
15911 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
15912 See \`config.log' for more details." >&5
15913 echo "$as_me: error: cannot compute sizeof (void *), 77
15914 See \`config.log' for more details." >&2;}
15915    { (exit 1); exit 1; }; } ;;
15916 esac
15917 else
15918   if test "$cross_compiling" = yes; then
15919   { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
15920 See \`config.log' for more details." >&5
15921 echo "$as_me: error: cannot run test program while cross compiling
15922 See \`config.log' for more details." >&2;}
15923    { (exit 1); exit 1; }; }
15924 else
15925   cat >conftest.$ac_ext <<_ACEOF
15926 /* confdefs.h.  */
15927 _ACEOF
15928 cat confdefs.h >>conftest.$ac_ext
15929 cat >>conftest.$ac_ext <<_ACEOF
15930 /* end confdefs.h.  */
15931 $ac_includes_default
15932 long longval () { return (long) (sizeof (void *)); }
15933 unsigned long ulongval () { return (long) (sizeof (void *)); }
15934 #include <stdio.h>
15935 #include <stdlib.h>
15936 int
15937 main ()
15938 {
15939
15940   FILE *f = fopen ("conftest.val", "w");
15941   if (! f)
15942     exit (1);
15943   if (((long) (sizeof (void *))) < 0)
15944     {
15945       long i = longval ();
15946       if (i != ((long) (sizeof (void *))))
15947         exit (1);
15948       fprintf (f, "%ld\n", i);
15949     }
15950   else
15951     {
15952       unsigned long i = ulongval ();
15953       if (i != ((long) (sizeof (void *))))
15954         exit (1);
15955       fprintf (f, "%lu\n", i);
15956     }
15957   exit (ferror (f) || fclose (f) != 0);
15958
15959   ;
15960   return 0;
15961 }
15962 _ACEOF
15963 rm -f conftest$ac_exeext
15964 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15965   (eval $ac_link) 2>&5
15966   ac_status=$?
15967   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15968   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
15969   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15970   (eval $ac_try) 2>&5
15971   ac_status=$?
15972   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15973   (exit $ac_status); }; }; then
15974   ac_cv_sizeof_void_p=`cat conftest.val`
15975 else
15976   echo "$as_me: program exited with status $ac_status" >&5
15977 echo "$as_me: failed program was:" >&5
15978 sed 's/^/| /' conftest.$ac_ext >&5
15979
15980 ( exit $ac_status )
15981 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
15982 See \`config.log' for more details." >&5
15983 echo "$as_me: error: cannot compute sizeof (void *), 77
15984 See \`config.log' for more details." >&2;}
15985    { (exit 1); exit 1; }; }
15986 fi
15987 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
15988 fi
15989 fi
15990 rm -f conftest.val
15991 else
15992   ac_cv_sizeof_void_p=0
15993 fi
15994 fi
15995 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
15996 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
15997 cat >>confdefs.h <<_ACEOF
15998 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
15999 _ACEOF
16000
16001  ;;
16002 esac
16003
16004 # Lacking an uint64_t?  Test size of long
16005 case "$acx_cv_header_stdint:$ac_cv_type_uint64_t:$ac_cv_type_u_int64_t" in
16006   stddef.h:*:* | *:no:no) echo "$as_me:$LINENO: checking for long" >&5
16007 echo $ECHO_N "checking for long... $ECHO_C" >&6
16008 if test "${ac_cv_type_long+set}" = set; then
16009   echo $ECHO_N "(cached) $ECHO_C" >&6
16010 else
16011   cat >conftest.$ac_ext <<_ACEOF
16012 /* confdefs.h.  */
16013 _ACEOF
16014 cat confdefs.h >>conftest.$ac_ext
16015 cat >>conftest.$ac_ext <<_ACEOF
16016 /* end confdefs.h.  */
16017 $ac_includes_default
16018 int
16019 main ()
16020 {
16021 if ((long *) 0)
16022   return 0;
16023 if (sizeof (long))
16024   return 0;
16025   ;
16026   return 0;
16027 }
16028 _ACEOF
16029 rm -f conftest.$ac_objext
16030 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16031   (eval $ac_compile) 2>conftest.er1
16032   ac_status=$?
16033   grep -v '^ *+' conftest.er1 >conftest.err
16034   rm -f conftest.er1
16035   cat conftest.err >&5
16036   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16037   (exit $ac_status); } &&
16038          { ac_try='test -z "$ac_c_werror_flag"
16039                          || test ! -s conftest.err'
16040   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16041   (eval $ac_try) 2>&5
16042   ac_status=$?
16043   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16044   (exit $ac_status); }; } &&
16045          { ac_try='test -s conftest.$ac_objext'
16046   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16047   (eval $ac_try) 2>&5
16048   ac_status=$?
16049   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16050   (exit $ac_status); }; }; then
16051   ac_cv_type_long=yes
16052 else
16053   echo "$as_me: failed program was:" >&5
16054 sed 's/^/| /' conftest.$ac_ext >&5
16055
16056 ac_cv_type_long=no
16057 fi
16058 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16059 fi
16060 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
16061 echo "${ECHO_T}$ac_cv_type_long" >&6
16062
16063 echo "$as_me:$LINENO: checking size of long" >&5
16064 echo $ECHO_N "checking size of long... $ECHO_C" >&6
16065 if test "${ac_cv_sizeof_long+set}" = set; then
16066   echo $ECHO_N "(cached) $ECHO_C" >&6
16067 else
16068   if test "$ac_cv_type_long" = yes; then
16069   # The cast to unsigned long works around a bug in the HP C Compiler
16070   # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16071   # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16072   # This bug is HP SR number 8606223364.
16073   if test "$cross_compiling" = yes; then
16074   # Depending upon the size, compute the lo and hi bounds.
16075 cat >conftest.$ac_ext <<_ACEOF
16076 /* confdefs.h.  */
16077 _ACEOF
16078 cat confdefs.h >>conftest.$ac_ext
16079 cat >>conftest.$ac_ext <<_ACEOF
16080 /* end confdefs.h.  */
16081 $ac_includes_default
16082 int
16083 main ()
16084 {
16085 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
16086 test_array [0] = 0
16087
16088   ;
16089   return 0;
16090 }
16091 _ACEOF
16092 rm -f conftest.$ac_objext
16093 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16094   (eval $ac_compile) 2>conftest.er1
16095   ac_status=$?
16096   grep -v '^ *+' conftest.er1 >conftest.err
16097   rm -f conftest.er1
16098   cat conftest.err >&5
16099   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16100   (exit $ac_status); } &&
16101          { ac_try='test -z "$ac_c_werror_flag"
16102                          || test ! -s conftest.err'
16103   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16104   (eval $ac_try) 2>&5
16105   ac_status=$?
16106   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16107   (exit $ac_status); }; } &&
16108          { ac_try='test -s conftest.$ac_objext'
16109   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16110   (eval $ac_try) 2>&5
16111   ac_status=$?
16112   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16113   (exit $ac_status); }; }; then
16114   ac_lo=0 ac_mid=0
16115   while :; do
16116     cat >conftest.$ac_ext <<_ACEOF
16117 /* confdefs.h.  */
16118 _ACEOF
16119 cat confdefs.h >>conftest.$ac_ext
16120 cat >>conftest.$ac_ext <<_ACEOF
16121 /* end confdefs.h.  */
16122 $ac_includes_default
16123 int
16124 main ()
16125 {
16126 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
16127 test_array [0] = 0
16128
16129   ;
16130   return 0;
16131 }
16132 _ACEOF
16133 rm -f conftest.$ac_objext
16134 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16135   (eval $ac_compile) 2>conftest.er1
16136   ac_status=$?
16137   grep -v '^ *+' conftest.er1 >conftest.err
16138   rm -f conftest.er1
16139   cat conftest.err >&5
16140   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16141   (exit $ac_status); } &&
16142          { ac_try='test -z "$ac_c_werror_flag"
16143                          || test ! -s conftest.err'
16144   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16145   (eval $ac_try) 2>&5
16146   ac_status=$?
16147   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16148   (exit $ac_status); }; } &&
16149          { ac_try='test -s conftest.$ac_objext'
16150   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16151   (eval $ac_try) 2>&5
16152   ac_status=$?
16153   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16154   (exit $ac_status); }; }; then
16155   ac_hi=$ac_mid; break
16156 else
16157   echo "$as_me: failed program was:" >&5
16158 sed 's/^/| /' conftest.$ac_ext >&5
16159
16160 ac_lo=`expr $ac_mid + 1`
16161                     if test $ac_lo -le $ac_mid; then
16162                       ac_lo= ac_hi=
16163                       break
16164                     fi
16165                     ac_mid=`expr 2 '*' $ac_mid + 1`
16166 fi
16167 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16168   done
16169 else
16170   echo "$as_me: failed program was:" >&5
16171 sed 's/^/| /' conftest.$ac_ext >&5
16172
16173 cat >conftest.$ac_ext <<_ACEOF
16174 /* confdefs.h.  */
16175 _ACEOF
16176 cat confdefs.h >>conftest.$ac_ext
16177 cat >>conftest.$ac_ext <<_ACEOF
16178 /* end confdefs.h.  */
16179 $ac_includes_default
16180 int
16181 main ()
16182 {
16183 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
16184 test_array [0] = 0
16185
16186   ;
16187   return 0;
16188 }
16189 _ACEOF
16190 rm -f conftest.$ac_objext
16191 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16192   (eval $ac_compile) 2>conftest.er1
16193   ac_status=$?
16194   grep -v '^ *+' conftest.er1 >conftest.err
16195   rm -f conftest.er1
16196   cat conftest.err >&5
16197   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16198   (exit $ac_status); } &&
16199          { ac_try='test -z "$ac_c_werror_flag"
16200                          || test ! -s conftest.err'
16201   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16202   (eval $ac_try) 2>&5
16203   ac_status=$?
16204   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16205   (exit $ac_status); }; } &&
16206          { ac_try='test -s conftest.$ac_objext'
16207   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16208   (eval $ac_try) 2>&5
16209   ac_status=$?
16210   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16211   (exit $ac_status); }; }; then
16212   ac_hi=-1 ac_mid=-1
16213   while :; do
16214     cat >conftest.$ac_ext <<_ACEOF
16215 /* confdefs.h.  */
16216 _ACEOF
16217 cat confdefs.h >>conftest.$ac_ext
16218 cat >>conftest.$ac_ext <<_ACEOF
16219 /* end confdefs.h.  */
16220 $ac_includes_default
16221 int
16222 main ()
16223 {
16224 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
16225 test_array [0] = 0
16226
16227   ;
16228   return 0;
16229 }
16230 _ACEOF
16231 rm -f conftest.$ac_objext
16232 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16233   (eval $ac_compile) 2>conftest.er1
16234   ac_status=$?
16235   grep -v '^ *+' conftest.er1 >conftest.err
16236   rm -f conftest.er1
16237   cat conftest.err >&5
16238   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16239   (exit $ac_status); } &&
16240          { ac_try='test -z "$ac_c_werror_flag"
16241                          || test ! -s conftest.err'
16242   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16243   (eval $ac_try) 2>&5
16244   ac_status=$?
16245   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16246   (exit $ac_status); }; } &&
16247          { ac_try='test -s conftest.$ac_objext'
16248   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16249   (eval $ac_try) 2>&5
16250   ac_status=$?
16251   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16252   (exit $ac_status); }; }; then
16253   ac_lo=$ac_mid; break
16254 else
16255   echo "$as_me: failed program was:" >&5
16256 sed 's/^/| /' conftest.$ac_ext >&5
16257
16258 ac_hi=`expr '(' $ac_mid ')' - 1`
16259                        if test $ac_mid -le $ac_hi; then
16260                          ac_lo= ac_hi=
16261                          break
16262                        fi
16263                        ac_mid=`expr 2 '*' $ac_mid`
16264 fi
16265 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16266   done
16267 else
16268   echo "$as_me: failed program was:" >&5
16269 sed 's/^/| /' conftest.$ac_ext >&5
16270
16271 ac_lo= ac_hi=
16272 fi
16273 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16274 fi
16275 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16276 # Binary search between lo and hi bounds.
16277 while test "x$ac_lo" != "x$ac_hi"; do
16278   ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16279   cat >conftest.$ac_ext <<_ACEOF
16280 /* confdefs.h.  */
16281 _ACEOF
16282 cat confdefs.h >>conftest.$ac_ext
16283 cat >>conftest.$ac_ext <<_ACEOF
16284 /* end confdefs.h.  */
16285 $ac_includes_default
16286 int
16287 main ()
16288 {
16289 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
16290 test_array [0] = 0
16291
16292   ;
16293   return 0;
16294 }
16295 _ACEOF
16296 rm -f conftest.$ac_objext
16297 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16298   (eval $ac_compile) 2>conftest.er1
16299   ac_status=$?
16300   grep -v '^ *+' conftest.er1 >conftest.err
16301   rm -f conftest.er1
16302   cat conftest.err >&5
16303   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16304   (exit $ac_status); } &&
16305          { ac_try='test -z "$ac_c_werror_flag"
16306                          || test ! -s conftest.err'
16307   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16308   (eval $ac_try) 2>&5
16309   ac_status=$?
16310   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16311   (exit $ac_status); }; } &&
16312          { ac_try='test -s conftest.$ac_objext'
16313   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16314   (eval $ac_try) 2>&5
16315   ac_status=$?
16316   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16317   (exit $ac_status); }; }; then
16318   ac_hi=$ac_mid
16319 else
16320   echo "$as_me: failed program was:" >&5
16321 sed 's/^/| /' conftest.$ac_ext >&5
16322
16323 ac_lo=`expr '(' $ac_mid ')' + 1`
16324 fi
16325 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16326 done
16327 case $ac_lo in
16328 ?*) ac_cv_sizeof_long=$ac_lo;;
16329 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
16330 See \`config.log' for more details." >&5
16331 echo "$as_me: error: cannot compute sizeof (long), 77
16332 See \`config.log' for more details." >&2;}
16333    { (exit 1); exit 1; }; } ;;
16334 esac
16335 else
16336   if test "$cross_compiling" = yes; then
16337   { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
16338 See \`config.log' for more details." >&5
16339 echo "$as_me: error: cannot run test program while cross compiling
16340 See \`config.log' for more details." >&2;}
16341    { (exit 1); exit 1; }; }
16342 else
16343   cat >conftest.$ac_ext <<_ACEOF
16344 /* confdefs.h.  */
16345 _ACEOF
16346 cat confdefs.h >>conftest.$ac_ext
16347 cat >>conftest.$ac_ext <<_ACEOF
16348 /* end confdefs.h.  */
16349 $ac_includes_default
16350 long longval () { return (long) (sizeof (long)); }
16351 unsigned long ulongval () { return (long) (sizeof (long)); }
16352 #include <stdio.h>
16353 #include <stdlib.h>
16354 int
16355 main ()
16356 {
16357
16358   FILE *f = fopen ("conftest.val", "w");
16359   if (! f)
16360     exit (1);
16361   if (((long) (sizeof (long))) < 0)
16362     {
16363       long i = longval ();
16364       if (i != ((long) (sizeof (long))))
16365         exit (1);
16366       fprintf (f, "%ld\n", i);
16367     }
16368   else
16369     {
16370       unsigned long i = ulongval ();
16371       if (i != ((long) (sizeof (long))))
16372         exit (1);
16373       fprintf (f, "%lu\n", i);
16374     }
16375   exit (ferror (f) || fclose (f) != 0);
16376
16377   ;
16378   return 0;
16379 }
16380 _ACEOF
16381 rm -f conftest$ac_exeext
16382 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16383   (eval $ac_link) 2>&5
16384   ac_status=$?
16385   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16386   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16387   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16388   (eval $ac_try) 2>&5
16389   ac_status=$?
16390   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16391   (exit $ac_status); }; }; then
16392   ac_cv_sizeof_long=`cat conftest.val`
16393 else
16394   echo "$as_me: program exited with status $ac_status" >&5
16395 echo "$as_me: failed program was:" >&5
16396 sed 's/^/| /' conftest.$ac_ext >&5
16397
16398 ( exit $ac_status )
16399 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
16400 See \`config.log' for more details." >&5
16401 echo "$as_me: error: cannot compute sizeof (long), 77
16402 See \`config.log' for more details." >&2;}
16403    { (exit 1); exit 1; }; }
16404 fi
16405 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16406 fi
16407 fi
16408 rm -f conftest.val
16409 else
16410   ac_cv_sizeof_long=0
16411 fi
16412 fi
16413 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
16414 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
16415 cat >>confdefs.h <<_ACEOF
16416 #define SIZEOF_LONG $ac_cv_sizeof_long
16417 _ACEOF
16418
16419  ;;
16420 esac
16421
16422 if test $acx_cv_header_stdint = stddef.h; then
16423   # Lacking a good header?  Test size of everything and deduce all types.
16424   echo "$as_me:$LINENO: checking for int" >&5
16425 echo $ECHO_N "checking for int... $ECHO_C" >&6
16426 if test "${ac_cv_type_int+set}" = set; then
16427   echo $ECHO_N "(cached) $ECHO_C" >&6
16428 else
16429   cat >conftest.$ac_ext <<_ACEOF
16430 /* confdefs.h.  */
16431 _ACEOF
16432 cat confdefs.h >>conftest.$ac_ext
16433 cat >>conftest.$ac_ext <<_ACEOF
16434 /* end confdefs.h.  */
16435 $ac_includes_default
16436 int
16437 main ()
16438 {
16439 if ((int *) 0)
16440   return 0;
16441 if (sizeof (int))
16442   return 0;
16443   ;
16444   return 0;
16445 }
16446 _ACEOF
16447 rm -f conftest.$ac_objext
16448 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16449   (eval $ac_compile) 2>conftest.er1
16450   ac_status=$?
16451   grep -v '^ *+' conftest.er1 >conftest.err
16452   rm -f conftest.er1
16453   cat conftest.err >&5
16454   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16455   (exit $ac_status); } &&
16456          { ac_try='test -z "$ac_c_werror_flag"
16457                          || test ! -s conftest.err'
16458   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16459   (eval $ac_try) 2>&5
16460   ac_status=$?
16461   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16462   (exit $ac_status); }; } &&
16463          { ac_try='test -s conftest.$ac_objext'
16464   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16465   (eval $ac_try) 2>&5
16466   ac_status=$?
16467   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16468   (exit $ac_status); }; }; then
16469   ac_cv_type_int=yes
16470 else
16471   echo "$as_me: failed program was:" >&5
16472 sed 's/^/| /' conftest.$ac_ext >&5
16473
16474 ac_cv_type_int=no
16475 fi
16476 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16477 fi
16478 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
16479 echo "${ECHO_T}$ac_cv_type_int" >&6
16480
16481 echo "$as_me:$LINENO: checking size of int" >&5
16482 echo $ECHO_N "checking size of int... $ECHO_C" >&6
16483 if test "${ac_cv_sizeof_int+set}" = set; then
16484   echo $ECHO_N "(cached) $ECHO_C" >&6
16485 else
16486   if test "$ac_cv_type_int" = yes; then
16487   # The cast to unsigned long works around a bug in the HP C Compiler
16488   # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16489   # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16490   # This bug is HP SR number 8606223364.
16491   if test "$cross_compiling" = yes; then
16492   # Depending upon the size, compute the lo and hi bounds.
16493 cat >conftest.$ac_ext <<_ACEOF
16494 /* confdefs.h.  */
16495 _ACEOF
16496 cat confdefs.h >>conftest.$ac_ext
16497 cat >>conftest.$ac_ext <<_ACEOF
16498 /* end confdefs.h.  */
16499 $ac_includes_default
16500 int
16501 main ()
16502 {
16503 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
16504 test_array [0] = 0
16505
16506   ;
16507   return 0;
16508 }
16509 _ACEOF
16510 rm -f conftest.$ac_objext
16511 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16512   (eval $ac_compile) 2>conftest.er1
16513   ac_status=$?
16514   grep -v '^ *+' conftest.er1 >conftest.err
16515   rm -f conftest.er1
16516   cat conftest.err >&5
16517   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16518   (exit $ac_status); } &&
16519          { ac_try='test -z "$ac_c_werror_flag"
16520                          || test ! -s conftest.err'
16521   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16522   (eval $ac_try) 2>&5
16523   ac_status=$?
16524   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16525   (exit $ac_status); }; } &&
16526          { ac_try='test -s conftest.$ac_objext'
16527   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16528   (eval $ac_try) 2>&5
16529   ac_status=$?
16530   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16531   (exit $ac_status); }; }; then
16532   ac_lo=0 ac_mid=0
16533   while :; do
16534     cat >conftest.$ac_ext <<_ACEOF
16535 /* confdefs.h.  */
16536 _ACEOF
16537 cat confdefs.h >>conftest.$ac_ext
16538 cat >>conftest.$ac_ext <<_ACEOF
16539 /* end confdefs.h.  */
16540 $ac_includes_default
16541 int
16542 main ()
16543 {
16544 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
16545 test_array [0] = 0
16546
16547   ;
16548   return 0;
16549 }
16550 _ACEOF
16551 rm -f conftest.$ac_objext
16552 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16553   (eval $ac_compile) 2>conftest.er1
16554   ac_status=$?
16555   grep -v '^ *+' conftest.er1 >conftest.err
16556   rm -f conftest.er1
16557   cat conftest.err >&5
16558   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16559   (exit $ac_status); } &&
16560          { ac_try='test -z "$ac_c_werror_flag"
16561                          || test ! -s conftest.err'
16562   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16563   (eval $ac_try) 2>&5
16564   ac_status=$?
16565   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16566   (exit $ac_status); }; } &&
16567          { ac_try='test -s conftest.$ac_objext'
16568   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16569   (eval $ac_try) 2>&5
16570   ac_status=$?
16571   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16572   (exit $ac_status); }; }; then
16573   ac_hi=$ac_mid; break
16574 else
16575   echo "$as_me: failed program was:" >&5
16576 sed 's/^/| /' conftest.$ac_ext >&5
16577
16578 ac_lo=`expr $ac_mid + 1`
16579                     if test $ac_lo -le $ac_mid; then
16580                       ac_lo= ac_hi=
16581                       break
16582                     fi
16583                     ac_mid=`expr 2 '*' $ac_mid + 1`
16584 fi
16585 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16586   done
16587 else
16588   echo "$as_me: failed program was:" >&5
16589 sed 's/^/| /' conftest.$ac_ext >&5
16590
16591 cat >conftest.$ac_ext <<_ACEOF
16592 /* confdefs.h.  */
16593 _ACEOF
16594 cat confdefs.h >>conftest.$ac_ext
16595 cat >>conftest.$ac_ext <<_ACEOF
16596 /* end confdefs.h.  */
16597 $ac_includes_default
16598 int
16599 main ()
16600 {
16601 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
16602 test_array [0] = 0
16603
16604   ;
16605   return 0;
16606 }
16607 _ACEOF
16608 rm -f conftest.$ac_objext
16609 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16610   (eval $ac_compile) 2>conftest.er1
16611   ac_status=$?
16612   grep -v '^ *+' conftest.er1 >conftest.err
16613   rm -f conftest.er1
16614   cat conftest.err >&5
16615   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16616   (exit $ac_status); } &&
16617          { ac_try='test -z "$ac_c_werror_flag"
16618                          || test ! -s conftest.err'
16619   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16620   (eval $ac_try) 2>&5
16621   ac_status=$?
16622   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16623   (exit $ac_status); }; } &&
16624          { ac_try='test -s conftest.$ac_objext'
16625   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16626   (eval $ac_try) 2>&5
16627   ac_status=$?
16628   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16629   (exit $ac_status); }; }; then
16630   ac_hi=-1 ac_mid=-1
16631   while :; do
16632     cat >conftest.$ac_ext <<_ACEOF
16633 /* confdefs.h.  */
16634 _ACEOF
16635 cat confdefs.h >>conftest.$ac_ext
16636 cat >>conftest.$ac_ext <<_ACEOF
16637 /* end confdefs.h.  */
16638 $ac_includes_default
16639 int
16640 main ()
16641 {
16642 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
16643 test_array [0] = 0
16644
16645   ;
16646   return 0;
16647 }
16648 _ACEOF
16649 rm -f conftest.$ac_objext
16650 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16651   (eval $ac_compile) 2>conftest.er1
16652   ac_status=$?
16653   grep -v '^ *+' conftest.er1 >conftest.err
16654   rm -f conftest.er1
16655   cat conftest.err >&5
16656   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16657   (exit $ac_status); } &&
16658          { ac_try='test -z "$ac_c_werror_flag"
16659                          || test ! -s conftest.err'
16660   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16661   (eval $ac_try) 2>&5
16662   ac_status=$?
16663   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16664   (exit $ac_status); }; } &&
16665          { ac_try='test -s conftest.$ac_objext'
16666   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16667   (eval $ac_try) 2>&5
16668   ac_status=$?
16669   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16670   (exit $ac_status); }; }; then
16671   ac_lo=$ac_mid; break
16672 else
16673   echo "$as_me: failed program was:" >&5
16674 sed 's/^/| /' conftest.$ac_ext >&5
16675
16676 ac_hi=`expr '(' $ac_mid ')' - 1`
16677                        if test $ac_mid -le $ac_hi; then
16678                          ac_lo= ac_hi=
16679                          break
16680                        fi
16681                        ac_mid=`expr 2 '*' $ac_mid`
16682 fi
16683 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16684   done
16685 else
16686   echo "$as_me: failed program was:" >&5
16687 sed 's/^/| /' conftest.$ac_ext >&5
16688
16689 ac_lo= ac_hi=
16690 fi
16691 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16692 fi
16693 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16694 # Binary search between lo and hi bounds.
16695 while test "x$ac_lo" != "x$ac_hi"; do
16696   ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16697   cat >conftest.$ac_ext <<_ACEOF
16698 /* confdefs.h.  */
16699 _ACEOF
16700 cat confdefs.h >>conftest.$ac_ext
16701 cat >>conftest.$ac_ext <<_ACEOF
16702 /* end confdefs.h.  */
16703 $ac_includes_default
16704 int
16705 main ()
16706 {
16707 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
16708 test_array [0] = 0
16709
16710   ;
16711   return 0;
16712 }
16713 _ACEOF
16714 rm -f conftest.$ac_objext
16715 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16716   (eval $ac_compile) 2>conftest.er1
16717   ac_status=$?
16718   grep -v '^ *+' conftest.er1 >conftest.err
16719   rm -f conftest.er1
16720   cat conftest.err >&5
16721   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16722   (exit $ac_status); } &&
16723          { ac_try='test -z "$ac_c_werror_flag"
16724                          || test ! -s conftest.err'
16725   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16726   (eval $ac_try) 2>&5
16727   ac_status=$?
16728   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16729   (exit $ac_status); }; } &&
16730          { ac_try='test -s conftest.$ac_objext'
16731   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16732   (eval $ac_try) 2>&5
16733   ac_status=$?
16734   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16735   (exit $ac_status); }; }; then
16736   ac_hi=$ac_mid
16737 else
16738   echo "$as_me: failed program was:" >&5
16739 sed 's/^/| /' conftest.$ac_ext >&5
16740
16741 ac_lo=`expr '(' $ac_mid ')' + 1`
16742 fi
16743 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16744 done
16745 case $ac_lo in
16746 ?*) ac_cv_sizeof_int=$ac_lo;;
16747 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
16748 See \`config.log' for more details." >&5
16749 echo "$as_me: error: cannot compute sizeof (int), 77
16750 See \`config.log' for more details." >&2;}
16751    { (exit 1); exit 1; }; } ;;
16752 esac
16753 else
16754   if test "$cross_compiling" = yes; then
16755   { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
16756 See \`config.log' for more details." >&5
16757 echo "$as_me: error: cannot run test program while cross compiling
16758 See \`config.log' for more details." >&2;}
16759    { (exit 1); exit 1; }; }
16760 else
16761   cat >conftest.$ac_ext <<_ACEOF
16762 /* confdefs.h.  */
16763 _ACEOF
16764 cat confdefs.h >>conftest.$ac_ext
16765 cat >>conftest.$ac_ext <<_ACEOF
16766 /* end confdefs.h.  */
16767 $ac_includes_default
16768 long longval () { return (long) (sizeof (int)); }
16769 unsigned long ulongval () { return (long) (sizeof (int)); }
16770 #include <stdio.h>
16771 #include <stdlib.h>
16772 int
16773 main ()
16774 {
16775
16776   FILE *f = fopen ("conftest.val", "w");
16777   if (! f)
16778     exit (1);
16779   if (((long) (sizeof (int))) < 0)
16780     {
16781       long i = longval ();
16782       if (i != ((long) (sizeof (int))))
16783         exit (1);
16784       fprintf (f, "%ld\n", i);
16785     }
16786   else
16787     {
16788       unsigned long i = ulongval ();
16789       if (i != ((long) (sizeof (int))))
16790         exit (1);
16791       fprintf (f, "%lu\n", i);
16792     }
16793   exit (ferror (f) || fclose (f) != 0);
16794
16795   ;
16796   return 0;
16797 }
16798 _ACEOF
16799 rm -f conftest$ac_exeext
16800 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16801   (eval $ac_link) 2>&5
16802   ac_status=$?
16803   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16804   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16805   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16806   (eval $ac_try) 2>&5
16807   ac_status=$?
16808   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16809   (exit $ac_status); }; }; then
16810   ac_cv_sizeof_int=`cat conftest.val`
16811 else
16812   echo "$as_me: program exited with status $ac_status" >&5
16813 echo "$as_me: failed program was:" >&5
16814 sed 's/^/| /' conftest.$ac_ext >&5
16815
16816 ( exit $ac_status )
16817 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
16818 See \`config.log' for more details." >&5
16819 echo "$as_me: error: cannot compute sizeof (int), 77
16820 See \`config.log' for more details." >&2;}
16821    { (exit 1); exit 1; }; }
16822 fi
16823 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16824 fi
16825 fi
16826 rm -f conftest.val
16827 else
16828   ac_cv_sizeof_int=0
16829 fi
16830 fi
16831 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
16832 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
16833 cat >>confdefs.h <<_ACEOF
16834 #define SIZEOF_INT $ac_cv_sizeof_int
16835 _ACEOF
16836
16837
16838   echo "$as_me:$LINENO: checking for short" >&5
16839 echo $ECHO_N "checking for short... $ECHO_C" >&6
16840 if test "${ac_cv_type_short+set}" = set; then
16841   echo $ECHO_N "(cached) $ECHO_C" >&6
16842 else
16843   cat >conftest.$ac_ext <<_ACEOF
16844 /* confdefs.h.  */
16845 _ACEOF
16846 cat confdefs.h >>conftest.$ac_ext
16847 cat >>conftest.$ac_ext <<_ACEOF
16848 /* end confdefs.h.  */
16849 $ac_includes_default
16850 int
16851 main ()
16852 {
16853 if ((short *) 0)
16854   return 0;
16855 if (sizeof (short))
16856   return 0;
16857   ;
16858   return 0;
16859 }
16860 _ACEOF
16861 rm -f conftest.$ac_objext
16862 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16863   (eval $ac_compile) 2>conftest.er1
16864   ac_status=$?
16865   grep -v '^ *+' conftest.er1 >conftest.err
16866   rm -f conftest.er1
16867   cat conftest.err >&5
16868   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16869   (exit $ac_status); } &&
16870          { ac_try='test -z "$ac_c_werror_flag"
16871                          || test ! -s conftest.err'
16872   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16873   (eval $ac_try) 2>&5
16874   ac_status=$?
16875   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16876   (exit $ac_status); }; } &&
16877          { ac_try='test -s conftest.$ac_objext'
16878   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16879   (eval $ac_try) 2>&5
16880   ac_status=$?
16881   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16882   (exit $ac_status); }; }; then
16883   ac_cv_type_short=yes
16884 else
16885   echo "$as_me: failed program was:" >&5
16886 sed 's/^/| /' conftest.$ac_ext >&5
16887
16888 ac_cv_type_short=no
16889 fi
16890 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16891 fi
16892 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
16893 echo "${ECHO_T}$ac_cv_type_short" >&6
16894
16895 echo "$as_me:$LINENO: checking size of short" >&5
16896 echo $ECHO_N "checking size of short... $ECHO_C" >&6
16897 if test "${ac_cv_sizeof_short+set}" = set; then
16898   echo $ECHO_N "(cached) $ECHO_C" >&6
16899 else
16900   if test "$ac_cv_type_short" = yes; then
16901   # The cast to unsigned long works around a bug in the HP C Compiler
16902   # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16903   # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16904   # This bug is HP SR number 8606223364.
16905   if test "$cross_compiling" = yes; then
16906   # Depending upon the size, compute the lo and hi bounds.
16907 cat >conftest.$ac_ext <<_ACEOF
16908 /* confdefs.h.  */
16909 _ACEOF
16910 cat confdefs.h >>conftest.$ac_ext
16911 cat >>conftest.$ac_ext <<_ACEOF
16912 /* end confdefs.h.  */
16913 $ac_includes_default
16914 int
16915 main ()
16916 {
16917 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
16918 test_array [0] = 0
16919
16920   ;
16921   return 0;
16922 }
16923 _ACEOF
16924 rm -f conftest.$ac_objext
16925 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16926   (eval $ac_compile) 2>conftest.er1
16927   ac_status=$?
16928   grep -v '^ *+' conftest.er1 >conftest.err
16929   rm -f conftest.er1
16930   cat conftest.err >&5
16931   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16932   (exit $ac_status); } &&
16933          { ac_try='test -z "$ac_c_werror_flag"
16934                          || test ! -s conftest.err'
16935   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16936   (eval $ac_try) 2>&5
16937   ac_status=$?
16938   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16939   (exit $ac_status); }; } &&
16940          { ac_try='test -s conftest.$ac_objext'
16941   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16942   (eval $ac_try) 2>&5
16943   ac_status=$?
16944   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16945   (exit $ac_status); }; }; then
16946   ac_lo=0 ac_mid=0
16947   while :; do
16948     cat >conftest.$ac_ext <<_ACEOF
16949 /* confdefs.h.  */
16950 _ACEOF
16951 cat confdefs.h >>conftest.$ac_ext
16952 cat >>conftest.$ac_ext <<_ACEOF
16953 /* end confdefs.h.  */
16954 $ac_includes_default
16955 int
16956 main ()
16957 {
16958 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
16959 test_array [0] = 0
16960
16961   ;
16962   return 0;
16963 }
16964 _ACEOF
16965 rm -f conftest.$ac_objext
16966 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16967   (eval $ac_compile) 2>conftest.er1
16968   ac_status=$?
16969   grep -v '^ *+' conftest.er1 >conftest.err
16970   rm -f conftest.er1
16971   cat conftest.err >&5
16972   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16973   (exit $ac_status); } &&
16974          { ac_try='test -z "$ac_c_werror_flag"
16975                          || test ! -s conftest.err'
16976   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16977   (eval $ac_try) 2>&5
16978   ac_status=$?
16979   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16980   (exit $ac_status); }; } &&
16981          { ac_try='test -s conftest.$ac_objext'
16982   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16983   (eval $ac_try) 2>&5
16984   ac_status=$?
16985   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16986   (exit $ac_status); }; }; then
16987   ac_hi=$ac_mid; break
16988 else
16989   echo "$as_me: failed program was:" >&5
16990 sed 's/^/| /' conftest.$ac_ext >&5
16991
16992 ac_lo=`expr $ac_mid + 1`
16993                     if test $ac_lo -le $ac_mid; then
16994                       ac_lo= ac_hi=
16995                       break
16996                     fi
16997                     ac_mid=`expr 2 '*' $ac_mid + 1`
16998 fi
16999 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17000   done
17001 else
17002   echo "$as_me: failed program was:" >&5
17003 sed 's/^/| /' conftest.$ac_ext >&5
17004
17005 cat >conftest.$ac_ext <<_ACEOF
17006 /* confdefs.h.  */
17007 _ACEOF
17008 cat confdefs.h >>conftest.$ac_ext
17009 cat >>conftest.$ac_ext <<_ACEOF
17010 /* end confdefs.h.  */
17011 $ac_includes_default
17012 int
17013 main ()
17014 {
17015 static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
17016 test_array [0] = 0
17017
17018   ;
17019   return 0;
17020 }
17021 _ACEOF
17022 rm -f conftest.$ac_objext
17023 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17024   (eval $ac_compile) 2>conftest.er1
17025   ac_status=$?
17026   grep -v '^ *+' conftest.er1 >conftest.err
17027   rm -f conftest.er1
17028   cat conftest.err >&5
17029   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17030   (exit $ac_status); } &&
17031          { ac_try='test -z "$ac_c_werror_flag"
17032                          || test ! -s conftest.err'
17033   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17034   (eval $ac_try) 2>&5
17035   ac_status=$?
17036   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17037   (exit $ac_status); }; } &&
17038          { ac_try='test -s conftest.$ac_objext'
17039   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17040   (eval $ac_try) 2>&5
17041   ac_status=$?
17042   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17043   (exit $ac_status); }; }; then
17044   ac_hi=-1 ac_mid=-1
17045   while :; do
17046     cat >conftest.$ac_ext <<_ACEOF
17047 /* confdefs.h.  */
17048 _ACEOF
17049 cat confdefs.h >>conftest.$ac_ext
17050 cat >>conftest.$ac_ext <<_ACEOF
17051 /* end confdefs.h.  */
17052 $ac_includes_default
17053 int
17054 main ()
17055 {
17056 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
17057 test_array [0] = 0
17058
17059   ;
17060   return 0;
17061 }
17062 _ACEOF
17063 rm -f conftest.$ac_objext
17064 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17065   (eval $ac_compile) 2>conftest.er1
17066   ac_status=$?
17067   grep -v '^ *+' conftest.er1 >conftest.err
17068   rm -f conftest.er1
17069   cat conftest.err >&5
17070   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17071   (exit $ac_status); } &&
17072          { ac_try='test -z "$ac_c_werror_flag"
17073                          || test ! -s conftest.err'
17074   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17075   (eval $ac_try) 2>&5
17076   ac_status=$?
17077   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17078   (exit $ac_status); }; } &&
17079          { ac_try='test -s conftest.$ac_objext'
17080   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17081   (eval $ac_try) 2>&5
17082   ac_status=$?
17083   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17084   (exit $ac_status); }; }; then
17085   ac_lo=$ac_mid; break
17086 else
17087   echo "$as_me: failed program was:" >&5
17088 sed 's/^/| /' conftest.$ac_ext >&5
17089
17090 ac_hi=`expr '(' $ac_mid ')' - 1`
17091                        if test $ac_mid -le $ac_hi; then
17092                          ac_lo= ac_hi=
17093                          break
17094                        fi
17095                        ac_mid=`expr 2 '*' $ac_mid`
17096 fi
17097 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17098   done
17099 else
17100   echo "$as_me: failed program was:" >&5
17101 sed 's/^/| /' conftest.$ac_ext >&5
17102
17103 ac_lo= ac_hi=
17104 fi
17105 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17106 fi
17107 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17108 # Binary search between lo and hi bounds.
17109 while test "x$ac_lo" != "x$ac_hi"; do
17110   ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17111   cat >conftest.$ac_ext <<_ACEOF
17112 /* confdefs.h.  */
17113 _ACEOF
17114 cat confdefs.h >>conftest.$ac_ext
17115 cat >>conftest.$ac_ext <<_ACEOF
17116 /* end confdefs.h.  */
17117 $ac_includes_default
17118 int
17119 main ()
17120 {
17121 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
17122 test_array [0] = 0
17123
17124   ;
17125   return 0;
17126 }
17127 _ACEOF
17128 rm -f conftest.$ac_objext
17129 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17130   (eval $ac_compile) 2>conftest.er1
17131   ac_status=$?
17132   grep -v '^ *+' conftest.er1 >conftest.err
17133   rm -f conftest.er1
17134   cat conftest.err >&5
17135   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17136   (exit $ac_status); } &&
17137          { ac_try='test -z "$ac_c_werror_flag"
17138                          || test ! -s conftest.err'
17139   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17140   (eval $ac_try) 2>&5
17141   ac_status=$?
17142   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17143   (exit $ac_status); }; } &&
17144          { ac_try='test -s conftest.$ac_objext'
17145   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17146   (eval $ac_try) 2>&5
17147   ac_status=$?
17148   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17149   (exit $ac_status); }; }; then
17150   ac_hi=$ac_mid
17151 else
17152   echo "$as_me: failed program was:" >&5
17153 sed 's/^/| /' conftest.$ac_ext >&5
17154
17155 ac_lo=`expr '(' $ac_mid ')' + 1`
17156 fi
17157 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17158 done
17159 case $ac_lo in
17160 ?*) ac_cv_sizeof_short=$ac_lo;;
17161 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
17162 See \`config.log' for more details." >&5
17163 echo "$as_me: error: cannot compute sizeof (short), 77
17164 See \`config.log' for more details." >&2;}
17165    { (exit 1); exit 1; }; } ;;
17166 esac
17167 else
17168   if test "$cross_compiling" = yes; then
17169   { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
17170 See \`config.log' for more details." >&5
17171 echo "$as_me: error: cannot run test program while cross compiling
17172 See \`config.log' for more details." >&2;}
17173    { (exit 1); exit 1; }; }
17174 else
17175   cat >conftest.$ac_ext <<_ACEOF
17176 /* confdefs.h.  */
17177 _ACEOF
17178 cat confdefs.h >>conftest.$ac_ext
17179 cat >>conftest.$ac_ext <<_ACEOF
17180 /* end confdefs.h.  */
17181 $ac_includes_default
17182 long longval () { return (long) (sizeof (short)); }
17183 unsigned long ulongval () { return (long) (sizeof (short)); }
17184 #include <stdio.h>
17185 #include <stdlib.h>
17186 int
17187 main ()
17188 {
17189
17190   FILE *f = fopen ("conftest.val", "w");
17191   if (! f)
17192     exit (1);
17193   if (((long) (sizeof (short))) < 0)
17194     {
17195       long i = longval ();
17196       if (i != ((long) (sizeof (short))))
17197         exit (1);
17198       fprintf (f, "%ld\n", i);
17199     }
17200   else
17201     {
17202       unsigned long i = ulongval ();
17203       if (i != ((long) (sizeof (short))))
17204         exit (1);
17205       fprintf (f, "%lu\n", i);
17206     }
17207   exit (ferror (f) || fclose (f) != 0);
17208
17209   ;
17210   return 0;
17211 }
17212 _ACEOF
17213 rm -f conftest$ac_exeext
17214 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17215   (eval $ac_link) 2>&5
17216   ac_status=$?
17217   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17218   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
17219   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17220   (eval $ac_try) 2>&5
17221   ac_status=$?
17222   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17223   (exit $ac_status); }; }; then
17224   ac_cv_sizeof_short=`cat conftest.val`
17225 else
17226   echo "$as_me: program exited with status $ac_status" >&5
17227 echo "$as_me: failed program was:" >&5
17228 sed 's/^/| /' conftest.$ac_ext >&5
17229
17230 ( exit $ac_status )
17231 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
17232 See \`config.log' for more details." >&5
17233 echo "$as_me: error: cannot compute sizeof (short), 77
17234 See \`config.log' for more details." >&2;}
17235    { (exit 1); exit 1; }; }
17236 fi
17237 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
17238 fi
17239 fi
17240 rm -f conftest.val
17241 else
17242   ac_cv_sizeof_short=0
17243 fi
17244 fi
17245 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
17246 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
17247 cat >>confdefs.h <<_ACEOF
17248 #define SIZEOF_SHORT $ac_cv_sizeof_short
17249 _ACEOF
17250
17251
17252   echo "$as_me:$LINENO: checking for char" >&5
17253 echo $ECHO_N "checking for char... $ECHO_C" >&6
17254 if test "${ac_cv_type_char+set}" = set; then
17255   echo $ECHO_N "(cached) $ECHO_C" >&6
17256 else
17257   cat >conftest.$ac_ext <<_ACEOF
17258 /* confdefs.h.  */
17259 _ACEOF
17260 cat confdefs.h >>conftest.$ac_ext
17261 cat >>conftest.$ac_ext <<_ACEOF
17262 /* end confdefs.h.  */
17263 $ac_includes_default
17264 int
17265 main ()
17266 {
17267 if ((char *) 0)
17268   return 0;
17269 if (sizeof (char))
17270   return 0;
17271   ;
17272   return 0;
17273 }
17274 _ACEOF
17275 rm -f conftest.$ac_objext
17276 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17277   (eval $ac_compile) 2>conftest.er1
17278   ac_status=$?
17279   grep -v '^ *+' conftest.er1 >conftest.err
17280   rm -f conftest.er1
17281   cat conftest.err >&5
17282   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17283   (exit $ac_status); } &&
17284          { ac_try='test -z "$ac_c_werror_flag"
17285                          || test ! -s conftest.err'
17286   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17287   (eval $ac_try) 2>&5
17288   ac_status=$?
17289   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17290   (exit $ac_status); }; } &&
17291          { ac_try='test -s conftest.$ac_objext'
17292   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17293   (eval $ac_try) 2>&5
17294   ac_status=$?
17295   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17296   (exit $ac_status); }; }; then
17297   ac_cv_type_char=yes
17298 else
17299   echo "$as_me: failed program was:" >&5
17300 sed 's/^/| /' conftest.$ac_ext >&5
17301
17302 ac_cv_type_char=no
17303 fi
17304 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17305 fi
17306 echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
17307 echo "${ECHO_T}$ac_cv_type_char" >&6
17308
17309 echo "$as_me:$LINENO: checking size of char" >&5
17310 echo $ECHO_N "checking size of char... $ECHO_C" >&6
17311 if test "${ac_cv_sizeof_char+set}" = set; then
17312   echo $ECHO_N "(cached) $ECHO_C" >&6
17313 else
17314   if test "$ac_cv_type_char" = yes; then
17315   # The cast to unsigned long works around a bug in the HP C Compiler
17316   # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17317   # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17318   # This bug is HP SR number 8606223364.
17319   if test "$cross_compiling" = yes; then
17320   # Depending upon the size, compute the lo and hi bounds.
17321 cat >conftest.$ac_ext <<_ACEOF
17322 /* confdefs.h.  */
17323 _ACEOF
17324 cat confdefs.h >>conftest.$ac_ext
17325 cat >>conftest.$ac_ext <<_ACEOF
17326 /* end confdefs.h.  */
17327 $ac_includes_default
17328 int
17329 main ()
17330 {
17331 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
17332 test_array [0] = 0
17333
17334   ;
17335   return 0;
17336 }
17337 _ACEOF
17338 rm -f conftest.$ac_objext
17339 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17340   (eval $ac_compile) 2>conftest.er1
17341   ac_status=$?
17342   grep -v '^ *+' conftest.er1 >conftest.err
17343   rm -f conftest.er1
17344   cat conftest.err >&5
17345   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17346   (exit $ac_status); } &&
17347          { ac_try='test -z "$ac_c_werror_flag"
17348                          || test ! -s conftest.err'
17349   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17350   (eval $ac_try) 2>&5
17351   ac_status=$?
17352   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17353   (exit $ac_status); }; } &&
17354          { ac_try='test -s conftest.$ac_objext'
17355   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17356   (eval $ac_try) 2>&5
17357   ac_status=$?
17358   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17359   (exit $ac_status); }; }; then
17360   ac_lo=0 ac_mid=0
17361   while :; do
17362     cat >conftest.$ac_ext <<_ACEOF
17363 /* confdefs.h.  */
17364 _ACEOF
17365 cat confdefs.h >>conftest.$ac_ext
17366 cat >>conftest.$ac_ext <<_ACEOF
17367 /* end confdefs.h.  */
17368 $ac_includes_default
17369 int
17370 main ()
17371 {
17372 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
17373 test_array [0] = 0
17374
17375   ;
17376   return 0;
17377 }
17378 _ACEOF
17379 rm -f conftest.$ac_objext
17380 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17381   (eval $ac_compile) 2>conftest.er1
17382   ac_status=$?
17383   grep -v '^ *+' conftest.er1 >conftest.err
17384   rm -f conftest.er1
17385   cat conftest.err >&5
17386   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17387   (exit $ac_status); } &&
17388          { ac_try='test -z "$ac_c_werror_flag"
17389                          || test ! -s conftest.err'
17390   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17391   (eval $ac_try) 2>&5
17392   ac_status=$?
17393   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17394   (exit $ac_status); }; } &&
17395          { ac_try='test -s conftest.$ac_objext'
17396   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17397   (eval $ac_try) 2>&5
17398   ac_status=$?
17399   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17400   (exit $ac_status); }; }; then
17401   ac_hi=$ac_mid; break
17402 else
17403   echo "$as_me: failed program was:" >&5
17404 sed 's/^/| /' conftest.$ac_ext >&5
17405
17406 ac_lo=`expr $ac_mid + 1`
17407                     if test $ac_lo -le $ac_mid; then
17408                       ac_lo= ac_hi=
17409                       break
17410                     fi
17411                     ac_mid=`expr 2 '*' $ac_mid + 1`
17412 fi
17413 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17414   done
17415 else
17416   echo "$as_me: failed program was:" >&5
17417 sed 's/^/| /' conftest.$ac_ext >&5
17418
17419 cat >conftest.$ac_ext <<_ACEOF
17420 /* confdefs.h.  */
17421 _ACEOF
17422 cat confdefs.h >>conftest.$ac_ext
17423 cat >>conftest.$ac_ext <<_ACEOF
17424 /* end confdefs.h.  */
17425 $ac_includes_default
17426 int
17427 main ()
17428 {
17429 static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)];
17430 test_array [0] = 0
17431
17432   ;
17433   return 0;
17434 }
17435 _ACEOF
17436 rm -f conftest.$ac_objext
17437 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17438   (eval $ac_compile) 2>conftest.er1
17439   ac_status=$?
17440   grep -v '^ *+' conftest.er1 >conftest.err
17441   rm -f conftest.er1
17442   cat conftest.err >&5
17443   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17444   (exit $ac_status); } &&
17445          { ac_try='test -z "$ac_c_werror_flag"
17446                          || test ! -s conftest.err'
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); }; } &&
17452          { ac_try='test -s conftest.$ac_objext'
17453   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17454   (eval $ac_try) 2>&5
17455   ac_status=$?
17456   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17457   (exit $ac_status); }; }; then
17458   ac_hi=-1 ac_mid=-1
17459   while :; do
17460     cat >conftest.$ac_ext <<_ACEOF
17461 /* confdefs.h.  */
17462 _ACEOF
17463 cat confdefs.h >>conftest.$ac_ext
17464 cat >>conftest.$ac_ext <<_ACEOF
17465 /* end confdefs.h.  */
17466 $ac_includes_default
17467 int
17468 main ()
17469 {
17470 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
17471 test_array [0] = 0
17472
17473   ;
17474   return 0;
17475 }
17476 _ACEOF
17477 rm -f conftest.$ac_objext
17478 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17479   (eval $ac_compile) 2>conftest.er1
17480   ac_status=$?
17481   grep -v '^ *+' conftest.er1 >conftest.err
17482   rm -f conftest.er1
17483   cat conftest.err >&5
17484   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17485   (exit $ac_status); } &&
17486          { ac_try='test -z "$ac_c_werror_flag"
17487                          || test ! -s conftest.err'
17488   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17489   (eval $ac_try) 2>&5
17490   ac_status=$?
17491   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17492   (exit $ac_status); }; } &&
17493          { ac_try='test -s conftest.$ac_objext'
17494   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17495   (eval $ac_try) 2>&5
17496   ac_status=$?
17497   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17498   (exit $ac_status); }; }; then
17499   ac_lo=$ac_mid; break
17500 else
17501   echo "$as_me: failed program was:" >&5
17502 sed 's/^/| /' conftest.$ac_ext >&5
17503
17504 ac_hi=`expr '(' $ac_mid ')' - 1`
17505                        if test $ac_mid -le $ac_hi; then
17506                          ac_lo= ac_hi=
17507                          break
17508                        fi
17509                        ac_mid=`expr 2 '*' $ac_mid`
17510 fi
17511 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17512   done
17513 else
17514   echo "$as_me: failed program was:" >&5
17515 sed 's/^/| /' conftest.$ac_ext >&5
17516
17517 ac_lo= ac_hi=
17518 fi
17519 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17520 fi
17521 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17522 # Binary search between lo and hi bounds.
17523 while test "x$ac_lo" != "x$ac_hi"; do
17524   ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17525   cat >conftest.$ac_ext <<_ACEOF
17526 /* confdefs.h.  */
17527 _ACEOF
17528 cat confdefs.h >>conftest.$ac_ext
17529 cat >>conftest.$ac_ext <<_ACEOF
17530 /* end confdefs.h.  */
17531 $ac_includes_default
17532 int
17533 main ()
17534 {
17535 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
17536 test_array [0] = 0
17537
17538   ;
17539   return 0;
17540 }
17541 _ACEOF
17542 rm -f conftest.$ac_objext
17543 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17544   (eval $ac_compile) 2>conftest.er1
17545   ac_status=$?
17546   grep -v '^ *+' conftest.er1 >conftest.err
17547   rm -f conftest.er1
17548   cat conftest.err >&5
17549   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17550   (exit $ac_status); } &&
17551          { ac_try='test -z "$ac_c_werror_flag"
17552                          || test ! -s conftest.err'
17553   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17554   (eval $ac_try) 2>&5
17555   ac_status=$?
17556   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17557   (exit $ac_status); }; } &&
17558          { ac_try='test -s conftest.$ac_objext'
17559   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17560   (eval $ac_try) 2>&5
17561   ac_status=$?
17562   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17563   (exit $ac_status); }; }; then
17564   ac_hi=$ac_mid
17565 else
17566   echo "$as_me: failed program was:" >&5
17567 sed 's/^/| /' conftest.$ac_ext >&5
17568
17569 ac_lo=`expr '(' $ac_mid ')' + 1`
17570 fi
17571 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17572 done
17573 case $ac_lo in
17574 ?*) ac_cv_sizeof_char=$ac_lo;;
17575 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
17576 See \`config.log' for more details." >&5
17577 echo "$as_me: error: cannot compute sizeof (char), 77
17578 See \`config.log' for more details." >&2;}
17579    { (exit 1); exit 1; }; } ;;
17580 esac
17581 else
17582   if test "$cross_compiling" = yes; then
17583   { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
17584 See \`config.log' for more details." >&5
17585 echo "$as_me: error: cannot run test program while cross compiling
17586 See \`config.log' for more details." >&2;}
17587    { (exit 1); exit 1; }; }
17588 else
17589   cat >conftest.$ac_ext <<_ACEOF
17590 /* confdefs.h.  */
17591 _ACEOF
17592 cat confdefs.h >>conftest.$ac_ext
17593 cat >>conftest.$ac_ext <<_ACEOF
17594 /* end confdefs.h.  */
17595 $ac_includes_default
17596 long longval () { return (long) (sizeof (char)); }
17597 unsigned long ulongval () { return (long) (sizeof (char)); }
17598 #include <stdio.h>
17599 #include <stdlib.h>
17600 int
17601 main ()
17602 {
17603
17604   FILE *f = fopen ("conftest.val", "w");
17605   if (! f)
17606     exit (1);
17607   if (((long) (sizeof (char))) < 0)
17608     {
17609       long i = longval ();
17610       if (i != ((long) (sizeof (char))))
17611         exit (1);
17612       fprintf (f, "%ld\n", i);
17613     }
17614   else
17615     {
17616       unsigned long i = ulongval ();
17617       if (i != ((long) (sizeof (char))))
17618         exit (1);
17619       fprintf (f, "%lu\n", i);
17620     }
17621   exit (ferror (f) || fclose (f) != 0);
17622
17623   ;
17624   return 0;
17625 }
17626 _ACEOF
17627 rm -f conftest$ac_exeext
17628 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17629   (eval $ac_link) 2>&5
17630   ac_status=$?
17631   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17632   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
17633   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17634   (eval $ac_try) 2>&5
17635   ac_status=$?
17636   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17637   (exit $ac_status); }; }; then
17638   ac_cv_sizeof_char=`cat conftest.val`
17639 else
17640   echo "$as_me: program exited with status $ac_status" >&5
17641 echo "$as_me: failed program was:" >&5
17642 sed 's/^/| /' conftest.$ac_ext >&5
17643
17644 ( exit $ac_status )
17645 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
17646 See \`config.log' for more details." >&5
17647 echo "$as_me: error: cannot compute sizeof (char), 77
17648 See \`config.log' for more details." >&2;}
17649    { (exit 1); exit 1; }; }
17650 fi
17651 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
17652 fi
17653 fi
17654 rm -f conftest.val
17655 else
17656   ac_cv_sizeof_char=0
17657 fi
17658 fi
17659 echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
17660 echo "${ECHO_T}$ac_cv_sizeof_char" >&6
17661 cat >>confdefs.h <<_ACEOF
17662 #define SIZEOF_CHAR $ac_cv_sizeof_char
17663 _ACEOF
17664
17665
17666
17667   echo "$as_me:$LINENO: checking for type equivalent to int8_t" >&5
17668 echo $ECHO_N "checking for type equivalent to int8_t... $ECHO_C" >&6
17669   case "$ac_cv_sizeof_char" in
17670     1) acx_cv_type_int8_t=char ;;
17671     *) { { echo "$as_me:$LINENO: error: no 8-bit type" >&5
17672 echo "$as_me: error: no 8-bit type" >&2;}
17673    { (exit please report a bug); exit please report a bug; }; }
17674   esac
17675   echo "$as_me:$LINENO: result: $acx_cv_type_int8_t" >&5
17676 echo "${ECHO_T}$acx_cv_type_int8_t" >&6
17677
17678   echo "$as_me:$LINENO: checking for type equivalent to int16_t" >&5
17679 echo $ECHO_N "checking for type equivalent to int16_t... $ECHO_C" >&6
17680   case "$ac_cv_sizeof_int:$ac_cv_sizeof_short" in
17681     2:*) acx_cv_type_int16_t=int ;;
17682     *:2) acx_cv_type_int16_t=short ;;
17683     *) { { echo "$as_me:$LINENO: error: no 16-bit type" >&5
17684 echo "$as_me: error: no 16-bit type" >&2;}
17685    { (exit please report a bug); exit please report a bug; }; }
17686   esac
17687   echo "$as_me:$LINENO: result: $acx_cv_type_int16_t" >&5
17688 echo "${ECHO_T}$acx_cv_type_int16_t" >&6
17689
17690   echo "$as_me:$LINENO: checking for type equivalent to int32_t" >&5
17691 echo $ECHO_N "checking for type equivalent to int32_t... $ECHO_C" >&6
17692   case "$ac_cv_sizeof_int:$ac_cv_sizeof_long" in
17693     4:*) acx_cv_type_int32_t=int ;;
17694     *:4) acx_cv_type_int32_t=long ;;
17695     *) { { echo "$as_me:$LINENO: error: no 32-bit type" >&5
17696 echo "$as_me: error: no 32-bit type" >&2;}
17697    { (exit please report a bug); exit please report a bug; }; }
17698   esac
17699   echo "$as_me:$LINENO: result: $acx_cv_type_int32_t" >&5
17700 echo "${ECHO_T}$acx_cv_type_int32_t" >&6
17701 fi
17702
17703 # These tests are here to make the output prettier
17704
17705 if test "$ac_cv_type_uint64_t" != yes && test "$ac_cv_type_u_int64_t" != yes; then
17706   case "$ac_cv_sizeof_long" in
17707     8) acx_cv_type_int64_t=long ;;
17708   esac
17709   echo "$as_me:$LINENO: checking for type equivalent to int64_t" >&5
17710 echo $ECHO_N "checking for type equivalent to int64_t... $ECHO_C" >&6
17711   echo "$as_me:$LINENO: result: ${acx_cv_type_int64_t-'using preprocessor symbols'}" >&5
17712 echo "${ECHO_T}${acx_cv_type_int64_t-'using preprocessor symbols'}" >&6
17713 fi
17714
17715 # Now we can use the above types
17716
17717 if test "$ac_cv_type_uintptr_t" != yes; then
17718   echo "$as_me:$LINENO: checking for type equivalent to intptr_t" >&5
17719 echo $ECHO_N "checking for type equivalent to intptr_t... $ECHO_C" >&6
17720   case $ac_cv_sizeof_void_p in
17721     2) acx_cv_type_intptr_t=int16_t ;;
17722     4) acx_cv_type_intptr_t=int32_t ;;
17723     8) acx_cv_type_intptr_t=int64_t ;;
17724     *) { { echo "$as_me:$LINENO: error: no equivalent for intptr_t" >&5
17725 echo "$as_me: error: no equivalent for intptr_t" >&2;}
17726    { (exit please report a bug); exit please report a bug; }; }
17727   esac
17728   echo "$as_me:$LINENO: result: $acx_cv_type_intptr_t" >&5
17729 echo "${ECHO_T}$acx_cv_type_intptr_t" >&6
17730 fi
17731
17732 # ----------------- done all checks, emit header -------------
17733           ac_config_commands="$ac_config_commands gstdint.h"
17734
17735
17736
17737
17738 echo "$as_me:$LINENO: checking for struct stat.st_blksize" >&5
17739 echo $ECHO_N "checking for struct stat.st_blksize... $ECHO_C" >&6
17740 if test "${ac_cv_member_struct_stat_st_blksize+set}" = set; then
17741   echo $ECHO_N "(cached) $ECHO_C" >&6
17742 else
17743   cat >conftest.$ac_ext <<_ACEOF
17744 /* confdefs.h.  */
17745 _ACEOF
17746 cat confdefs.h >>conftest.$ac_ext
17747 cat >>conftest.$ac_ext <<_ACEOF
17748 /* end confdefs.h.  */
17749 $ac_includes_default
17750 int
17751 main ()
17752 {
17753 static struct stat ac_aggr;
17754 if (ac_aggr.st_blksize)
17755 return 0;
17756   ;
17757   return 0;
17758 }
17759 _ACEOF
17760 rm -f conftest.$ac_objext
17761 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17762   (eval $ac_compile) 2>conftest.er1
17763   ac_status=$?
17764   grep -v '^ *+' conftest.er1 >conftest.err
17765   rm -f conftest.er1
17766   cat conftest.err >&5
17767   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17768   (exit $ac_status); } &&
17769          { ac_try='test -z "$ac_c_werror_flag"
17770                          || test ! -s conftest.err'
17771   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17772   (eval $ac_try) 2>&5
17773   ac_status=$?
17774   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17775   (exit $ac_status); }; } &&
17776          { ac_try='test -s conftest.$ac_objext'
17777   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17778   (eval $ac_try) 2>&5
17779   ac_status=$?
17780   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17781   (exit $ac_status); }; }; then
17782   ac_cv_member_struct_stat_st_blksize=yes
17783 else
17784   echo "$as_me: failed program was:" >&5
17785 sed 's/^/| /' conftest.$ac_ext >&5
17786
17787 cat >conftest.$ac_ext <<_ACEOF
17788 /* confdefs.h.  */
17789 _ACEOF
17790 cat confdefs.h >>conftest.$ac_ext
17791 cat >>conftest.$ac_ext <<_ACEOF
17792 /* end confdefs.h.  */
17793 $ac_includes_default
17794 int
17795 main ()
17796 {
17797 static struct stat ac_aggr;
17798 if (sizeof ac_aggr.st_blksize)
17799 return 0;
17800   ;
17801   return 0;
17802 }
17803 _ACEOF
17804 rm -f conftest.$ac_objext
17805 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17806   (eval $ac_compile) 2>conftest.er1
17807   ac_status=$?
17808   grep -v '^ *+' conftest.er1 >conftest.err
17809   rm -f conftest.er1
17810   cat conftest.err >&5
17811   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17812   (exit $ac_status); } &&
17813          { ac_try='test -z "$ac_c_werror_flag"
17814                          || test ! -s conftest.err'
17815   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17816   (eval $ac_try) 2>&5
17817   ac_status=$?
17818   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17819   (exit $ac_status); }; } &&
17820          { ac_try='test -s conftest.$ac_objext'
17821   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17822   (eval $ac_try) 2>&5
17823   ac_status=$?
17824   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17825   (exit $ac_status); }; }; then
17826   ac_cv_member_struct_stat_st_blksize=yes
17827 else
17828   echo "$as_me: failed program was:" >&5
17829 sed 's/^/| /' conftest.$ac_ext >&5
17830
17831 ac_cv_member_struct_stat_st_blksize=no
17832 fi
17833 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17834 fi
17835 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17836 fi
17837 echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blksize" >&5
17838 echo "${ECHO_T}$ac_cv_member_struct_stat_st_blksize" >&6
17839 if test $ac_cv_member_struct_stat_st_blksize = yes; then
17840
17841 cat >>confdefs.h <<_ACEOF
17842 #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
17843 _ACEOF
17844
17845
17846 fi
17847
17848 echo "$as_me:$LINENO: checking for struct stat.st_blocks" >&5
17849 echo $ECHO_N "checking for struct stat.st_blocks... $ECHO_C" >&6
17850 if test "${ac_cv_member_struct_stat_st_blocks+set}" = set; then
17851   echo $ECHO_N "(cached) $ECHO_C" >&6
17852 else
17853   cat >conftest.$ac_ext <<_ACEOF
17854 /* confdefs.h.  */
17855 _ACEOF
17856 cat confdefs.h >>conftest.$ac_ext
17857 cat >>conftest.$ac_ext <<_ACEOF
17858 /* end confdefs.h.  */
17859 $ac_includes_default
17860 int
17861 main ()
17862 {
17863 static struct stat ac_aggr;
17864 if (ac_aggr.st_blocks)
17865 return 0;
17866   ;
17867   return 0;
17868 }
17869 _ACEOF
17870 rm -f conftest.$ac_objext
17871 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17872   (eval $ac_compile) 2>conftest.er1
17873   ac_status=$?
17874   grep -v '^ *+' conftest.er1 >conftest.err
17875   rm -f conftest.er1
17876   cat conftest.err >&5
17877   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17878   (exit $ac_status); } &&
17879          { ac_try='test -z "$ac_c_werror_flag"
17880                          || test ! -s conftest.err'
17881   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17882   (eval $ac_try) 2>&5
17883   ac_status=$?
17884   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17885   (exit $ac_status); }; } &&
17886          { ac_try='test -s conftest.$ac_objext'
17887   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17888   (eval $ac_try) 2>&5
17889   ac_status=$?
17890   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17891   (exit $ac_status); }; }; then
17892   ac_cv_member_struct_stat_st_blocks=yes
17893 else
17894   echo "$as_me: failed program was:" >&5
17895 sed 's/^/| /' conftest.$ac_ext >&5
17896
17897 cat >conftest.$ac_ext <<_ACEOF
17898 /* confdefs.h.  */
17899 _ACEOF
17900 cat confdefs.h >>conftest.$ac_ext
17901 cat >>conftest.$ac_ext <<_ACEOF
17902 /* end confdefs.h.  */
17903 $ac_includes_default
17904 int
17905 main ()
17906 {
17907 static struct stat ac_aggr;
17908 if (sizeof ac_aggr.st_blocks)
17909 return 0;
17910   ;
17911   return 0;
17912 }
17913 _ACEOF
17914 rm -f conftest.$ac_objext
17915 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17916   (eval $ac_compile) 2>conftest.er1
17917   ac_status=$?
17918   grep -v '^ *+' conftest.er1 >conftest.err
17919   rm -f conftest.er1
17920   cat conftest.err >&5
17921   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17922   (exit $ac_status); } &&
17923          { ac_try='test -z "$ac_c_werror_flag"
17924                          || test ! -s conftest.err'
17925   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17926   (eval $ac_try) 2>&5
17927   ac_status=$?
17928   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17929   (exit $ac_status); }; } &&
17930          { ac_try='test -s conftest.$ac_objext'
17931   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17932   (eval $ac_try) 2>&5
17933   ac_status=$?
17934   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17935   (exit $ac_status); }; }; then
17936   ac_cv_member_struct_stat_st_blocks=yes
17937 else
17938   echo "$as_me: failed program was:" >&5
17939 sed 's/^/| /' conftest.$ac_ext >&5
17940
17941 ac_cv_member_struct_stat_st_blocks=no
17942 fi
17943 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17944 fi
17945 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17946 fi
17947 echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blocks" >&5
17948 echo "${ECHO_T}$ac_cv_member_struct_stat_st_blocks" >&6
17949 if test $ac_cv_member_struct_stat_st_blocks = yes; then
17950
17951 cat >>confdefs.h <<_ACEOF
17952 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
17953 _ACEOF
17954
17955
17956 fi
17957
17958 echo "$as_me:$LINENO: checking for struct stat.st_rdev" >&5
17959 echo $ECHO_N "checking for struct stat.st_rdev... $ECHO_C" >&6
17960 if test "${ac_cv_member_struct_stat_st_rdev+set}" = set; then
17961   echo $ECHO_N "(cached) $ECHO_C" >&6
17962 else
17963   cat >conftest.$ac_ext <<_ACEOF
17964 /* confdefs.h.  */
17965 _ACEOF
17966 cat confdefs.h >>conftest.$ac_ext
17967 cat >>conftest.$ac_ext <<_ACEOF
17968 /* end confdefs.h.  */
17969 $ac_includes_default
17970 int
17971 main ()
17972 {
17973 static struct stat ac_aggr;
17974 if (ac_aggr.st_rdev)
17975 return 0;
17976   ;
17977   return 0;
17978 }
17979 _ACEOF
17980 rm -f conftest.$ac_objext
17981 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17982   (eval $ac_compile) 2>conftest.er1
17983   ac_status=$?
17984   grep -v '^ *+' conftest.er1 >conftest.err
17985   rm -f conftest.er1
17986   cat conftest.err >&5
17987   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17988   (exit $ac_status); } &&
17989          { ac_try='test -z "$ac_c_werror_flag"
17990                          || test ! -s conftest.err'
17991   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17992   (eval $ac_try) 2>&5
17993   ac_status=$?
17994   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17995   (exit $ac_status); }; } &&
17996          { ac_try='test -s conftest.$ac_objext'
17997   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17998   (eval $ac_try) 2>&5
17999   ac_status=$?
18000   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18001   (exit $ac_status); }; }; then
18002   ac_cv_member_struct_stat_st_rdev=yes
18003 else
18004   echo "$as_me: failed program was:" >&5
18005 sed 's/^/| /' conftest.$ac_ext >&5
18006
18007 cat >conftest.$ac_ext <<_ACEOF
18008 /* confdefs.h.  */
18009 _ACEOF
18010 cat confdefs.h >>conftest.$ac_ext
18011 cat >>conftest.$ac_ext <<_ACEOF
18012 /* end confdefs.h.  */
18013 $ac_includes_default
18014 int
18015 main ()
18016 {
18017 static struct stat ac_aggr;
18018 if (sizeof ac_aggr.st_rdev)
18019 return 0;
18020   ;
18021   return 0;
18022 }
18023 _ACEOF
18024 rm -f conftest.$ac_objext
18025 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18026   (eval $ac_compile) 2>conftest.er1
18027   ac_status=$?
18028   grep -v '^ *+' conftest.er1 >conftest.err
18029   rm -f conftest.er1
18030   cat conftest.err >&5
18031   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18032   (exit $ac_status); } &&
18033          { ac_try='test -z "$ac_c_werror_flag"
18034                          || test ! -s conftest.err'
18035   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18036   (eval $ac_try) 2>&5
18037   ac_status=$?
18038   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18039   (exit $ac_status); }; } &&
18040          { ac_try='test -s conftest.$ac_objext'
18041   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18042   (eval $ac_try) 2>&5
18043   ac_status=$?
18044   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18045   (exit $ac_status); }; }; then
18046   ac_cv_member_struct_stat_st_rdev=yes
18047 else
18048   echo "$as_me: failed program was:" >&5
18049 sed 's/^/| /' conftest.$ac_ext >&5
18050
18051 ac_cv_member_struct_stat_st_rdev=no
18052 fi
18053 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18054 fi
18055 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18056 fi
18057 echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_rdev" >&5
18058 echo "${ECHO_T}$ac_cv_member_struct_stat_st_rdev" >&6
18059 if test $ac_cv_member_struct_stat_st_rdev = yes; then
18060
18061 cat >>confdefs.h <<_ACEOF
18062 #define HAVE_STRUCT_STAT_ST_RDEV 1
18063 _ACEOF
18064
18065
18066 fi
18067
18068
18069 # Check for library functions.
18070
18071
18072
18073
18074
18075
18076
18077
18078 for ac_func in getrusage times mkstemp strtof strtold snprintf ftruncate chsize
18079 do
18080 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18081 echo "$as_me:$LINENO: checking for $ac_func" >&5
18082 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18083 if eval "test \"\${$as_ac_var+set}\" = set"; then
18084   echo $ECHO_N "(cached) $ECHO_C" >&6
18085 else
18086   if test x$gcc_no_link = xyes; then
18087   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18088 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18089    { (exit 1); exit 1; }; }
18090 fi
18091 cat >conftest.$ac_ext <<_ACEOF
18092 /* confdefs.h.  */
18093 _ACEOF
18094 cat confdefs.h >>conftest.$ac_ext
18095 cat >>conftest.$ac_ext <<_ACEOF
18096 /* end confdefs.h.  */
18097 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18098    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
18099 #define $ac_func innocuous_$ac_func
18100
18101 /* System header to define __stub macros and hopefully few prototypes,
18102     which can conflict with char $ac_func (); below.
18103     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18104     <limits.h> exists even on freestanding compilers.  */
18105
18106 #ifdef __STDC__
18107 # include <limits.h>
18108 #else
18109 # include <assert.h>
18110 #endif
18111
18112 #undef $ac_func
18113
18114 /* Override any gcc2 internal prototype to avoid an error.  */
18115 #ifdef __cplusplus
18116 extern "C"
18117 {
18118 #endif
18119 /* We use char because int might match the return type of a gcc2
18120    builtin and then its argument prototype would still apply.  */
18121 char $ac_func ();
18122 /* The GNU C library defines this for functions which it implements
18123     to always fail with ENOSYS.  Some functions are actually named
18124     something starting with __ and the normal name is an alias.  */
18125 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18126 choke me
18127 #else
18128 char (*f) () = $ac_func;
18129 #endif
18130 #ifdef __cplusplus
18131 }
18132 #endif
18133
18134 int
18135 main ()
18136 {
18137 return f != $ac_func;
18138   ;
18139   return 0;
18140 }
18141 _ACEOF
18142 rm -f conftest.$ac_objext conftest$ac_exeext
18143 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18144   (eval $ac_link) 2>conftest.er1
18145   ac_status=$?
18146   grep -v '^ *+' conftest.er1 >conftest.err
18147   rm -f conftest.er1
18148   cat conftest.err >&5
18149   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18150   (exit $ac_status); } &&
18151          { ac_try='test -z "$ac_c_werror_flag"
18152                          || test ! -s conftest.err'
18153   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18154   (eval $ac_try) 2>&5
18155   ac_status=$?
18156   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18157   (exit $ac_status); }; } &&
18158          { ac_try='test -s conftest$ac_exeext'
18159   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18160   (eval $ac_try) 2>&5
18161   ac_status=$?
18162   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18163   (exit $ac_status); }; }; then
18164   eval "$as_ac_var=yes"
18165 else
18166   echo "$as_me: failed program was:" >&5
18167 sed 's/^/| /' conftest.$ac_ext >&5
18168
18169 eval "$as_ac_var=no"
18170 fi
18171 rm -f conftest.err conftest.$ac_objext \
18172       conftest$ac_exeext conftest.$ac_ext
18173 fi
18174 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18175 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18176 if test `eval echo '${'$as_ac_var'}'` = yes; then
18177   cat >>confdefs.h <<_ACEOF
18178 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18179 _ACEOF
18180
18181 fi
18182 done
18183
18184
18185
18186
18187
18188
18189
18190
18191
18192 for ac_func in chdir strerror getlogin gethostname kill link symlink perror
18193 do
18194 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18195 echo "$as_me:$LINENO: checking for $ac_func" >&5
18196 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18197 if eval "test \"\${$as_ac_var+set}\" = set"; then
18198   echo $ECHO_N "(cached) $ECHO_C" >&6
18199 else
18200   if test x$gcc_no_link = xyes; then
18201   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18202 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18203    { (exit 1); exit 1; }; }
18204 fi
18205 cat >conftest.$ac_ext <<_ACEOF
18206 /* confdefs.h.  */
18207 _ACEOF
18208 cat confdefs.h >>conftest.$ac_ext
18209 cat >>conftest.$ac_ext <<_ACEOF
18210 /* end confdefs.h.  */
18211 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18212    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
18213 #define $ac_func innocuous_$ac_func
18214
18215 /* System header to define __stub macros and hopefully few prototypes,
18216     which can conflict with char $ac_func (); below.
18217     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18218     <limits.h> exists even on freestanding compilers.  */
18219
18220 #ifdef __STDC__
18221 # include <limits.h>
18222 #else
18223 # include <assert.h>
18224 #endif
18225
18226 #undef $ac_func
18227
18228 /* Override any gcc2 internal prototype to avoid an error.  */
18229 #ifdef __cplusplus
18230 extern "C"
18231 {
18232 #endif
18233 /* We use char because int might match the return type of a gcc2
18234    builtin and then its argument prototype would still apply.  */
18235 char $ac_func ();
18236 /* The GNU C library defines this for functions which it implements
18237     to always fail with ENOSYS.  Some functions are actually named
18238     something starting with __ and the normal name is an alias.  */
18239 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18240 choke me
18241 #else
18242 char (*f) () = $ac_func;
18243 #endif
18244 #ifdef __cplusplus
18245 }
18246 #endif
18247
18248 int
18249 main ()
18250 {
18251 return f != $ac_func;
18252   ;
18253   return 0;
18254 }
18255 _ACEOF
18256 rm -f conftest.$ac_objext conftest$ac_exeext
18257 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18258   (eval $ac_link) 2>conftest.er1
18259   ac_status=$?
18260   grep -v '^ *+' conftest.er1 >conftest.err
18261   rm -f conftest.er1
18262   cat conftest.err >&5
18263   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18264   (exit $ac_status); } &&
18265          { ac_try='test -z "$ac_c_werror_flag"
18266                          || test ! -s conftest.err'
18267   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18268   (eval $ac_try) 2>&5
18269   ac_status=$?
18270   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18271   (exit $ac_status); }; } &&
18272          { ac_try='test -s conftest$ac_exeext'
18273   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18274   (eval $ac_try) 2>&5
18275   ac_status=$?
18276   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18277   (exit $ac_status); }; }; then
18278   eval "$as_ac_var=yes"
18279 else
18280   echo "$as_me: failed program was:" >&5
18281 sed 's/^/| /' conftest.$ac_ext >&5
18282
18283 eval "$as_ac_var=no"
18284 fi
18285 rm -f conftest.err conftest.$ac_objext \
18286       conftest$ac_exeext conftest.$ac_ext
18287 fi
18288 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18289 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18290 if test `eval echo '${'$as_ac_var'}'` = yes; then
18291   cat >>confdefs.h <<_ACEOF
18292 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18293 _ACEOF
18294
18295 fi
18296 done
18297
18298
18299
18300
18301
18302
18303
18304
18305
18306
18307
18308 for ac_func in sleep time ttyname signal alarm ctime clock access fork execl
18309 do
18310 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18311 echo "$as_me:$LINENO: checking for $ac_func" >&5
18312 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18313 if eval "test \"\${$as_ac_var+set}\" = set"; then
18314   echo $ECHO_N "(cached) $ECHO_C" >&6
18315 else
18316   if test x$gcc_no_link = xyes; then
18317   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18318 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18319    { (exit 1); exit 1; }; }
18320 fi
18321 cat >conftest.$ac_ext <<_ACEOF
18322 /* confdefs.h.  */
18323 _ACEOF
18324 cat confdefs.h >>conftest.$ac_ext
18325 cat >>conftest.$ac_ext <<_ACEOF
18326 /* end confdefs.h.  */
18327 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18328    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
18329 #define $ac_func innocuous_$ac_func
18330
18331 /* System header to define __stub macros and hopefully few prototypes,
18332     which can conflict with char $ac_func (); below.
18333     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18334     <limits.h> exists even on freestanding compilers.  */
18335
18336 #ifdef __STDC__
18337 # include <limits.h>
18338 #else
18339 # include <assert.h>
18340 #endif
18341
18342 #undef $ac_func
18343
18344 /* Override any gcc2 internal prototype to avoid an error.  */
18345 #ifdef __cplusplus
18346 extern "C"
18347 {
18348 #endif
18349 /* We use char because int might match the return type of a gcc2
18350    builtin and then its argument prototype would still apply.  */
18351 char $ac_func ();
18352 /* The GNU C library defines this for functions which it implements
18353     to always fail with ENOSYS.  Some functions are actually named
18354     something starting with __ and the normal name is an alias.  */
18355 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18356 choke me
18357 #else
18358 char (*f) () = $ac_func;
18359 #endif
18360 #ifdef __cplusplus
18361 }
18362 #endif
18363
18364 int
18365 main ()
18366 {
18367 return f != $ac_func;
18368   ;
18369   return 0;
18370 }
18371 _ACEOF
18372 rm -f conftest.$ac_objext conftest$ac_exeext
18373 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18374   (eval $ac_link) 2>conftest.er1
18375   ac_status=$?
18376   grep -v '^ *+' conftest.er1 >conftest.err
18377   rm -f conftest.er1
18378   cat conftest.err >&5
18379   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18380   (exit $ac_status); } &&
18381          { ac_try='test -z "$ac_c_werror_flag"
18382                          || test ! -s conftest.err'
18383   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18384   (eval $ac_try) 2>&5
18385   ac_status=$?
18386   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18387   (exit $ac_status); }; } &&
18388          { ac_try='test -s conftest$ac_exeext'
18389   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18390   (eval $ac_try) 2>&5
18391   ac_status=$?
18392   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18393   (exit $ac_status); }; }; then
18394   eval "$as_ac_var=yes"
18395 else
18396   echo "$as_me: failed program was:" >&5
18397 sed 's/^/| /' conftest.$ac_ext >&5
18398
18399 eval "$as_ac_var=no"
18400 fi
18401 rm -f conftest.err conftest.$ac_objext \
18402       conftest$ac_exeext conftest.$ac_ext
18403 fi
18404 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18405 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18406 if test `eval echo '${'$as_ac_var'}'` = yes; then
18407   cat >>confdefs.h <<_ACEOF
18408 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18409 _ACEOF
18410
18411 fi
18412 done
18413
18414
18415
18416
18417
18418
18419
18420
18421
18422
18423 for ac_func in wait setmode execvp pipe dup2 close fdopen strcasestr getrlimit
18424 do
18425 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18426 echo "$as_me:$LINENO: checking for $ac_func" >&5
18427 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18428 if eval "test \"\${$as_ac_var+set}\" = set"; then
18429   echo $ECHO_N "(cached) $ECHO_C" >&6
18430 else
18431   if test x$gcc_no_link = xyes; then
18432   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18433 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18434    { (exit 1); exit 1; }; }
18435 fi
18436 cat >conftest.$ac_ext <<_ACEOF
18437 /* confdefs.h.  */
18438 _ACEOF
18439 cat confdefs.h >>conftest.$ac_ext
18440 cat >>conftest.$ac_ext <<_ACEOF
18441 /* end confdefs.h.  */
18442 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18443    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
18444 #define $ac_func innocuous_$ac_func
18445
18446 /* System header to define __stub macros and hopefully few prototypes,
18447     which can conflict with char $ac_func (); below.
18448     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18449     <limits.h> exists even on freestanding compilers.  */
18450
18451 #ifdef __STDC__
18452 # include <limits.h>
18453 #else
18454 # include <assert.h>
18455 #endif
18456
18457 #undef $ac_func
18458
18459 /* Override any gcc2 internal prototype to avoid an error.  */
18460 #ifdef __cplusplus
18461 extern "C"
18462 {
18463 #endif
18464 /* We use char because int might match the return type of a gcc2
18465    builtin and then its argument prototype would still apply.  */
18466 char $ac_func ();
18467 /* The GNU C library defines this for functions which it implements
18468     to always fail with ENOSYS.  Some functions are actually named
18469     something starting with __ and the normal name is an alias.  */
18470 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18471 choke me
18472 #else
18473 char (*f) () = $ac_func;
18474 #endif
18475 #ifdef __cplusplus
18476 }
18477 #endif
18478
18479 int
18480 main ()
18481 {
18482 return f != $ac_func;
18483   ;
18484   return 0;
18485 }
18486 _ACEOF
18487 rm -f conftest.$ac_objext conftest$ac_exeext
18488 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18489   (eval $ac_link) 2>conftest.er1
18490   ac_status=$?
18491   grep -v '^ *+' conftest.er1 >conftest.err
18492   rm -f conftest.er1
18493   cat conftest.err >&5
18494   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18495   (exit $ac_status); } &&
18496          { ac_try='test -z "$ac_c_werror_flag"
18497                          || test ! -s conftest.err'
18498   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18499   (eval $ac_try) 2>&5
18500   ac_status=$?
18501   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18502   (exit $ac_status); }; } &&
18503          { ac_try='test -s conftest$ac_exeext'
18504   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18505   (eval $ac_try) 2>&5
18506   ac_status=$?
18507   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18508   (exit $ac_status); }; }; then
18509   eval "$as_ac_var=yes"
18510 else
18511   echo "$as_me: failed program was:" >&5
18512 sed 's/^/| /' conftest.$ac_ext >&5
18513
18514 eval "$as_ac_var=no"
18515 fi
18516 rm -f conftest.err conftest.$ac_objext \
18517       conftest$ac_exeext conftest.$ac_ext
18518 fi
18519 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18520 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18521 if test `eval echo '${'$as_ac_var'}'` = yes; then
18522   cat >>confdefs.h <<_ACEOF
18523 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18524 _ACEOF
18525
18526 fi
18527 done
18528
18529
18530
18531
18532
18533
18534
18535
18536
18537 for ac_func in gettimeofday stat fstat lstat getpwuid vsnprintf dup getcwd
18538 do
18539 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18540 echo "$as_me:$LINENO: checking for $ac_func" >&5
18541 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18542 if eval "test \"\${$as_ac_var+set}\" = set"; then
18543   echo $ECHO_N "(cached) $ECHO_C" >&6
18544 else
18545   if test x$gcc_no_link = xyes; then
18546   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18547 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18548    { (exit 1); exit 1; }; }
18549 fi
18550 cat >conftest.$ac_ext <<_ACEOF
18551 /* confdefs.h.  */
18552 _ACEOF
18553 cat confdefs.h >>conftest.$ac_ext
18554 cat >>conftest.$ac_ext <<_ACEOF
18555 /* end confdefs.h.  */
18556 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18557    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
18558 #define $ac_func innocuous_$ac_func
18559
18560 /* System header to define __stub macros and hopefully few prototypes,
18561     which can conflict with char $ac_func (); below.
18562     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18563     <limits.h> exists even on freestanding compilers.  */
18564
18565 #ifdef __STDC__
18566 # include <limits.h>
18567 #else
18568 # include <assert.h>
18569 #endif
18570
18571 #undef $ac_func
18572
18573 /* Override any gcc2 internal prototype to avoid an error.  */
18574 #ifdef __cplusplus
18575 extern "C"
18576 {
18577 #endif
18578 /* We use char because int might match the return type of a gcc2
18579    builtin and then its argument prototype would still apply.  */
18580 char $ac_func ();
18581 /* The GNU C library defines this for functions which it implements
18582     to always fail with ENOSYS.  Some functions are actually named
18583     something starting with __ and the normal name is an alias.  */
18584 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18585 choke me
18586 #else
18587 char (*f) () = $ac_func;
18588 #endif
18589 #ifdef __cplusplus
18590 }
18591 #endif
18592
18593 int
18594 main ()
18595 {
18596 return f != $ac_func;
18597   ;
18598   return 0;
18599 }
18600 _ACEOF
18601 rm -f conftest.$ac_objext conftest$ac_exeext
18602 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18603   (eval $ac_link) 2>conftest.er1
18604   ac_status=$?
18605   grep -v '^ *+' conftest.er1 >conftest.err
18606   rm -f conftest.er1
18607   cat conftest.err >&5
18608   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18609   (exit $ac_status); } &&
18610          { ac_try='test -z "$ac_c_werror_flag"
18611                          || test ! -s conftest.err'
18612   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18613   (eval $ac_try) 2>&5
18614   ac_status=$?
18615   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18616   (exit $ac_status); }; } &&
18617          { ac_try='test -s conftest$ac_exeext'
18618   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18619   (eval $ac_try) 2>&5
18620   ac_status=$?
18621   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18622   (exit $ac_status); }; }; then
18623   eval "$as_ac_var=yes"
18624 else
18625   echo "$as_me: failed program was:" >&5
18626 sed 's/^/| /' conftest.$ac_ext >&5
18627
18628 eval "$as_ac_var=no"
18629 fi
18630 rm -f conftest.err conftest.$ac_objext \
18631       conftest$ac_exeext conftest.$ac_ext
18632 fi
18633 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18634 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18635 if test `eval echo '${'$as_ac_var'}'` = yes; then
18636   cat >>confdefs.h <<_ACEOF
18637 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18638 _ACEOF
18639
18640 fi
18641 done
18642
18643
18644 # Check for glibc backtrace functions
18645
18646
18647 for ac_func in backtrace backtrace_symbols
18648 do
18649 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18650 echo "$as_me:$LINENO: checking for $ac_func" >&5
18651 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18652 if eval "test \"\${$as_ac_var+set}\" = set"; then
18653   echo $ECHO_N "(cached) $ECHO_C" >&6
18654 else
18655   if test x$gcc_no_link = xyes; then
18656   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18657 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18658    { (exit 1); exit 1; }; }
18659 fi
18660 cat >conftest.$ac_ext <<_ACEOF
18661 /* confdefs.h.  */
18662 _ACEOF
18663 cat confdefs.h >>conftest.$ac_ext
18664 cat >>conftest.$ac_ext <<_ACEOF
18665 /* end confdefs.h.  */
18666 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18667    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
18668 #define $ac_func innocuous_$ac_func
18669
18670 /* System header to define __stub macros and hopefully few prototypes,
18671     which can conflict with char $ac_func (); below.
18672     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18673     <limits.h> exists even on freestanding compilers.  */
18674
18675 #ifdef __STDC__
18676 # include <limits.h>
18677 #else
18678 # include <assert.h>
18679 #endif
18680
18681 #undef $ac_func
18682
18683 /* Override any gcc2 internal prototype to avoid an error.  */
18684 #ifdef __cplusplus
18685 extern "C"
18686 {
18687 #endif
18688 /* We use char because int might match the return type of a gcc2
18689    builtin and then its argument prototype would still apply.  */
18690 char $ac_func ();
18691 /* The GNU C library defines this for functions which it implements
18692     to always fail with ENOSYS.  Some functions are actually named
18693     something starting with __ and the normal name is an alias.  */
18694 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18695 choke me
18696 #else
18697 char (*f) () = $ac_func;
18698 #endif
18699 #ifdef __cplusplus
18700 }
18701 #endif
18702
18703 int
18704 main ()
18705 {
18706 return f != $ac_func;
18707   ;
18708   return 0;
18709 }
18710 _ACEOF
18711 rm -f conftest.$ac_objext conftest$ac_exeext
18712 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18713   (eval $ac_link) 2>conftest.er1
18714   ac_status=$?
18715   grep -v '^ *+' conftest.er1 >conftest.err
18716   rm -f conftest.er1
18717   cat conftest.err >&5
18718   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18719   (exit $ac_status); } &&
18720          { ac_try='test -z "$ac_c_werror_flag"
18721                          || test ! -s conftest.err'
18722   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18723   (eval $ac_try) 2>&5
18724   ac_status=$?
18725   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18726   (exit $ac_status); }; } &&
18727          { ac_try='test -s conftest$ac_exeext'
18728   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18729   (eval $ac_try) 2>&5
18730   ac_status=$?
18731   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18732   (exit $ac_status); }; }; then
18733   eval "$as_ac_var=yes"
18734 else
18735   echo "$as_me: failed program was:" >&5
18736 sed 's/^/| /' conftest.$ac_ext >&5
18737
18738 eval "$as_ac_var=no"
18739 fi
18740 rm -f conftest.err conftest.$ac_objext \
18741       conftest$ac_exeext conftest.$ac_ext
18742 fi
18743 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18744 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18745 if test `eval echo '${'$as_ac_var'}'` = yes; then
18746   cat >>confdefs.h <<_ACEOF
18747 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18748 _ACEOF
18749
18750 fi
18751 done
18752
18753
18754 # Check for types
18755 echo "$as_me:$LINENO: checking for intptr_t" >&5
18756 echo $ECHO_N "checking for intptr_t... $ECHO_C" >&6
18757 if test "${ac_cv_type_intptr_t+set}" = set; then
18758   echo $ECHO_N "(cached) $ECHO_C" >&6
18759 else
18760   cat >conftest.$ac_ext <<_ACEOF
18761 /* confdefs.h.  */
18762 _ACEOF
18763 cat confdefs.h >>conftest.$ac_ext
18764 cat >>conftest.$ac_ext <<_ACEOF
18765 /* end confdefs.h.  */
18766 $ac_includes_default
18767 int
18768 main ()
18769 {
18770 if ((intptr_t *) 0)
18771   return 0;
18772 if (sizeof (intptr_t))
18773   return 0;
18774   ;
18775   return 0;
18776 }
18777 _ACEOF
18778 rm -f conftest.$ac_objext
18779 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18780   (eval $ac_compile) 2>conftest.er1
18781   ac_status=$?
18782   grep -v '^ *+' conftest.er1 >conftest.err
18783   rm -f conftest.er1
18784   cat conftest.err >&5
18785   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18786   (exit $ac_status); } &&
18787          { ac_try='test -z "$ac_c_werror_flag"
18788                          || test ! -s conftest.err'
18789   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18790   (eval $ac_try) 2>&5
18791   ac_status=$?
18792   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18793   (exit $ac_status); }; } &&
18794          { ac_try='test -s conftest.$ac_objext'
18795   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18796   (eval $ac_try) 2>&5
18797   ac_status=$?
18798   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18799   (exit $ac_status); }; }; then
18800   ac_cv_type_intptr_t=yes
18801 else
18802   echo "$as_me: failed program was:" >&5
18803 sed 's/^/| /' conftest.$ac_ext >&5
18804
18805 ac_cv_type_intptr_t=no
18806 fi
18807 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18808 fi
18809 echo "$as_me:$LINENO: result: $ac_cv_type_intptr_t" >&5
18810 echo "${ECHO_T}$ac_cv_type_intptr_t" >&6
18811 if test $ac_cv_type_intptr_t = yes; then
18812
18813 cat >>confdefs.h <<_ACEOF
18814 #define HAVE_INTPTR_T 1
18815 _ACEOF
18816
18817
18818 fi
18819
18820
18821 # Check libc for getgid, getpid, getuid
18822 echo "$as_me:$LINENO: checking for getgid in -lc" >&5
18823 echo $ECHO_N "checking for getgid in -lc... $ECHO_C" >&6
18824 if test "${ac_cv_lib_c_getgid+set}" = set; then
18825   echo $ECHO_N "(cached) $ECHO_C" >&6
18826 else
18827   ac_check_lib_save_LIBS=$LIBS
18828 LIBS="-lc  $LIBS"
18829 if test x$gcc_no_link = xyes; then
18830   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18831 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18832    { (exit 1); exit 1; }; }
18833 fi
18834 cat >conftest.$ac_ext <<_ACEOF
18835 /* confdefs.h.  */
18836 _ACEOF
18837 cat confdefs.h >>conftest.$ac_ext
18838 cat >>conftest.$ac_ext <<_ACEOF
18839 /* end confdefs.h.  */
18840
18841 /* Override any gcc2 internal prototype to avoid an error.  */
18842 #ifdef __cplusplus
18843 extern "C"
18844 #endif
18845 /* We use char because int might match the return type of a gcc2
18846    builtin and then its argument prototype would still apply.  */
18847 char getgid ();
18848 int
18849 main ()
18850 {
18851 getgid ();
18852   ;
18853   return 0;
18854 }
18855 _ACEOF
18856 rm -f conftest.$ac_objext conftest$ac_exeext
18857 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18858   (eval $ac_link) 2>conftest.er1
18859   ac_status=$?
18860   grep -v '^ *+' conftest.er1 >conftest.err
18861   rm -f conftest.er1
18862   cat conftest.err >&5
18863   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18864   (exit $ac_status); } &&
18865          { ac_try='test -z "$ac_c_werror_flag"
18866                          || test ! -s conftest.err'
18867   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18868   (eval $ac_try) 2>&5
18869   ac_status=$?
18870   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18871   (exit $ac_status); }; } &&
18872          { ac_try='test -s conftest$ac_exeext'
18873   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18874   (eval $ac_try) 2>&5
18875   ac_status=$?
18876   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18877   (exit $ac_status); }; }; then
18878   ac_cv_lib_c_getgid=yes
18879 else
18880   echo "$as_me: failed program was:" >&5
18881 sed 's/^/| /' conftest.$ac_ext >&5
18882
18883 ac_cv_lib_c_getgid=no
18884 fi
18885 rm -f conftest.err conftest.$ac_objext \
18886       conftest$ac_exeext conftest.$ac_ext
18887 LIBS=$ac_check_lib_save_LIBS
18888 fi
18889 echo "$as_me:$LINENO: result: $ac_cv_lib_c_getgid" >&5
18890 echo "${ECHO_T}$ac_cv_lib_c_getgid" >&6
18891 if test $ac_cv_lib_c_getgid = yes; then
18892
18893 cat >>confdefs.h <<\_ACEOF
18894 #define HAVE_GETGID 1
18895 _ACEOF
18896
18897 fi
18898
18899 echo "$as_me:$LINENO: checking for getpid in -lc" >&5
18900 echo $ECHO_N "checking for getpid in -lc... $ECHO_C" >&6
18901 if test "${ac_cv_lib_c_getpid+set}" = set; then
18902   echo $ECHO_N "(cached) $ECHO_C" >&6
18903 else
18904   ac_check_lib_save_LIBS=$LIBS
18905 LIBS="-lc  $LIBS"
18906 if test x$gcc_no_link = xyes; then
18907   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18908 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18909    { (exit 1); exit 1; }; }
18910 fi
18911 cat >conftest.$ac_ext <<_ACEOF
18912 /* confdefs.h.  */
18913 _ACEOF
18914 cat confdefs.h >>conftest.$ac_ext
18915 cat >>conftest.$ac_ext <<_ACEOF
18916 /* end confdefs.h.  */
18917
18918 /* Override any gcc2 internal prototype to avoid an error.  */
18919 #ifdef __cplusplus
18920 extern "C"
18921 #endif
18922 /* We use char because int might match the return type of a gcc2
18923    builtin and then its argument prototype would still apply.  */
18924 char getpid ();
18925 int
18926 main ()
18927 {
18928 getpid ();
18929   ;
18930   return 0;
18931 }
18932 _ACEOF
18933 rm -f conftest.$ac_objext conftest$ac_exeext
18934 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18935   (eval $ac_link) 2>conftest.er1
18936   ac_status=$?
18937   grep -v '^ *+' conftest.er1 >conftest.err
18938   rm -f conftest.er1
18939   cat conftest.err >&5
18940   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18941   (exit $ac_status); } &&
18942          { ac_try='test -z "$ac_c_werror_flag"
18943                          || test ! -s conftest.err'
18944   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18945   (eval $ac_try) 2>&5
18946   ac_status=$?
18947   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18948   (exit $ac_status); }; } &&
18949          { ac_try='test -s conftest$ac_exeext'
18950   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18951   (eval $ac_try) 2>&5
18952   ac_status=$?
18953   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18954   (exit $ac_status); }; }; then
18955   ac_cv_lib_c_getpid=yes
18956 else
18957   echo "$as_me: failed program was:" >&5
18958 sed 's/^/| /' conftest.$ac_ext >&5
18959
18960 ac_cv_lib_c_getpid=no
18961 fi
18962 rm -f conftest.err conftest.$ac_objext \
18963       conftest$ac_exeext conftest.$ac_ext
18964 LIBS=$ac_check_lib_save_LIBS
18965 fi
18966 echo "$as_me:$LINENO: result: $ac_cv_lib_c_getpid" >&5
18967 echo "${ECHO_T}$ac_cv_lib_c_getpid" >&6
18968 if test $ac_cv_lib_c_getpid = yes; then
18969
18970 cat >>confdefs.h <<\_ACEOF
18971 #define HAVE_GETPID 1
18972 _ACEOF
18973
18974 fi
18975
18976 echo "$as_me:$LINENO: checking for getppid in -lc" >&5
18977 echo $ECHO_N "checking for getppid in -lc... $ECHO_C" >&6
18978 if test "${ac_cv_lib_c_getppid+set}" = set; then
18979   echo $ECHO_N "(cached) $ECHO_C" >&6
18980 else
18981   ac_check_lib_save_LIBS=$LIBS
18982 LIBS="-lc  $LIBS"
18983 if test x$gcc_no_link = xyes; then
18984   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18985 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18986    { (exit 1); exit 1; }; }
18987 fi
18988 cat >conftest.$ac_ext <<_ACEOF
18989 /* confdefs.h.  */
18990 _ACEOF
18991 cat confdefs.h >>conftest.$ac_ext
18992 cat >>conftest.$ac_ext <<_ACEOF
18993 /* end confdefs.h.  */
18994
18995 /* Override any gcc2 internal prototype to avoid an error.  */
18996 #ifdef __cplusplus
18997 extern "C"
18998 #endif
18999 /* We use char because int might match the return type of a gcc2
19000    builtin and then its argument prototype would still apply.  */
19001 char getppid ();
19002 int
19003 main ()
19004 {
19005 getppid ();
19006   ;
19007   return 0;
19008 }
19009 _ACEOF
19010 rm -f conftest.$ac_objext conftest$ac_exeext
19011 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19012   (eval $ac_link) 2>conftest.er1
19013   ac_status=$?
19014   grep -v '^ *+' conftest.er1 >conftest.err
19015   rm -f conftest.er1
19016   cat conftest.err >&5
19017   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19018   (exit $ac_status); } &&
19019          { ac_try='test -z "$ac_c_werror_flag"
19020                          || test ! -s conftest.err'
19021   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19022   (eval $ac_try) 2>&5
19023   ac_status=$?
19024   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19025   (exit $ac_status); }; } &&
19026          { ac_try='test -s conftest$ac_exeext'
19027   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19028   (eval $ac_try) 2>&5
19029   ac_status=$?
19030   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19031   (exit $ac_status); }; }; then
19032   ac_cv_lib_c_getppid=yes
19033 else
19034   echo "$as_me: failed program was:" >&5
19035 sed 's/^/| /' conftest.$ac_ext >&5
19036
19037 ac_cv_lib_c_getppid=no
19038 fi
19039 rm -f conftest.err conftest.$ac_objext \
19040       conftest$ac_exeext conftest.$ac_ext
19041 LIBS=$ac_check_lib_save_LIBS
19042 fi
19043 echo "$as_me:$LINENO: result: $ac_cv_lib_c_getppid" >&5
19044 echo "${ECHO_T}$ac_cv_lib_c_getppid" >&6
19045 if test $ac_cv_lib_c_getppid = yes; then
19046
19047 cat >>confdefs.h <<\_ACEOF
19048 #define HAVE_GETPPID 1
19049 _ACEOF
19050
19051 fi
19052
19053 echo "$as_me:$LINENO: checking for getuid in -lc" >&5
19054 echo $ECHO_N "checking for getuid in -lc... $ECHO_C" >&6
19055 if test "${ac_cv_lib_c_getuid+set}" = set; then
19056   echo $ECHO_N "(cached) $ECHO_C" >&6
19057 else
19058   ac_check_lib_save_LIBS=$LIBS
19059 LIBS="-lc  $LIBS"
19060 if test x$gcc_no_link = xyes; then
19061   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19062 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19063    { (exit 1); exit 1; }; }
19064 fi
19065 cat >conftest.$ac_ext <<_ACEOF
19066 /* confdefs.h.  */
19067 _ACEOF
19068 cat confdefs.h >>conftest.$ac_ext
19069 cat >>conftest.$ac_ext <<_ACEOF
19070 /* end confdefs.h.  */
19071
19072 /* Override any gcc2 internal prototype to avoid an error.  */
19073 #ifdef __cplusplus
19074 extern "C"
19075 #endif
19076 /* We use char because int might match the return type of a gcc2
19077    builtin and then its argument prototype would still apply.  */
19078 char getuid ();
19079 int
19080 main ()
19081 {
19082 getuid ();
19083   ;
19084   return 0;
19085 }
19086 _ACEOF
19087 rm -f conftest.$ac_objext conftest$ac_exeext
19088 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19089   (eval $ac_link) 2>conftest.er1
19090   ac_status=$?
19091   grep -v '^ *+' conftest.er1 >conftest.err
19092   rm -f conftest.er1
19093   cat conftest.err >&5
19094   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19095   (exit $ac_status); } &&
19096          { ac_try='test -z "$ac_c_werror_flag"
19097                          || test ! -s conftest.err'
19098   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19099   (eval $ac_try) 2>&5
19100   ac_status=$?
19101   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19102   (exit $ac_status); }; } &&
19103          { ac_try='test -s conftest$ac_exeext'
19104   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19105   (eval $ac_try) 2>&5
19106   ac_status=$?
19107   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19108   (exit $ac_status); }; }; then
19109   ac_cv_lib_c_getuid=yes
19110 else
19111   echo "$as_me: failed program was:" >&5
19112 sed 's/^/| /' conftest.$ac_ext >&5
19113
19114 ac_cv_lib_c_getuid=no
19115 fi
19116 rm -f conftest.err conftest.$ac_objext \
19117       conftest$ac_exeext conftest.$ac_ext
19118 LIBS=$ac_check_lib_save_LIBS
19119 fi
19120 echo "$as_me:$LINENO: result: $ac_cv_lib_c_getuid" >&5
19121 echo "${ECHO_T}$ac_cv_lib_c_getuid" >&6
19122 if test $ac_cv_lib_c_getuid = yes; then
19123
19124 cat >>confdefs.h <<\_ACEOF
19125 #define HAVE_GETUID 1
19126 _ACEOF
19127
19128 fi
19129
19130 echo "$as_me:$LINENO: checking for geteuid in -lc" >&5
19131 echo $ECHO_N "checking for geteuid in -lc... $ECHO_C" >&6
19132 if test "${ac_cv_lib_c_geteuid+set}" = set; then
19133   echo $ECHO_N "(cached) $ECHO_C" >&6
19134 else
19135   ac_check_lib_save_LIBS=$LIBS
19136 LIBS="-lc  $LIBS"
19137 if test x$gcc_no_link = xyes; then
19138   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19139 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19140    { (exit 1); exit 1; }; }
19141 fi
19142 cat >conftest.$ac_ext <<_ACEOF
19143 /* confdefs.h.  */
19144 _ACEOF
19145 cat confdefs.h >>conftest.$ac_ext
19146 cat >>conftest.$ac_ext <<_ACEOF
19147 /* end confdefs.h.  */
19148
19149 /* Override any gcc2 internal prototype to avoid an error.  */
19150 #ifdef __cplusplus
19151 extern "C"
19152 #endif
19153 /* We use char because int might match the return type of a gcc2
19154    builtin and then its argument prototype would still apply.  */
19155 char geteuid ();
19156 int
19157 main ()
19158 {
19159 geteuid ();
19160   ;
19161   return 0;
19162 }
19163 _ACEOF
19164 rm -f conftest.$ac_objext conftest$ac_exeext
19165 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19166   (eval $ac_link) 2>conftest.er1
19167   ac_status=$?
19168   grep -v '^ *+' conftest.er1 >conftest.err
19169   rm -f conftest.er1
19170   cat conftest.err >&5
19171   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19172   (exit $ac_status); } &&
19173          { ac_try='test -z "$ac_c_werror_flag"
19174                          || test ! -s conftest.err'
19175   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19176   (eval $ac_try) 2>&5
19177   ac_status=$?
19178   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19179   (exit $ac_status); }; } &&
19180          { ac_try='test -s conftest$ac_exeext'
19181   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19182   (eval $ac_try) 2>&5
19183   ac_status=$?
19184   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19185   (exit $ac_status); }; }; then
19186   ac_cv_lib_c_geteuid=yes
19187 else
19188   echo "$as_me: failed program was:" >&5
19189 sed 's/^/| /' conftest.$ac_ext >&5
19190
19191 ac_cv_lib_c_geteuid=no
19192 fi
19193 rm -f conftest.err conftest.$ac_objext \
19194       conftest$ac_exeext conftest.$ac_ext
19195 LIBS=$ac_check_lib_save_LIBS
19196 fi
19197 echo "$as_me:$LINENO: result: $ac_cv_lib_c_geteuid" >&5
19198 echo "${ECHO_T}$ac_cv_lib_c_geteuid" >&6
19199 if test $ac_cv_lib_c_geteuid = yes; then
19200
19201 cat >>confdefs.h <<\_ACEOF
19202 #define HAVE_GETEUID 1
19203 _ACEOF
19204
19205 fi
19206
19207
19208 # Check for C99 (and other IEEE) math functions
19209 echo "$as_me:$LINENO: checking for acosf in -lm" >&5
19210 echo $ECHO_N "checking for acosf in -lm... $ECHO_C" >&6
19211 if test "${ac_cv_lib_m_acosf+set}" = set; then
19212   echo $ECHO_N "(cached) $ECHO_C" >&6
19213 else
19214   ac_check_lib_save_LIBS=$LIBS
19215 LIBS="-lm  $LIBS"
19216 if test x$gcc_no_link = xyes; then
19217   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19218 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19219    { (exit 1); exit 1; }; }
19220 fi
19221 cat >conftest.$ac_ext <<_ACEOF
19222 /* confdefs.h.  */
19223 _ACEOF
19224 cat confdefs.h >>conftest.$ac_ext
19225 cat >>conftest.$ac_ext <<_ACEOF
19226 /* end confdefs.h.  */
19227
19228 /* Override any gcc2 internal prototype to avoid an error.  */
19229 #ifdef __cplusplus
19230 extern "C"
19231 #endif
19232 /* We use char because int might match the return type of a gcc2
19233    builtin and then its argument prototype would still apply.  */
19234 char acosf ();
19235 int
19236 main ()
19237 {
19238 acosf ();
19239   ;
19240   return 0;
19241 }
19242 _ACEOF
19243 rm -f conftest.$ac_objext conftest$ac_exeext
19244 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19245   (eval $ac_link) 2>conftest.er1
19246   ac_status=$?
19247   grep -v '^ *+' conftest.er1 >conftest.err
19248   rm -f conftest.er1
19249   cat conftest.err >&5
19250   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19251   (exit $ac_status); } &&
19252          { ac_try='test -z "$ac_c_werror_flag"
19253                          || test ! -s conftest.err'
19254   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19255   (eval $ac_try) 2>&5
19256   ac_status=$?
19257   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19258   (exit $ac_status); }; } &&
19259          { ac_try='test -s conftest$ac_exeext'
19260   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19261   (eval $ac_try) 2>&5
19262   ac_status=$?
19263   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19264   (exit $ac_status); }; }; then
19265   ac_cv_lib_m_acosf=yes
19266 else
19267   echo "$as_me: failed program was:" >&5
19268 sed 's/^/| /' conftest.$ac_ext >&5
19269
19270 ac_cv_lib_m_acosf=no
19271 fi
19272 rm -f conftest.err conftest.$ac_objext \
19273       conftest$ac_exeext conftest.$ac_ext
19274 LIBS=$ac_check_lib_save_LIBS
19275 fi
19276 echo "$as_me:$LINENO: result: $ac_cv_lib_m_acosf" >&5
19277 echo "${ECHO_T}$ac_cv_lib_m_acosf" >&6
19278 if test $ac_cv_lib_m_acosf = yes; then
19279
19280 cat >>confdefs.h <<\_ACEOF
19281 #define HAVE_ACOSF 1
19282 _ACEOF
19283
19284 fi
19285
19286 echo "$as_me:$LINENO: checking for acos in -lm" >&5
19287 echo $ECHO_N "checking for acos in -lm... $ECHO_C" >&6
19288 if test "${ac_cv_lib_m_acos+set}" = set; then
19289   echo $ECHO_N "(cached) $ECHO_C" >&6
19290 else
19291   ac_check_lib_save_LIBS=$LIBS
19292 LIBS="-lm  $LIBS"
19293 if test x$gcc_no_link = xyes; then
19294   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19295 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19296    { (exit 1); exit 1; }; }
19297 fi
19298 cat >conftest.$ac_ext <<_ACEOF
19299 /* confdefs.h.  */
19300 _ACEOF
19301 cat confdefs.h >>conftest.$ac_ext
19302 cat >>conftest.$ac_ext <<_ACEOF
19303 /* end confdefs.h.  */
19304
19305 /* Override any gcc2 internal prototype to avoid an error.  */
19306 #ifdef __cplusplus
19307 extern "C"
19308 #endif
19309 /* We use char because int might match the return type of a gcc2
19310    builtin and then its argument prototype would still apply.  */
19311 char acos ();
19312 int
19313 main ()
19314 {
19315 acos ();
19316   ;
19317   return 0;
19318 }
19319 _ACEOF
19320 rm -f conftest.$ac_objext conftest$ac_exeext
19321 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19322   (eval $ac_link) 2>conftest.er1
19323   ac_status=$?
19324   grep -v '^ *+' conftest.er1 >conftest.err
19325   rm -f conftest.er1
19326   cat conftest.err >&5
19327   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19328   (exit $ac_status); } &&
19329          { ac_try='test -z "$ac_c_werror_flag"
19330                          || test ! -s conftest.err'
19331   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19332   (eval $ac_try) 2>&5
19333   ac_status=$?
19334   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19335   (exit $ac_status); }; } &&
19336          { ac_try='test -s conftest$ac_exeext'
19337   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19338   (eval $ac_try) 2>&5
19339   ac_status=$?
19340   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19341   (exit $ac_status); }; }; then
19342   ac_cv_lib_m_acos=yes
19343 else
19344   echo "$as_me: failed program was:" >&5
19345 sed 's/^/| /' conftest.$ac_ext >&5
19346
19347 ac_cv_lib_m_acos=no
19348 fi
19349 rm -f conftest.err conftest.$ac_objext \
19350       conftest$ac_exeext conftest.$ac_ext
19351 LIBS=$ac_check_lib_save_LIBS
19352 fi
19353 echo "$as_me:$LINENO: result: $ac_cv_lib_m_acos" >&5
19354 echo "${ECHO_T}$ac_cv_lib_m_acos" >&6
19355 if test $ac_cv_lib_m_acos = yes; then
19356
19357 cat >>confdefs.h <<\_ACEOF
19358 #define HAVE_ACOS 1
19359 _ACEOF
19360
19361 fi
19362
19363 echo "$as_me:$LINENO: checking for acosl in -lm" >&5
19364 echo $ECHO_N "checking for acosl in -lm... $ECHO_C" >&6
19365 if test "${ac_cv_lib_m_acosl+set}" = set; then
19366   echo $ECHO_N "(cached) $ECHO_C" >&6
19367 else
19368   ac_check_lib_save_LIBS=$LIBS
19369 LIBS="-lm  $LIBS"
19370 if test x$gcc_no_link = xyes; then
19371   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19372 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19373    { (exit 1); exit 1; }; }
19374 fi
19375 cat >conftest.$ac_ext <<_ACEOF
19376 /* confdefs.h.  */
19377 _ACEOF
19378 cat confdefs.h >>conftest.$ac_ext
19379 cat >>conftest.$ac_ext <<_ACEOF
19380 /* end confdefs.h.  */
19381
19382 /* Override any gcc2 internal prototype to avoid an error.  */
19383 #ifdef __cplusplus
19384 extern "C"
19385 #endif
19386 /* We use char because int might match the return type of a gcc2
19387    builtin and then its argument prototype would still apply.  */
19388 char acosl ();
19389 int
19390 main ()
19391 {
19392 acosl ();
19393   ;
19394   return 0;
19395 }
19396 _ACEOF
19397 rm -f conftest.$ac_objext conftest$ac_exeext
19398 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19399   (eval $ac_link) 2>conftest.er1
19400   ac_status=$?
19401   grep -v '^ *+' conftest.er1 >conftest.err
19402   rm -f conftest.er1
19403   cat conftest.err >&5
19404   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19405   (exit $ac_status); } &&
19406          { ac_try='test -z "$ac_c_werror_flag"
19407                          || test ! -s conftest.err'
19408   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19409   (eval $ac_try) 2>&5
19410   ac_status=$?
19411   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19412   (exit $ac_status); }; } &&
19413          { ac_try='test -s conftest$ac_exeext'
19414   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19415   (eval $ac_try) 2>&5
19416   ac_status=$?
19417   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19418   (exit $ac_status); }; }; then
19419   ac_cv_lib_m_acosl=yes
19420 else
19421   echo "$as_me: failed program was:" >&5
19422 sed 's/^/| /' conftest.$ac_ext >&5
19423
19424 ac_cv_lib_m_acosl=no
19425 fi
19426 rm -f conftest.err conftest.$ac_objext \
19427       conftest$ac_exeext conftest.$ac_ext
19428 LIBS=$ac_check_lib_save_LIBS
19429 fi
19430 echo "$as_me:$LINENO: result: $ac_cv_lib_m_acosl" >&5
19431 echo "${ECHO_T}$ac_cv_lib_m_acosl" >&6
19432 if test $ac_cv_lib_m_acosl = yes; then
19433
19434 cat >>confdefs.h <<\_ACEOF
19435 #define HAVE_ACOSL 1
19436 _ACEOF
19437
19438 fi
19439
19440 echo "$as_me:$LINENO: checking for acoshf in -lm" >&5
19441 echo $ECHO_N "checking for acoshf in -lm... $ECHO_C" >&6
19442 if test "${ac_cv_lib_m_acoshf+set}" = set; then
19443   echo $ECHO_N "(cached) $ECHO_C" >&6
19444 else
19445   ac_check_lib_save_LIBS=$LIBS
19446 LIBS="-lm  $LIBS"
19447 if test x$gcc_no_link = xyes; then
19448   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19449 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19450    { (exit 1); exit 1; }; }
19451 fi
19452 cat >conftest.$ac_ext <<_ACEOF
19453 /* confdefs.h.  */
19454 _ACEOF
19455 cat confdefs.h >>conftest.$ac_ext
19456 cat >>conftest.$ac_ext <<_ACEOF
19457 /* end confdefs.h.  */
19458
19459 /* Override any gcc2 internal prototype to avoid an error.  */
19460 #ifdef __cplusplus
19461 extern "C"
19462 #endif
19463 /* We use char because int might match the return type of a gcc2
19464    builtin and then its argument prototype would still apply.  */
19465 char acoshf ();
19466 int
19467 main ()
19468 {
19469 acoshf ();
19470   ;
19471   return 0;
19472 }
19473 _ACEOF
19474 rm -f conftest.$ac_objext conftest$ac_exeext
19475 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19476   (eval $ac_link) 2>conftest.er1
19477   ac_status=$?
19478   grep -v '^ *+' conftest.er1 >conftest.err
19479   rm -f conftest.er1
19480   cat conftest.err >&5
19481   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19482   (exit $ac_status); } &&
19483          { ac_try='test -z "$ac_c_werror_flag"
19484                          || test ! -s conftest.err'
19485   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19486   (eval $ac_try) 2>&5
19487   ac_status=$?
19488   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19489   (exit $ac_status); }; } &&
19490          { ac_try='test -s conftest$ac_exeext'
19491   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19492   (eval $ac_try) 2>&5
19493   ac_status=$?
19494   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19495   (exit $ac_status); }; }; then
19496   ac_cv_lib_m_acoshf=yes
19497 else
19498   echo "$as_me: failed program was:" >&5
19499 sed 's/^/| /' conftest.$ac_ext >&5
19500
19501 ac_cv_lib_m_acoshf=no
19502 fi
19503 rm -f conftest.err conftest.$ac_objext \
19504       conftest$ac_exeext conftest.$ac_ext
19505 LIBS=$ac_check_lib_save_LIBS
19506 fi
19507 echo "$as_me:$LINENO: result: $ac_cv_lib_m_acoshf" >&5
19508 echo "${ECHO_T}$ac_cv_lib_m_acoshf" >&6
19509 if test $ac_cv_lib_m_acoshf = yes; then
19510
19511 cat >>confdefs.h <<\_ACEOF
19512 #define HAVE_ACOSHF 1
19513 _ACEOF
19514
19515 fi
19516
19517 echo "$as_me:$LINENO: checking for acosh in -lm" >&5
19518 echo $ECHO_N "checking for acosh in -lm... $ECHO_C" >&6
19519 if test "${ac_cv_lib_m_acosh+set}" = set; then
19520   echo $ECHO_N "(cached) $ECHO_C" >&6
19521 else
19522   ac_check_lib_save_LIBS=$LIBS
19523 LIBS="-lm  $LIBS"
19524 if test x$gcc_no_link = xyes; then
19525   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19526 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19527    { (exit 1); exit 1; }; }
19528 fi
19529 cat >conftest.$ac_ext <<_ACEOF
19530 /* confdefs.h.  */
19531 _ACEOF
19532 cat confdefs.h >>conftest.$ac_ext
19533 cat >>conftest.$ac_ext <<_ACEOF
19534 /* end confdefs.h.  */
19535
19536 /* Override any gcc2 internal prototype to avoid an error.  */
19537 #ifdef __cplusplus
19538 extern "C"
19539 #endif
19540 /* We use char because int might match the return type of a gcc2
19541    builtin and then its argument prototype would still apply.  */
19542 char acosh ();
19543 int
19544 main ()
19545 {
19546 acosh ();
19547   ;
19548   return 0;
19549 }
19550 _ACEOF
19551 rm -f conftest.$ac_objext conftest$ac_exeext
19552 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19553   (eval $ac_link) 2>conftest.er1
19554   ac_status=$?
19555   grep -v '^ *+' conftest.er1 >conftest.err
19556   rm -f conftest.er1
19557   cat conftest.err >&5
19558   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19559   (exit $ac_status); } &&
19560          { ac_try='test -z "$ac_c_werror_flag"
19561                          || test ! -s conftest.err'
19562   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19563   (eval $ac_try) 2>&5
19564   ac_status=$?
19565   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19566   (exit $ac_status); }; } &&
19567          { ac_try='test -s conftest$ac_exeext'
19568   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19569   (eval $ac_try) 2>&5
19570   ac_status=$?
19571   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19572   (exit $ac_status); }; }; then
19573   ac_cv_lib_m_acosh=yes
19574 else
19575   echo "$as_me: failed program was:" >&5
19576 sed 's/^/| /' conftest.$ac_ext >&5
19577
19578 ac_cv_lib_m_acosh=no
19579 fi
19580 rm -f conftest.err conftest.$ac_objext \
19581       conftest$ac_exeext conftest.$ac_ext
19582 LIBS=$ac_check_lib_save_LIBS
19583 fi
19584 echo "$as_me:$LINENO: result: $ac_cv_lib_m_acosh" >&5
19585 echo "${ECHO_T}$ac_cv_lib_m_acosh" >&6
19586 if test $ac_cv_lib_m_acosh = yes; then
19587
19588 cat >>confdefs.h <<\_ACEOF
19589 #define HAVE_ACOSH 1
19590 _ACEOF
19591
19592 fi
19593
19594 echo "$as_me:$LINENO: checking for acoshl in -lm" >&5
19595 echo $ECHO_N "checking for acoshl in -lm... $ECHO_C" >&6
19596 if test "${ac_cv_lib_m_acoshl+set}" = set; then
19597   echo $ECHO_N "(cached) $ECHO_C" >&6
19598 else
19599   ac_check_lib_save_LIBS=$LIBS
19600 LIBS="-lm  $LIBS"
19601 if test x$gcc_no_link = xyes; then
19602   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19603 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19604    { (exit 1); exit 1; }; }
19605 fi
19606 cat >conftest.$ac_ext <<_ACEOF
19607 /* confdefs.h.  */
19608 _ACEOF
19609 cat confdefs.h >>conftest.$ac_ext
19610 cat >>conftest.$ac_ext <<_ACEOF
19611 /* end confdefs.h.  */
19612
19613 /* Override any gcc2 internal prototype to avoid an error.  */
19614 #ifdef __cplusplus
19615 extern "C"
19616 #endif
19617 /* We use char because int might match the return type of a gcc2
19618    builtin and then its argument prototype would still apply.  */
19619 char acoshl ();
19620 int
19621 main ()
19622 {
19623 acoshl ();
19624   ;
19625   return 0;
19626 }
19627 _ACEOF
19628 rm -f conftest.$ac_objext conftest$ac_exeext
19629 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19630   (eval $ac_link) 2>conftest.er1
19631   ac_status=$?
19632   grep -v '^ *+' conftest.er1 >conftest.err
19633   rm -f conftest.er1
19634   cat conftest.err >&5
19635   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19636   (exit $ac_status); } &&
19637          { ac_try='test -z "$ac_c_werror_flag"
19638                          || test ! -s conftest.err'
19639   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19640   (eval $ac_try) 2>&5
19641   ac_status=$?
19642   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19643   (exit $ac_status); }; } &&
19644          { ac_try='test -s conftest$ac_exeext'
19645   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19646   (eval $ac_try) 2>&5
19647   ac_status=$?
19648   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19649   (exit $ac_status); }; }; then
19650   ac_cv_lib_m_acoshl=yes
19651 else
19652   echo "$as_me: failed program was:" >&5
19653 sed 's/^/| /' conftest.$ac_ext >&5
19654
19655 ac_cv_lib_m_acoshl=no
19656 fi
19657 rm -f conftest.err conftest.$ac_objext \
19658       conftest$ac_exeext conftest.$ac_ext
19659 LIBS=$ac_check_lib_save_LIBS
19660 fi
19661 echo "$as_me:$LINENO: result: $ac_cv_lib_m_acoshl" >&5
19662 echo "${ECHO_T}$ac_cv_lib_m_acoshl" >&6
19663 if test $ac_cv_lib_m_acoshl = yes; then
19664
19665 cat >>confdefs.h <<\_ACEOF
19666 #define HAVE_ACOSHL 1
19667 _ACEOF
19668
19669 fi
19670
19671 echo "$as_me:$LINENO: checking for asinf in -lm" >&5
19672 echo $ECHO_N "checking for asinf in -lm... $ECHO_C" >&6
19673 if test "${ac_cv_lib_m_asinf+set}" = set; then
19674   echo $ECHO_N "(cached) $ECHO_C" >&6
19675 else
19676   ac_check_lib_save_LIBS=$LIBS
19677 LIBS="-lm  $LIBS"
19678 if test x$gcc_no_link = xyes; then
19679   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19680 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19681    { (exit 1); exit 1; }; }
19682 fi
19683 cat >conftest.$ac_ext <<_ACEOF
19684 /* confdefs.h.  */
19685 _ACEOF
19686 cat confdefs.h >>conftest.$ac_ext
19687 cat >>conftest.$ac_ext <<_ACEOF
19688 /* end confdefs.h.  */
19689
19690 /* Override any gcc2 internal prototype to avoid an error.  */
19691 #ifdef __cplusplus
19692 extern "C"
19693 #endif
19694 /* We use char because int might match the return type of a gcc2
19695    builtin and then its argument prototype would still apply.  */
19696 char asinf ();
19697 int
19698 main ()
19699 {
19700 asinf ();
19701   ;
19702   return 0;
19703 }
19704 _ACEOF
19705 rm -f conftest.$ac_objext conftest$ac_exeext
19706 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19707   (eval $ac_link) 2>conftest.er1
19708   ac_status=$?
19709   grep -v '^ *+' conftest.er1 >conftest.err
19710   rm -f conftest.er1
19711   cat conftest.err >&5
19712   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19713   (exit $ac_status); } &&
19714          { ac_try='test -z "$ac_c_werror_flag"
19715                          || test ! -s conftest.err'
19716   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19717   (eval $ac_try) 2>&5
19718   ac_status=$?
19719   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19720   (exit $ac_status); }; } &&
19721          { ac_try='test -s conftest$ac_exeext'
19722   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19723   (eval $ac_try) 2>&5
19724   ac_status=$?
19725   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19726   (exit $ac_status); }; }; then
19727   ac_cv_lib_m_asinf=yes
19728 else
19729   echo "$as_me: failed program was:" >&5
19730 sed 's/^/| /' conftest.$ac_ext >&5
19731
19732 ac_cv_lib_m_asinf=no
19733 fi
19734 rm -f conftest.err conftest.$ac_objext \
19735       conftest$ac_exeext conftest.$ac_ext
19736 LIBS=$ac_check_lib_save_LIBS
19737 fi
19738 echo "$as_me:$LINENO: result: $ac_cv_lib_m_asinf" >&5
19739 echo "${ECHO_T}$ac_cv_lib_m_asinf" >&6
19740 if test $ac_cv_lib_m_asinf = yes; then
19741
19742 cat >>confdefs.h <<\_ACEOF
19743 #define HAVE_ASINF 1
19744 _ACEOF
19745
19746 fi
19747
19748 echo "$as_me:$LINENO: checking for asin in -lm" >&5
19749 echo $ECHO_N "checking for asin in -lm... $ECHO_C" >&6
19750 if test "${ac_cv_lib_m_asin+set}" = set; then
19751   echo $ECHO_N "(cached) $ECHO_C" >&6
19752 else
19753   ac_check_lib_save_LIBS=$LIBS
19754 LIBS="-lm  $LIBS"
19755 if test x$gcc_no_link = xyes; then
19756   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19757 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19758    { (exit 1); exit 1; }; }
19759 fi
19760 cat >conftest.$ac_ext <<_ACEOF
19761 /* confdefs.h.  */
19762 _ACEOF
19763 cat confdefs.h >>conftest.$ac_ext
19764 cat >>conftest.$ac_ext <<_ACEOF
19765 /* end confdefs.h.  */
19766
19767 /* Override any gcc2 internal prototype to avoid an error.  */
19768 #ifdef __cplusplus
19769 extern "C"
19770 #endif
19771 /* We use char because int might match the return type of a gcc2
19772    builtin and then its argument prototype would still apply.  */
19773 char asin ();
19774 int
19775 main ()
19776 {
19777 asin ();
19778   ;
19779   return 0;
19780 }
19781 _ACEOF
19782 rm -f conftest.$ac_objext conftest$ac_exeext
19783 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19784   (eval $ac_link) 2>conftest.er1
19785   ac_status=$?
19786   grep -v '^ *+' conftest.er1 >conftest.err
19787   rm -f conftest.er1
19788   cat conftest.err >&5
19789   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19790   (exit $ac_status); } &&
19791          { ac_try='test -z "$ac_c_werror_flag"
19792                          || test ! -s conftest.err'
19793   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19794   (eval $ac_try) 2>&5
19795   ac_status=$?
19796   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19797   (exit $ac_status); }; } &&
19798          { ac_try='test -s conftest$ac_exeext'
19799   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19800   (eval $ac_try) 2>&5
19801   ac_status=$?
19802   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19803   (exit $ac_status); }; }; then
19804   ac_cv_lib_m_asin=yes
19805 else
19806   echo "$as_me: failed program was:" >&5
19807 sed 's/^/| /' conftest.$ac_ext >&5
19808
19809 ac_cv_lib_m_asin=no
19810 fi
19811 rm -f conftest.err conftest.$ac_objext \
19812       conftest$ac_exeext conftest.$ac_ext
19813 LIBS=$ac_check_lib_save_LIBS
19814 fi
19815 echo "$as_me:$LINENO: result: $ac_cv_lib_m_asin" >&5
19816 echo "${ECHO_T}$ac_cv_lib_m_asin" >&6
19817 if test $ac_cv_lib_m_asin = yes; then
19818
19819 cat >>confdefs.h <<\_ACEOF
19820 #define HAVE_ASIN 1
19821 _ACEOF
19822
19823 fi
19824
19825 echo "$as_me:$LINENO: checking for asinl in -lm" >&5
19826 echo $ECHO_N "checking for asinl in -lm... $ECHO_C" >&6
19827 if test "${ac_cv_lib_m_asinl+set}" = set; then
19828   echo $ECHO_N "(cached) $ECHO_C" >&6
19829 else
19830   ac_check_lib_save_LIBS=$LIBS
19831 LIBS="-lm  $LIBS"
19832 if test x$gcc_no_link = xyes; then
19833   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19834 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19835    { (exit 1); exit 1; }; }
19836 fi
19837 cat >conftest.$ac_ext <<_ACEOF
19838 /* confdefs.h.  */
19839 _ACEOF
19840 cat confdefs.h >>conftest.$ac_ext
19841 cat >>conftest.$ac_ext <<_ACEOF
19842 /* end confdefs.h.  */
19843
19844 /* Override any gcc2 internal prototype to avoid an error.  */
19845 #ifdef __cplusplus
19846 extern "C"
19847 #endif
19848 /* We use char because int might match the return type of a gcc2
19849    builtin and then its argument prototype would still apply.  */
19850 char asinl ();
19851 int
19852 main ()
19853 {
19854 asinl ();
19855   ;
19856   return 0;
19857 }
19858 _ACEOF
19859 rm -f conftest.$ac_objext conftest$ac_exeext
19860 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19861   (eval $ac_link) 2>conftest.er1
19862   ac_status=$?
19863   grep -v '^ *+' conftest.er1 >conftest.err
19864   rm -f conftest.er1
19865   cat conftest.err >&5
19866   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19867   (exit $ac_status); } &&
19868          { ac_try='test -z "$ac_c_werror_flag"
19869                          || test ! -s conftest.err'
19870   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19871   (eval $ac_try) 2>&5
19872   ac_status=$?
19873   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19874   (exit $ac_status); }; } &&
19875          { ac_try='test -s conftest$ac_exeext'
19876   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19877   (eval $ac_try) 2>&5
19878   ac_status=$?
19879   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19880   (exit $ac_status); }; }; then
19881   ac_cv_lib_m_asinl=yes
19882 else
19883   echo "$as_me: failed program was:" >&5
19884 sed 's/^/| /' conftest.$ac_ext >&5
19885
19886 ac_cv_lib_m_asinl=no
19887 fi
19888 rm -f conftest.err conftest.$ac_objext \
19889       conftest$ac_exeext conftest.$ac_ext
19890 LIBS=$ac_check_lib_save_LIBS
19891 fi
19892 echo "$as_me:$LINENO: result: $ac_cv_lib_m_asinl" >&5
19893 echo "${ECHO_T}$ac_cv_lib_m_asinl" >&6
19894 if test $ac_cv_lib_m_asinl = yes; then
19895
19896 cat >>confdefs.h <<\_ACEOF
19897 #define HAVE_ASINL 1
19898 _ACEOF
19899
19900 fi
19901
19902 echo "$as_me:$LINENO: checking for asinhf in -lm" >&5
19903 echo $ECHO_N "checking for asinhf in -lm... $ECHO_C" >&6
19904 if test "${ac_cv_lib_m_asinhf+set}" = set; then
19905   echo $ECHO_N "(cached) $ECHO_C" >&6
19906 else
19907   ac_check_lib_save_LIBS=$LIBS
19908 LIBS="-lm  $LIBS"
19909 if test x$gcc_no_link = xyes; then
19910   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19911 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19912    { (exit 1); exit 1; }; }
19913 fi
19914 cat >conftest.$ac_ext <<_ACEOF
19915 /* confdefs.h.  */
19916 _ACEOF
19917 cat confdefs.h >>conftest.$ac_ext
19918 cat >>conftest.$ac_ext <<_ACEOF
19919 /* end confdefs.h.  */
19920
19921 /* Override any gcc2 internal prototype to avoid an error.  */
19922 #ifdef __cplusplus
19923 extern "C"
19924 #endif
19925 /* We use char because int might match the return type of a gcc2
19926    builtin and then its argument prototype would still apply.  */
19927 char asinhf ();
19928 int
19929 main ()
19930 {
19931 asinhf ();
19932   ;
19933   return 0;
19934 }
19935 _ACEOF
19936 rm -f conftest.$ac_objext conftest$ac_exeext
19937 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19938   (eval $ac_link) 2>conftest.er1
19939   ac_status=$?
19940   grep -v '^ *+' conftest.er1 >conftest.err
19941   rm -f conftest.er1
19942   cat conftest.err >&5
19943   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19944   (exit $ac_status); } &&
19945          { ac_try='test -z "$ac_c_werror_flag"
19946                          || test ! -s conftest.err'
19947   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19948   (eval $ac_try) 2>&5
19949   ac_status=$?
19950   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19951   (exit $ac_status); }; } &&
19952          { ac_try='test -s conftest$ac_exeext'
19953   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19954   (eval $ac_try) 2>&5
19955   ac_status=$?
19956   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19957   (exit $ac_status); }; }; then
19958   ac_cv_lib_m_asinhf=yes
19959 else
19960   echo "$as_me: failed program was:" >&5
19961 sed 's/^/| /' conftest.$ac_ext >&5
19962
19963 ac_cv_lib_m_asinhf=no
19964 fi
19965 rm -f conftest.err conftest.$ac_objext \
19966       conftest$ac_exeext conftest.$ac_ext
19967 LIBS=$ac_check_lib_save_LIBS
19968 fi
19969 echo "$as_me:$LINENO: result: $ac_cv_lib_m_asinhf" >&5
19970 echo "${ECHO_T}$ac_cv_lib_m_asinhf" >&6
19971 if test $ac_cv_lib_m_asinhf = yes; then
19972
19973 cat >>confdefs.h <<\_ACEOF
19974 #define HAVE_ASINHF 1
19975 _ACEOF
19976
19977 fi
19978
19979 echo "$as_me:$LINENO: checking for asinh in -lm" >&5
19980 echo $ECHO_N "checking for asinh in -lm... $ECHO_C" >&6
19981 if test "${ac_cv_lib_m_asinh+set}" = set; then
19982   echo $ECHO_N "(cached) $ECHO_C" >&6
19983 else
19984   ac_check_lib_save_LIBS=$LIBS
19985 LIBS="-lm  $LIBS"
19986 if test x$gcc_no_link = xyes; then
19987   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19988 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19989    { (exit 1); exit 1; }; }
19990 fi
19991 cat >conftest.$ac_ext <<_ACEOF
19992 /* confdefs.h.  */
19993 _ACEOF
19994 cat confdefs.h >>conftest.$ac_ext
19995 cat >>conftest.$ac_ext <<_ACEOF
19996 /* end confdefs.h.  */
19997
19998 /* Override any gcc2 internal prototype to avoid an error.  */
19999 #ifdef __cplusplus
20000 extern "C"
20001 #endif
20002 /* We use char because int might match the return type of a gcc2
20003    builtin and then its argument prototype would still apply.  */
20004 char asinh ();
20005 int
20006 main ()
20007 {
20008 asinh ();
20009   ;
20010   return 0;
20011 }
20012 _ACEOF
20013 rm -f conftest.$ac_objext conftest$ac_exeext
20014 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20015   (eval $ac_link) 2>conftest.er1
20016   ac_status=$?
20017   grep -v '^ *+' conftest.er1 >conftest.err
20018   rm -f conftest.er1
20019   cat conftest.err >&5
20020   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20021   (exit $ac_status); } &&
20022          { ac_try='test -z "$ac_c_werror_flag"
20023                          || test ! -s conftest.err'
20024   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20025   (eval $ac_try) 2>&5
20026   ac_status=$?
20027   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20028   (exit $ac_status); }; } &&
20029          { ac_try='test -s conftest$ac_exeext'
20030   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20031   (eval $ac_try) 2>&5
20032   ac_status=$?
20033   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20034   (exit $ac_status); }; }; then
20035   ac_cv_lib_m_asinh=yes
20036 else
20037   echo "$as_me: failed program was:" >&5
20038 sed 's/^/| /' conftest.$ac_ext >&5
20039
20040 ac_cv_lib_m_asinh=no
20041 fi
20042 rm -f conftest.err conftest.$ac_objext \
20043       conftest$ac_exeext conftest.$ac_ext
20044 LIBS=$ac_check_lib_save_LIBS
20045 fi
20046 echo "$as_me:$LINENO: result: $ac_cv_lib_m_asinh" >&5
20047 echo "${ECHO_T}$ac_cv_lib_m_asinh" >&6
20048 if test $ac_cv_lib_m_asinh = yes; then
20049
20050 cat >>confdefs.h <<\_ACEOF
20051 #define HAVE_ASINH 1
20052 _ACEOF
20053
20054 fi
20055
20056 echo "$as_me:$LINENO: checking for asinhl in -lm" >&5
20057 echo $ECHO_N "checking for asinhl in -lm... $ECHO_C" >&6
20058 if test "${ac_cv_lib_m_asinhl+set}" = set; then
20059   echo $ECHO_N "(cached) $ECHO_C" >&6
20060 else
20061   ac_check_lib_save_LIBS=$LIBS
20062 LIBS="-lm  $LIBS"
20063 if test x$gcc_no_link = xyes; then
20064   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20065 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20066    { (exit 1); exit 1; }; }
20067 fi
20068 cat >conftest.$ac_ext <<_ACEOF
20069 /* confdefs.h.  */
20070 _ACEOF
20071 cat confdefs.h >>conftest.$ac_ext
20072 cat >>conftest.$ac_ext <<_ACEOF
20073 /* end confdefs.h.  */
20074
20075 /* Override any gcc2 internal prototype to avoid an error.  */
20076 #ifdef __cplusplus
20077 extern "C"
20078 #endif
20079 /* We use char because int might match the return type of a gcc2
20080    builtin and then its argument prototype would still apply.  */
20081 char asinhl ();
20082 int
20083 main ()
20084 {
20085 asinhl ();
20086   ;
20087   return 0;
20088 }
20089 _ACEOF
20090 rm -f conftest.$ac_objext conftest$ac_exeext
20091 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20092   (eval $ac_link) 2>conftest.er1
20093   ac_status=$?
20094   grep -v '^ *+' conftest.er1 >conftest.err
20095   rm -f conftest.er1
20096   cat conftest.err >&5
20097   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20098   (exit $ac_status); } &&
20099          { ac_try='test -z "$ac_c_werror_flag"
20100                          || test ! -s conftest.err'
20101   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20102   (eval $ac_try) 2>&5
20103   ac_status=$?
20104   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20105   (exit $ac_status); }; } &&
20106          { ac_try='test -s conftest$ac_exeext'
20107   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20108   (eval $ac_try) 2>&5
20109   ac_status=$?
20110   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20111   (exit $ac_status); }; }; then
20112   ac_cv_lib_m_asinhl=yes
20113 else
20114   echo "$as_me: failed program was:" >&5
20115 sed 's/^/| /' conftest.$ac_ext >&5
20116
20117 ac_cv_lib_m_asinhl=no
20118 fi
20119 rm -f conftest.err conftest.$ac_objext \
20120       conftest$ac_exeext conftest.$ac_ext
20121 LIBS=$ac_check_lib_save_LIBS
20122 fi
20123 echo "$as_me:$LINENO: result: $ac_cv_lib_m_asinhl" >&5
20124 echo "${ECHO_T}$ac_cv_lib_m_asinhl" >&6
20125 if test $ac_cv_lib_m_asinhl = yes; then
20126
20127 cat >>confdefs.h <<\_ACEOF
20128 #define HAVE_ASINHL 1
20129 _ACEOF
20130
20131 fi
20132
20133 echo "$as_me:$LINENO: checking for atan2f in -lm" >&5
20134 echo $ECHO_N "checking for atan2f in -lm... $ECHO_C" >&6
20135 if test "${ac_cv_lib_m_atan2f+set}" = set; then
20136   echo $ECHO_N "(cached) $ECHO_C" >&6
20137 else
20138   ac_check_lib_save_LIBS=$LIBS
20139 LIBS="-lm  $LIBS"
20140 if test x$gcc_no_link = xyes; then
20141   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20142 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20143    { (exit 1); exit 1; }; }
20144 fi
20145 cat >conftest.$ac_ext <<_ACEOF
20146 /* confdefs.h.  */
20147 _ACEOF
20148 cat confdefs.h >>conftest.$ac_ext
20149 cat >>conftest.$ac_ext <<_ACEOF
20150 /* end confdefs.h.  */
20151
20152 /* Override any gcc2 internal prototype to avoid an error.  */
20153 #ifdef __cplusplus
20154 extern "C"
20155 #endif
20156 /* We use char because int might match the return type of a gcc2
20157    builtin and then its argument prototype would still apply.  */
20158 char atan2f ();
20159 int
20160 main ()
20161 {
20162 atan2f ();
20163   ;
20164   return 0;
20165 }
20166 _ACEOF
20167 rm -f conftest.$ac_objext conftest$ac_exeext
20168 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20169   (eval $ac_link) 2>conftest.er1
20170   ac_status=$?
20171   grep -v '^ *+' conftest.er1 >conftest.err
20172   rm -f conftest.er1
20173   cat conftest.err >&5
20174   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20175   (exit $ac_status); } &&
20176          { ac_try='test -z "$ac_c_werror_flag"
20177                          || test ! -s conftest.err'
20178   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20179   (eval $ac_try) 2>&5
20180   ac_status=$?
20181   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20182   (exit $ac_status); }; } &&
20183          { ac_try='test -s conftest$ac_exeext'
20184   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20185   (eval $ac_try) 2>&5
20186   ac_status=$?
20187   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20188   (exit $ac_status); }; }; then
20189   ac_cv_lib_m_atan2f=yes
20190 else
20191   echo "$as_me: failed program was:" >&5
20192 sed 's/^/| /' conftest.$ac_ext >&5
20193
20194 ac_cv_lib_m_atan2f=no
20195 fi
20196 rm -f conftest.err conftest.$ac_objext \
20197       conftest$ac_exeext conftest.$ac_ext
20198 LIBS=$ac_check_lib_save_LIBS
20199 fi
20200 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atan2f" >&5
20201 echo "${ECHO_T}$ac_cv_lib_m_atan2f" >&6
20202 if test $ac_cv_lib_m_atan2f = yes; then
20203
20204 cat >>confdefs.h <<\_ACEOF
20205 #define HAVE_ATAN2F 1
20206 _ACEOF
20207
20208 fi
20209
20210 echo "$as_me:$LINENO: checking for atan2 in -lm" >&5
20211 echo $ECHO_N "checking for atan2 in -lm... $ECHO_C" >&6
20212 if test "${ac_cv_lib_m_atan2+set}" = set; then
20213   echo $ECHO_N "(cached) $ECHO_C" >&6
20214 else
20215   ac_check_lib_save_LIBS=$LIBS
20216 LIBS="-lm  $LIBS"
20217 if test x$gcc_no_link = xyes; then
20218   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20219 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20220    { (exit 1); exit 1; }; }
20221 fi
20222 cat >conftest.$ac_ext <<_ACEOF
20223 /* confdefs.h.  */
20224 _ACEOF
20225 cat confdefs.h >>conftest.$ac_ext
20226 cat >>conftest.$ac_ext <<_ACEOF
20227 /* end confdefs.h.  */
20228
20229 /* Override any gcc2 internal prototype to avoid an error.  */
20230 #ifdef __cplusplus
20231 extern "C"
20232 #endif
20233 /* We use char because int might match the return type of a gcc2
20234    builtin and then its argument prototype would still apply.  */
20235 char atan2 ();
20236 int
20237 main ()
20238 {
20239 atan2 ();
20240   ;
20241   return 0;
20242 }
20243 _ACEOF
20244 rm -f conftest.$ac_objext conftest$ac_exeext
20245 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20246   (eval $ac_link) 2>conftest.er1
20247   ac_status=$?
20248   grep -v '^ *+' conftest.er1 >conftest.err
20249   rm -f conftest.er1
20250   cat conftest.err >&5
20251   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20252   (exit $ac_status); } &&
20253          { ac_try='test -z "$ac_c_werror_flag"
20254                          || test ! -s conftest.err'
20255   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20256   (eval $ac_try) 2>&5
20257   ac_status=$?
20258   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20259   (exit $ac_status); }; } &&
20260          { ac_try='test -s conftest$ac_exeext'
20261   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20262   (eval $ac_try) 2>&5
20263   ac_status=$?
20264   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20265   (exit $ac_status); }; }; then
20266   ac_cv_lib_m_atan2=yes
20267 else
20268   echo "$as_me: failed program was:" >&5
20269 sed 's/^/| /' conftest.$ac_ext >&5
20270
20271 ac_cv_lib_m_atan2=no
20272 fi
20273 rm -f conftest.err conftest.$ac_objext \
20274       conftest$ac_exeext conftest.$ac_ext
20275 LIBS=$ac_check_lib_save_LIBS
20276 fi
20277 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atan2" >&5
20278 echo "${ECHO_T}$ac_cv_lib_m_atan2" >&6
20279 if test $ac_cv_lib_m_atan2 = yes; then
20280
20281 cat >>confdefs.h <<\_ACEOF
20282 #define HAVE_ATAN2 1
20283 _ACEOF
20284
20285 fi
20286
20287 echo "$as_me:$LINENO: checking for atan2l in -lm" >&5
20288 echo $ECHO_N "checking for atan2l in -lm... $ECHO_C" >&6
20289 if test "${ac_cv_lib_m_atan2l+set}" = set; then
20290   echo $ECHO_N "(cached) $ECHO_C" >&6
20291 else
20292   ac_check_lib_save_LIBS=$LIBS
20293 LIBS="-lm  $LIBS"
20294 if test x$gcc_no_link = xyes; then
20295   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20296 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20297    { (exit 1); exit 1; }; }
20298 fi
20299 cat >conftest.$ac_ext <<_ACEOF
20300 /* confdefs.h.  */
20301 _ACEOF
20302 cat confdefs.h >>conftest.$ac_ext
20303 cat >>conftest.$ac_ext <<_ACEOF
20304 /* end confdefs.h.  */
20305
20306 /* Override any gcc2 internal prototype to avoid an error.  */
20307 #ifdef __cplusplus
20308 extern "C"
20309 #endif
20310 /* We use char because int might match the return type of a gcc2
20311    builtin and then its argument prototype would still apply.  */
20312 char atan2l ();
20313 int
20314 main ()
20315 {
20316 atan2l ();
20317   ;
20318   return 0;
20319 }
20320 _ACEOF
20321 rm -f conftest.$ac_objext conftest$ac_exeext
20322 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20323   (eval $ac_link) 2>conftest.er1
20324   ac_status=$?
20325   grep -v '^ *+' conftest.er1 >conftest.err
20326   rm -f conftest.er1
20327   cat conftest.err >&5
20328   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20329   (exit $ac_status); } &&
20330          { ac_try='test -z "$ac_c_werror_flag"
20331                          || test ! -s conftest.err'
20332   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20333   (eval $ac_try) 2>&5
20334   ac_status=$?
20335   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20336   (exit $ac_status); }; } &&
20337          { ac_try='test -s conftest$ac_exeext'
20338   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20339   (eval $ac_try) 2>&5
20340   ac_status=$?
20341   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20342   (exit $ac_status); }; }; then
20343   ac_cv_lib_m_atan2l=yes
20344 else
20345   echo "$as_me: failed program was:" >&5
20346 sed 's/^/| /' conftest.$ac_ext >&5
20347
20348 ac_cv_lib_m_atan2l=no
20349 fi
20350 rm -f conftest.err conftest.$ac_objext \
20351       conftest$ac_exeext conftest.$ac_ext
20352 LIBS=$ac_check_lib_save_LIBS
20353 fi
20354 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atan2l" >&5
20355 echo "${ECHO_T}$ac_cv_lib_m_atan2l" >&6
20356 if test $ac_cv_lib_m_atan2l = yes; then
20357
20358 cat >>confdefs.h <<\_ACEOF
20359 #define HAVE_ATAN2L 1
20360 _ACEOF
20361
20362 fi
20363
20364 echo "$as_me:$LINENO: checking for atanf in -lm" >&5
20365 echo $ECHO_N "checking for atanf in -lm... $ECHO_C" >&6
20366 if test "${ac_cv_lib_m_atanf+set}" = set; then
20367   echo $ECHO_N "(cached) $ECHO_C" >&6
20368 else
20369   ac_check_lib_save_LIBS=$LIBS
20370 LIBS="-lm  $LIBS"
20371 if test x$gcc_no_link = xyes; then
20372   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20373 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20374    { (exit 1); exit 1; }; }
20375 fi
20376 cat >conftest.$ac_ext <<_ACEOF
20377 /* confdefs.h.  */
20378 _ACEOF
20379 cat confdefs.h >>conftest.$ac_ext
20380 cat >>conftest.$ac_ext <<_ACEOF
20381 /* end confdefs.h.  */
20382
20383 /* Override any gcc2 internal prototype to avoid an error.  */
20384 #ifdef __cplusplus
20385 extern "C"
20386 #endif
20387 /* We use char because int might match the return type of a gcc2
20388    builtin and then its argument prototype would still apply.  */
20389 char atanf ();
20390 int
20391 main ()
20392 {
20393 atanf ();
20394   ;
20395   return 0;
20396 }
20397 _ACEOF
20398 rm -f conftest.$ac_objext conftest$ac_exeext
20399 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20400   (eval $ac_link) 2>conftest.er1
20401   ac_status=$?
20402   grep -v '^ *+' conftest.er1 >conftest.err
20403   rm -f conftest.er1
20404   cat conftest.err >&5
20405   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20406   (exit $ac_status); } &&
20407          { ac_try='test -z "$ac_c_werror_flag"
20408                          || test ! -s conftest.err'
20409   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20410   (eval $ac_try) 2>&5
20411   ac_status=$?
20412   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20413   (exit $ac_status); }; } &&
20414          { ac_try='test -s conftest$ac_exeext'
20415   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20416   (eval $ac_try) 2>&5
20417   ac_status=$?
20418   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20419   (exit $ac_status); }; }; then
20420   ac_cv_lib_m_atanf=yes
20421 else
20422   echo "$as_me: failed program was:" >&5
20423 sed 's/^/| /' conftest.$ac_ext >&5
20424
20425 ac_cv_lib_m_atanf=no
20426 fi
20427 rm -f conftest.err conftest.$ac_objext \
20428       conftest$ac_exeext conftest.$ac_ext
20429 LIBS=$ac_check_lib_save_LIBS
20430 fi
20431 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atanf" >&5
20432 echo "${ECHO_T}$ac_cv_lib_m_atanf" >&6
20433 if test $ac_cv_lib_m_atanf = yes; then
20434
20435 cat >>confdefs.h <<\_ACEOF
20436 #define HAVE_ATANF 1
20437 _ACEOF
20438
20439 fi
20440
20441 echo "$as_me:$LINENO: checking for atan in -lm" >&5
20442 echo $ECHO_N "checking for atan in -lm... $ECHO_C" >&6
20443 if test "${ac_cv_lib_m_atan+set}" = set; then
20444   echo $ECHO_N "(cached) $ECHO_C" >&6
20445 else
20446   ac_check_lib_save_LIBS=$LIBS
20447 LIBS="-lm  $LIBS"
20448 if test x$gcc_no_link = xyes; then
20449   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20450 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20451    { (exit 1); exit 1; }; }
20452 fi
20453 cat >conftest.$ac_ext <<_ACEOF
20454 /* confdefs.h.  */
20455 _ACEOF
20456 cat confdefs.h >>conftest.$ac_ext
20457 cat >>conftest.$ac_ext <<_ACEOF
20458 /* end confdefs.h.  */
20459
20460 /* Override any gcc2 internal prototype to avoid an error.  */
20461 #ifdef __cplusplus
20462 extern "C"
20463 #endif
20464 /* We use char because int might match the return type of a gcc2
20465    builtin and then its argument prototype would still apply.  */
20466 char atan ();
20467 int
20468 main ()
20469 {
20470 atan ();
20471   ;
20472   return 0;
20473 }
20474 _ACEOF
20475 rm -f conftest.$ac_objext conftest$ac_exeext
20476 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20477   (eval $ac_link) 2>conftest.er1
20478   ac_status=$?
20479   grep -v '^ *+' conftest.er1 >conftest.err
20480   rm -f conftest.er1
20481   cat conftest.err >&5
20482   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20483   (exit $ac_status); } &&
20484          { ac_try='test -z "$ac_c_werror_flag"
20485                          || test ! -s conftest.err'
20486   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20487   (eval $ac_try) 2>&5
20488   ac_status=$?
20489   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20490   (exit $ac_status); }; } &&
20491          { ac_try='test -s conftest$ac_exeext'
20492   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20493   (eval $ac_try) 2>&5
20494   ac_status=$?
20495   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20496   (exit $ac_status); }; }; then
20497   ac_cv_lib_m_atan=yes
20498 else
20499   echo "$as_me: failed program was:" >&5
20500 sed 's/^/| /' conftest.$ac_ext >&5
20501
20502 ac_cv_lib_m_atan=no
20503 fi
20504 rm -f conftest.err conftest.$ac_objext \
20505       conftest$ac_exeext conftest.$ac_ext
20506 LIBS=$ac_check_lib_save_LIBS
20507 fi
20508 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atan" >&5
20509 echo "${ECHO_T}$ac_cv_lib_m_atan" >&6
20510 if test $ac_cv_lib_m_atan = yes; then
20511
20512 cat >>confdefs.h <<\_ACEOF
20513 #define HAVE_ATAN 1
20514 _ACEOF
20515
20516 fi
20517
20518 echo "$as_me:$LINENO: checking for atanl in -lm" >&5
20519 echo $ECHO_N "checking for atanl in -lm... $ECHO_C" >&6
20520 if test "${ac_cv_lib_m_atanl+set}" = set; then
20521   echo $ECHO_N "(cached) $ECHO_C" >&6
20522 else
20523   ac_check_lib_save_LIBS=$LIBS
20524 LIBS="-lm  $LIBS"
20525 if test x$gcc_no_link = xyes; then
20526   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20527 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20528    { (exit 1); exit 1; }; }
20529 fi
20530 cat >conftest.$ac_ext <<_ACEOF
20531 /* confdefs.h.  */
20532 _ACEOF
20533 cat confdefs.h >>conftest.$ac_ext
20534 cat >>conftest.$ac_ext <<_ACEOF
20535 /* end confdefs.h.  */
20536
20537 /* Override any gcc2 internal prototype to avoid an error.  */
20538 #ifdef __cplusplus
20539 extern "C"
20540 #endif
20541 /* We use char because int might match the return type of a gcc2
20542    builtin and then its argument prototype would still apply.  */
20543 char atanl ();
20544 int
20545 main ()
20546 {
20547 atanl ();
20548   ;
20549   return 0;
20550 }
20551 _ACEOF
20552 rm -f conftest.$ac_objext conftest$ac_exeext
20553 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20554   (eval $ac_link) 2>conftest.er1
20555   ac_status=$?
20556   grep -v '^ *+' conftest.er1 >conftest.err
20557   rm -f conftest.er1
20558   cat conftest.err >&5
20559   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20560   (exit $ac_status); } &&
20561          { ac_try='test -z "$ac_c_werror_flag"
20562                          || test ! -s conftest.err'
20563   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20564   (eval $ac_try) 2>&5
20565   ac_status=$?
20566   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20567   (exit $ac_status); }; } &&
20568          { ac_try='test -s conftest$ac_exeext'
20569   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20570   (eval $ac_try) 2>&5
20571   ac_status=$?
20572   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20573   (exit $ac_status); }; }; then
20574   ac_cv_lib_m_atanl=yes
20575 else
20576   echo "$as_me: failed program was:" >&5
20577 sed 's/^/| /' conftest.$ac_ext >&5
20578
20579 ac_cv_lib_m_atanl=no
20580 fi
20581 rm -f conftest.err conftest.$ac_objext \
20582       conftest$ac_exeext conftest.$ac_ext
20583 LIBS=$ac_check_lib_save_LIBS
20584 fi
20585 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atanl" >&5
20586 echo "${ECHO_T}$ac_cv_lib_m_atanl" >&6
20587 if test $ac_cv_lib_m_atanl = yes; then
20588
20589 cat >>confdefs.h <<\_ACEOF
20590 #define HAVE_ATANL 1
20591 _ACEOF
20592
20593 fi
20594
20595 echo "$as_me:$LINENO: checking for atanhf in -lm" >&5
20596 echo $ECHO_N "checking for atanhf in -lm... $ECHO_C" >&6
20597 if test "${ac_cv_lib_m_atanhf+set}" = set; then
20598   echo $ECHO_N "(cached) $ECHO_C" >&6
20599 else
20600   ac_check_lib_save_LIBS=$LIBS
20601 LIBS="-lm  $LIBS"
20602 if test x$gcc_no_link = xyes; then
20603   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20604 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20605    { (exit 1); exit 1; }; }
20606 fi
20607 cat >conftest.$ac_ext <<_ACEOF
20608 /* confdefs.h.  */
20609 _ACEOF
20610 cat confdefs.h >>conftest.$ac_ext
20611 cat >>conftest.$ac_ext <<_ACEOF
20612 /* end confdefs.h.  */
20613
20614 /* Override any gcc2 internal prototype to avoid an error.  */
20615 #ifdef __cplusplus
20616 extern "C"
20617 #endif
20618 /* We use char because int might match the return type of a gcc2
20619    builtin and then its argument prototype would still apply.  */
20620 char atanhf ();
20621 int
20622 main ()
20623 {
20624 atanhf ();
20625   ;
20626   return 0;
20627 }
20628 _ACEOF
20629 rm -f conftest.$ac_objext conftest$ac_exeext
20630 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20631   (eval $ac_link) 2>conftest.er1
20632   ac_status=$?
20633   grep -v '^ *+' conftest.er1 >conftest.err
20634   rm -f conftest.er1
20635   cat conftest.err >&5
20636   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20637   (exit $ac_status); } &&
20638          { ac_try='test -z "$ac_c_werror_flag"
20639                          || test ! -s conftest.err'
20640   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20641   (eval $ac_try) 2>&5
20642   ac_status=$?
20643   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20644   (exit $ac_status); }; } &&
20645          { ac_try='test -s conftest$ac_exeext'
20646   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20647   (eval $ac_try) 2>&5
20648   ac_status=$?
20649   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20650   (exit $ac_status); }; }; then
20651   ac_cv_lib_m_atanhf=yes
20652 else
20653   echo "$as_me: failed program was:" >&5
20654 sed 's/^/| /' conftest.$ac_ext >&5
20655
20656 ac_cv_lib_m_atanhf=no
20657 fi
20658 rm -f conftest.err conftest.$ac_objext \
20659       conftest$ac_exeext conftest.$ac_ext
20660 LIBS=$ac_check_lib_save_LIBS
20661 fi
20662 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atanhf" >&5
20663 echo "${ECHO_T}$ac_cv_lib_m_atanhf" >&6
20664 if test $ac_cv_lib_m_atanhf = yes; then
20665
20666 cat >>confdefs.h <<\_ACEOF
20667 #define HAVE_ATANHF 1
20668 _ACEOF
20669
20670 fi
20671
20672 echo "$as_me:$LINENO: checking for atanh in -lm" >&5
20673 echo $ECHO_N "checking for atanh in -lm... $ECHO_C" >&6
20674 if test "${ac_cv_lib_m_atanh+set}" = set; then
20675   echo $ECHO_N "(cached) $ECHO_C" >&6
20676 else
20677   ac_check_lib_save_LIBS=$LIBS
20678 LIBS="-lm  $LIBS"
20679 if test x$gcc_no_link = xyes; then
20680   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20681 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20682    { (exit 1); exit 1; }; }
20683 fi
20684 cat >conftest.$ac_ext <<_ACEOF
20685 /* confdefs.h.  */
20686 _ACEOF
20687 cat confdefs.h >>conftest.$ac_ext
20688 cat >>conftest.$ac_ext <<_ACEOF
20689 /* end confdefs.h.  */
20690
20691 /* Override any gcc2 internal prototype to avoid an error.  */
20692 #ifdef __cplusplus
20693 extern "C"
20694 #endif
20695 /* We use char because int might match the return type of a gcc2
20696    builtin and then its argument prototype would still apply.  */
20697 char atanh ();
20698 int
20699 main ()
20700 {
20701 atanh ();
20702   ;
20703   return 0;
20704 }
20705 _ACEOF
20706 rm -f conftest.$ac_objext conftest$ac_exeext
20707 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20708   (eval $ac_link) 2>conftest.er1
20709   ac_status=$?
20710   grep -v '^ *+' conftest.er1 >conftest.err
20711   rm -f conftest.er1
20712   cat conftest.err >&5
20713   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20714   (exit $ac_status); } &&
20715          { ac_try='test -z "$ac_c_werror_flag"
20716                          || test ! -s conftest.err'
20717   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20718   (eval $ac_try) 2>&5
20719   ac_status=$?
20720   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20721   (exit $ac_status); }; } &&
20722          { ac_try='test -s conftest$ac_exeext'
20723   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20724   (eval $ac_try) 2>&5
20725   ac_status=$?
20726   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20727   (exit $ac_status); }; }; then
20728   ac_cv_lib_m_atanh=yes
20729 else
20730   echo "$as_me: failed program was:" >&5
20731 sed 's/^/| /' conftest.$ac_ext >&5
20732
20733 ac_cv_lib_m_atanh=no
20734 fi
20735 rm -f conftest.err conftest.$ac_objext \
20736       conftest$ac_exeext conftest.$ac_ext
20737 LIBS=$ac_check_lib_save_LIBS
20738 fi
20739 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atanh" >&5
20740 echo "${ECHO_T}$ac_cv_lib_m_atanh" >&6
20741 if test $ac_cv_lib_m_atanh = yes; then
20742
20743 cat >>confdefs.h <<\_ACEOF
20744 #define HAVE_ATANH 1
20745 _ACEOF
20746
20747 fi
20748
20749 echo "$as_me:$LINENO: checking for atanhl in -lm" >&5
20750 echo $ECHO_N "checking for atanhl in -lm... $ECHO_C" >&6
20751 if test "${ac_cv_lib_m_atanhl+set}" = set; then
20752   echo $ECHO_N "(cached) $ECHO_C" >&6
20753 else
20754   ac_check_lib_save_LIBS=$LIBS
20755 LIBS="-lm  $LIBS"
20756 if test x$gcc_no_link = xyes; then
20757   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20758 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20759    { (exit 1); exit 1; }; }
20760 fi
20761 cat >conftest.$ac_ext <<_ACEOF
20762 /* confdefs.h.  */
20763 _ACEOF
20764 cat confdefs.h >>conftest.$ac_ext
20765 cat >>conftest.$ac_ext <<_ACEOF
20766 /* end confdefs.h.  */
20767
20768 /* Override any gcc2 internal prototype to avoid an error.  */
20769 #ifdef __cplusplus
20770 extern "C"
20771 #endif
20772 /* We use char because int might match the return type of a gcc2
20773    builtin and then its argument prototype would still apply.  */
20774 char atanhl ();
20775 int
20776 main ()
20777 {
20778 atanhl ();
20779   ;
20780   return 0;
20781 }
20782 _ACEOF
20783 rm -f conftest.$ac_objext conftest$ac_exeext
20784 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20785   (eval $ac_link) 2>conftest.er1
20786   ac_status=$?
20787   grep -v '^ *+' conftest.er1 >conftest.err
20788   rm -f conftest.er1
20789   cat conftest.err >&5
20790   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20791   (exit $ac_status); } &&
20792          { ac_try='test -z "$ac_c_werror_flag"
20793                          || test ! -s conftest.err'
20794   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20795   (eval $ac_try) 2>&5
20796   ac_status=$?
20797   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20798   (exit $ac_status); }; } &&
20799          { ac_try='test -s conftest$ac_exeext'
20800   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20801   (eval $ac_try) 2>&5
20802   ac_status=$?
20803   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20804   (exit $ac_status); }; }; then
20805   ac_cv_lib_m_atanhl=yes
20806 else
20807   echo "$as_me: failed program was:" >&5
20808 sed 's/^/| /' conftest.$ac_ext >&5
20809
20810 ac_cv_lib_m_atanhl=no
20811 fi
20812 rm -f conftest.err conftest.$ac_objext \
20813       conftest$ac_exeext conftest.$ac_ext
20814 LIBS=$ac_check_lib_save_LIBS
20815 fi
20816 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atanhl" >&5
20817 echo "${ECHO_T}$ac_cv_lib_m_atanhl" >&6
20818 if test $ac_cv_lib_m_atanhl = yes; then
20819
20820 cat >>confdefs.h <<\_ACEOF
20821 #define HAVE_ATANHL 1
20822 _ACEOF
20823
20824 fi
20825
20826 echo "$as_me:$LINENO: checking for cargf in -lm" >&5
20827 echo $ECHO_N "checking for cargf in -lm... $ECHO_C" >&6
20828 if test "${ac_cv_lib_m_cargf+set}" = set; then
20829   echo $ECHO_N "(cached) $ECHO_C" >&6
20830 else
20831   ac_check_lib_save_LIBS=$LIBS
20832 LIBS="-lm  $LIBS"
20833 if test x$gcc_no_link = xyes; then
20834   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20835 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20836    { (exit 1); exit 1; }; }
20837 fi
20838 cat >conftest.$ac_ext <<_ACEOF
20839 /* confdefs.h.  */
20840 _ACEOF
20841 cat confdefs.h >>conftest.$ac_ext
20842 cat >>conftest.$ac_ext <<_ACEOF
20843 /* end confdefs.h.  */
20844
20845 /* Override any gcc2 internal prototype to avoid an error.  */
20846 #ifdef __cplusplus
20847 extern "C"
20848 #endif
20849 /* We use char because int might match the return type of a gcc2
20850    builtin and then its argument prototype would still apply.  */
20851 char cargf ();
20852 int
20853 main ()
20854 {
20855 cargf ();
20856   ;
20857   return 0;
20858 }
20859 _ACEOF
20860 rm -f conftest.$ac_objext conftest$ac_exeext
20861 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20862   (eval $ac_link) 2>conftest.er1
20863   ac_status=$?
20864   grep -v '^ *+' conftest.er1 >conftest.err
20865   rm -f conftest.er1
20866   cat conftest.err >&5
20867   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20868   (exit $ac_status); } &&
20869          { ac_try='test -z "$ac_c_werror_flag"
20870                          || test ! -s conftest.err'
20871   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20872   (eval $ac_try) 2>&5
20873   ac_status=$?
20874   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20875   (exit $ac_status); }; } &&
20876          { ac_try='test -s conftest$ac_exeext'
20877   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20878   (eval $ac_try) 2>&5
20879   ac_status=$?
20880   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20881   (exit $ac_status); }; }; then
20882   ac_cv_lib_m_cargf=yes
20883 else
20884   echo "$as_me: failed program was:" >&5
20885 sed 's/^/| /' conftest.$ac_ext >&5
20886
20887 ac_cv_lib_m_cargf=no
20888 fi
20889 rm -f conftest.err conftest.$ac_objext \
20890       conftest$ac_exeext conftest.$ac_ext
20891 LIBS=$ac_check_lib_save_LIBS
20892 fi
20893 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cargf" >&5
20894 echo "${ECHO_T}$ac_cv_lib_m_cargf" >&6
20895 if test $ac_cv_lib_m_cargf = yes; then
20896
20897 cat >>confdefs.h <<\_ACEOF
20898 #define HAVE_CARGF 1
20899 _ACEOF
20900
20901 fi
20902
20903 echo "$as_me:$LINENO: checking for carg in -lm" >&5
20904 echo $ECHO_N "checking for carg in -lm... $ECHO_C" >&6
20905 if test "${ac_cv_lib_m_carg+set}" = set; then
20906   echo $ECHO_N "(cached) $ECHO_C" >&6
20907 else
20908   ac_check_lib_save_LIBS=$LIBS
20909 LIBS="-lm  $LIBS"
20910 if test x$gcc_no_link = xyes; then
20911   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20912 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20913    { (exit 1); exit 1; }; }
20914 fi
20915 cat >conftest.$ac_ext <<_ACEOF
20916 /* confdefs.h.  */
20917 _ACEOF
20918 cat confdefs.h >>conftest.$ac_ext
20919 cat >>conftest.$ac_ext <<_ACEOF
20920 /* end confdefs.h.  */
20921
20922 /* Override any gcc2 internal prototype to avoid an error.  */
20923 #ifdef __cplusplus
20924 extern "C"
20925 #endif
20926 /* We use char because int might match the return type of a gcc2
20927    builtin and then its argument prototype would still apply.  */
20928 char carg ();
20929 int
20930 main ()
20931 {
20932 carg ();
20933   ;
20934   return 0;
20935 }
20936 _ACEOF
20937 rm -f conftest.$ac_objext conftest$ac_exeext
20938 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20939   (eval $ac_link) 2>conftest.er1
20940   ac_status=$?
20941   grep -v '^ *+' conftest.er1 >conftest.err
20942   rm -f conftest.er1
20943   cat conftest.err >&5
20944   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20945   (exit $ac_status); } &&
20946          { ac_try='test -z "$ac_c_werror_flag"
20947                          || test ! -s conftest.err'
20948   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20949   (eval $ac_try) 2>&5
20950   ac_status=$?
20951   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20952   (exit $ac_status); }; } &&
20953          { ac_try='test -s conftest$ac_exeext'
20954   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20955   (eval $ac_try) 2>&5
20956   ac_status=$?
20957   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20958   (exit $ac_status); }; }; then
20959   ac_cv_lib_m_carg=yes
20960 else
20961   echo "$as_me: failed program was:" >&5
20962 sed 's/^/| /' conftest.$ac_ext >&5
20963
20964 ac_cv_lib_m_carg=no
20965 fi
20966 rm -f conftest.err conftest.$ac_objext \
20967       conftest$ac_exeext conftest.$ac_ext
20968 LIBS=$ac_check_lib_save_LIBS
20969 fi
20970 echo "$as_me:$LINENO: result: $ac_cv_lib_m_carg" >&5
20971 echo "${ECHO_T}$ac_cv_lib_m_carg" >&6
20972 if test $ac_cv_lib_m_carg = yes; then
20973
20974 cat >>confdefs.h <<\_ACEOF
20975 #define HAVE_CARG 1
20976 _ACEOF
20977
20978 fi
20979
20980 echo "$as_me:$LINENO: checking for cargl in -lm" >&5
20981 echo $ECHO_N "checking for cargl in -lm... $ECHO_C" >&6
20982 if test "${ac_cv_lib_m_cargl+set}" = set; then
20983   echo $ECHO_N "(cached) $ECHO_C" >&6
20984 else
20985   ac_check_lib_save_LIBS=$LIBS
20986 LIBS="-lm  $LIBS"
20987 if test x$gcc_no_link = xyes; then
20988   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20989 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20990    { (exit 1); exit 1; }; }
20991 fi
20992 cat >conftest.$ac_ext <<_ACEOF
20993 /* confdefs.h.  */
20994 _ACEOF
20995 cat confdefs.h >>conftest.$ac_ext
20996 cat >>conftest.$ac_ext <<_ACEOF
20997 /* end confdefs.h.  */
20998
20999 /* Override any gcc2 internal prototype to avoid an error.  */
21000 #ifdef __cplusplus
21001 extern "C"
21002 #endif
21003 /* We use char because int might match the return type of a gcc2
21004    builtin and then its argument prototype would still apply.  */
21005 char cargl ();
21006 int
21007 main ()
21008 {
21009 cargl ();
21010   ;
21011   return 0;
21012 }
21013 _ACEOF
21014 rm -f conftest.$ac_objext conftest$ac_exeext
21015 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21016   (eval $ac_link) 2>conftest.er1
21017   ac_status=$?
21018   grep -v '^ *+' conftest.er1 >conftest.err
21019   rm -f conftest.er1
21020   cat conftest.err >&5
21021   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21022   (exit $ac_status); } &&
21023          { ac_try='test -z "$ac_c_werror_flag"
21024                          || test ! -s conftest.err'
21025   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21026   (eval $ac_try) 2>&5
21027   ac_status=$?
21028   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21029   (exit $ac_status); }; } &&
21030          { ac_try='test -s conftest$ac_exeext'
21031   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21032   (eval $ac_try) 2>&5
21033   ac_status=$?
21034   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21035   (exit $ac_status); }; }; then
21036   ac_cv_lib_m_cargl=yes
21037 else
21038   echo "$as_me: failed program was:" >&5
21039 sed 's/^/| /' conftest.$ac_ext >&5
21040
21041 ac_cv_lib_m_cargl=no
21042 fi
21043 rm -f conftest.err conftest.$ac_objext \
21044       conftest$ac_exeext conftest.$ac_ext
21045 LIBS=$ac_check_lib_save_LIBS
21046 fi
21047 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cargl" >&5
21048 echo "${ECHO_T}$ac_cv_lib_m_cargl" >&6
21049 if test $ac_cv_lib_m_cargl = yes; then
21050
21051 cat >>confdefs.h <<\_ACEOF
21052 #define HAVE_CARGL 1
21053 _ACEOF
21054
21055 fi
21056
21057 echo "$as_me:$LINENO: checking for ceilf in -lm" >&5
21058 echo $ECHO_N "checking for ceilf in -lm... $ECHO_C" >&6
21059 if test "${ac_cv_lib_m_ceilf+set}" = set; then
21060   echo $ECHO_N "(cached) $ECHO_C" >&6
21061 else
21062   ac_check_lib_save_LIBS=$LIBS
21063 LIBS="-lm  $LIBS"
21064 if test x$gcc_no_link = xyes; then
21065   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21066 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21067    { (exit 1); exit 1; }; }
21068 fi
21069 cat >conftest.$ac_ext <<_ACEOF
21070 /* confdefs.h.  */
21071 _ACEOF
21072 cat confdefs.h >>conftest.$ac_ext
21073 cat >>conftest.$ac_ext <<_ACEOF
21074 /* end confdefs.h.  */
21075
21076 /* Override any gcc2 internal prototype to avoid an error.  */
21077 #ifdef __cplusplus
21078 extern "C"
21079 #endif
21080 /* We use char because int might match the return type of a gcc2
21081    builtin and then its argument prototype would still apply.  */
21082 char ceilf ();
21083 int
21084 main ()
21085 {
21086 ceilf ();
21087   ;
21088   return 0;
21089 }
21090 _ACEOF
21091 rm -f conftest.$ac_objext conftest$ac_exeext
21092 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21093   (eval $ac_link) 2>conftest.er1
21094   ac_status=$?
21095   grep -v '^ *+' conftest.er1 >conftest.err
21096   rm -f conftest.er1
21097   cat conftest.err >&5
21098   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21099   (exit $ac_status); } &&
21100          { ac_try='test -z "$ac_c_werror_flag"
21101                          || test ! -s conftest.err'
21102   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21103   (eval $ac_try) 2>&5
21104   ac_status=$?
21105   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21106   (exit $ac_status); }; } &&
21107          { ac_try='test -s conftest$ac_exeext'
21108   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21109   (eval $ac_try) 2>&5
21110   ac_status=$?
21111   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21112   (exit $ac_status); }; }; then
21113   ac_cv_lib_m_ceilf=yes
21114 else
21115   echo "$as_me: failed program was:" >&5
21116 sed 's/^/| /' conftest.$ac_ext >&5
21117
21118 ac_cv_lib_m_ceilf=no
21119 fi
21120 rm -f conftest.err conftest.$ac_objext \
21121       conftest$ac_exeext conftest.$ac_ext
21122 LIBS=$ac_check_lib_save_LIBS
21123 fi
21124 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ceilf" >&5
21125 echo "${ECHO_T}$ac_cv_lib_m_ceilf" >&6
21126 if test $ac_cv_lib_m_ceilf = yes; then
21127
21128 cat >>confdefs.h <<\_ACEOF
21129 #define HAVE_CEILF 1
21130 _ACEOF
21131
21132 fi
21133
21134 echo "$as_me:$LINENO: checking for ceil in -lm" >&5
21135 echo $ECHO_N "checking for ceil in -lm... $ECHO_C" >&6
21136 if test "${ac_cv_lib_m_ceil+set}" = set; then
21137   echo $ECHO_N "(cached) $ECHO_C" >&6
21138 else
21139   ac_check_lib_save_LIBS=$LIBS
21140 LIBS="-lm  $LIBS"
21141 if test x$gcc_no_link = xyes; then
21142   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21143 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21144    { (exit 1); exit 1; }; }
21145 fi
21146 cat >conftest.$ac_ext <<_ACEOF
21147 /* confdefs.h.  */
21148 _ACEOF
21149 cat confdefs.h >>conftest.$ac_ext
21150 cat >>conftest.$ac_ext <<_ACEOF
21151 /* end confdefs.h.  */
21152
21153 /* Override any gcc2 internal prototype to avoid an error.  */
21154 #ifdef __cplusplus
21155 extern "C"
21156 #endif
21157 /* We use char because int might match the return type of a gcc2
21158    builtin and then its argument prototype would still apply.  */
21159 char ceil ();
21160 int
21161 main ()
21162 {
21163 ceil ();
21164   ;
21165   return 0;
21166 }
21167 _ACEOF
21168 rm -f conftest.$ac_objext conftest$ac_exeext
21169 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21170   (eval $ac_link) 2>conftest.er1
21171   ac_status=$?
21172   grep -v '^ *+' conftest.er1 >conftest.err
21173   rm -f conftest.er1
21174   cat conftest.err >&5
21175   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21176   (exit $ac_status); } &&
21177          { ac_try='test -z "$ac_c_werror_flag"
21178                          || test ! -s conftest.err'
21179   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21180   (eval $ac_try) 2>&5
21181   ac_status=$?
21182   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21183   (exit $ac_status); }; } &&
21184          { ac_try='test -s conftest$ac_exeext'
21185   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21186   (eval $ac_try) 2>&5
21187   ac_status=$?
21188   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21189   (exit $ac_status); }; }; then
21190   ac_cv_lib_m_ceil=yes
21191 else
21192   echo "$as_me: failed program was:" >&5
21193 sed 's/^/| /' conftest.$ac_ext >&5
21194
21195 ac_cv_lib_m_ceil=no
21196 fi
21197 rm -f conftest.err conftest.$ac_objext \
21198       conftest$ac_exeext conftest.$ac_ext
21199 LIBS=$ac_check_lib_save_LIBS
21200 fi
21201 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ceil" >&5
21202 echo "${ECHO_T}$ac_cv_lib_m_ceil" >&6
21203 if test $ac_cv_lib_m_ceil = yes; then
21204
21205 cat >>confdefs.h <<\_ACEOF
21206 #define HAVE_CEIL 1
21207 _ACEOF
21208
21209 fi
21210
21211 echo "$as_me:$LINENO: checking for ceill in -lm" >&5
21212 echo $ECHO_N "checking for ceill in -lm... $ECHO_C" >&6
21213 if test "${ac_cv_lib_m_ceill+set}" = set; then
21214   echo $ECHO_N "(cached) $ECHO_C" >&6
21215 else
21216   ac_check_lib_save_LIBS=$LIBS
21217 LIBS="-lm  $LIBS"
21218 if test x$gcc_no_link = xyes; then
21219   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21220 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21221    { (exit 1); exit 1; }; }
21222 fi
21223 cat >conftest.$ac_ext <<_ACEOF
21224 /* confdefs.h.  */
21225 _ACEOF
21226 cat confdefs.h >>conftest.$ac_ext
21227 cat >>conftest.$ac_ext <<_ACEOF
21228 /* end confdefs.h.  */
21229
21230 /* Override any gcc2 internal prototype to avoid an error.  */
21231 #ifdef __cplusplus
21232 extern "C"
21233 #endif
21234 /* We use char because int might match the return type of a gcc2
21235    builtin and then its argument prototype would still apply.  */
21236 char ceill ();
21237 int
21238 main ()
21239 {
21240 ceill ();
21241   ;
21242   return 0;
21243 }
21244 _ACEOF
21245 rm -f conftest.$ac_objext conftest$ac_exeext
21246 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21247   (eval $ac_link) 2>conftest.er1
21248   ac_status=$?
21249   grep -v '^ *+' conftest.er1 >conftest.err
21250   rm -f conftest.er1
21251   cat conftest.err >&5
21252   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21253   (exit $ac_status); } &&
21254          { ac_try='test -z "$ac_c_werror_flag"
21255                          || test ! -s conftest.err'
21256   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21257   (eval $ac_try) 2>&5
21258   ac_status=$?
21259   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21260   (exit $ac_status); }; } &&
21261          { ac_try='test -s conftest$ac_exeext'
21262   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21263   (eval $ac_try) 2>&5
21264   ac_status=$?
21265   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21266   (exit $ac_status); }; }; then
21267   ac_cv_lib_m_ceill=yes
21268 else
21269   echo "$as_me: failed program was:" >&5
21270 sed 's/^/| /' conftest.$ac_ext >&5
21271
21272 ac_cv_lib_m_ceill=no
21273 fi
21274 rm -f conftest.err conftest.$ac_objext \
21275       conftest$ac_exeext conftest.$ac_ext
21276 LIBS=$ac_check_lib_save_LIBS
21277 fi
21278 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ceill" >&5
21279 echo "${ECHO_T}$ac_cv_lib_m_ceill" >&6
21280 if test $ac_cv_lib_m_ceill = yes; then
21281
21282 cat >>confdefs.h <<\_ACEOF
21283 #define HAVE_CEILL 1
21284 _ACEOF
21285
21286 fi
21287
21288 echo "$as_me:$LINENO: checking for copysignf in -lm" >&5
21289 echo $ECHO_N "checking for copysignf in -lm... $ECHO_C" >&6
21290 if test "${ac_cv_lib_m_copysignf+set}" = set; then
21291   echo $ECHO_N "(cached) $ECHO_C" >&6
21292 else
21293   ac_check_lib_save_LIBS=$LIBS
21294 LIBS="-lm  $LIBS"
21295 if test x$gcc_no_link = xyes; then
21296   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21297 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21298    { (exit 1); exit 1; }; }
21299 fi
21300 cat >conftest.$ac_ext <<_ACEOF
21301 /* confdefs.h.  */
21302 _ACEOF
21303 cat confdefs.h >>conftest.$ac_ext
21304 cat >>conftest.$ac_ext <<_ACEOF
21305 /* end confdefs.h.  */
21306
21307 /* Override any gcc2 internal prototype to avoid an error.  */
21308 #ifdef __cplusplus
21309 extern "C"
21310 #endif
21311 /* We use char because int might match the return type of a gcc2
21312    builtin and then its argument prototype would still apply.  */
21313 char copysignf ();
21314 int
21315 main ()
21316 {
21317 copysignf ();
21318   ;
21319   return 0;
21320 }
21321 _ACEOF
21322 rm -f conftest.$ac_objext conftest$ac_exeext
21323 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21324   (eval $ac_link) 2>conftest.er1
21325   ac_status=$?
21326   grep -v '^ *+' conftest.er1 >conftest.err
21327   rm -f conftest.er1
21328   cat conftest.err >&5
21329   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21330   (exit $ac_status); } &&
21331          { ac_try='test -z "$ac_c_werror_flag"
21332                          || test ! -s conftest.err'
21333   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21334   (eval $ac_try) 2>&5
21335   ac_status=$?
21336   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21337   (exit $ac_status); }; } &&
21338          { ac_try='test -s conftest$ac_exeext'
21339   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21340   (eval $ac_try) 2>&5
21341   ac_status=$?
21342   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21343   (exit $ac_status); }; }; then
21344   ac_cv_lib_m_copysignf=yes
21345 else
21346   echo "$as_me: failed program was:" >&5
21347 sed 's/^/| /' conftest.$ac_ext >&5
21348
21349 ac_cv_lib_m_copysignf=no
21350 fi
21351 rm -f conftest.err conftest.$ac_objext \
21352       conftest$ac_exeext conftest.$ac_ext
21353 LIBS=$ac_check_lib_save_LIBS
21354 fi
21355 echo "$as_me:$LINENO: result: $ac_cv_lib_m_copysignf" >&5
21356 echo "${ECHO_T}$ac_cv_lib_m_copysignf" >&6
21357 if test $ac_cv_lib_m_copysignf = yes; then
21358
21359 cat >>confdefs.h <<\_ACEOF
21360 #define HAVE_COPYSIGNF 1
21361 _ACEOF
21362
21363 fi
21364
21365 echo "$as_me:$LINENO: checking for copysign in -lm" >&5
21366 echo $ECHO_N "checking for copysign in -lm... $ECHO_C" >&6
21367 if test "${ac_cv_lib_m_copysign+set}" = set; then
21368   echo $ECHO_N "(cached) $ECHO_C" >&6
21369 else
21370   ac_check_lib_save_LIBS=$LIBS
21371 LIBS="-lm  $LIBS"
21372 if test x$gcc_no_link = xyes; then
21373   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21374 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21375    { (exit 1); exit 1; }; }
21376 fi
21377 cat >conftest.$ac_ext <<_ACEOF
21378 /* confdefs.h.  */
21379 _ACEOF
21380 cat confdefs.h >>conftest.$ac_ext
21381 cat >>conftest.$ac_ext <<_ACEOF
21382 /* end confdefs.h.  */
21383
21384 /* Override any gcc2 internal prototype to avoid an error.  */
21385 #ifdef __cplusplus
21386 extern "C"
21387 #endif
21388 /* We use char because int might match the return type of a gcc2
21389    builtin and then its argument prototype would still apply.  */
21390 char copysign ();
21391 int
21392 main ()
21393 {
21394 copysign ();
21395   ;
21396   return 0;
21397 }
21398 _ACEOF
21399 rm -f conftest.$ac_objext conftest$ac_exeext
21400 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21401   (eval $ac_link) 2>conftest.er1
21402   ac_status=$?
21403   grep -v '^ *+' conftest.er1 >conftest.err
21404   rm -f conftest.er1
21405   cat conftest.err >&5
21406   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21407   (exit $ac_status); } &&
21408          { ac_try='test -z "$ac_c_werror_flag"
21409                          || test ! -s conftest.err'
21410   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21411   (eval $ac_try) 2>&5
21412   ac_status=$?
21413   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21414   (exit $ac_status); }; } &&
21415          { ac_try='test -s conftest$ac_exeext'
21416   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21417   (eval $ac_try) 2>&5
21418   ac_status=$?
21419   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21420   (exit $ac_status); }; }; then
21421   ac_cv_lib_m_copysign=yes
21422 else
21423   echo "$as_me: failed program was:" >&5
21424 sed 's/^/| /' conftest.$ac_ext >&5
21425
21426 ac_cv_lib_m_copysign=no
21427 fi
21428 rm -f conftest.err conftest.$ac_objext \
21429       conftest$ac_exeext conftest.$ac_ext
21430 LIBS=$ac_check_lib_save_LIBS
21431 fi
21432 echo "$as_me:$LINENO: result: $ac_cv_lib_m_copysign" >&5
21433 echo "${ECHO_T}$ac_cv_lib_m_copysign" >&6
21434 if test $ac_cv_lib_m_copysign = yes; then
21435
21436 cat >>confdefs.h <<\_ACEOF
21437 #define HAVE_COPYSIGN 1
21438 _ACEOF
21439
21440 fi
21441
21442 echo "$as_me:$LINENO: checking for copysignl in -lm" >&5
21443 echo $ECHO_N "checking for copysignl in -lm... $ECHO_C" >&6
21444 if test "${ac_cv_lib_m_copysignl+set}" = set; then
21445   echo $ECHO_N "(cached) $ECHO_C" >&6
21446 else
21447   ac_check_lib_save_LIBS=$LIBS
21448 LIBS="-lm  $LIBS"
21449 if test x$gcc_no_link = xyes; then
21450   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21451 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21452    { (exit 1); exit 1; }; }
21453 fi
21454 cat >conftest.$ac_ext <<_ACEOF
21455 /* confdefs.h.  */
21456 _ACEOF
21457 cat confdefs.h >>conftest.$ac_ext
21458 cat >>conftest.$ac_ext <<_ACEOF
21459 /* end confdefs.h.  */
21460
21461 /* Override any gcc2 internal prototype to avoid an error.  */
21462 #ifdef __cplusplus
21463 extern "C"
21464 #endif
21465 /* We use char because int might match the return type of a gcc2
21466    builtin and then its argument prototype would still apply.  */
21467 char copysignl ();
21468 int
21469 main ()
21470 {
21471 copysignl ();
21472   ;
21473   return 0;
21474 }
21475 _ACEOF
21476 rm -f conftest.$ac_objext conftest$ac_exeext
21477 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21478   (eval $ac_link) 2>conftest.er1
21479   ac_status=$?
21480   grep -v '^ *+' conftest.er1 >conftest.err
21481   rm -f conftest.er1
21482   cat conftest.err >&5
21483   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21484   (exit $ac_status); } &&
21485          { ac_try='test -z "$ac_c_werror_flag"
21486                          || test ! -s conftest.err'
21487   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21488   (eval $ac_try) 2>&5
21489   ac_status=$?
21490   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21491   (exit $ac_status); }; } &&
21492          { ac_try='test -s conftest$ac_exeext'
21493   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21494   (eval $ac_try) 2>&5
21495   ac_status=$?
21496   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21497   (exit $ac_status); }; }; then
21498   ac_cv_lib_m_copysignl=yes
21499 else
21500   echo "$as_me: failed program was:" >&5
21501 sed 's/^/| /' conftest.$ac_ext >&5
21502
21503 ac_cv_lib_m_copysignl=no
21504 fi
21505 rm -f conftest.err conftest.$ac_objext \
21506       conftest$ac_exeext conftest.$ac_ext
21507 LIBS=$ac_check_lib_save_LIBS
21508 fi
21509 echo "$as_me:$LINENO: result: $ac_cv_lib_m_copysignl" >&5
21510 echo "${ECHO_T}$ac_cv_lib_m_copysignl" >&6
21511 if test $ac_cv_lib_m_copysignl = yes; then
21512
21513 cat >>confdefs.h <<\_ACEOF
21514 #define HAVE_COPYSIGNL 1
21515 _ACEOF
21516
21517 fi
21518
21519 echo "$as_me:$LINENO: checking for cosf in -lm" >&5
21520 echo $ECHO_N "checking for cosf in -lm... $ECHO_C" >&6
21521 if test "${ac_cv_lib_m_cosf+set}" = set; then
21522   echo $ECHO_N "(cached) $ECHO_C" >&6
21523 else
21524   ac_check_lib_save_LIBS=$LIBS
21525 LIBS="-lm  $LIBS"
21526 if test x$gcc_no_link = xyes; then
21527   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21528 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21529    { (exit 1); exit 1; }; }
21530 fi
21531 cat >conftest.$ac_ext <<_ACEOF
21532 /* confdefs.h.  */
21533 _ACEOF
21534 cat confdefs.h >>conftest.$ac_ext
21535 cat >>conftest.$ac_ext <<_ACEOF
21536 /* end confdefs.h.  */
21537
21538 /* Override any gcc2 internal prototype to avoid an error.  */
21539 #ifdef __cplusplus
21540 extern "C"
21541 #endif
21542 /* We use char because int might match the return type of a gcc2
21543    builtin and then its argument prototype would still apply.  */
21544 char cosf ();
21545 int
21546 main ()
21547 {
21548 cosf ();
21549   ;
21550   return 0;
21551 }
21552 _ACEOF
21553 rm -f conftest.$ac_objext conftest$ac_exeext
21554 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21555   (eval $ac_link) 2>conftest.er1
21556   ac_status=$?
21557   grep -v '^ *+' conftest.er1 >conftest.err
21558   rm -f conftest.er1
21559   cat conftest.err >&5
21560   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21561   (exit $ac_status); } &&
21562          { ac_try='test -z "$ac_c_werror_flag"
21563                          || test ! -s conftest.err'
21564   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21565   (eval $ac_try) 2>&5
21566   ac_status=$?
21567   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21568   (exit $ac_status); }; } &&
21569          { ac_try='test -s conftest$ac_exeext'
21570   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21571   (eval $ac_try) 2>&5
21572   ac_status=$?
21573   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21574   (exit $ac_status); }; }; then
21575   ac_cv_lib_m_cosf=yes
21576 else
21577   echo "$as_me: failed program was:" >&5
21578 sed 's/^/| /' conftest.$ac_ext >&5
21579
21580 ac_cv_lib_m_cosf=no
21581 fi
21582 rm -f conftest.err conftest.$ac_objext \
21583       conftest$ac_exeext conftest.$ac_ext
21584 LIBS=$ac_check_lib_save_LIBS
21585 fi
21586 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cosf" >&5
21587 echo "${ECHO_T}$ac_cv_lib_m_cosf" >&6
21588 if test $ac_cv_lib_m_cosf = yes; then
21589
21590 cat >>confdefs.h <<\_ACEOF
21591 #define HAVE_COSF 1
21592 _ACEOF
21593
21594 fi
21595
21596 echo "$as_me:$LINENO: checking for cos in -lm" >&5
21597 echo $ECHO_N "checking for cos in -lm... $ECHO_C" >&6
21598 if test "${ac_cv_lib_m_cos+set}" = set; then
21599   echo $ECHO_N "(cached) $ECHO_C" >&6
21600 else
21601   ac_check_lib_save_LIBS=$LIBS
21602 LIBS="-lm  $LIBS"
21603 if test x$gcc_no_link = xyes; then
21604   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21605 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21606    { (exit 1); exit 1; }; }
21607 fi
21608 cat >conftest.$ac_ext <<_ACEOF
21609 /* confdefs.h.  */
21610 _ACEOF
21611 cat confdefs.h >>conftest.$ac_ext
21612 cat >>conftest.$ac_ext <<_ACEOF
21613 /* end confdefs.h.  */
21614
21615 /* Override any gcc2 internal prototype to avoid an error.  */
21616 #ifdef __cplusplus
21617 extern "C"
21618 #endif
21619 /* We use char because int might match the return type of a gcc2
21620    builtin and then its argument prototype would still apply.  */
21621 char cos ();
21622 int
21623 main ()
21624 {
21625 cos ();
21626   ;
21627   return 0;
21628 }
21629 _ACEOF
21630 rm -f conftest.$ac_objext conftest$ac_exeext
21631 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21632   (eval $ac_link) 2>conftest.er1
21633   ac_status=$?
21634   grep -v '^ *+' conftest.er1 >conftest.err
21635   rm -f conftest.er1
21636   cat conftest.err >&5
21637   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21638   (exit $ac_status); } &&
21639          { ac_try='test -z "$ac_c_werror_flag"
21640                          || test ! -s conftest.err'
21641   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21642   (eval $ac_try) 2>&5
21643   ac_status=$?
21644   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21645   (exit $ac_status); }; } &&
21646          { ac_try='test -s conftest$ac_exeext'
21647   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21648   (eval $ac_try) 2>&5
21649   ac_status=$?
21650   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21651   (exit $ac_status); }; }; then
21652   ac_cv_lib_m_cos=yes
21653 else
21654   echo "$as_me: failed program was:" >&5
21655 sed 's/^/| /' conftest.$ac_ext >&5
21656
21657 ac_cv_lib_m_cos=no
21658 fi
21659 rm -f conftest.err conftest.$ac_objext \
21660       conftest$ac_exeext conftest.$ac_ext
21661 LIBS=$ac_check_lib_save_LIBS
21662 fi
21663 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cos" >&5
21664 echo "${ECHO_T}$ac_cv_lib_m_cos" >&6
21665 if test $ac_cv_lib_m_cos = yes; then
21666
21667 cat >>confdefs.h <<\_ACEOF
21668 #define HAVE_COS 1
21669 _ACEOF
21670
21671 fi
21672
21673 echo "$as_me:$LINENO: checking for cosl in -lm" >&5
21674 echo $ECHO_N "checking for cosl in -lm... $ECHO_C" >&6
21675 if test "${ac_cv_lib_m_cosl+set}" = set; then
21676   echo $ECHO_N "(cached) $ECHO_C" >&6
21677 else
21678   ac_check_lib_save_LIBS=$LIBS
21679 LIBS="-lm  $LIBS"
21680 if test x$gcc_no_link = xyes; then
21681   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21682 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21683    { (exit 1); exit 1; }; }
21684 fi
21685 cat >conftest.$ac_ext <<_ACEOF
21686 /* confdefs.h.  */
21687 _ACEOF
21688 cat confdefs.h >>conftest.$ac_ext
21689 cat >>conftest.$ac_ext <<_ACEOF
21690 /* end confdefs.h.  */
21691
21692 /* Override any gcc2 internal prototype to avoid an error.  */
21693 #ifdef __cplusplus
21694 extern "C"
21695 #endif
21696 /* We use char because int might match the return type of a gcc2
21697    builtin and then its argument prototype would still apply.  */
21698 char cosl ();
21699 int
21700 main ()
21701 {
21702 cosl ();
21703   ;
21704   return 0;
21705 }
21706 _ACEOF
21707 rm -f conftest.$ac_objext conftest$ac_exeext
21708 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21709   (eval $ac_link) 2>conftest.er1
21710   ac_status=$?
21711   grep -v '^ *+' conftest.er1 >conftest.err
21712   rm -f conftest.er1
21713   cat conftest.err >&5
21714   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21715   (exit $ac_status); } &&
21716          { ac_try='test -z "$ac_c_werror_flag"
21717                          || test ! -s conftest.err'
21718   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21719   (eval $ac_try) 2>&5
21720   ac_status=$?
21721   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21722   (exit $ac_status); }; } &&
21723          { ac_try='test -s conftest$ac_exeext'
21724   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21725   (eval $ac_try) 2>&5
21726   ac_status=$?
21727   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21728   (exit $ac_status); }; }; then
21729   ac_cv_lib_m_cosl=yes
21730 else
21731   echo "$as_me: failed program was:" >&5
21732 sed 's/^/| /' conftest.$ac_ext >&5
21733
21734 ac_cv_lib_m_cosl=no
21735 fi
21736 rm -f conftest.err conftest.$ac_objext \
21737       conftest$ac_exeext conftest.$ac_ext
21738 LIBS=$ac_check_lib_save_LIBS
21739 fi
21740 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cosl" >&5
21741 echo "${ECHO_T}$ac_cv_lib_m_cosl" >&6
21742 if test $ac_cv_lib_m_cosl = yes; then
21743
21744 cat >>confdefs.h <<\_ACEOF
21745 #define HAVE_COSL 1
21746 _ACEOF
21747
21748 fi
21749
21750 echo "$as_me:$LINENO: checking for ccosf in -lm" >&5
21751 echo $ECHO_N "checking for ccosf in -lm... $ECHO_C" >&6
21752 if test "${ac_cv_lib_m_ccosf+set}" = set; then
21753   echo $ECHO_N "(cached) $ECHO_C" >&6
21754 else
21755   ac_check_lib_save_LIBS=$LIBS
21756 LIBS="-lm  $LIBS"
21757 if test x$gcc_no_link = xyes; then
21758   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21759 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21760    { (exit 1); exit 1; }; }
21761 fi
21762 cat >conftest.$ac_ext <<_ACEOF
21763 /* confdefs.h.  */
21764 _ACEOF
21765 cat confdefs.h >>conftest.$ac_ext
21766 cat >>conftest.$ac_ext <<_ACEOF
21767 /* end confdefs.h.  */
21768
21769 /* Override any gcc2 internal prototype to avoid an error.  */
21770 #ifdef __cplusplus
21771 extern "C"
21772 #endif
21773 /* We use char because int might match the return type of a gcc2
21774    builtin and then its argument prototype would still apply.  */
21775 char ccosf ();
21776 int
21777 main ()
21778 {
21779 ccosf ();
21780   ;
21781   return 0;
21782 }
21783 _ACEOF
21784 rm -f conftest.$ac_objext conftest$ac_exeext
21785 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21786   (eval $ac_link) 2>conftest.er1
21787   ac_status=$?
21788   grep -v '^ *+' conftest.er1 >conftest.err
21789   rm -f conftest.er1
21790   cat conftest.err >&5
21791   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21792   (exit $ac_status); } &&
21793          { ac_try='test -z "$ac_c_werror_flag"
21794                          || test ! -s conftest.err'
21795   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21796   (eval $ac_try) 2>&5
21797   ac_status=$?
21798   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21799   (exit $ac_status); }; } &&
21800          { ac_try='test -s conftest$ac_exeext'
21801   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21802   (eval $ac_try) 2>&5
21803   ac_status=$?
21804   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21805   (exit $ac_status); }; }; then
21806   ac_cv_lib_m_ccosf=yes
21807 else
21808   echo "$as_me: failed program was:" >&5
21809 sed 's/^/| /' conftest.$ac_ext >&5
21810
21811 ac_cv_lib_m_ccosf=no
21812 fi
21813 rm -f conftest.err conftest.$ac_objext \
21814       conftest$ac_exeext conftest.$ac_ext
21815 LIBS=$ac_check_lib_save_LIBS
21816 fi
21817 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ccosf" >&5
21818 echo "${ECHO_T}$ac_cv_lib_m_ccosf" >&6
21819 if test $ac_cv_lib_m_ccosf = yes; then
21820
21821 cat >>confdefs.h <<\_ACEOF
21822 #define HAVE_CCOSF 1
21823 _ACEOF
21824
21825 fi
21826
21827 echo "$as_me:$LINENO: checking for ccos in -lm" >&5
21828 echo $ECHO_N "checking for ccos in -lm... $ECHO_C" >&6
21829 if test "${ac_cv_lib_m_ccos+set}" = set; then
21830   echo $ECHO_N "(cached) $ECHO_C" >&6
21831 else
21832   ac_check_lib_save_LIBS=$LIBS
21833 LIBS="-lm  $LIBS"
21834 if test x$gcc_no_link = xyes; then
21835   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21836 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21837    { (exit 1); exit 1; }; }
21838 fi
21839 cat >conftest.$ac_ext <<_ACEOF
21840 /* confdefs.h.  */
21841 _ACEOF
21842 cat confdefs.h >>conftest.$ac_ext
21843 cat >>conftest.$ac_ext <<_ACEOF
21844 /* end confdefs.h.  */
21845
21846 /* Override any gcc2 internal prototype to avoid an error.  */
21847 #ifdef __cplusplus
21848 extern "C"
21849 #endif
21850 /* We use char because int might match the return type of a gcc2
21851    builtin and then its argument prototype would still apply.  */
21852 char ccos ();
21853 int
21854 main ()
21855 {
21856 ccos ();
21857   ;
21858   return 0;
21859 }
21860 _ACEOF
21861 rm -f conftest.$ac_objext conftest$ac_exeext
21862 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21863   (eval $ac_link) 2>conftest.er1
21864   ac_status=$?
21865   grep -v '^ *+' conftest.er1 >conftest.err
21866   rm -f conftest.er1
21867   cat conftest.err >&5
21868   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21869   (exit $ac_status); } &&
21870          { ac_try='test -z "$ac_c_werror_flag"
21871                          || test ! -s conftest.err'
21872   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21873   (eval $ac_try) 2>&5
21874   ac_status=$?
21875   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21876   (exit $ac_status); }; } &&
21877          { ac_try='test -s conftest$ac_exeext'
21878   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21879   (eval $ac_try) 2>&5
21880   ac_status=$?
21881   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21882   (exit $ac_status); }; }; then
21883   ac_cv_lib_m_ccos=yes
21884 else
21885   echo "$as_me: failed program was:" >&5
21886 sed 's/^/| /' conftest.$ac_ext >&5
21887
21888 ac_cv_lib_m_ccos=no
21889 fi
21890 rm -f conftest.err conftest.$ac_objext \
21891       conftest$ac_exeext conftest.$ac_ext
21892 LIBS=$ac_check_lib_save_LIBS
21893 fi
21894 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ccos" >&5
21895 echo "${ECHO_T}$ac_cv_lib_m_ccos" >&6
21896 if test $ac_cv_lib_m_ccos = yes; then
21897
21898 cat >>confdefs.h <<\_ACEOF
21899 #define HAVE_CCOS 1
21900 _ACEOF
21901
21902 fi
21903
21904 echo "$as_me:$LINENO: checking for ccosl in -lm" >&5
21905 echo $ECHO_N "checking for ccosl in -lm... $ECHO_C" >&6
21906 if test "${ac_cv_lib_m_ccosl+set}" = set; then
21907   echo $ECHO_N "(cached) $ECHO_C" >&6
21908 else
21909   ac_check_lib_save_LIBS=$LIBS
21910 LIBS="-lm  $LIBS"
21911 if test x$gcc_no_link = xyes; then
21912   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21913 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21914    { (exit 1); exit 1; }; }
21915 fi
21916 cat >conftest.$ac_ext <<_ACEOF
21917 /* confdefs.h.  */
21918 _ACEOF
21919 cat confdefs.h >>conftest.$ac_ext
21920 cat >>conftest.$ac_ext <<_ACEOF
21921 /* end confdefs.h.  */
21922
21923 /* Override any gcc2 internal prototype to avoid an error.  */
21924 #ifdef __cplusplus
21925 extern "C"
21926 #endif
21927 /* We use char because int might match the return type of a gcc2
21928    builtin and then its argument prototype would still apply.  */
21929 char ccosl ();
21930 int
21931 main ()
21932 {
21933 ccosl ();
21934   ;
21935   return 0;
21936 }
21937 _ACEOF
21938 rm -f conftest.$ac_objext conftest$ac_exeext
21939 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21940   (eval $ac_link) 2>conftest.er1
21941   ac_status=$?
21942   grep -v '^ *+' conftest.er1 >conftest.err
21943   rm -f conftest.er1
21944   cat conftest.err >&5
21945   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21946   (exit $ac_status); } &&
21947          { ac_try='test -z "$ac_c_werror_flag"
21948                          || test ! -s conftest.err'
21949   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21950   (eval $ac_try) 2>&5
21951   ac_status=$?
21952   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21953   (exit $ac_status); }; } &&
21954          { ac_try='test -s conftest$ac_exeext'
21955   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21956   (eval $ac_try) 2>&5
21957   ac_status=$?
21958   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21959   (exit $ac_status); }; }; then
21960   ac_cv_lib_m_ccosl=yes
21961 else
21962   echo "$as_me: failed program was:" >&5
21963 sed 's/^/| /' conftest.$ac_ext >&5
21964
21965 ac_cv_lib_m_ccosl=no
21966 fi
21967 rm -f conftest.err conftest.$ac_objext \
21968       conftest$ac_exeext conftest.$ac_ext
21969 LIBS=$ac_check_lib_save_LIBS
21970 fi
21971 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ccosl" >&5
21972 echo "${ECHO_T}$ac_cv_lib_m_ccosl" >&6
21973 if test $ac_cv_lib_m_ccosl = yes; then
21974
21975 cat >>confdefs.h <<\_ACEOF
21976 #define HAVE_CCOSL 1
21977 _ACEOF
21978
21979 fi
21980
21981 echo "$as_me:$LINENO: checking for coshf in -lm" >&5
21982 echo $ECHO_N "checking for coshf in -lm... $ECHO_C" >&6
21983 if test "${ac_cv_lib_m_coshf+set}" = set; then
21984   echo $ECHO_N "(cached) $ECHO_C" >&6
21985 else
21986   ac_check_lib_save_LIBS=$LIBS
21987 LIBS="-lm  $LIBS"
21988 if test x$gcc_no_link = xyes; then
21989   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21990 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21991    { (exit 1); exit 1; }; }
21992 fi
21993 cat >conftest.$ac_ext <<_ACEOF
21994 /* confdefs.h.  */
21995 _ACEOF
21996 cat confdefs.h >>conftest.$ac_ext
21997 cat >>conftest.$ac_ext <<_ACEOF
21998 /* end confdefs.h.  */
21999
22000 /* Override any gcc2 internal prototype to avoid an error.  */
22001 #ifdef __cplusplus
22002 extern "C"
22003 #endif
22004 /* We use char because int might match the return type of a gcc2
22005    builtin and then its argument prototype would still apply.  */
22006 char coshf ();
22007 int
22008 main ()
22009 {
22010 coshf ();
22011   ;
22012   return 0;
22013 }
22014 _ACEOF
22015 rm -f conftest.$ac_objext conftest$ac_exeext
22016 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22017   (eval $ac_link) 2>conftest.er1
22018   ac_status=$?
22019   grep -v '^ *+' conftest.er1 >conftest.err
22020   rm -f conftest.er1
22021   cat conftest.err >&5
22022   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22023   (exit $ac_status); } &&
22024          { ac_try='test -z "$ac_c_werror_flag"
22025                          || test ! -s conftest.err'
22026   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22027   (eval $ac_try) 2>&5
22028   ac_status=$?
22029   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22030   (exit $ac_status); }; } &&
22031          { ac_try='test -s conftest$ac_exeext'
22032   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22033   (eval $ac_try) 2>&5
22034   ac_status=$?
22035   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22036   (exit $ac_status); }; }; then
22037   ac_cv_lib_m_coshf=yes
22038 else
22039   echo "$as_me: failed program was:" >&5
22040 sed 's/^/| /' conftest.$ac_ext >&5
22041
22042 ac_cv_lib_m_coshf=no
22043 fi
22044 rm -f conftest.err conftest.$ac_objext \
22045       conftest$ac_exeext conftest.$ac_ext
22046 LIBS=$ac_check_lib_save_LIBS
22047 fi
22048 echo "$as_me:$LINENO: result: $ac_cv_lib_m_coshf" >&5
22049 echo "${ECHO_T}$ac_cv_lib_m_coshf" >&6
22050 if test $ac_cv_lib_m_coshf = yes; then
22051
22052 cat >>confdefs.h <<\_ACEOF
22053 #define HAVE_COSHF 1
22054 _ACEOF
22055
22056 fi
22057
22058 echo "$as_me:$LINENO: checking for cosh in -lm" >&5
22059 echo $ECHO_N "checking for cosh in -lm... $ECHO_C" >&6
22060 if test "${ac_cv_lib_m_cosh+set}" = set; then
22061   echo $ECHO_N "(cached) $ECHO_C" >&6
22062 else
22063   ac_check_lib_save_LIBS=$LIBS
22064 LIBS="-lm  $LIBS"
22065 if test x$gcc_no_link = xyes; then
22066   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22067 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22068    { (exit 1); exit 1; }; }
22069 fi
22070 cat >conftest.$ac_ext <<_ACEOF
22071 /* confdefs.h.  */
22072 _ACEOF
22073 cat confdefs.h >>conftest.$ac_ext
22074 cat >>conftest.$ac_ext <<_ACEOF
22075 /* end confdefs.h.  */
22076
22077 /* Override any gcc2 internal prototype to avoid an error.  */
22078 #ifdef __cplusplus
22079 extern "C"
22080 #endif
22081 /* We use char because int might match the return type of a gcc2
22082    builtin and then its argument prototype would still apply.  */
22083 char cosh ();
22084 int
22085 main ()
22086 {
22087 cosh ();
22088   ;
22089   return 0;
22090 }
22091 _ACEOF
22092 rm -f conftest.$ac_objext conftest$ac_exeext
22093 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22094   (eval $ac_link) 2>conftest.er1
22095   ac_status=$?
22096   grep -v '^ *+' conftest.er1 >conftest.err
22097   rm -f conftest.er1
22098   cat conftest.err >&5
22099   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22100   (exit $ac_status); } &&
22101          { ac_try='test -z "$ac_c_werror_flag"
22102                          || test ! -s conftest.err'
22103   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22104   (eval $ac_try) 2>&5
22105   ac_status=$?
22106   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22107   (exit $ac_status); }; } &&
22108          { ac_try='test -s conftest$ac_exeext'
22109   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22110   (eval $ac_try) 2>&5
22111   ac_status=$?
22112   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22113   (exit $ac_status); }; }; then
22114   ac_cv_lib_m_cosh=yes
22115 else
22116   echo "$as_me: failed program was:" >&5
22117 sed 's/^/| /' conftest.$ac_ext >&5
22118
22119 ac_cv_lib_m_cosh=no
22120 fi
22121 rm -f conftest.err conftest.$ac_objext \
22122       conftest$ac_exeext conftest.$ac_ext
22123 LIBS=$ac_check_lib_save_LIBS
22124 fi
22125 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cosh" >&5
22126 echo "${ECHO_T}$ac_cv_lib_m_cosh" >&6
22127 if test $ac_cv_lib_m_cosh = yes; then
22128
22129 cat >>confdefs.h <<\_ACEOF
22130 #define HAVE_COSH 1
22131 _ACEOF
22132
22133 fi
22134
22135 echo "$as_me:$LINENO: checking for coshl in -lm" >&5
22136 echo $ECHO_N "checking for coshl in -lm... $ECHO_C" >&6
22137 if test "${ac_cv_lib_m_coshl+set}" = set; then
22138   echo $ECHO_N "(cached) $ECHO_C" >&6
22139 else
22140   ac_check_lib_save_LIBS=$LIBS
22141 LIBS="-lm  $LIBS"
22142 if test x$gcc_no_link = xyes; then
22143   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22144 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22145    { (exit 1); exit 1; }; }
22146 fi
22147 cat >conftest.$ac_ext <<_ACEOF
22148 /* confdefs.h.  */
22149 _ACEOF
22150 cat confdefs.h >>conftest.$ac_ext
22151 cat >>conftest.$ac_ext <<_ACEOF
22152 /* end confdefs.h.  */
22153
22154 /* Override any gcc2 internal prototype to avoid an error.  */
22155 #ifdef __cplusplus
22156 extern "C"
22157 #endif
22158 /* We use char because int might match the return type of a gcc2
22159    builtin and then its argument prototype would still apply.  */
22160 char coshl ();
22161 int
22162 main ()
22163 {
22164 coshl ();
22165   ;
22166   return 0;
22167 }
22168 _ACEOF
22169 rm -f conftest.$ac_objext conftest$ac_exeext
22170 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22171   (eval $ac_link) 2>conftest.er1
22172   ac_status=$?
22173   grep -v '^ *+' conftest.er1 >conftest.err
22174   rm -f conftest.er1
22175   cat conftest.err >&5
22176   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22177   (exit $ac_status); } &&
22178          { ac_try='test -z "$ac_c_werror_flag"
22179                          || test ! -s conftest.err'
22180   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22181   (eval $ac_try) 2>&5
22182   ac_status=$?
22183   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22184   (exit $ac_status); }; } &&
22185          { ac_try='test -s conftest$ac_exeext'
22186   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22187   (eval $ac_try) 2>&5
22188   ac_status=$?
22189   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22190   (exit $ac_status); }; }; then
22191   ac_cv_lib_m_coshl=yes
22192 else
22193   echo "$as_me: failed program was:" >&5
22194 sed 's/^/| /' conftest.$ac_ext >&5
22195
22196 ac_cv_lib_m_coshl=no
22197 fi
22198 rm -f conftest.err conftest.$ac_objext \
22199       conftest$ac_exeext conftest.$ac_ext
22200 LIBS=$ac_check_lib_save_LIBS
22201 fi
22202 echo "$as_me:$LINENO: result: $ac_cv_lib_m_coshl" >&5
22203 echo "${ECHO_T}$ac_cv_lib_m_coshl" >&6
22204 if test $ac_cv_lib_m_coshl = yes; then
22205
22206 cat >>confdefs.h <<\_ACEOF
22207 #define HAVE_COSHL 1
22208 _ACEOF
22209
22210 fi
22211
22212 echo "$as_me:$LINENO: checking for ccoshf in -lm" >&5
22213 echo $ECHO_N "checking for ccoshf in -lm... $ECHO_C" >&6
22214 if test "${ac_cv_lib_m_ccoshf+set}" = set; then
22215   echo $ECHO_N "(cached) $ECHO_C" >&6
22216 else
22217   ac_check_lib_save_LIBS=$LIBS
22218 LIBS="-lm  $LIBS"
22219 if test x$gcc_no_link = xyes; then
22220   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22221 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22222    { (exit 1); exit 1; }; }
22223 fi
22224 cat >conftest.$ac_ext <<_ACEOF
22225 /* confdefs.h.  */
22226 _ACEOF
22227 cat confdefs.h >>conftest.$ac_ext
22228 cat >>conftest.$ac_ext <<_ACEOF
22229 /* end confdefs.h.  */
22230
22231 /* Override any gcc2 internal prototype to avoid an error.  */
22232 #ifdef __cplusplus
22233 extern "C"
22234 #endif
22235 /* We use char because int might match the return type of a gcc2
22236    builtin and then its argument prototype would still apply.  */
22237 char ccoshf ();
22238 int
22239 main ()
22240 {
22241 ccoshf ();
22242   ;
22243   return 0;
22244 }
22245 _ACEOF
22246 rm -f conftest.$ac_objext conftest$ac_exeext
22247 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22248   (eval $ac_link) 2>conftest.er1
22249   ac_status=$?
22250   grep -v '^ *+' conftest.er1 >conftest.err
22251   rm -f conftest.er1
22252   cat conftest.err >&5
22253   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22254   (exit $ac_status); } &&
22255          { ac_try='test -z "$ac_c_werror_flag"
22256                          || test ! -s conftest.err'
22257   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22258   (eval $ac_try) 2>&5
22259   ac_status=$?
22260   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22261   (exit $ac_status); }; } &&
22262          { ac_try='test -s conftest$ac_exeext'
22263   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22264   (eval $ac_try) 2>&5
22265   ac_status=$?
22266   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22267   (exit $ac_status); }; }; then
22268   ac_cv_lib_m_ccoshf=yes
22269 else
22270   echo "$as_me: failed program was:" >&5
22271 sed 's/^/| /' conftest.$ac_ext >&5
22272
22273 ac_cv_lib_m_ccoshf=no
22274 fi
22275 rm -f conftest.err conftest.$ac_objext \
22276       conftest$ac_exeext conftest.$ac_ext
22277 LIBS=$ac_check_lib_save_LIBS
22278 fi
22279 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ccoshf" >&5
22280 echo "${ECHO_T}$ac_cv_lib_m_ccoshf" >&6
22281 if test $ac_cv_lib_m_ccoshf = yes; then
22282
22283 cat >>confdefs.h <<\_ACEOF
22284 #define HAVE_CCOSHF 1
22285 _ACEOF
22286
22287 fi
22288
22289 echo "$as_me:$LINENO: checking for ccosh in -lm" >&5
22290 echo $ECHO_N "checking for ccosh in -lm... $ECHO_C" >&6
22291 if test "${ac_cv_lib_m_ccosh+set}" = set; then
22292   echo $ECHO_N "(cached) $ECHO_C" >&6
22293 else
22294   ac_check_lib_save_LIBS=$LIBS
22295 LIBS="-lm  $LIBS"
22296 if test x$gcc_no_link = xyes; then
22297   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22298 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22299    { (exit 1); exit 1; }; }
22300 fi
22301 cat >conftest.$ac_ext <<_ACEOF
22302 /* confdefs.h.  */
22303 _ACEOF
22304 cat confdefs.h >>conftest.$ac_ext
22305 cat >>conftest.$ac_ext <<_ACEOF
22306 /* end confdefs.h.  */
22307
22308 /* Override any gcc2 internal prototype to avoid an error.  */
22309 #ifdef __cplusplus
22310 extern "C"
22311 #endif
22312 /* We use char because int might match the return type of a gcc2
22313    builtin and then its argument prototype would still apply.  */
22314 char ccosh ();
22315 int
22316 main ()
22317 {
22318 ccosh ();
22319   ;
22320   return 0;
22321 }
22322 _ACEOF
22323 rm -f conftest.$ac_objext conftest$ac_exeext
22324 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22325   (eval $ac_link) 2>conftest.er1
22326   ac_status=$?
22327   grep -v '^ *+' conftest.er1 >conftest.err
22328   rm -f conftest.er1
22329   cat conftest.err >&5
22330   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22331   (exit $ac_status); } &&
22332          { ac_try='test -z "$ac_c_werror_flag"
22333                          || test ! -s conftest.err'
22334   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22335   (eval $ac_try) 2>&5
22336   ac_status=$?
22337   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22338   (exit $ac_status); }; } &&
22339          { ac_try='test -s conftest$ac_exeext'
22340   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22341   (eval $ac_try) 2>&5
22342   ac_status=$?
22343   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22344   (exit $ac_status); }; }; then
22345   ac_cv_lib_m_ccosh=yes
22346 else
22347   echo "$as_me: failed program was:" >&5
22348 sed 's/^/| /' conftest.$ac_ext >&5
22349
22350 ac_cv_lib_m_ccosh=no
22351 fi
22352 rm -f conftest.err conftest.$ac_objext \
22353       conftest$ac_exeext conftest.$ac_ext
22354 LIBS=$ac_check_lib_save_LIBS
22355 fi
22356 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ccosh" >&5
22357 echo "${ECHO_T}$ac_cv_lib_m_ccosh" >&6
22358 if test $ac_cv_lib_m_ccosh = yes; then
22359
22360 cat >>confdefs.h <<\_ACEOF
22361 #define HAVE_CCOSH 1
22362 _ACEOF
22363
22364 fi
22365
22366 echo "$as_me:$LINENO: checking for ccoshl in -lm" >&5
22367 echo $ECHO_N "checking for ccoshl in -lm... $ECHO_C" >&6
22368 if test "${ac_cv_lib_m_ccoshl+set}" = set; then
22369   echo $ECHO_N "(cached) $ECHO_C" >&6
22370 else
22371   ac_check_lib_save_LIBS=$LIBS
22372 LIBS="-lm  $LIBS"
22373 if test x$gcc_no_link = xyes; then
22374   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22375 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22376    { (exit 1); exit 1; }; }
22377 fi
22378 cat >conftest.$ac_ext <<_ACEOF
22379 /* confdefs.h.  */
22380 _ACEOF
22381 cat confdefs.h >>conftest.$ac_ext
22382 cat >>conftest.$ac_ext <<_ACEOF
22383 /* end confdefs.h.  */
22384
22385 /* Override any gcc2 internal prototype to avoid an error.  */
22386 #ifdef __cplusplus
22387 extern "C"
22388 #endif
22389 /* We use char because int might match the return type of a gcc2
22390    builtin and then its argument prototype would still apply.  */
22391 char ccoshl ();
22392 int
22393 main ()
22394 {
22395 ccoshl ();
22396   ;
22397   return 0;
22398 }
22399 _ACEOF
22400 rm -f conftest.$ac_objext conftest$ac_exeext
22401 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22402   (eval $ac_link) 2>conftest.er1
22403   ac_status=$?
22404   grep -v '^ *+' conftest.er1 >conftest.err
22405   rm -f conftest.er1
22406   cat conftest.err >&5
22407   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22408   (exit $ac_status); } &&
22409          { ac_try='test -z "$ac_c_werror_flag"
22410                          || test ! -s conftest.err'
22411   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22412   (eval $ac_try) 2>&5
22413   ac_status=$?
22414   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22415   (exit $ac_status); }; } &&
22416          { ac_try='test -s conftest$ac_exeext'
22417   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22418   (eval $ac_try) 2>&5
22419   ac_status=$?
22420   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22421   (exit $ac_status); }; }; then
22422   ac_cv_lib_m_ccoshl=yes
22423 else
22424   echo "$as_me: failed program was:" >&5
22425 sed 's/^/| /' conftest.$ac_ext >&5
22426
22427 ac_cv_lib_m_ccoshl=no
22428 fi
22429 rm -f conftest.err conftest.$ac_objext \
22430       conftest$ac_exeext conftest.$ac_ext
22431 LIBS=$ac_check_lib_save_LIBS
22432 fi
22433 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ccoshl" >&5
22434 echo "${ECHO_T}$ac_cv_lib_m_ccoshl" >&6
22435 if test $ac_cv_lib_m_ccoshl = yes; then
22436
22437 cat >>confdefs.h <<\_ACEOF
22438 #define HAVE_CCOSHL 1
22439 _ACEOF
22440
22441 fi
22442
22443 echo "$as_me:$LINENO: checking for expf in -lm" >&5
22444 echo $ECHO_N "checking for expf in -lm... $ECHO_C" >&6
22445 if test "${ac_cv_lib_m_expf+set}" = set; then
22446   echo $ECHO_N "(cached) $ECHO_C" >&6
22447 else
22448   ac_check_lib_save_LIBS=$LIBS
22449 LIBS="-lm  $LIBS"
22450 if test x$gcc_no_link = xyes; then
22451   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22452 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22453    { (exit 1); exit 1; }; }
22454 fi
22455 cat >conftest.$ac_ext <<_ACEOF
22456 /* confdefs.h.  */
22457 _ACEOF
22458 cat confdefs.h >>conftest.$ac_ext
22459 cat >>conftest.$ac_ext <<_ACEOF
22460 /* end confdefs.h.  */
22461
22462 /* Override any gcc2 internal prototype to avoid an error.  */
22463 #ifdef __cplusplus
22464 extern "C"
22465 #endif
22466 /* We use char because int might match the return type of a gcc2
22467    builtin and then its argument prototype would still apply.  */
22468 char expf ();
22469 int
22470 main ()
22471 {
22472 expf ();
22473   ;
22474   return 0;
22475 }
22476 _ACEOF
22477 rm -f conftest.$ac_objext conftest$ac_exeext
22478 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22479   (eval $ac_link) 2>conftest.er1
22480   ac_status=$?
22481   grep -v '^ *+' conftest.er1 >conftest.err
22482   rm -f conftest.er1
22483   cat conftest.err >&5
22484   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22485   (exit $ac_status); } &&
22486          { ac_try='test -z "$ac_c_werror_flag"
22487                          || test ! -s conftest.err'
22488   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22489   (eval $ac_try) 2>&5
22490   ac_status=$?
22491   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22492   (exit $ac_status); }; } &&
22493          { ac_try='test -s conftest$ac_exeext'
22494   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22495   (eval $ac_try) 2>&5
22496   ac_status=$?
22497   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22498   (exit $ac_status); }; }; then
22499   ac_cv_lib_m_expf=yes
22500 else
22501   echo "$as_me: failed program was:" >&5
22502 sed 's/^/| /' conftest.$ac_ext >&5
22503
22504 ac_cv_lib_m_expf=no
22505 fi
22506 rm -f conftest.err conftest.$ac_objext \
22507       conftest$ac_exeext conftest.$ac_ext
22508 LIBS=$ac_check_lib_save_LIBS
22509 fi
22510 echo "$as_me:$LINENO: result: $ac_cv_lib_m_expf" >&5
22511 echo "${ECHO_T}$ac_cv_lib_m_expf" >&6
22512 if test $ac_cv_lib_m_expf = yes; then
22513
22514 cat >>confdefs.h <<\_ACEOF
22515 #define HAVE_EXPF 1
22516 _ACEOF
22517
22518 fi
22519
22520 echo "$as_me:$LINENO: checking for exp in -lm" >&5
22521 echo $ECHO_N "checking for exp in -lm... $ECHO_C" >&6
22522 if test "${ac_cv_lib_m_exp+set}" = set; then
22523   echo $ECHO_N "(cached) $ECHO_C" >&6
22524 else
22525   ac_check_lib_save_LIBS=$LIBS
22526 LIBS="-lm  $LIBS"
22527 if test x$gcc_no_link = xyes; then
22528   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22529 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22530    { (exit 1); exit 1; }; }
22531 fi
22532 cat >conftest.$ac_ext <<_ACEOF
22533 /* confdefs.h.  */
22534 _ACEOF
22535 cat confdefs.h >>conftest.$ac_ext
22536 cat >>conftest.$ac_ext <<_ACEOF
22537 /* end confdefs.h.  */
22538
22539 /* Override any gcc2 internal prototype to avoid an error.  */
22540 #ifdef __cplusplus
22541 extern "C"
22542 #endif
22543 /* We use char because int might match the return type of a gcc2
22544    builtin and then its argument prototype would still apply.  */
22545 char exp ();
22546 int
22547 main ()
22548 {
22549 exp ();
22550   ;
22551   return 0;
22552 }
22553 _ACEOF
22554 rm -f conftest.$ac_objext conftest$ac_exeext
22555 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22556   (eval $ac_link) 2>conftest.er1
22557   ac_status=$?
22558   grep -v '^ *+' conftest.er1 >conftest.err
22559   rm -f conftest.er1
22560   cat conftest.err >&5
22561   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22562   (exit $ac_status); } &&
22563          { ac_try='test -z "$ac_c_werror_flag"
22564                          || test ! -s conftest.err'
22565   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22566   (eval $ac_try) 2>&5
22567   ac_status=$?
22568   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22569   (exit $ac_status); }; } &&
22570          { ac_try='test -s conftest$ac_exeext'
22571   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22572   (eval $ac_try) 2>&5
22573   ac_status=$?
22574   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22575   (exit $ac_status); }; }; then
22576   ac_cv_lib_m_exp=yes
22577 else
22578   echo "$as_me: failed program was:" >&5
22579 sed 's/^/| /' conftest.$ac_ext >&5
22580
22581 ac_cv_lib_m_exp=no
22582 fi
22583 rm -f conftest.err conftest.$ac_objext \
22584       conftest$ac_exeext conftest.$ac_ext
22585 LIBS=$ac_check_lib_save_LIBS
22586 fi
22587 echo "$as_me:$LINENO: result: $ac_cv_lib_m_exp" >&5
22588 echo "${ECHO_T}$ac_cv_lib_m_exp" >&6
22589 if test $ac_cv_lib_m_exp = yes; then
22590
22591 cat >>confdefs.h <<\_ACEOF
22592 #define HAVE_EXP 1
22593 _ACEOF
22594
22595 fi
22596
22597 echo "$as_me:$LINENO: checking for expl in -lm" >&5
22598 echo $ECHO_N "checking for expl in -lm... $ECHO_C" >&6
22599 if test "${ac_cv_lib_m_expl+set}" = set; then
22600   echo $ECHO_N "(cached) $ECHO_C" >&6
22601 else
22602   ac_check_lib_save_LIBS=$LIBS
22603 LIBS="-lm  $LIBS"
22604 if test x$gcc_no_link = xyes; then
22605   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22606 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22607    { (exit 1); exit 1; }; }
22608 fi
22609 cat >conftest.$ac_ext <<_ACEOF
22610 /* confdefs.h.  */
22611 _ACEOF
22612 cat confdefs.h >>conftest.$ac_ext
22613 cat >>conftest.$ac_ext <<_ACEOF
22614 /* end confdefs.h.  */
22615
22616 /* Override any gcc2 internal prototype to avoid an error.  */
22617 #ifdef __cplusplus
22618 extern "C"
22619 #endif
22620 /* We use char because int might match the return type of a gcc2
22621    builtin and then its argument prototype would still apply.  */
22622 char expl ();
22623 int
22624 main ()
22625 {
22626 expl ();
22627   ;
22628   return 0;
22629 }
22630 _ACEOF
22631 rm -f conftest.$ac_objext conftest$ac_exeext
22632 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22633   (eval $ac_link) 2>conftest.er1
22634   ac_status=$?
22635   grep -v '^ *+' conftest.er1 >conftest.err
22636   rm -f conftest.er1
22637   cat conftest.err >&5
22638   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22639   (exit $ac_status); } &&
22640          { ac_try='test -z "$ac_c_werror_flag"
22641                          || test ! -s conftest.err'
22642   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22643   (eval $ac_try) 2>&5
22644   ac_status=$?
22645   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22646   (exit $ac_status); }; } &&
22647          { ac_try='test -s conftest$ac_exeext'
22648   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22649   (eval $ac_try) 2>&5
22650   ac_status=$?
22651   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22652   (exit $ac_status); }; }; then
22653   ac_cv_lib_m_expl=yes
22654 else
22655   echo "$as_me: failed program was:" >&5
22656 sed 's/^/| /' conftest.$ac_ext >&5
22657
22658 ac_cv_lib_m_expl=no
22659 fi
22660 rm -f conftest.err conftest.$ac_objext \
22661       conftest$ac_exeext conftest.$ac_ext
22662 LIBS=$ac_check_lib_save_LIBS
22663 fi
22664 echo "$as_me:$LINENO: result: $ac_cv_lib_m_expl" >&5
22665 echo "${ECHO_T}$ac_cv_lib_m_expl" >&6
22666 if test $ac_cv_lib_m_expl = yes; then
22667
22668 cat >>confdefs.h <<\_ACEOF
22669 #define HAVE_EXPL 1
22670 _ACEOF
22671
22672 fi
22673
22674 echo "$as_me:$LINENO: checking for cexpf in -lm" >&5
22675 echo $ECHO_N "checking for cexpf in -lm... $ECHO_C" >&6
22676 if test "${ac_cv_lib_m_cexpf+set}" = set; then
22677   echo $ECHO_N "(cached) $ECHO_C" >&6
22678 else
22679   ac_check_lib_save_LIBS=$LIBS
22680 LIBS="-lm  $LIBS"
22681 if test x$gcc_no_link = xyes; then
22682   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22683 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22684    { (exit 1); exit 1; }; }
22685 fi
22686 cat >conftest.$ac_ext <<_ACEOF
22687 /* confdefs.h.  */
22688 _ACEOF
22689 cat confdefs.h >>conftest.$ac_ext
22690 cat >>conftest.$ac_ext <<_ACEOF
22691 /* end confdefs.h.  */
22692
22693 /* Override any gcc2 internal prototype to avoid an error.  */
22694 #ifdef __cplusplus
22695 extern "C"
22696 #endif
22697 /* We use char because int might match the return type of a gcc2
22698    builtin and then its argument prototype would still apply.  */
22699 char cexpf ();
22700 int
22701 main ()
22702 {
22703 cexpf ();
22704   ;
22705   return 0;
22706 }
22707 _ACEOF
22708 rm -f conftest.$ac_objext conftest$ac_exeext
22709 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22710   (eval $ac_link) 2>conftest.er1
22711   ac_status=$?
22712   grep -v '^ *+' conftest.er1 >conftest.err
22713   rm -f conftest.er1
22714   cat conftest.err >&5
22715   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22716   (exit $ac_status); } &&
22717          { ac_try='test -z "$ac_c_werror_flag"
22718                          || test ! -s conftest.err'
22719   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22720   (eval $ac_try) 2>&5
22721   ac_status=$?
22722   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22723   (exit $ac_status); }; } &&
22724          { ac_try='test -s conftest$ac_exeext'
22725   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22726   (eval $ac_try) 2>&5
22727   ac_status=$?
22728   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22729   (exit $ac_status); }; }; then
22730   ac_cv_lib_m_cexpf=yes
22731 else
22732   echo "$as_me: failed program was:" >&5
22733 sed 's/^/| /' conftest.$ac_ext >&5
22734
22735 ac_cv_lib_m_cexpf=no
22736 fi
22737 rm -f conftest.err conftest.$ac_objext \
22738       conftest$ac_exeext conftest.$ac_ext
22739 LIBS=$ac_check_lib_save_LIBS
22740 fi
22741 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cexpf" >&5
22742 echo "${ECHO_T}$ac_cv_lib_m_cexpf" >&6
22743 if test $ac_cv_lib_m_cexpf = yes; then
22744
22745 cat >>confdefs.h <<\_ACEOF
22746 #define HAVE_CEXPF 1
22747 _ACEOF
22748
22749 fi
22750
22751 echo "$as_me:$LINENO: checking for cexp in -lm" >&5
22752 echo $ECHO_N "checking for cexp in -lm... $ECHO_C" >&6
22753 if test "${ac_cv_lib_m_cexp+set}" = set; then
22754   echo $ECHO_N "(cached) $ECHO_C" >&6
22755 else
22756   ac_check_lib_save_LIBS=$LIBS
22757 LIBS="-lm  $LIBS"
22758 if test x$gcc_no_link = xyes; then
22759   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22760 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22761    { (exit 1); exit 1; }; }
22762 fi
22763 cat >conftest.$ac_ext <<_ACEOF
22764 /* confdefs.h.  */
22765 _ACEOF
22766 cat confdefs.h >>conftest.$ac_ext
22767 cat >>conftest.$ac_ext <<_ACEOF
22768 /* end confdefs.h.  */
22769
22770 /* Override any gcc2 internal prototype to avoid an error.  */
22771 #ifdef __cplusplus
22772 extern "C"
22773 #endif
22774 /* We use char because int might match the return type of a gcc2
22775    builtin and then its argument prototype would still apply.  */
22776 char cexp ();
22777 int
22778 main ()
22779 {
22780 cexp ();
22781   ;
22782   return 0;
22783 }
22784 _ACEOF
22785 rm -f conftest.$ac_objext conftest$ac_exeext
22786 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22787   (eval $ac_link) 2>conftest.er1
22788   ac_status=$?
22789   grep -v '^ *+' conftest.er1 >conftest.err
22790   rm -f conftest.er1
22791   cat conftest.err >&5
22792   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22793   (exit $ac_status); } &&
22794          { ac_try='test -z "$ac_c_werror_flag"
22795                          || test ! -s conftest.err'
22796   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22797   (eval $ac_try) 2>&5
22798   ac_status=$?
22799   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22800   (exit $ac_status); }; } &&
22801          { ac_try='test -s conftest$ac_exeext'
22802   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22803   (eval $ac_try) 2>&5
22804   ac_status=$?
22805   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22806   (exit $ac_status); }; }; then
22807   ac_cv_lib_m_cexp=yes
22808 else
22809   echo "$as_me: failed program was:" >&5
22810 sed 's/^/| /' conftest.$ac_ext >&5
22811
22812 ac_cv_lib_m_cexp=no
22813 fi
22814 rm -f conftest.err conftest.$ac_objext \
22815       conftest$ac_exeext conftest.$ac_ext
22816 LIBS=$ac_check_lib_save_LIBS
22817 fi
22818 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cexp" >&5
22819 echo "${ECHO_T}$ac_cv_lib_m_cexp" >&6
22820 if test $ac_cv_lib_m_cexp = yes; then
22821
22822 cat >>confdefs.h <<\_ACEOF
22823 #define HAVE_CEXP 1
22824 _ACEOF
22825
22826 fi
22827
22828 echo "$as_me:$LINENO: checking for cexpl in -lm" >&5
22829 echo $ECHO_N "checking for cexpl in -lm... $ECHO_C" >&6
22830 if test "${ac_cv_lib_m_cexpl+set}" = set; then
22831   echo $ECHO_N "(cached) $ECHO_C" >&6
22832 else
22833   ac_check_lib_save_LIBS=$LIBS
22834 LIBS="-lm  $LIBS"
22835 if test x$gcc_no_link = xyes; then
22836   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22837 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22838    { (exit 1); exit 1; }; }
22839 fi
22840 cat >conftest.$ac_ext <<_ACEOF
22841 /* confdefs.h.  */
22842 _ACEOF
22843 cat confdefs.h >>conftest.$ac_ext
22844 cat >>conftest.$ac_ext <<_ACEOF
22845 /* end confdefs.h.  */
22846
22847 /* Override any gcc2 internal prototype to avoid an error.  */
22848 #ifdef __cplusplus
22849 extern "C"
22850 #endif
22851 /* We use char because int might match the return type of a gcc2
22852    builtin and then its argument prototype would still apply.  */
22853 char cexpl ();
22854 int
22855 main ()
22856 {
22857 cexpl ();
22858   ;
22859   return 0;
22860 }
22861 _ACEOF
22862 rm -f conftest.$ac_objext conftest$ac_exeext
22863 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22864   (eval $ac_link) 2>conftest.er1
22865   ac_status=$?
22866   grep -v '^ *+' conftest.er1 >conftest.err
22867   rm -f conftest.er1
22868   cat conftest.err >&5
22869   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22870   (exit $ac_status); } &&
22871          { ac_try='test -z "$ac_c_werror_flag"
22872                          || test ! -s conftest.err'
22873   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22874   (eval $ac_try) 2>&5
22875   ac_status=$?
22876   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22877   (exit $ac_status); }; } &&
22878          { ac_try='test -s conftest$ac_exeext'
22879   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22880   (eval $ac_try) 2>&5
22881   ac_status=$?
22882   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22883   (exit $ac_status); }; }; then
22884   ac_cv_lib_m_cexpl=yes
22885 else
22886   echo "$as_me: failed program was:" >&5
22887 sed 's/^/| /' conftest.$ac_ext >&5
22888
22889 ac_cv_lib_m_cexpl=no
22890 fi
22891 rm -f conftest.err conftest.$ac_objext \
22892       conftest$ac_exeext conftest.$ac_ext
22893 LIBS=$ac_check_lib_save_LIBS
22894 fi
22895 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cexpl" >&5
22896 echo "${ECHO_T}$ac_cv_lib_m_cexpl" >&6
22897 if test $ac_cv_lib_m_cexpl = yes; then
22898
22899 cat >>confdefs.h <<\_ACEOF
22900 #define HAVE_CEXPL 1
22901 _ACEOF
22902
22903 fi
22904
22905 echo "$as_me:$LINENO: checking for fabsf in -lm" >&5
22906 echo $ECHO_N "checking for fabsf in -lm... $ECHO_C" >&6
22907 if test "${ac_cv_lib_m_fabsf+set}" = set; then
22908   echo $ECHO_N "(cached) $ECHO_C" >&6
22909 else
22910   ac_check_lib_save_LIBS=$LIBS
22911 LIBS="-lm  $LIBS"
22912 if test x$gcc_no_link = xyes; then
22913   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22914 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22915    { (exit 1); exit 1; }; }
22916 fi
22917 cat >conftest.$ac_ext <<_ACEOF
22918 /* confdefs.h.  */
22919 _ACEOF
22920 cat confdefs.h >>conftest.$ac_ext
22921 cat >>conftest.$ac_ext <<_ACEOF
22922 /* end confdefs.h.  */
22923
22924 /* Override any gcc2 internal prototype to avoid an error.  */
22925 #ifdef __cplusplus
22926 extern "C"
22927 #endif
22928 /* We use char because int might match the return type of a gcc2
22929    builtin and then its argument prototype would still apply.  */
22930 char fabsf ();
22931 int
22932 main ()
22933 {
22934 fabsf ();
22935   ;
22936   return 0;
22937 }
22938 _ACEOF
22939 rm -f conftest.$ac_objext conftest$ac_exeext
22940 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22941   (eval $ac_link) 2>conftest.er1
22942   ac_status=$?
22943   grep -v '^ *+' conftest.er1 >conftest.err
22944   rm -f conftest.er1
22945   cat conftest.err >&5
22946   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22947   (exit $ac_status); } &&
22948          { ac_try='test -z "$ac_c_werror_flag"
22949                          || test ! -s conftest.err'
22950   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22951   (eval $ac_try) 2>&5
22952   ac_status=$?
22953   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22954   (exit $ac_status); }; } &&
22955          { ac_try='test -s conftest$ac_exeext'
22956   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22957   (eval $ac_try) 2>&5
22958   ac_status=$?
22959   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22960   (exit $ac_status); }; }; then
22961   ac_cv_lib_m_fabsf=yes
22962 else
22963   echo "$as_me: failed program was:" >&5
22964 sed 's/^/| /' conftest.$ac_ext >&5
22965
22966 ac_cv_lib_m_fabsf=no
22967 fi
22968 rm -f conftest.err conftest.$ac_objext \
22969       conftest$ac_exeext conftest.$ac_ext
22970 LIBS=$ac_check_lib_save_LIBS
22971 fi
22972 echo "$as_me:$LINENO: result: $ac_cv_lib_m_fabsf" >&5
22973 echo "${ECHO_T}$ac_cv_lib_m_fabsf" >&6
22974 if test $ac_cv_lib_m_fabsf = yes; then
22975
22976 cat >>confdefs.h <<\_ACEOF
22977 #define HAVE_FABSF 1
22978 _ACEOF
22979
22980 fi
22981
22982 echo "$as_me:$LINENO: checking for fabs in -lm" >&5
22983 echo $ECHO_N "checking for fabs in -lm... $ECHO_C" >&6
22984 if test "${ac_cv_lib_m_fabs+set}" = set; then
22985   echo $ECHO_N "(cached) $ECHO_C" >&6
22986 else
22987   ac_check_lib_save_LIBS=$LIBS
22988 LIBS="-lm  $LIBS"
22989 if test x$gcc_no_link = xyes; then
22990   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22991 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22992    { (exit 1); exit 1; }; }
22993 fi
22994 cat >conftest.$ac_ext <<_ACEOF
22995 /* confdefs.h.  */
22996 _ACEOF
22997 cat confdefs.h >>conftest.$ac_ext
22998 cat >>conftest.$ac_ext <<_ACEOF
22999 /* end confdefs.h.  */
23000
23001 /* Override any gcc2 internal prototype to avoid an error.  */
23002 #ifdef __cplusplus
23003 extern "C"
23004 #endif
23005 /* We use char because int might match the return type of a gcc2
23006    builtin and then its argument prototype would still apply.  */
23007 char fabs ();
23008 int
23009 main ()
23010 {
23011 fabs ();
23012   ;
23013   return 0;
23014 }
23015 _ACEOF
23016 rm -f conftest.$ac_objext conftest$ac_exeext
23017 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23018   (eval $ac_link) 2>conftest.er1
23019   ac_status=$?
23020   grep -v '^ *+' conftest.er1 >conftest.err
23021   rm -f conftest.er1
23022   cat conftest.err >&5
23023   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23024   (exit $ac_status); } &&
23025          { ac_try='test -z "$ac_c_werror_flag"
23026                          || test ! -s conftest.err'
23027   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23028   (eval $ac_try) 2>&5
23029   ac_status=$?
23030   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23031   (exit $ac_status); }; } &&
23032          { ac_try='test -s conftest$ac_exeext'
23033   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23034   (eval $ac_try) 2>&5
23035   ac_status=$?
23036   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23037   (exit $ac_status); }; }; then
23038   ac_cv_lib_m_fabs=yes
23039 else
23040   echo "$as_me: failed program was:" >&5
23041 sed 's/^/| /' conftest.$ac_ext >&5
23042
23043 ac_cv_lib_m_fabs=no
23044 fi
23045 rm -f conftest.err conftest.$ac_objext \
23046       conftest$ac_exeext conftest.$ac_ext
23047 LIBS=$ac_check_lib_save_LIBS
23048 fi
23049 echo "$as_me:$LINENO: result: $ac_cv_lib_m_fabs" >&5
23050 echo "${ECHO_T}$ac_cv_lib_m_fabs" >&6
23051 if test $ac_cv_lib_m_fabs = yes; then
23052
23053 cat >>confdefs.h <<\_ACEOF
23054 #define HAVE_FABS 1
23055 _ACEOF
23056
23057 fi
23058
23059 echo "$as_me:$LINENO: checking for fabsl in -lm" >&5
23060 echo $ECHO_N "checking for fabsl in -lm... $ECHO_C" >&6
23061 if test "${ac_cv_lib_m_fabsl+set}" = set; then
23062   echo $ECHO_N "(cached) $ECHO_C" >&6
23063 else
23064   ac_check_lib_save_LIBS=$LIBS
23065 LIBS="-lm  $LIBS"
23066 if test x$gcc_no_link = xyes; then
23067   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23068 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23069    { (exit 1); exit 1; }; }
23070 fi
23071 cat >conftest.$ac_ext <<_ACEOF
23072 /* confdefs.h.  */
23073 _ACEOF
23074 cat confdefs.h >>conftest.$ac_ext
23075 cat >>conftest.$ac_ext <<_ACEOF
23076 /* end confdefs.h.  */
23077
23078 /* Override any gcc2 internal prototype to avoid an error.  */
23079 #ifdef __cplusplus
23080 extern "C"
23081 #endif
23082 /* We use char because int might match the return type of a gcc2
23083    builtin and then its argument prototype would still apply.  */
23084 char fabsl ();
23085 int
23086 main ()
23087 {
23088 fabsl ();
23089   ;
23090   return 0;
23091 }
23092 _ACEOF
23093 rm -f conftest.$ac_objext conftest$ac_exeext
23094 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23095   (eval $ac_link) 2>conftest.er1
23096   ac_status=$?
23097   grep -v '^ *+' conftest.er1 >conftest.err
23098   rm -f conftest.er1
23099   cat conftest.err >&5
23100   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23101   (exit $ac_status); } &&
23102          { ac_try='test -z "$ac_c_werror_flag"
23103                          || test ! -s conftest.err'
23104   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23105   (eval $ac_try) 2>&5
23106   ac_status=$?
23107   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23108   (exit $ac_status); }; } &&
23109          { ac_try='test -s conftest$ac_exeext'
23110   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23111   (eval $ac_try) 2>&5
23112   ac_status=$?
23113   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23114   (exit $ac_status); }; }; then
23115   ac_cv_lib_m_fabsl=yes
23116 else
23117   echo "$as_me: failed program was:" >&5
23118 sed 's/^/| /' conftest.$ac_ext >&5
23119
23120 ac_cv_lib_m_fabsl=no
23121 fi
23122 rm -f conftest.err conftest.$ac_objext \
23123       conftest$ac_exeext conftest.$ac_ext
23124 LIBS=$ac_check_lib_save_LIBS
23125 fi
23126 echo "$as_me:$LINENO: result: $ac_cv_lib_m_fabsl" >&5
23127 echo "${ECHO_T}$ac_cv_lib_m_fabsl" >&6
23128 if test $ac_cv_lib_m_fabsl = yes; then
23129
23130 cat >>confdefs.h <<\_ACEOF
23131 #define HAVE_FABSL 1
23132 _ACEOF
23133
23134 fi
23135
23136 echo "$as_me:$LINENO: checking for cabsf in -lm" >&5
23137 echo $ECHO_N "checking for cabsf in -lm... $ECHO_C" >&6
23138 if test "${ac_cv_lib_m_cabsf+set}" = set; then
23139   echo $ECHO_N "(cached) $ECHO_C" >&6
23140 else
23141   ac_check_lib_save_LIBS=$LIBS
23142 LIBS="-lm  $LIBS"
23143 if test x$gcc_no_link = xyes; then
23144   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23145 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23146    { (exit 1); exit 1; }; }
23147 fi
23148 cat >conftest.$ac_ext <<_ACEOF
23149 /* confdefs.h.  */
23150 _ACEOF
23151 cat confdefs.h >>conftest.$ac_ext
23152 cat >>conftest.$ac_ext <<_ACEOF
23153 /* end confdefs.h.  */
23154
23155 /* Override any gcc2 internal prototype to avoid an error.  */
23156 #ifdef __cplusplus
23157 extern "C"
23158 #endif
23159 /* We use char because int might match the return type of a gcc2
23160    builtin and then its argument prototype would still apply.  */
23161 char cabsf ();
23162 int
23163 main ()
23164 {
23165 cabsf ();
23166   ;
23167   return 0;
23168 }
23169 _ACEOF
23170 rm -f conftest.$ac_objext conftest$ac_exeext
23171 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23172   (eval $ac_link) 2>conftest.er1
23173   ac_status=$?
23174   grep -v '^ *+' conftest.er1 >conftest.err
23175   rm -f conftest.er1
23176   cat conftest.err >&5
23177   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23178   (exit $ac_status); } &&
23179          { ac_try='test -z "$ac_c_werror_flag"
23180                          || test ! -s conftest.err'
23181   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23182   (eval $ac_try) 2>&5
23183   ac_status=$?
23184   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23185   (exit $ac_status); }; } &&
23186          { ac_try='test -s conftest$ac_exeext'
23187   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23188   (eval $ac_try) 2>&5
23189   ac_status=$?
23190   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23191   (exit $ac_status); }; }; then
23192   ac_cv_lib_m_cabsf=yes
23193 else
23194   echo "$as_me: failed program was:" >&5
23195 sed 's/^/| /' conftest.$ac_ext >&5
23196
23197 ac_cv_lib_m_cabsf=no
23198 fi
23199 rm -f conftest.err conftest.$ac_objext \
23200       conftest$ac_exeext conftest.$ac_ext
23201 LIBS=$ac_check_lib_save_LIBS
23202 fi
23203 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cabsf" >&5
23204 echo "${ECHO_T}$ac_cv_lib_m_cabsf" >&6
23205 if test $ac_cv_lib_m_cabsf = yes; then
23206
23207 cat >>confdefs.h <<\_ACEOF
23208 #define HAVE_CABSF 1
23209 _ACEOF
23210
23211 fi
23212
23213 echo "$as_me:$LINENO: checking for cabs in -lm" >&5
23214 echo $ECHO_N "checking for cabs in -lm... $ECHO_C" >&6
23215 if test "${ac_cv_lib_m_cabs+set}" = set; then
23216   echo $ECHO_N "(cached) $ECHO_C" >&6
23217 else
23218   ac_check_lib_save_LIBS=$LIBS
23219 LIBS="-lm  $LIBS"
23220 if test x$gcc_no_link = xyes; then
23221   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23222 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23223    { (exit 1); exit 1; }; }
23224 fi
23225 cat >conftest.$ac_ext <<_ACEOF
23226 /* confdefs.h.  */
23227 _ACEOF
23228 cat confdefs.h >>conftest.$ac_ext
23229 cat >>conftest.$ac_ext <<_ACEOF
23230 /* end confdefs.h.  */
23231
23232 /* Override any gcc2 internal prototype to avoid an error.  */
23233 #ifdef __cplusplus
23234 extern "C"
23235 #endif
23236 /* We use char because int might match the return type of a gcc2
23237    builtin and then its argument prototype would still apply.  */
23238 char cabs ();
23239 int
23240 main ()
23241 {
23242 cabs ();
23243   ;
23244   return 0;
23245 }
23246 _ACEOF
23247 rm -f conftest.$ac_objext conftest$ac_exeext
23248 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23249   (eval $ac_link) 2>conftest.er1
23250   ac_status=$?
23251   grep -v '^ *+' conftest.er1 >conftest.err
23252   rm -f conftest.er1
23253   cat conftest.err >&5
23254   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23255   (exit $ac_status); } &&
23256          { ac_try='test -z "$ac_c_werror_flag"
23257                          || test ! -s conftest.err'
23258   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23259   (eval $ac_try) 2>&5
23260   ac_status=$?
23261   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23262   (exit $ac_status); }; } &&
23263          { ac_try='test -s conftest$ac_exeext'
23264   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23265   (eval $ac_try) 2>&5
23266   ac_status=$?
23267   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23268   (exit $ac_status); }; }; then
23269   ac_cv_lib_m_cabs=yes
23270 else
23271   echo "$as_me: failed program was:" >&5
23272 sed 's/^/| /' conftest.$ac_ext >&5
23273
23274 ac_cv_lib_m_cabs=no
23275 fi
23276 rm -f conftest.err conftest.$ac_objext \
23277       conftest$ac_exeext conftest.$ac_ext
23278 LIBS=$ac_check_lib_save_LIBS
23279 fi
23280 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cabs" >&5
23281 echo "${ECHO_T}$ac_cv_lib_m_cabs" >&6
23282 if test $ac_cv_lib_m_cabs = yes; then
23283
23284 cat >>confdefs.h <<\_ACEOF
23285 #define HAVE_CABS 1
23286 _ACEOF
23287
23288 fi
23289
23290 echo "$as_me:$LINENO: checking for cabsl in -lm" >&5
23291 echo $ECHO_N "checking for cabsl in -lm... $ECHO_C" >&6
23292 if test "${ac_cv_lib_m_cabsl+set}" = set; then
23293   echo $ECHO_N "(cached) $ECHO_C" >&6
23294 else
23295   ac_check_lib_save_LIBS=$LIBS
23296 LIBS="-lm  $LIBS"
23297 if test x$gcc_no_link = xyes; then
23298   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23299 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23300    { (exit 1); exit 1; }; }
23301 fi
23302 cat >conftest.$ac_ext <<_ACEOF
23303 /* confdefs.h.  */
23304 _ACEOF
23305 cat confdefs.h >>conftest.$ac_ext
23306 cat >>conftest.$ac_ext <<_ACEOF
23307 /* end confdefs.h.  */
23308
23309 /* Override any gcc2 internal prototype to avoid an error.  */
23310 #ifdef __cplusplus
23311 extern "C"
23312 #endif
23313 /* We use char because int might match the return type of a gcc2
23314    builtin and then its argument prototype would still apply.  */
23315 char cabsl ();
23316 int
23317 main ()
23318 {
23319 cabsl ();
23320   ;
23321   return 0;
23322 }
23323 _ACEOF
23324 rm -f conftest.$ac_objext conftest$ac_exeext
23325 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23326   (eval $ac_link) 2>conftest.er1
23327   ac_status=$?
23328   grep -v '^ *+' conftest.er1 >conftest.err
23329   rm -f conftest.er1
23330   cat conftest.err >&5
23331   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23332   (exit $ac_status); } &&
23333          { ac_try='test -z "$ac_c_werror_flag"
23334                          || test ! -s conftest.err'
23335   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23336   (eval $ac_try) 2>&5
23337   ac_status=$?
23338   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23339   (exit $ac_status); }; } &&
23340          { ac_try='test -s conftest$ac_exeext'
23341   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23342   (eval $ac_try) 2>&5
23343   ac_status=$?
23344   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23345   (exit $ac_status); }; }; then
23346   ac_cv_lib_m_cabsl=yes
23347 else
23348   echo "$as_me: failed program was:" >&5
23349 sed 's/^/| /' conftest.$ac_ext >&5
23350
23351 ac_cv_lib_m_cabsl=no
23352 fi
23353 rm -f conftest.err conftest.$ac_objext \
23354       conftest$ac_exeext conftest.$ac_ext
23355 LIBS=$ac_check_lib_save_LIBS
23356 fi
23357 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cabsl" >&5
23358 echo "${ECHO_T}$ac_cv_lib_m_cabsl" >&6
23359 if test $ac_cv_lib_m_cabsl = yes; then
23360
23361 cat >>confdefs.h <<\_ACEOF
23362 #define HAVE_CABSL 1
23363 _ACEOF
23364
23365 fi
23366
23367 echo "$as_me:$LINENO: checking for floorf in -lm" >&5
23368 echo $ECHO_N "checking for floorf in -lm... $ECHO_C" >&6
23369 if test "${ac_cv_lib_m_floorf+set}" = set; then
23370   echo $ECHO_N "(cached) $ECHO_C" >&6
23371 else
23372   ac_check_lib_save_LIBS=$LIBS
23373 LIBS="-lm  $LIBS"
23374 if test x$gcc_no_link = xyes; then
23375   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23376 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23377    { (exit 1); exit 1; }; }
23378 fi
23379 cat >conftest.$ac_ext <<_ACEOF
23380 /* confdefs.h.  */
23381 _ACEOF
23382 cat confdefs.h >>conftest.$ac_ext
23383 cat >>conftest.$ac_ext <<_ACEOF
23384 /* end confdefs.h.  */
23385
23386 /* Override any gcc2 internal prototype to avoid an error.  */
23387 #ifdef __cplusplus
23388 extern "C"
23389 #endif
23390 /* We use char because int might match the return type of a gcc2
23391    builtin and then its argument prototype would still apply.  */
23392 char floorf ();
23393 int
23394 main ()
23395 {
23396 floorf ();
23397   ;
23398   return 0;
23399 }
23400 _ACEOF
23401 rm -f conftest.$ac_objext conftest$ac_exeext
23402 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23403   (eval $ac_link) 2>conftest.er1
23404   ac_status=$?
23405   grep -v '^ *+' conftest.er1 >conftest.err
23406   rm -f conftest.er1
23407   cat conftest.err >&5
23408   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23409   (exit $ac_status); } &&
23410          { ac_try='test -z "$ac_c_werror_flag"
23411                          || test ! -s conftest.err'
23412   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23413   (eval $ac_try) 2>&5
23414   ac_status=$?
23415   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23416   (exit $ac_status); }; } &&
23417          { ac_try='test -s conftest$ac_exeext'
23418   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23419   (eval $ac_try) 2>&5
23420   ac_status=$?
23421   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23422   (exit $ac_status); }; }; then
23423   ac_cv_lib_m_floorf=yes
23424 else
23425   echo "$as_me: failed program was:" >&5
23426 sed 's/^/| /' conftest.$ac_ext >&5
23427
23428 ac_cv_lib_m_floorf=no
23429 fi
23430 rm -f conftest.err conftest.$ac_objext \
23431       conftest$ac_exeext conftest.$ac_ext
23432 LIBS=$ac_check_lib_save_LIBS
23433 fi
23434 echo "$as_me:$LINENO: result: $ac_cv_lib_m_floorf" >&5
23435 echo "${ECHO_T}$ac_cv_lib_m_floorf" >&6
23436 if test $ac_cv_lib_m_floorf = yes; then
23437
23438 cat >>confdefs.h <<\_ACEOF
23439 #define HAVE_FLOORF 1
23440 _ACEOF
23441
23442 fi
23443
23444 echo "$as_me:$LINENO: checking for floor in -lm" >&5
23445 echo $ECHO_N "checking for floor in -lm... $ECHO_C" >&6
23446 if test "${ac_cv_lib_m_floor+set}" = set; then
23447   echo $ECHO_N "(cached) $ECHO_C" >&6
23448 else
23449   ac_check_lib_save_LIBS=$LIBS
23450 LIBS="-lm  $LIBS"
23451 if test x$gcc_no_link = xyes; then
23452   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23453 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23454    { (exit 1); exit 1; }; }
23455 fi
23456 cat >conftest.$ac_ext <<_ACEOF
23457 /* confdefs.h.  */
23458 _ACEOF
23459 cat confdefs.h >>conftest.$ac_ext
23460 cat >>conftest.$ac_ext <<_ACEOF
23461 /* end confdefs.h.  */
23462
23463 /* Override any gcc2 internal prototype to avoid an error.  */
23464 #ifdef __cplusplus
23465 extern "C"
23466 #endif
23467 /* We use char because int might match the return type of a gcc2
23468    builtin and then its argument prototype would still apply.  */
23469 char floor ();
23470 int
23471 main ()
23472 {
23473 floor ();
23474   ;
23475   return 0;
23476 }
23477 _ACEOF
23478 rm -f conftest.$ac_objext conftest$ac_exeext
23479 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23480   (eval $ac_link) 2>conftest.er1
23481   ac_status=$?
23482   grep -v '^ *+' conftest.er1 >conftest.err
23483   rm -f conftest.er1
23484   cat conftest.err >&5
23485   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23486   (exit $ac_status); } &&
23487          { ac_try='test -z "$ac_c_werror_flag"
23488                          || test ! -s conftest.err'
23489   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23490   (eval $ac_try) 2>&5
23491   ac_status=$?
23492   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23493   (exit $ac_status); }; } &&
23494          { ac_try='test -s conftest$ac_exeext'
23495   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23496   (eval $ac_try) 2>&5
23497   ac_status=$?
23498   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23499   (exit $ac_status); }; }; then
23500   ac_cv_lib_m_floor=yes
23501 else
23502   echo "$as_me: failed program was:" >&5
23503 sed 's/^/| /' conftest.$ac_ext >&5
23504
23505 ac_cv_lib_m_floor=no
23506 fi
23507 rm -f conftest.err conftest.$ac_objext \
23508       conftest$ac_exeext conftest.$ac_ext
23509 LIBS=$ac_check_lib_save_LIBS
23510 fi
23511 echo "$as_me:$LINENO: result: $ac_cv_lib_m_floor" >&5
23512 echo "${ECHO_T}$ac_cv_lib_m_floor" >&6
23513 if test $ac_cv_lib_m_floor = yes; then
23514
23515 cat >>confdefs.h <<\_ACEOF
23516 #define HAVE_FLOOR 1
23517 _ACEOF
23518
23519 fi
23520
23521 echo "$as_me:$LINENO: checking for floorl in -lm" >&5
23522 echo $ECHO_N "checking for floorl in -lm... $ECHO_C" >&6
23523 if test "${ac_cv_lib_m_floorl+set}" = set; then
23524   echo $ECHO_N "(cached) $ECHO_C" >&6
23525 else
23526   ac_check_lib_save_LIBS=$LIBS
23527 LIBS="-lm  $LIBS"
23528 if test x$gcc_no_link = xyes; then
23529   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23530 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23531    { (exit 1); exit 1; }; }
23532 fi
23533 cat >conftest.$ac_ext <<_ACEOF
23534 /* confdefs.h.  */
23535 _ACEOF
23536 cat confdefs.h >>conftest.$ac_ext
23537 cat >>conftest.$ac_ext <<_ACEOF
23538 /* end confdefs.h.  */
23539
23540 /* Override any gcc2 internal prototype to avoid an error.  */
23541 #ifdef __cplusplus
23542 extern "C"
23543 #endif
23544 /* We use char because int might match the return type of a gcc2
23545    builtin and then its argument prototype would still apply.  */
23546 char floorl ();
23547 int
23548 main ()
23549 {
23550 floorl ();
23551   ;
23552   return 0;
23553 }
23554 _ACEOF
23555 rm -f conftest.$ac_objext conftest$ac_exeext
23556 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23557   (eval $ac_link) 2>conftest.er1
23558   ac_status=$?
23559   grep -v '^ *+' conftest.er1 >conftest.err
23560   rm -f conftest.er1
23561   cat conftest.err >&5
23562   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23563   (exit $ac_status); } &&
23564          { ac_try='test -z "$ac_c_werror_flag"
23565                          || test ! -s conftest.err'
23566   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23567   (eval $ac_try) 2>&5
23568   ac_status=$?
23569   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23570   (exit $ac_status); }; } &&
23571          { ac_try='test -s conftest$ac_exeext'
23572   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23573   (eval $ac_try) 2>&5
23574   ac_status=$?
23575   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23576   (exit $ac_status); }; }; then
23577   ac_cv_lib_m_floorl=yes
23578 else
23579   echo "$as_me: failed program was:" >&5
23580 sed 's/^/| /' conftest.$ac_ext >&5
23581
23582 ac_cv_lib_m_floorl=no
23583 fi
23584 rm -f conftest.err conftest.$ac_objext \
23585       conftest$ac_exeext conftest.$ac_ext
23586 LIBS=$ac_check_lib_save_LIBS
23587 fi
23588 echo "$as_me:$LINENO: result: $ac_cv_lib_m_floorl" >&5
23589 echo "${ECHO_T}$ac_cv_lib_m_floorl" >&6
23590 if test $ac_cv_lib_m_floorl = yes; then
23591
23592 cat >>confdefs.h <<\_ACEOF
23593 #define HAVE_FLOORL 1
23594 _ACEOF
23595
23596 fi
23597
23598 echo "$as_me:$LINENO: checking for fmodf in -lm" >&5
23599 echo $ECHO_N "checking for fmodf in -lm... $ECHO_C" >&6
23600 if test "${ac_cv_lib_m_fmodf+set}" = set; then
23601   echo $ECHO_N "(cached) $ECHO_C" >&6
23602 else
23603   ac_check_lib_save_LIBS=$LIBS
23604 LIBS="-lm  $LIBS"
23605 if test x$gcc_no_link = xyes; then
23606   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23607 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23608    { (exit 1); exit 1; }; }
23609 fi
23610 cat >conftest.$ac_ext <<_ACEOF
23611 /* confdefs.h.  */
23612 _ACEOF
23613 cat confdefs.h >>conftest.$ac_ext
23614 cat >>conftest.$ac_ext <<_ACEOF
23615 /* end confdefs.h.  */
23616
23617 /* Override any gcc2 internal prototype to avoid an error.  */
23618 #ifdef __cplusplus
23619 extern "C"
23620 #endif
23621 /* We use char because int might match the return type of a gcc2
23622    builtin and then its argument prototype would still apply.  */
23623 char fmodf ();
23624 int
23625 main ()
23626 {
23627 fmodf ();
23628   ;
23629   return 0;
23630 }
23631 _ACEOF
23632 rm -f conftest.$ac_objext conftest$ac_exeext
23633 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23634   (eval $ac_link) 2>conftest.er1
23635   ac_status=$?
23636   grep -v '^ *+' conftest.er1 >conftest.err
23637   rm -f conftest.er1
23638   cat conftest.err >&5
23639   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23640   (exit $ac_status); } &&
23641          { ac_try='test -z "$ac_c_werror_flag"
23642                          || test ! -s conftest.err'
23643   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23644   (eval $ac_try) 2>&5
23645   ac_status=$?
23646   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23647   (exit $ac_status); }; } &&
23648          { ac_try='test -s conftest$ac_exeext'
23649   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23650   (eval $ac_try) 2>&5
23651   ac_status=$?
23652   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23653   (exit $ac_status); }; }; then
23654   ac_cv_lib_m_fmodf=yes
23655 else
23656   echo "$as_me: failed program was:" >&5
23657 sed 's/^/| /' conftest.$ac_ext >&5
23658
23659 ac_cv_lib_m_fmodf=no
23660 fi
23661 rm -f conftest.err conftest.$ac_objext \
23662       conftest$ac_exeext conftest.$ac_ext
23663 LIBS=$ac_check_lib_save_LIBS
23664 fi
23665 echo "$as_me:$LINENO: result: $ac_cv_lib_m_fmodf" >&5
23666 echo "${ECHO_T}$ac_cv_lib_m_fmodf" >&6
23667 if test $ac_cv_lib_m_fmodf = yes; then
23668
23669 cat >>confdefs.h <<\_ACEOF
23670 #define HAVE_FMODF 1
23671 _ACEOF
23672
23673 fi
23674
23675 echo "$as_me:$LINENO: checking for fmod in -lm" >&5
23676 echo $ECHO_N "checking for fmod in -lm... $ECHO_C" >&6
23677 if test "${ac_cv_lib_m_fmod+set}" = set; then
23678   echo $ECHO_N "(cached) $ECHO_C" >&6
23679 else
23680   ac_check_lib_save_LIBS=$LIBS
23681 LIBS="-lm  $LIBS"
23682 if test x$gcc_no_link = xyes; then
23683   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23684 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23685    { (exit 1); exit 1; }; }
23686 fi
23687 cat >conftest.$ac_ext <<_ACEOF
23688 /* confdefs.h.  */
23689 _ACEOF
23690 cat confdefs.h >>conftest.$ac_ext
23691 cat >>conftest.$ac_ext <<_ACEOF
23692 /* end confdefs.h.  */
23693
23694 /* Override any gcc2 internal prototype to avoid an error.  */
23695 #ifdef __cplusplus
23696 extern "C"
23697 #endif
23698 /* We use char because int might match the return type of a gcc2
23699    builtin and then its argument prototype would still apply.  */
23700 char fmod ();
23701 int
23702 main ()
23703 {
23704 fmod ();
23705   ;
23706   return 0;
23707 }
23708 _ACEOF
23709 rm -f conftest.$ac_objext conftest$ac_exeext
23710 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23711   (eval $ac_link) 2>conftest.er1
23712   ac_status=$?
23713   grep -v '^ *+' conftest.er1 >conftest.err
23714   rm -f conftest.er1
23715   cat conftest.err >&5
23716   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23717   (exit $ac_status); } &&
23718          { ac_try='test -z "$ac_c_werror_flag"
23719                          || test ! -s conftest.err'
23720   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23721   (eval $ac_try) 2>&5
23722   ac_status=$?
23723   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23724   (exit $ac_status); }; } &&
23725          { ac_try='test -s conftest$ac_exeext'
23726   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23727   (eval $ac_try) 2>&5
23728   ac_status=$?
23729   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23730   (exit $ac_status); }; }; then
23731   ac_cv_lib_m_fmod=yes
23732 else
23733   echo "$as_me: failed program was:" >&5
23734 sed 's/^/| /' conftest.$ac_ext >&5
23735
23736 ac_cv_lib_m_fmod=no
23737 fi
23738 rm -f conftest.err conftest.$ac_objext \
23739       conftest$ac_exeext conftest.$ac_ext
23740 LIBS=$ac_check_lib_save_LIBS
23741 fi
23742 echo "$as_me:$LINENO: result: $ac_cv_lib_m_fmod" >&5
23743 echo "${ECHO_T}$ac_cv_lib_m_fmod" >&6
23744 if test $ac_cv_lib_m_fmod = yes; then
23745
23746 cat >>confdefs.h <<\_ACEOF
23747 #define HAVE_FMOD 1
23748 _ACEOF
23749
23750 fi
23751
23752 echo "$as_me:$LINENO: checking for fmodl in -lm" >&5
23753 echo $ECHO_N "checking for fmodl in -lm... $ECHO_C" >&6
23754 if test "${ac_cv_lib_m_fmodl+set}" = set; then
23755   echo $ECHO_N "(cached) $ECHO_C" >&6
23756 else
23757   ac_check_lib_save_LIBS=$LIBS
23758 LIBS="-lm  $LIBS"
23759 if test x$gcc_no_link = xyes; then
23760   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23761 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23762    { (exit 1); exit 1; }; }
23763 fi
23764 cat >conftest.$ac_ext <<_ACEOF
23765 /* confdefs.h.  */
23766 _ACEOF
23767 cat confdefs.h >>conftest.$ac_ext
23768 cat >>conftest.$ac_ext <<_ACEOF
23769 /* end confdefs.h.  */
23770
23771 /* Override any gcc2 internal prototype to avoid an error.  */
23772 #ifdef __cplusplus
23773 extern "C"
23774 #endif
23775 /* We use char because int might match the return type of a gcc2
23776    builtin and then its argument prototype would still apply.  */
23777 char fmodl ();
23778 int
23779 main ()
23780 {
23781 fmodl ();
23782   ;
23783   return 0;
23784 }
23785 _ACEOF
23786 rm -f conftest.$ac_objext conftest$ac_exeext
23787 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23788   (eval $ac_link) 2>conftest.er1
23789   ac_status=$?
23790   grep -v '^ *+' conftest.er1 >conftest.err
23791   rm -f conftest.er1
23792   cat conftest.err >&5
23793   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23794   (exit $ac_status); } &&
23795          { ac_try='test -z "$ac_c_werror_flag"
23796                          || test ! -s conftest.err'
23797   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23798   (eval $ac_try) 2>&5
23799   ac_status=$?
23800   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23801   (exit $ac_status); }; } &&
23802          { ac_try='test -s conftest$ac_exeext'
23803   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23804   (eval $ac_try) 2>&5
23805   ac_status=$?
23806   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23807   (exit $ac_status); }; }; then
23808   ac_cv_lib_m_fmodl=yes
23809 else
23810   echo "$as_me: failed program was:" >&5
23811 sed 's/^/| /' conftest.$ac_ext >&5
23812
23813 ac_cv_lib_m_fmodl=no
23814 fi
23815 rm -f conftest.err conftest.$ac_objext \
23816       conftest$ac_exeext conftest.$ac_ext
23817 LIBS=$ac_check_lib_save_LIBS
23818 fi
23819 echo "$as_me:$LINENO: result: $ac_cv_lib_m_fmodl" >&5
23820 echo "${ECHO_T}$ac_cv_lib_m_fmodl" >&6
23821 if test $ac_cv_lib_m_fmodl = yes; then
23822
23823 cat >>confdefs.h <<\_ACEOF
23824 #define HAVE_FMODL 1
23825 _ACEOF
23826
23827 fi
23828
23829 echo "$as_me:$LINENO: checking for frexpf in -lm" >&5
23830 echo $ECHO_N "checking for frexpf in -lm... $ECHO_C" >&6
23831 if test "${ac_cv_lib_m_frexpf+set}" = set; then
23832   echo $ECHO_N "(cached) $ECHO_C" >&6
23833 else
23834   ac_check_lib_save_LIBS=$LIBS
23835 LIBS="-lm  $LIBS"
23836 if test x$gcc_no_link = xyes; then
23837   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23838 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23839    { (exit 1); exit 1; }; }
23840 fi
23841 cat >conftest.$ac_ext <<_ACEOF
23842 /* confdefs.h.  */
23843 _ACEOF
23844 cat confdefs.h >>conftest.$ac_ext
23845 cat >>conftest.$ac_ext <<_ACEOF
23846 /* end confdefs.h.  */
23847
23848 /* Override any gcc2 internal prototype to avoid an error.  */
23849 #ifdef __cplusplus
23850 extern "C"
23851 #endif
23852 /* We use char because int might match the return type of a gcc2
23853    builtin and then its argument prototype would still apply.  */
23854 char frexpf ();
23855 int
23856 main ()
23857 {
23858 frexpf ();
23859   ;
23860   return 0;
23861 }
23862 _ACEOF
23863 rm -f conftest.$ac_objext conftest$ac_exeext
23864 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23865   (eval $ac_link) 2>conftest.er1
23866   ac_status=$?
23867   grep -v '^ *+' conftest.er1 >conftest.err
23868   rm -f conftest.er1
23869   cat conftest.err >&5
23870   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23871   (exit $ac_status); } &&
23872          { ac_try='test -z "$ac_c_werror_flag"
23873                          || test ! -s conftest.err'
23874   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23875   (eval $ac_try) 2>&5
23876   ac_status=$?
23877   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23878   (exit $ac_status); }; } &&
23879          { ac_try='test -s conftest$ac_exeext'
23880   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23881   (eval $ac_try) 2>&5
23882   ac_status=$?
23883   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23884   (exit $ac_status); }; }; then
23885   ac_cv_lib_m_frexpf=yes
23886 else
23887   echo "$as_me: failed program was:" >&5
23888 sed 's/^/| /' conftest.$ac_ext >&5
23889
23890 ac_cv_lib_m_frexpf=no
23891 fi
23892 rm -f conftest.err conftest.$ac_objext \
23893       conftest$ac_exeext conftest.$ac_ext
23894 LIBS=$ac_check_lib_save_LIBS
23895 fi
23896 echo "$as_me:$LINENO: result: $ac_cv_lib_m_frexpf" >&5
23897 echo "${ECHO_T}$ac_cv_lib_m_frexpf" >&6
23898 if test $ac_cv_lib_m_frexpf = yes; then
23899
23900 cat >>confdefs.h <<\_ACEOF
23901 #define HAVE_FREXPF 1
23902 _ACEOF
23903
23904 fi
23905
23906 echo "$as_me:$LINENO: checking for frexp in -lm" >&5
23907 echo $ECHO_N "checking for frexp in -lm... $ECHO_C" >&6
23908 if test "${ac_cv_lib_m_frexp+set}" = set; then
23909   echo $ECHO_N "(cached) $ECHO_C" >&6
23910 else
23911   ac_check_lib_save_LIBS=$LIBS
23912 LIBS="-lm  $LIBS"
23913 if test x$gcc_no_link = xyes; then
23914   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23915 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23916    { (exit 1); exit 1; }; }
23917 fi
23918 cat >conftest.$ac_ext <<_ACEOF
23919 /* confdefs.h.  */
23920 _ACEOF
23921 cat confdefs.h >>conftest.$ac_ext
23922 cat >>conftest.$ac_ext <<_ACEOF
23923 /* end confdefs.h.  */
23924
23925 /* Override any gcc2 internal prototype to avoid an error.  */
23926 #ifdef __cplusplus
23927 extern "C"
23928 #endif
23929 /* We use char because int might match the return type of a gcc2
23930    builtin and then its argument prototype would still apply.  */
23931 char frexp ();
23932 int
23933 main ()
23934 {
23935 frexp ();
23936   ;
23937   return 0;
23938 }
23939 _ACEOF
23940 rm -f conftest.$ac_objext conftest$ac_exeext
23941 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23942   (eval $ac_link) 2>conftest.er1
23943   ac_status=$?
23944   grep -v '^ *+' conftest.er1 >conftest.err
23945   rm -f conftest.er1
23946   cat conftest.err >&5
23947   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23948   (exit $ac_status); } &&
23949          { ac_try='test -z "$ac_c_werror_flag"
23950                          || test ! -s conftest.err'
23951   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23952   (eval $ac_try) 2>&5
23953   ac_status=$?
23954   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23955   (exit $ac_status); }; } &&
23956          { ac_try='test -s conftest$ac_exeext'
23957   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23958   (eval $ac_try) 2>&5
23959   ac_status=$?
23960   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23961   (exit $ac_status); }; }; then
23962   ac_cv_lib_m_frexp=yes
23963 else
23964   echo "$as_me: failed program was:" >&5
23965 sed 's/^/| /' conftest.$ac_ext >&5
23966
23967 ac_cv_lib_m_frexp=no
23968 fi
23969 rm -f conftest.err conftest.$ac_objext \
23970       conftest$ac_exeext conftest.$ac_ext
23971 LIBS=$ac_check_lib_save_LIBS
23972 fi
23973 echo "$as_me:$LINENO: result: $ac_cv_lib_m_frexp" >&5
23974 echo "${ECHO_T}$ac_cv_lib_m_frexp" >&6
23975 if test $ac_cv_lib_m_frexp = yes; then
23976
23977 cat >>confdefs.h <<\_ACEOF
23978 #define HAVE_FREXP 1
23979 _ACEOF
23980
23981 fi
23982
23983 echo "$as_me:$LINENO: checking for frexpl in -lm" >&5
23984 echo $ECHO_N "checking for frexpl in -lm... $ECHO_C" >&6
23985 if test "${ac_cv_lib_m_frexpl+set}" = set; then
23986   echo $ECHO_N "(cached) $ECHO_C" >&6
23987 else
23988   ac_check_lib_save_LIBS=$LIBS
23989 LIBS="-lm  $LIBS"
23990 if test x$gcc_no_link = xyes; then
23991   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23992 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23993    { (exit 1); exit 1; }; }
23994 fi
23995 cat >conftest.$ac_ext <<_ACEOF
23996 /* confdefs.h.  */
23997 _ACEOF
23998 cat confdefs.h >>conftest.$ac_ext
23999 cat >>conftest.$ac_ext <<_ACEOF
24000 /* end confdefs.h.  */
24001
24002 /* Override any gcc2 internal prototype to avoid an error.  */
24003 #ifdef __cplusplus
24004 extern "C"
24005 #endif
24006 /* We use char because int might match the return type of a gcc2
24007    builtin and then its argument prototype would still apply.  */
24008 char frexpl ();
24009 int
24010 main ()
24011 {
24012 frexpl ();
24013   ;
24014   return 0;
24015 }
24016 _ACEOF
24017 rm -f conftest.$ac_objext conftest$ac_exeext
24018 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24019   (eval $ac_link) 2>conftest.er1
24020   ac_status=$?
24021   grep -v '^ *+' conftest.er1 >conftest.err
24022   rm -f conftest.er1
24023   cat conftest.err >&5
24024   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24025   (exit $ac_status); } &&
24026          { ac_try='test -z "$ac_c_werror_flag"
24027                          || test ! -s conftest.err'
24028   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24029   (eval $ac_try) 2>&5
24030   ac_status=$?
24031   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24032   (exit $ac_status); }; } &&
24033          { ac_try='test -s conftest$ac_exeext'
24034   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24035   (eval $ac_try) 2>&5
24036   ac_status=$?
24037   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24038   (exit $ac_status); }; }; then
24039   ac_cv_lib_m_frexpl=yes
24040 else
24041   echo "$as_me: failed program was:" >&5
24042 sed 's/^/| /' conftest.$ac_ext >&5
24043
24044 ac_cv_lib_m_frexpl=no
24045 fi
24046 rm -f conftest.err conftest.$ac_objext \
24047       conftest$ac_exeext conftest.$ac_ext
24048 LIBS=$ac_check_lib_save_LIBS
24049 fi
24050 echo "$as_me:$LINENO: result: $ac_cv_lib_m_frexpl" >&5
24051 echo "${ECHO_T}$ac_cv_lib_m_frexpl" >&6
24052 if test $ac_cv_lib_m_frexpl = yes; then
24053
24054 cat >>confdefs.h <<\_ACEOF
24055 #define HAVE_FREXPL 1
24056 _ACEOF
24057
24058 fi
24059
24060 echo "$as_me:$LINENO: checking for hypotf in -lm" >&5
24061 echo $ECHO_N "checking for hypotf in -lm... $ECHO_C" >&6
24062 if test "${ac_cv_lib_m_hypotf+set}" = set; then
24063   echo $ECHO_N "(cached) $ECHO_C" >&6
24064 else
24065   ac_check_lib_save_LIBS=$LIBS
24066 LIBS="-lm  $LIBS"
24067 if test x$gcc_no_link = xyes; then
24068   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24069 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24070    { (exit 1); exit 1; }; }
24071 fi
24072 cat >conftest.$ac_ext <<_ACEOF
24073 /* confdefs.h.  */
24074 _ACEOF
24075 cat confdefs.h >>conftest.$ac_ext
24076 cat >>conftest.$ac_ext <<_ACEOF
24077 /* end confdefs.h.  */
24078
24079 /* Override any gcc2 internal prototype to avoid an error.  */
24080 #ifdef __cplusplus
24081 extern "C"
24082 #endif
24083 /* We use char because int might match the return type of a gcc2
24084    builtin and then its argument prototype would still apply.  */
24085 char hypotf ();
24086 int
24087 main ()
24088 {
24089 hypotf ();
24090   ;
24091   return 0;
24092 }
24093 _ACEOF
24094 rm -f conftest.$ac_objext conftest$ac_exeext
24095 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24096   (eval $ac_link) 2>conftest.er1
24097   ac_status=$?
24098   grep -v '^ *+' conftest.er1 >conftest.err
24099   rm -f conftest.er1
24100   cat conftest.err >&5
24101   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24102   (exit $ac_status); } &&
24103          { ac_try='test -z "$ac_c_werror_flag"
24104                          || test ! -s conftest.err'
24105   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24106   (eval $ac_try) 2>&5
24107   ac_status=$?
24108   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24109   (exit $ac_status); }; } &&
24110          { ac_try='test -s conftest$ac_exeext'
24111   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24112   (eval $ac_try) 2>&5
24113   ac_status=$?
24114   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24115   (exit $ac_status); }; }; then
24116   ac_cv_lib_m_hypotf=yes
24117 else
24118   echo "$as_me: failed program was:" >&5
24119 sed 's/^/| /' conftest.$ac_ext >&5
24120
24121 ac_cv_lib_m_hypotf=no
24122 fi
24123 rm -f conftest.err conftest.$ac_objext \
24124       conftest$ac_exeext conftest.$ac_ext
24125 LIBS=$ac_check_lib_save_LIBS
24126 fi
24127 echo "$as_me:$LINENO: result: $ac_cv_lib_m_hypotf" >&5
24128 echo "${ECHO_T}$ac_cv_lib_m_hypotf" >&6
24129 if test $ac_cv_lib_m_hypotf = yes; then
24130
24131 cat >>confdefs.h <<\_ACEOF
24132 #define HAVE_HYPOTF 1
24133 _ACEOF
24134
24135 fi
24136
24137 echo "$as_me:$LINENO: checking for hypot in -lm" >&5
24138 echo $ECHO_N "checking for hypot in -lm... $ECHO_C" >&6
24139 if test "${ac_cv_lib_m_hypot+set}" = set; then
24140   echo $ECHO_N "(cached) $ECHO_C" >&6
24141 else
24142   ac_check_lib_save_LIBS=$LIBS
24143 LIBS="-lm  $LIBS"
24144 if test x$gcc_no_link = xyes; then
24145   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24146 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24147    { (exit 1); exit 1; }; }
24148 fi
24149 cat >conftest.$ac_ext <<_ACEOF
24150 /* confdefs.h.  */
24151 _ACEOF
24152 cat confdefs.h >>conftest.$ac_ext
24153 cat >>conftest.$ac_ext <<_ACEOF
24154 /* end confdefs.h.  */
24155
24156 /* Override any gcc2 internal prototype to avoid an error.  */
24157 #ifdef __cplusplus
24158 extern "C"
24159 #endif
24160 /* We use char because int might match the return type of a gcc2
24161    builtin and then its argument prototype would still apply.  */
24162 char hypot ();
24163 int
24164 main ()
24165 {
24166 hypot ();
24167   ;
24168   return 0;
24169 }
24170 _ACEOF
24171 rm -f conftest.$ac_objext conftest$ac_exeext
24172 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24173   (eval $ac_link) 2>conftest.er1
24174   ac_status=$?
24175   grep -v '^ *+' conftest.er1 >conftest.err
24176   rm -f conftest.er1
24177   cat conftest.err >&5
24178   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24179   (exit $ac_status); } &&
24180          { ac_try='test -z "$ac_c_werror_flag"
24181                          || test ! -s conftest.err'
24182   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24183   (eval $ac_try) 2>&5
24184   ac_status=$?
24185   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24186   (exit $ac_status); }; } &&
24187          { ac_try='test -s conftest$ac_exeext'
24188   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24189   (eval $ac_try) 2>&5
24190   ac_status=$?
24191   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24192   (exit $ac_status); }; }; then
24193   ac_cv_lib_m_hypot=yes
24194 else
24195   echo "$as_me: failed program was:" >&5
24196 sed 's/^/| /' conftest.$ac_ext >&5
24197
24198 ac_cv_lib_m_hypot=no
24199 fi
24200 rm -f conftest.err conftest.$ac_objext \
24201       conftest$ac_exeext conftest.$ac_ext
24202 LIBS=$ac_check_lib_save_LIBS
24203 fi
24204 echo "$as_me:$LINENO: result: $ac_cv_lib_m_hypot" >&5
24205 echo "${ECHO_T}$ac_cv_lib_m_hypot" >&6
24206 if test $ac_cv_lib_m_hypot = yes; then
24207
24208 cat >>confdefs.h <<\_ACEOF
24209 #define HAVE_HYPOT 1
24210 _ACEOF
24211
24212 fi
24213
24214 echo "$as_me:$LINENO: checking for hypotl in -lm" >&5
24215 echo $ECHO_N "checking for hypotl in -lm... $ECHO_C" >&6
24216 if test "${ac_cv_lib_m_hypotl+set}" = set; then
24217   echo $ECHO_N "(cached) $ECHO_C" >&6
24218 else
24219   ac_check_lib_save_LIBS=$LIBS
24220 LIBS="-lm  $LIBS"
24221 if test x$gcc_no_link = xyes; then
24222   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24223 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24224    { (exit 1); exit 1; }; }
24225 fi
24226 cat >conftest.$ac_ext <<_ACEOF
24227 /* confdefs.h.  */
24228 _ACEOF
24229 cat confdefs.h >>conftest.$ac_ext
24230 cat >>conftest.$ac_ext <<_ACEOF
24231 /* end confdefs.h.  */
24232
24233 /* Override any gcc2 internal prototype to avoid an error.  */
24234 #ifdef __cplusplus
24235 extern "C"
24236 #endif
24237 /* We use char because int might match the return type of a gcc2
24238    builtin and then its argument prototype would still apply.  */
24239 char hypotl ();
24240 int
24241 main ()
24242 {
24243 hypotl ();
24244   ;
24245   return 0;
24246 }
24247 _ACEOF
24248 rm -f conftest.$ac_objext conftest$ac_exeext
24249 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24250   (eval $ac_link) 2>conftest.er1
24251   ac_status=$?
24252   grep -v '^ *+' conftest.er1 >conftest.err
24253   rm -f conftest.er1
24254   cat conftest.err >&5
24255   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24256   (exit $ac_status); } &&
24257          { ac_try='test -z "$ac_c_werror_flag"
24258                          || test ! -s conftest.err'
24259   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24260   (eval $ac_try) 2>&5
24261   ac_status=$?
24262   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24263   (exit $ac_status); }; } &&
24264          { ac_try='test -s conftest$ac_exeext'
24265   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24266   (eval $ac_try) 2>&5
24267   ac_status=$?
24268   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24269   (exit $ac_status); }; }; then
24270   ac_cv_lib_m_hypotl=yes
24271 else
24272   echo "$as_me: failed program was:" >&5
24273 sed 's/^/| /' conftest.$ac_ext >&5
24274
24275 ac_cv_lib_m_hypotl=no
24276 fi
24277 rm -f conftest.err conftest.$ac_objext \
24278       conftest$ac_exeext conftest.$ac_ext
24279 LIBS=$ac_check_lib_save_LIBS
24280 fi
24281 echo "$as_me:$LINENO: result: $ac_cv_lib_m_hypotl" >&5
24282 echo "${ECHO_T}$ac_cv_lib_m_hypotl" >&6
24283 if test $ac_cv_lib_m_hypotl = yes; then
24284
24285 cat >>confdefs.h <<\_ACEOF
24286 #define HAVE_HYPOTL 1
24287 _ACEOF
24288
24289 fi
24290
24291 echo "$as_me:$LINENO: checking for ldexpf in -lm" >&5
24292 echo $ECHO_N "checking for ldexpf in -lm... $ECHO_C" >&6
24293 if test "${ac_cv_lib_m_ldexpf+set}" = set; then
24294   echo $ECHO_N "(cached) $ECHO_C" >&6
24295 else
24296   ac_check_lib_save_LIBS=$LIBS
24297 LIBS="-lm  $LIBS"
24298 if test x$gcc_no_link = xyes; then
24299   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24300 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24301    { (exit 1); exit 1; }; }
24302 fi
24303 cat >conftest.$ac_ext <<_ACEOF
24304 /* confdefs.h.  */
24305 _ACEOF
24306 cat confdefs.h >>conftest.$ac_ext
24307 cat >>conftest.$ac_ext <<_ACEOF
24308 /* end confdefs.h.  */
24309
24310 /* Override any gcc2 internal prototype to avoid an error.  */
24311 #ifdef __cplusplus
24312 extern "C"
24313 #endif
24314 /* We use char because int might match the return type of a gcc2
24315    builtin and then its argument prototype would still apply.  */
24316 char ldexpf ();
24317 int
24318 main ()
24319 {
24320 ldexpf ();
24321   ;
24322   return 0;
24323 }
24324 _ACEOF
24325 rm -f conftest.$ac_objext conftest$ac_exeext
24326 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24327   (eval $ac_link) 2>conftest.er1
24328   ac_status=$?
24329   grep -v '^ *+' conftest.er1 >conftest.err
24330   rm -f conftest.er1
24331   cat conftest.err >&5
24332   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24333   (exit $ac_status); } &&
24334          { ac_try='test -z "$ac_c_werror_flag"
24335                          || test ! -s conftest.err'
24336   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24337   (eval $ac_try) 2>&5
24338   ac_status=$?
24339   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24340   (exit $ac_status); }; } &&
24341          { ac_try='test -s conftest$ac_exeext'
24342   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24343   (eval $ac_try) 2>&5
24344   ac_status=$?
24345   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24346   (exit $ac_status); }; }; then
24347   ac_cv_lib_m_ldexpf=yes
24348 else
24349   echo "$as_me: failed program was:" >&5
24350 sed 's/^/| /' conftest.$ac_ext >&5
24351
24352 ac_cv_lib_m_ldexpf=no
24353 fi
24354 rm -f conftest.err conftest.$ac_objext \
24355       conftest$ac_exeext conftest.$ac_ext
24356 LIBS=$ac_check_lib_save_LIBS
24357 fi
24358 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ldexpf" >&5
24359 echo "${ECHO_T}$ac_cv_lib_m_ldexpf" >&6
24360 if test $ac_cv_lib_m_ldexpf = yes; then
24361
24362 cat >>confdefs.h <<\_ACEOF
24363 #define HAVE_LDEXPF 1
24364 _ACEOF
24365
24366 fi
24367
24368 echo "$as_me:$LINENO: checking for ldexp in -lm" >&5
24369 echo $ECHO_N "checking for ldexp in -lm... $ECHO_C" >&6
24370 if test "${ac_cv_lib_m_ldexp+set}" = set; then
24371   echo $ECHO_N "(cached) $ECHO_C" >&6
24372 else
24373   ac_check_lib_save_LIBS=$LIBS
24374 LIBS="-lm  $LIBS"
24375 if test x$gcc_no_link = xyes; then
24376   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24377 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24378    { (exit 1); exit 1; }; }
24379 fi
24380 cat >conftest.$ac_ext <<_ACEOF
24381 /* confdefs.h.  */
24382 _ACEOF
24383 cat confdefs.h >>conftest.$ac_ext
24384 cat >>conftest.$ac_ext <<_ACEOF
24385 /* end confdefs.h.  */
24386
24387 /* Override any gcc2 internal prototype to avoid an error.  */
24388 #ifdef __cplusplus
24389 extern "C"
24390 #endif
24391 /* We use char because int might match the return type of a gcc2
24392    builtin and then its argument prototype would still apply.  */
24393 char ldexp ();
24394 int
24395 main ()
24396 {
24397 ldexp ();
24398   ;
24399   return 0;
24400 }
24401 _ACEOF
24402 rm -f conftest.$ac_objext conftest$ac_exeext
24403 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24404   (eval $ac_link) 2>conftest.er1
24405   ac_status=$?
24406   grep -v '^ *+' conftest.er1 >conftest.err
24407   rm -f conftest.er1
24408   cat conftest.err >&5
24409   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24410   (exit $ac_status); } &&
24411          { ac_try='test -z "$ac_c_werror_flag"
24412                          || test ! -s conftest.err'
24413   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24414   (eval $ac_try) 2>&5
24415   ac_status=$?
24416   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24417   (exit $ac_status); }; } &&
24418          { ac_try='test -s conftest$ac_exeext'
24419   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24420   (eval $ac_try) 2>&5
24421   ac_status=$?
24422   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24423   (exit $ac_status); }; }; then
24424   ac_cv_lib_m_ldexp=yes
24425 else
24426   echo "$as_me: failed program was:" >&5
24427 sed 's/^/| /' conftest.$ac_ext >&5
24428
24429 ac_cv_lib_m_ldexp=no
24430 fi
24431 rm -f conftest.err conftest.$ac_objext \
24432       conftest$ac_exeext conftest.$ac_ext
24433 LIBS=$ac_check_lib_save_LIBS
24434 fi
24435 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ldexp" >&5
24436 echo "${ECHO_T}$ac_cv_lib_m_ldexp" >&6
24437 if test $ac_cv_lib_m_ldexp = yes; then
24438
24439 cat >>confdefs.h <<\_ACEOF
24440 #define HAVE_LDEXP 1
24441 _ACEOF
24442
24443 fi
24444
24445 echo "$as_me:$LINENO: checking for ldexpl in -lm" >&5
24446 echo $ECHO_N "checking for ldexpl in -lm... $ECHO_C" >&6
24447 if test "${ac_cv_lib_m_ldexpl+set}" = set; then
24448   echo $ECHO_N "(cached) $ECHO_C" >&6
24449 else
24450   ac_check_lib_save_LIBS=$LIBS
24451 LIBS="-lm  $LIBS"
24452 if test x$gcc_no_link = xyes; then
24453   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24454 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24455    { (exit 1); exit 1; }; }
24456 fi
24457 cat >conftest.$ac_ext <<_ACEOF
24458 /* confdefs.h.  */
24459 _ACEOF
24460 cat confdefs.h >>conftest.$ac_ext
24461 cat >>conftest.$ac_ext <<_ACEOF
24462 /* end confdefs.h.  */
24463
24464 /* Override any gcc2 internal prototype to avoid an error.  */
24465 #ifdef __cplusplus
24466 extern "C"
24467 #endif
24468 /* We use char because int might match the return type of a gcc2
24469    builtin and then its argument prototype would still apply.  */
24470 char ldexpl ();
24471 int
24472 main ()
24473 {
24474 ldexpl ();
24475   ;
24476   return 0;
24477 }
24478 _ACEOF
24479 rm -f conftest.$ac_objext conftest$ac_exeext
24480 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24481   (eval $ac_link) 2>conftest.er1
24482   ac_status=$?
24483   grep -v '^ *+' conftest.er1 >conftest.err
24484   rm -f conftest.er1
24485   cat conftest.err >&5
24486   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24487   (exit $ac_status); } &&
24488          { ac_try='test -z "$ac_c_werror_flag"
24489                          || test ! -s conftest.err'
24490   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24491   (eval $ac_try) 2>&5
24492   ac_status=$?
24493   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24494   (exit $ac_status); }; } &&
24495          { ac_try='test -s conftest$ac_exeext'
24496   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24497   (eval $ac_try) 2>&5
24498   ac_status=$?
24499   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24500   (exit $ac_status); }; }; then
24501   ac_cv_lib_m_ldexpl=yes
24502 else
24503   echo "$as_me: failed program was:" >&5
24504 sed 's/^/| /' conftest.$ac_ext >&5
24505
24506 ac_cv_lib_m_ldexpl=no
24507 fi
24508 rm -f conftest.err conftest.$ac_objext \
24509       conftest$ac_exeext conftest.$ac_ext
24510 LIBS=$ac_check_lib_save_LIBS
24511 fi
24512 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ldexpl" >&5
24513 echo "${ECHO_T}$ac_cv_lib_m_ldexpl" >&6
24514 if test $ac_cv_lib_m_ldexpl = yes; then
24515
24516 cat >>confdefs.h <<\_ACEOF
24517 #define HAVE_LDEXPL 1
24518 _ACEOF
24519
24520 fi
24521
24522 echo "$as_me:$LINENO: checking for logf in -lm" >&5
24523 echo $ECHO_N "checking for logf in -lm... $ECHO_C" >&6
24524 if test "${ac_cv_lib_m_logf+set}" = set; then
24525   echo $ECHO_N "(cached) $ECHO_C" >&6
24526 else
24527   ac_check_lib_save_LIBS=$LIBS
24528 LIBS="-lm  $LIBS"
24529 if test x$gcc_no_link = xyes; then
24530   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24531 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24532    { (exit 1); exit 1; }; }
24533 fi
24534 cat >conftest.$ac_ext <<_ACEOF
24535 /* confdefs.h.  */
24536 _ACEOF
24537 cat confdefs.h >>conftest.$ac_ext
24538 cat >>conftest.$ac_ext <<_ACEOF
24539 /* end confdefs.h.  */
24540
24541 /* Override any gcc2 internal prototype to avoid an error.  */
24542 #ifdef __cplusplus
24543 extern "C"
24544 #endif
24545 /* We use char because int might match the return type of a gcc2
24546    builtin and then its argument prototype would still apply.  */
24547 char logf ();
24548 int
24549 main ()
24550 {
24551 logf ();
24552   ;
24553   return 0;
24554 }
24555 _ACEOF
24556 rm -f conftest.$ac_objext conftest$ac_exeext
24557 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24558   (eval $ac_link) 2>conftest.er1
24559   ac_status=$?
24560   grep -v '^ *+' conftest.er1 >conftest.err
24561   rm -f conftest.er1
24562   cat conftest.err >&5
24563   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24564   (exit $ac_status); } &&
24565          { ac_try='test -z "$ac_c_werror_flag"
24566                          || test ! -s conftest.err'
24567   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24568   (eval $ac_try) 2>&5
24569   ac_status=$?
24570   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24571   (exit $ac_status); }; } &&
24572          { ac_try='test -s conftest$ac_exeext'
24573   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24574   (eval $ac_try) 2>&5
24575   ac_status=$?
24576   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24577   (exit $ac_status); }; }; then
24578   ac_cv_lib_m_logf=yes
24579 else
24580   echo "$as_me: failed program was:" >&5
24581 sed 's/^/| /' conftest.$ac_ext >&5
24582
24583 ac_cv_lib_m_logf=no
24584 fi
24585 rm -f conftest.err conftest.$ac_objext \
24586       conftest$ac_exeext conftest.$ac_ext
24587 LIBS=$ac_check_lib_save_LIBS
24588 fi
24589 echo "$as_me:$LINENO: result: $ac_cv_lib_m_logf" >&5
24590 echo "${ECHO_T}$ac_cv_lib_m_logf" >&6
24591 if test $ac_cv_lib_m_logf = yes; then
24592
24593 cat >>confdefs.h <<\_ACEOF
24594 #define HAVE_LOGF 1
24595 _ACEOF
24596
24597 fi
24598
24599 echo "$as_me:$LINENO: checking for log in -lm" >&5
24600 echo $ECHO_N "checking for log in -lm... $ECHO_C" >&6
24601 if test "${ac_cv_lib_m_log+set}" = set; then
24602   echo $ECHO_N "(cached) $ECHO_C" >&6
24603 else
24604   ac_check_lib_save_LIBS=$LIBS
24605 LIBS="-lm  $LIBS"
24606 if test x$gcc_no_link = xyes; then
24607   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24608 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24609    { (exit 1); exit 1; }; }
24610 fi
24611 cat >conftest.$ac_ext <<_ACEOF
24612 /* confdefs.h.  */
24613 _ACEOF
24614 cat confdefs.h >>conftest.$ac_ext
24615 cat >>conftest.$ac_ext <<_ACEOF
24616 /* end confdefs.h.  */
24617
24618 /* Override any gcc2 internal prototype to avoid an error.  */
24619 #ifdef __cplusplus
24620 extern "C"
24621 #endif
24622 /* We use char because int might match the return type of a gcc2
24623    builtin and then its argument prototype would still apply.  */
24624 char log ();
24625 int
24626 main ()
24627 {
24628 log ();
24629   ;
24630   return 0;
24631 }
24632 _ACEOF
24633 rm -f conftest.$ac_objext conftest$ac_exeext
24634 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24635   (eval $ac_link) 2>conftest.er1
24636   ac_status=$?
24637   grep -v '^ *+' conftest.er1 >conftest.err
24638   rm -f conftest.er1
24639   cat conftest.err >&5
24640   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24641   (exit $ac_status); } &&
24642          { ac_try='test -z "$ac_c_werror_flag"
24643                          || test ! -s conftest.err'
24644   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24645   (eval $ac_try) 2>&5
24646   ac_status=$?
24647   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24648   (exit $ac_status); }; } &&
24649          { ac_try='test -s conftest$ac_exeext'
24650   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24651   (eval $ac_try) 2>&5
24652   ac_status=$?
24653   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24654   (exit $ac_status); }; }; then
24655   ac_cv_lib_m_log=yes
24656 else
24657   echo "$as_me: failed program was:" >&5
24658 sed 's/^/| /' conftest.$ac_ext >&5
24659
24660 ac_cv_lib_m_log=no
24661 fi
24662 rm -f conftest.err conftest.$ac_objext \
24663       conftest$ac_exeext conftest.$ac_ext
24664 LIBS=$ac_check_lib_save_LIBS
24665 fi
24666 echo "$as_me:$LINENO: result: $ac_cv_lib_m_log" >&5
24667 echo "${ECHO_T}$ac_cv_lib_m_log" >&6
24668 if test $ac_cv_lib_m_log = yes; then
24669
24670 cat >>confdefs.h <<\_ACEOF
24671 #define HAVE_LOG 1
24672 _ACEOF
24673
24674 fi
24675
24676 echo "$as_me:$LINENO: checking for logl in -lm" >&5
24677 echo $ECHO_N "checking for logl in -lm... $ECHO_C" >&6
24678 if test "${ac_cv_lib_m_logl+set}" = set; then
24679   echo $ECHO_N "(cached) $ECHO_C" >&6
24680 else
24681   ac_check_lib_save_LIBS=$LIBS
24682 LIBS="-lm  $LIBS"
24683 if test x$gcc_no_link = xyes; then
24684   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24685 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24686    { (exit 1); exit 1; }; }
24687 fi
24688 cat >conftest.$ac_ext <<_ACEOF
24689 /* confdefs.h.  */
24690 _ACEOF
24691 cat confdefs.h >>conftest.$ac_ext
24692 cat >>conftest.$ac_ext <<_ACEOF
24693 /* end confdefs.h.  */
24694
24695 /* Override any gcc2 internal prototype to avoid an error.  */
24696 #ifdef __cplusplus
24697 extern "C"
24698 #endif
24699 /* We use char because int might match the return type of a gcc2
24700    builtin and then its argument prototype would still apply.  */
24701 char logl ();
24702 int
24703 main ()
24704 {
24705 logl ();
24706   ;
24707   return 0;
24708 }
24709 _ACEOF
24710 rm -f conftest.$ac_objext conftest$ac_exeext
24711 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24712   (eval $ac_link) 2>conftest.er1
24713   ac_status=$?
24714   grep -v '^ *+' conftest.er1 >conftest.err
24715   rm -f conftest.er1
24716   cat conftest.err >&5
24717   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24718   (exit $ac_status); } &&
24719          { ac_try='test -z "$ac_c_werror_flag"
24720                          || test ! -s conftest.err'
24721   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24722   (eval $ac_try) 2>&5
24723   ac_status=$?
24724   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24725   (exit $ac_status); }; } &&
24726          { ac_try='test -s conftest$ac_exeext'
24727   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24728   (eval $ac_try) 2>&5
24729   ac_status=$?
24730   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24731   (exit $ac_status); }; }; then
24732   ac_cv_lib_m_logl=yes
24733 else
24734   echo "$as_me: failed program was:" >&5
24735 sed 's/^/| /' conftest.$ac_ext >&5
24736
24737 ac_cv_lib_m_logl=no
24738 fi
24739 rm -f conftest.err conftest.$ac_objext \
24740       conftest$ac_exeext conftest.$ac_ext
24741 LIBS=$ac_check_lib_save_LIBS
24742 fi
24743 echo "$as_me:$LINENO: result: $ac_cv_lib_m_logl" >&5
24744 echo "${ECHO_T}$ac_cv_lib_m_logl" >&6
24745 if test $ac_cv_lib_m_logl = yes; then
24746
24747 cat >>confdefs.h <<\_ACEOF
24748 #define HAVE_LOGL 1
24749 _ACEOF
24750
24751 fi
24752
24753 echo "$as_me:$LINENO: checking for clogf in -lm" >&5
24754 echo $ECHO_N "checking for clogf in -lm... $ECHO_C" >&6
24755 if test "${ac_cv_lib_m_clogf+set}" = set; then
24756   echo $ECHO_N "(cached) $ECHO_C" >&6
24757 else
24758   ac_check_lib_save_LIBS=$LIBS
24759 LIBS="-lm  $LIBS"
24760 if test x$gcc_no_link = xyes; then
24761   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24762 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24763    { (exit 1); exit 1; }; }
24764 fi
24765 cat >conftest.$ac_ext <<_ACEOF
24766 /* confdefs.h.  */
24767 _ACEOF
24768 cat confdefs.h >>conftest.$ac_ext
24769 cat >>conftest.$ac_ext <<_ACEOF
24770 /* end confdefs.h.  */
24771
24772 /* Override any gcc2 internal prototype to avoid an error.  */
24773 #ifdef __cplusplus
24774 extern "C"
24775 #endif
24776 /* We use char because int might match the return type of a gcc2
24777    builtin and then its argument prototype would still apply.  */
24778 char clogf ();
24779 int
24780 main ()
24781 {
24782 clogf ();
24783   ;
24784   return 0;
24785 }
24786 _ACEOF
24787 rm -f conftest.$ac_objext conftest$ac_exeext
24788 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24789   (eval $ac_link) 2>conftest.er1
24790   ac_status=$?
24791   grep -v '^ *+' conftest.er1 >conftest.err
24792   rm -f conftest.er1
24793   cat conftest.err >&5
24794   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24795   (exit $ac_status); } &&
24796          { ac_try='test -z "$ac_c_werror_flag"
24797                          || test ! -s conftest.err'
24798   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24799   (eval $ac_try) 2>&5
24800   ac_status=$?
24801   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24802   (exit $ac_status); }; } &&
24803          { ac_try='test -s conftest$ac_exeext'
24804   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24805   (eval $ac_try) 2>&5
24806   ac_status=$?
24807   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24808   (exit $ac_status); }; }; then
24809   ac_cv_lib_m_clogf=yes
24810 else
24811   echo "$as_me: failed program was:" >&5
24812 sed 's/^/| /' conftest.$ac_ext >&5
24813
24814 ac_cv_lib_m_clogf=no
24815 fi
24816 rm -f conftest.err conftest.$ac_objext \
24817       conftest$ac_exeext conftest.$ac_ext
24818 LIBS=$ac_check_lib_save_LIBS
24819 fi
24820 echo "$as_me:$LINENO: result: $ac_cv_lib_m_clogf" >&5
24821 echo "${ECHO_T}$ac_cv_lib_m_clogf" >&6
24822 if test $ac_cv_lib_m_clogf = yes; then
24823
24824 cat >>confdefs.h <<\_ACEOF
24825 #define HAVE_CLOGF 1
24826 _ACEOF
24827
24828 fi
24829
24830 echo "$as_me:$LINENO: checking for clog in -lm" >&5
24831 echo $ECHO_N "checking for clog in -lm... $ECHO_C" >&6
24832 if test "${ac_cv_lib_m_clog+set}" = set; then
24833   echo $ECHO_N "(cached) $ECHO_C" >&6
24834 else
24835   ac_check_lib_save_LIBS=$LIBS
24836 LIBS="-lm  $LIBS"
24837 if test x$gcc_no_link = xyes; then
24838   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24839 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24840    { (exit 1); exit 1; }; }
24841 fi
24842 cat >conftest.$ac_ext <<_ACEOF
24843 /* confdefs.h.  */
24844 _ACEOF
24845 cat confdefs.h >>conftest.$ac_ext
24846 cat >>conftest.$ac_ext <<_ACEOF
24847 /* end confdefs.h.  */
24848
24849 /* Override any gcc2 internal prototype to avoid an error.  */
24850 #ifdef __cplusplus
24851 extern "C"
24852 #endif
24853 /* We use char because int might match the return type of a gcc2
24854    builtin and then its argument prototype would still apply.  */
24855 char clog ();
24856 int
24857 main ()
24858 {
24859 clog ();
24860   ;
24861   return 0;
24862 }
24863 _ACEOF
24864 rm -f conftest.$ac_objext conftest$ac_exeext
24865 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24866   (eval $ac_link) 2>conftest.er1
24867   ac_status=$?
24868   grep -v '^ *+' conftest.er1 >conftest.err
24869   rm -f conftest.er1
24870   cat conftest.err >&5
24871   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24872   (exit $ac_status); } &&
24873          { ac_try='test -z "$ac_c_werror_flag"
24874                          || test ! -s conftest.err'
24875   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24876   (eval $ac_try) 2>&5
24877   ac_status=$?
24878   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24879   (exit $ac_status); }; } &&
24880          { ac_try='test -s conftest$ac_exeext'
24881   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24882   (eval $ac_try) 2>&5
24883   ac_status=$?
24884   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24885   (exit $ac_status); }; }; then
24886   ac_cv_lib_m_clog=yes
24887 else
24888   echo "$as_me: failed program was:" >&5
24889 sed 's/^/| /' conftest.$ac_ext >&5
24890
24891 ac_cv_lib_m_clog=no
24892 fi
24893 rm -f conftest.err conftest.$ac_objext \
24894       conftest$ac_exeext conftest.$ac_ext
24895 LIBS=$ac_check_lib_save_LIBS
24896 fi
24897 echo "$as_me:$LINENO: result: $ac_cv_lib_m_clog" >&5
24898 echo "${ECHO_T}$ac_cv_lib_m_clog" >&6
24899 if test $ac_cv_lib_m_clog = yes; then
24900
24901 cat >>confdefs.h <<\_ACEOF
24902 #define HAVE_CLOG 1
24903 _ACEOF
24904
24905 fi
24906
24907 echo "$as_me:$LINENO: checking for clogl in -lm" >&5
24908 echo $ECHO_N "checking for clogl in -lm... $ECHO_C" >&6
24909 if test "${ac_cv_lib_m_clogl+set}" = set; then
24910   echo $ECHO_N "(cached) $ECHO_C" >&6
24911 else
24912   ac_check_lib_save_LIBS=$LIBS
24913 LIBS="-lm  $LIBS"
24914 if test x$gcc_no_link = xyes; then
24915   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24916 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24917    { (exit 1); exit 1; }; }
24918 fi
24919 cat >conftest.$ac_ext <<_ACEOF
24920 /* confdefs.h.  */
24921 _ACEOF
24922 cat confdefs.h >>conftest.$ac_ext
24923 cat >>conftest.$ac_ext <<_ACEOF
24924 /* end confdefs.h.  */
24925
24926 /* Override any gcc2 internal prototype to avoid an error.  */
24927 #ifdef __cplusplus
24928 extern "C"
24929 #endif
24930 /* We use char because int might match the return type of a gcc2
24931    builtin and then its argument prototype would still apply.  */
24932 char clogl ();
24933 int
24934 main ()
24935 {
24936 clogl ();
24937   ;
24938   return 0;
24939 }
24940 _ACEOF
24941 rm -f conftest.$ac_objext conftest$ac_exeext
24942 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24943   (eval $ac_link) 2>conftest.er1
24944   ac_status=$?
24945   grep -v '^ *+' conftest.er1 >conftest.err
24946   rm -f conftest.er1
24947   cat conftest.err >&5
24948   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24949   (exit $ac_status); } &&
24950          { ac_try='test -z "$ac_c_werror_flag"
24951                          || test ! -s conftest.err'
24952   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24953   (eval $ac_try) 2>&5
24954   ac_status=$?
24955   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24956   (exit $ac_status); }; } &&
24957          { ac_try='test -s conftest$ac_exeext'
24958   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24959   (eval $ac_try) 2>&5
24960   ac_status=$?
24961   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24962   (exit $ac_status); }; }; then
24963   ac_cv_lib_m_clogl=yes
24964 else
24965   echo "$as_me: failed program was:" >&5
24966 sed 's/^/| /' conftest.$ac_ext >&5
24967
24968 ac_cv_lib_m_clogl=no
24969 fi
24970 rm -f conftest.err conftest.$ac_objext \
24971       conftest$ac_exeext conftest.$ac_ext
24972 LIBS=$ac_check_lib_save_LIBS
24973 fi
24974 echo "$as_me:$LINENO: result: $ac_cv_lib_m_clogl" >&5
24975 echo "${ECHO_T}$ac_cv_lib_m_clogl" >&6
24976 if test $ac_cv_lib_m_clogl = yes; then
24977
24978 cat >>confdefs.h <<\_ACEOF
24979 #define HAVE_CLOGL 1
24980 _ACEOF
24981
24982 fi
24983
24984 echo "$as_me:$LINENO: checking for log10f in -lm" >&5
24985 echo $ECHO_N "checking for log10f in -lm... $ECHO_C" >&6
24986 if test "${ac_cv_lib_m_log10f+set}" = set; then
24987   echo $ECHO_N "(cached) $ECHO_C" >&6
24988 else
24989   ac_check_lib_save_LIBS=$LIBS
24990 LIBS="-lm  $LIBS"
24991 if test x$gcc_no_link = xyes; then
24992   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24993 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24994    { (exit 1); exit 1; }; }
24995 fi
24996 cat >conftest.$ac_ext <<_ACEOF
24997 /* confdefs.h.  */
24998 _ACEOF
24999 cat confdefs.h >>conftest.$ac_ext
25000 cat >>conftest.$ac_ext <<_ACEOF
25001 /* end confdefs.h.  */
25002
25003 /* Override any gcc2 internal prototype to avoid an error.  */
25004 #ifdef __cplusplus
25005 extern "C"
25006 #endif
25007 /* We use char because int might match the return type of a gcc2
25008    builtin and then its argument prototype would still apply.  */
25009 char log10f ();
25010 int
25011 main ()
25012 {
25013 log10f ();
25014   ;
25015   return 0;
25016 }
25017 _ACEOF
25018 rm -f conftest.$ac_objext conftest$ac_exeext
25019 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25020   (eval $ac_link) 2>conftest.er1
25021   ac_status=$?
25022   grep -v '^ *+' conftest.er1 >conftest.err
25023   rm -f conftest.er1
25024   cat conftest.err >&5
25025   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25026   (exit $ac_status); } &&
25027          { ac_try='test -z "$ac_c_werror_flag"
25028                          || test ! -s conftest.err'
25029   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25030   (eval $ac_try) 2>&5
25031   ac_status=$?
25032   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25033   (exit $ac_status); }; } &&
25034          { ac_try='test -s conftest$ac_exeext'
25035   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25036   (eval $ac_try) 2>&5
25037   ac_status=$?
25038   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25039   (exit $ac_status); }; }; then
25040   ac_cv_lib_m_log10f=yes
25041 else
25042   echo "$as_me: failed program was:" >&5
25043 sed 's/^/| /' conftest.$ac_ext >&5
25044
25045 ac_cv_lib_m_log10f=no
25046 fi
25047 rm -f conftest.err conftest.$ac_objext \
25048       conftest$ac_exeext conftest.$ac_ext
25049 LIBS=$ac_check_lib_save_LIBS
25050 fi
25051 echo "$as_me:$LINENO: result: $ac_cv_lib_m_log10f" >&5
25052 echo "${ECHO_T}$ac_cv_lib_m_log10f" >&6
25053 if test $ac_cv_lib_m_log10f = yes; then
25054
25055 cat >>confdefs.h <<\_ACEOF
25056 #define HAVE_LOG10F 1
25057 _ACEOF
25058
25059 fi
25060
25061 echo "$as_me:$LINENO: checking for log10 in -lm" >&5
25062 echo $ECHO_N "checking for log10 in -lm... $ECHO_C" >&6
25063 if test "${ac_cv_lib_m_log10+set}" = set; then
25064   echo $ECHO_N "(cached) $ECHO_C" >&6
25065 else
25066   ac_check_lib_save_LIBS=$LIBS
25067 LIBS="-lm  $LIBS"
25068 if test x$gcc_no_link = xyes; then
25069   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25070 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25071    { (exit 1); exit 1; }; }
25072 fi
25073 cat >conftest.$ac_ext <<_ACEOF
25074 /* confdefs.h.  */
25075 _ACEOF
25076 cat confdefs.h >>conftest.$ac_ext
25077 cat >>conftest.$ac_ext <<_ACEOF
25078 /* end confdefs.h.  */
25079
25080 /* Override any gcc2 internal prototype to avoid an error.  */
25081 #ifdef __cplusplus
25082 extern "C"
25083 #endif
25084 /* We use char because int might match the return type of a gcc2
25085    builtin and then its argument prototype would still apply.  */
25086 char log10 ();
25087 int
25088 main ()
25089 {
25090 log10 ();
25091   ;
25092   return 0;
25093 }
25094 _ACEOF
25095 rm -f conftest.$ac_objext conftest$ac_exeext
25096 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25097   (eval $ac_link) 2>conftest.er1
25098   ac_status=$?
25099   grep -v '^ *+' conftest.er1 >conftest.err
25100   rm -f conftest.er1
25101   cat conftest.err >&5
25102   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25103   (exit $ac_status); } &&
25104          { ac_try='test -z "$ac_c_werror_flag"
25105                          || test ! -s conftest.err'
25106   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25107   (eval $ac_try) 2>&5
25108   ac_status=$?
25109   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25110   (exit $ac_status); }; } &&
25111          { ac_try='test -s conftest$ac_exeext'
25112   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25113   (eval $ac_try) 2>&5
25114   ac_status=$?
25115   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25116   (exit $ac_status); }; }; then
25117   ac_cv_lib_m_log10=yes
25118 else
25119   echo "$as_me: failed program was:" >&5
25120 sed 's/^/| /' conftest.$ac_ext >&5
25121
25122 ac_cv_lib_m_log10=no
25123 fi
25124 rm -f conftest.err conftest.$ac_objext \
25125       conftest$ac_exeext conftest.$ac_ext
25126 LIBS=$ac_check_lib_save_LIBS
25127 fi
25128 echo "$as_me:$LINENO: result: $ac_cv_lib_m_log10" >&5
25129 echo "${ECHO_T}$ac_cv_lib_m_log10" >&6
25130 if test $ac_cv_lib_m_log10 = yes; then
25131
25132 cat >>confdefs.h <<\_ACEOF
25133 #define HAVE_LOG10 1
25134 _ACEOF
25135
25136 fi
25137
25138 echo "$as_me:$LINENO: checking for log10l in -lm" >&5
25139 echo $ECHO_N "checking for log10l in -lm... $ECHO_C" >&6
25140 if test "${ac_cv_lib_m_log10l+set}" = set; then
25141   echo $ECHO_N "(cached) $ECHO_C" >&6
25142 else
25143   ac_check_lib_save_LIBS=$LIBS
25144 LIBS="-lm  $LIBS"
25145 if test x$gcc_no_link = xyes; then
25146   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25147 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25148    { (exit 1); exit 1; }; }
25149 fi
25150 cat >conftest.$ac_ext <<_ACEOF
25151 /* confdefs.h.  */
25152 _ACEOF
25153 cat confdefs.h >>conftest.$ac_ext
25154 cat >>conftest.$ac_ext <<_ACEOF
25155 /* end confdefs.h.  */
25156
25157 /* Override any gcc2 internal prototype to avoid an error.  */
25158 #ifdef __cplusplus
25159 extern "C"
25160 #endif
25161 /* We use char because int might match the return type of a gcc2
25162    builtin and then its argument prototype would still apply.  */
25163 char log10l ();
25164 int
25165 main ()
25166 {
25167 log10l ();
25168   ;
25169   return 0;
25170 }
25171 _ACEOF
25172 rm -f conftest.$ac_objext conftest$ac_exeext
25173 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25174   (eval $ac_link) 2>conftest.er1
25175   ac_status=$?
25176   grep -v '^ *+' conftest.er1 >conftest.err
25177   rm -f conftest.er1
25178   cat conftest.err >&5
25179   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25180   (exit $ac_status); } &&
25181          { ac_try='test -z "$ac_c_werror_flag"
25182                          || test ! -s conftest.err'
25183   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25184   (eval $ac_try) 2>&5
25185   ac_status=$?
25186   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25187   (exit $ac_status); }; } &&
25188          { ac_try='test -s conftest$ac_exeext'
25189   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25190   (eval $ac_try) 2>&5
25191   ac_status=$?
25192   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25193   (exit $ac_status); }; }; then
25194   ac_cv_lib_m_log10l=yes
25195 else
25196   echo "$as_me: failed program was:" >&5
25197 sed 's/^/| /' conftest.$ac_ext >&5
25198
25199 ac_cv_lib_m_log10l=no
25200 fi
25201 rm -f conftest.err conftest.$ac_objext \
25202       conftest$ac_exeext conftest.$ac_ext
25203 LIBS=$ac_check_lib_save_LIBS
25204 fi
25205 echo "$as_me:$LINENO: result: $ac_cv_lib_m_log10l" >&5
25206 echo "${ECHO_T}$ac_cv_lib_m_log10l" >&6
25207 if test $ac_cv_lib_m_log10l = yes; then
25208
25209 cat >>confdefs.h <<\_ACEOF
25210 #define HAVE_LOG10L 1
25211 _ACEOF
25212
25213 fi
25214
25215 echo "$as_me:$LINENO: checking for clog10f in -lm" >&5
25216 echo $ECHO_N "checking for clog10f in -lm... $ECHO_C" >&6
25217 if test "${ac_cv_lib_m_clog10f+set}" = set; then
25218   echo $ECHO_N "(cached) $ECHO_C" >&6
25219 else
25220   ac_check_lib_save_LIBS=$LIBS
25221 LIBS="-lm  $LIBS"
25222 if test x$gcc_no_link = xyes; then
25223   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25224 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25225    { (exit 1); exit 1; }; }
25226 fi
25227 cat >conftest.$ac_ext <<_ACEOF
25228 /* confdefs.h.  */
25229 _ACEOF
25230 cat confdefs.h >>conftest.$ac_ext
25231 cat >>conftest.$ac_ext <<_ACEOF
25232 /* end confdefs.h.  */
25233
25234 /* Override any gcc2 internal prototype to avoid an error.  */
25235 #ifdef __cplusplus
25236 extern "C"
25237 #endif
25238 /* We use char because int might match the return type of a gcc2
25239    builtin and then its argument prototype would still apply.  */
25240 char clog10f ();
25241 int
25242 main ()
25243 {
25244 clog10f ();
25245   ;
25246   return 0;
25247 }
25248 _ACEOF
25249 rm -f conftest.$ac_objext conftest$ac_exeext
25250 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25251   (eval $ac_link) 2>conftest.er1
25252   ac_status=$?
25253   grep -v '^ *+' conftest.er1 >conftest.err
25254   rm -f conftest.er1
25255   cat conftest.err >&5
25256   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25257   (exit $ac_status); } &&
25258          { ac_try='test -z "$ac_c_werror_flag"
25259                          || test ! -s conftest.err'
25260   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25261   (eval $ac_try) 2>&5
25262   ac_status=$?
25263   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25264   (exit $ac_status); }; } &&
25265          { ac_try='test -s conftest$ac_exeext'
25266   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25267   (eval $ac_try) 2>&5
25268   ac_status=$?
25269   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25270   (exit $ac_status); }; }; then
25271   ac_cv_lib_m_clog10f=yes
25272 else
25273   echo "$as_me: failed program was:" >&5
25274 sed 's/^/| /' conftest.$ac_ext >&5
25275
25276 ac_cv_lib_m_clog10f=no
25277 fi
25278 rm -f conftest.err conftest.$ac_objext \
25279       conftest$ac_exeext conftest.$ac_ext
25280 LIBS=$ac_check_lib_save_LIBS
25281 fi
25282 echo "$as_me:$LINENO: result: $ac_cv_lib_m_clog10f" >&5
25283 echo "${ECHO_T}$ac_cv_lib_m_clog10f" >&6
25284 if test $ac_cv_lib_m_clog10f = yes; then
25285
25286 cat >>confdefs.h <<\_ACEOF
25287 #define HAVE_CLOG10F 1
25288 _ACEOF
25289
25290 fi
25291
25292 echo "$as_me:$LINENO: checking for clog10 in -lm" >&5
25293 echo $ECHO_N "checking for clog10 in -lm... $ECHO_C" >&6
25294 if test "${ac_cv_lib_m_clog10+set}" = set; then
25295   echo $ECHO_N "(cached) $ECHO_C" >&6
25296 else
25297   ac_check_lib_save_LIBS=$LIBS
25298 LIBS="-lm  $LIBS"
25299 if test x$gcc_no_link = xyes; then
25300   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25301 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25302    { (exit 1); exit 1; }; }
25303 fi
25304 cat >conftest.$ac_ext <<_ACEOF
25305 /* confdefs.h.  */
25306 _ACEOF
25307 cat confdefs.h >>conftest.$ac_ext
25308 cat >>conftest.$ac_ext <<_ACEOF
25309 /* end confdefs.h.  */
25310
25311 /* Override any gcc2 internal prototype to avoid an error.  */
25312 #ifdef __cplusplus
25313 extern "C"
25314 #endif
25315 /* We use char because int might match the return type of a gcc2
25316    builtin and then its argument prototype would still apply.  */
25317 char clog10 ();
25318 int
25319 main ()
25320 {
25321 clog10 ();
25322   ;
25323   return 0;
25324 }
25325 _ACEOF
25326 rm -f conftest.$ac_objext conftest$ac_exeext
25327 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25328   (eval $ac_link) 2>conftest.er1
25329   ac_status=$?
25330   grep -v '^ *+' conftest.er1 >conftest.err
25331   rm -f conftest.er1
25332   cat conftest.err >&5
25333   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25334   (exit $ac_status); } &&
25335          { ac_try='test -z "$ac_c_werror_flag"
25336                          || test ! -s conftest.err'
25337   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25338   (eval $ac_try) 2>&5
25339   ac_status=$?
25340   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25341   (exit $ac_status); }; } &&
25342          { ac_try='test -s conftest$ac_exeext'
25343   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25344   (eval $ac_try) 2>&5
25345   ac_status=$?
25346   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25347   (exit $ac_status); }; }; then
25348   ac_cv_lib_m_clog10=yes
25349 else
25350   echo "$as_me: failed program was:" >&5
25351 sed 's/^/| /' conftest.$ac_ext >&5
25352
25353 ac_cv_lib_m_clog10=no
25354 fi
25355 rm -f conftest.err conftest.$ac_objext \
25356       conftest$ac_exeext conftest.$ac_ext
25357 LIBS=$ac_check_lib_save_LIBS
25358 fi
25359 echo "$as_me:$LINENO: result: $ac_cv_lib_m_clog10" >&5
25360 echo "${ECHO_T}$ac_cv_lib_m_clog10" >&6
25361 if test $ac_cv_lib_m_clog10 = yes; then
25362
25363 cat >>confdefs.h <<\_ACEOF
25364 #define HAVE_CLOG10 1
25365 _ACEOF
25366
25367 fi
25368
25369 echo "$as_me:$LINENO: checking for clog10l in -lm" >&5
25370 echo $ECHO_N "checking for clog10l in -lm... $ECHO_C" >&6
25371 if test "${ac_cv_lib_m_clog10l+set}" = set; then
25372   echo $ECHO_N "(cached) $ECHO_C" >&6
25373 else
25374   ac_check_lib_save_LIBS=$LIBS
25375 LIBS="-lm  $LIBS"
25376 if test x$gcc_no_link = xyes; then
25377   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25378 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25379    { (exit 1); exit 1; }; }
25380 fi
25381 cat >conftest.$ac_ext <<_ACEOF
25382 /* confdefs.h.  */
25383 _ACEOF
25384 cat confdefs.h >>conftest.$ac_ext
25385 cat >>conftest.$ac_ext <<_ACEOF
25386 /* end confdefs.h.  */
25387
25388 /* Override any gcc2 internal prototype to avoid an error.  */
25389 #ifdef __cplusplus
25390 extern "C"
25391 #endif
25392 /* We use char because int might match the return type of a gcc2
25393    builtin and then its argument prototype would still apply.  */
25394 char clog10l ();
25395 int
25396 main ()
25397 {
25398 clog10l ();
25399   ;
25400   return 0;
25401 }
25402 _ACEOF
25403 rm -f conftest.$ac_objext conftest$ac_exeext
25404 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25405   (eval $ac_link) 2>conftest.er1
25406   ac_status=$?
25407   grep -v '^ *+' conftest.er1 >conftest.err
25408   rm -f conftest.er1
25409   cat conftest.err >&5
25410   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25411   (exit $ac_status); } &&
25412          { ac_try='test -z "$ac_c_werror_flag"
25413                          || test ! -s conftest.err'
25414   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25415   (eval $ac_try) 2>&5
25416   ac_status=$?
25417   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25418   (exit $ac_status); }; } &&
25419          { ac_try='test -s conftest$ac_exeext'
25420   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25421   (eval $ac_try) 2>&5
25422   ac_status=$?
25423   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25424   (exit $ac_status); }; }; then
25425   ac_cv_lib_m_clog10l=yes
25426 else
25427   echo "$as_me: failed program was:" >&5
25428 sed 's/^/| /' conftest.$ac_ext >&5
25429
25430 ac_cv_lib_m_clog10l=no
25431 fi
25432 rm -f conftest.err conftest.$ac_objext \
25433       conftest$ac_exeext conftest.$ac_ext
25434 LIBS=$ac_check_lib_save_LIBS
25435 fi
25436 echo "$as_me:$LINENO: result: $ac_cv_lib_m_clog10l" >&5
25437 echo "${ECHO_T}$ac_cv_lib_m_clog10l" >&6
25438 if test $ac_cv_lib_m_clog10l = yes; then
25439
25440 cat >>confdefs.h <<\_ACEOF
25441 #define HAVE_CLOG10L 1
25442 _ACEOF
25443
25444 fi
25445
25446 echo "$as_me:$LINENO: checking for nextafterf in -lm" >&5
25447 echo $ECHO_N "checking for nextafterf in -lm... $ECHO_C" >&6
25448 if test "${ac_cv_lib_m_nextafterf+set}" = set; then
25449   echo $ECHO_N "(cached) $ECHO_C" >&6
25450 else
25451   ac_check_lib_save_LIBS=$LIBS
25452 LIBS="-lm  $LIBS"
25453 if test x$gcc_no_link = xyes; then
25454   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25455 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25456    { (exit 1); exit 1; }; }
25457 fi
25458 cat >conftest.$ac_ext <<_ACEOF
25459 /* confdefs.h.  */
25460 _ACEOF
25461 cat confdefs.h >>conftest.$ac_ext
25462 cat >>conftest.$ac_ext <<_ACEOF
25463 /* end confdefs.h.  */
25464
25465 /* Override any gcc2 internal prototype to avoid an error.  */
25466 #ifdef __cplusplus
25467 extern "C"
25468 #endif
25469 /* We use char because int might match the return type of a gcc2
25470    builtin and then its argument prototype would still apply.  */
25471 char nextafterf ();
25472 int
25473 main ()
25474 {
25475 nextafterf ();
25476   ;
25477   return 0;
25478 }
25479 _ACEOF
25480 rm -f conftest.$ac_objext conftest$ac_exeext
25481 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25482   (eval $ac_link) 2>conftest.er1
25483   ac_status=$?
25484   grep -v '^ *+' conftest.er1 >conftest.err
25485   rm -f conftest.er1
25486   cat conftest.err >&5
25487   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25488   (exit $ac_status); } &&
25489          { ac_try='test -z "$ac_c_werror_flag"
25490                          || test ! -s conftest.err'
25491   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25492   (eval $ac_try) 2>&5
25493   ac_status=$?
25494   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25495   (exit $ac_status); }; } &&
25496          { ac_try='test -s conftest$ac_exeext'
25497   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25498   (eval $ac_try) 2>&5
25499   ac_status=$?
25500   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25501   (exit $ac_status); }; }; then
25502   ac_cv_lib_m_nextafterf=yes
25503 else
25504   echo "$as_me: failed program was:" >&5
25505 sed 's/^/| /' conftest.$ac_ext >&5
25506
25507 ac_cv_lib_m_nextafterf=no
25508 fi
25509 rm -f conftest.err conftest.$ac_objext \
25510       conftest$ac_exeext conftest.$ac_ext
25511 LIBS=$ac_check_lib_save_LIBS
25512 fi
25513 echo "$as_me:$LINENO: result: $ac_cv_lib_m_nextafterf" >&5
25514 echo "${ECHO_T}$ac_cv_lib_m_nextafterf" >&6
25515 if test $ac_cv_lib_m_nextafterf = yes; then
25516
25517 cat >>confdefs.h <<\_ACEOF
25518 #define HAVE_NEXTAFTERF 1
25519 _ACEOF
25520
25521 fi
25522
25523 echo "$as_me:$LINENO: checking for nextafter in -lm" >&5
25524 echo $ECHO_N "checking for nextafter in -lm... $ECHO_C" >&6
25525 if test "${ac_cv_lib_m_nextafter+set}" = set; then
25526   echo $ECHO_N "(cached) $ECHO_C" >&6
25527 else
25528   ac_check_lib_save_LIBS=$LIBS
25529 LIBS="-lm  $LIBS"
25530 if test x$gcc_no_link = xyes; then
25531   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25532 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25533    { (exit 1); exit 1; }; }
25534 fi
25535 cat >conftest.$ac_ext <<_ACEOF
25536 /* confdefs.h.  */
25537 _ACEOF
25538 cat confdefs.h >>conftest.$ac_ext
25539 cat >>conftest.$ac_ext <<_ACEOF
25540 /* end confdefs.h.  */
25541
25542 /* Override any gcc2 internal prototype to avoid an error.  */
25543 #ifdef __cplusplus
25544 extern "C"
25545 #endif
25546 /* We use char because int might match the return type of a gcc2
25547    builtin and then its argument prototype would still apply.  */
25548 char nextafter ();
25549 int
25550 main ()
25551 {
25552 nextafter ();
25553   ;
25554   return 0;
25555 }
25556 _ACEOF
25557 rm -f conftest.$ac_objext conftest$ac_exeext
25558 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25559   (eval $ac_link) 2>conftest.er1
25560   ac_status=$?
25561   grep -v '^ *+' conftest.er1 >conftest.err
25562   rm -f conftest.er1
25563   cat conftest.err >&5
25564   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25565   (exit $ac_status); } &&
25566          { ac_try='test -z "$ac_c_werror_flag"
25567                          || test ! -s conftest.err'
25568   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25569   (eval $ac_try) 2>&5
25570   ac_status=$?
25571   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25572   (exit $ac_status); }; } &&
25573          { ac_try='test -s conftest$ac_exeext'
25574   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25575   (eval $ac_try) 2>&5
25576   ac_status=$?
25577   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25578   (exit $ac_status); }; }; then
25579   ac_cv_lib_m_nextafter=yes
25580 else
25581   echo "$as_me: failed program was:" >&5
25582 sed 's/^/| /' conftest.$ac_ext >&5
25583
25584 ac_cv_lib_m_nextafter=no
25585 fi
25586 rm -f conftest.err conftest.$ac_objext \
25587       conftest$ac_exeext conftest.$ac_ext
25588 LIBS=$ac_check_lib_save_LIBS
25589 fi
25590 echo "$as_me:$LINENO: result: $ac_cv_lib_m_nextafter" >&5
25591 echo "${ECHO_T}$ac_cv_lib_m_nextafter" >&6
25592 if test $ac_cv_lib_m_nextafter = yes; then
25593
25594 cat >>confdefs.h <<\_ACEOF
25595 #define HAVE_NEXTAFTER 1
25596 _ACEOF
25597
25598 fi
25599
25600 echo "$as_me:$LINENO: checking for nextafterl in -lm" >&5
25601 echo $ECHO_N "checking for nextafterl in -lm... $ECHO_C" >&6
25602 if test "${ac_cv_lib_m_nextafterl+set}" = set; then
25603   echo $ECHO_N "(cached) $ECHO_C" >&6
25604 else
25605   ac_check_lib_save_LIBS=$LIBS
25606 LIBS="-lm  $LIBS"
25607 if test x$gcc_no_link = xyes; then
25608   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25609 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25610    { (exit 1); exit 1; }; }
25611 fi
25612 cat >conftest.$ac_ext <<_ACEOF
25613 /* confdefs.h.  */
25614 _ACEOF
25615 cat confdefs.h >>conftest.$ac_ext
25616 cat >>conftest.$ac_ext <<_ACEOF
25617 /* end confdefs.h.  */
25618
25619 /* Override any gcc2 internal prototype to avoid an error.  */
25620 #ifdef __cplusplus
25621 extern "C"
25622 #endif
25623 /* We use char because int might match the return type of a gcc2
25624    builtin and then its argument prototype would still apply.  */
25625 char nextafterl ();
25626 int
25627 main ()
25628 {
25629 nextafterl ();
25630   ;
25631   return 0;
25632 }
25633 _ACEOF
25634 rm -f conftest.$ac_objext conftest$ac_exeext
25635 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25636   (eval $ac_link) 2>conftest.er1
25637   ac_status=$?
25638   grep -v '^ *+' conftest.er1 >conftest.err
25639   rm -f conftest.er1
25640   cat conftest.err >&5
25641   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25642   (exit $ac_status); } &&
25643          { ac_try='test -z "$ac_c_werror_flag"
25644                          || test ! -s conftest.err'
25645   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25646   (eval $ac_try) 2>&5
25647   ac_status=$?
25648   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25649   (exit $ac_status); }; } &&
25650          { ac_try='test -s conftest$ac_exeext'
25651   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25652   (eval $ac_try) 2>&5
25653   ac_status=$?
25654   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25655   (exit $ac_status); }; }; then
25656   ac_cv_lib_m_nextafterl=yes
25657 else
25658   echo "$as_me: failed program was:" >&5
25659 sed 's/^/| /' conftest.$ac_ext >&5
25660
25661 ac_cv_lib_m_nextafterl=no
25662 fi
25663 rm -f conftest.err conftest.$ac_objext \
25664       conftest$ac_exeext conftest.$ac_ext
25665 LIBS=$ac_check_lib_save_LIBS
25666 fi
25667 echo "$as_me:$LINENO: result: $ac_cv_lib_m_nextafterl" >&5
25668 echo "${ECHO_T}$ac_cv_lib_m_nextafterl" >&6
25669 if test $ac_cv_lib_m_nextafterl = yes; then
25670
25671 cat >>confdefs.h <<\_ACEOF
25672 #define HAVE_NEXTAFTERL 1
25673 _ACEOF
25674
25675 fi
25676
25677 echo "$as_me:$LINENO: checking for powf in -lm" >&5
25678 echo $ECHO_N "checking for powf in -lm... $ECHO_C" >&6
25679 if test "${ac_cv_lib_m_powf+set}" = set; then
25680   echo $ECHO_N "(cached) $ECHO_C" >&6
25681 else
25682   ac_check_lib_save_LIBS=$LIBS
25683 LIBS="-lm  $LIBS"
25684 if test x$gcc_no_link = xyes; then
25685   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25686 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25687    { (exit 1); exit 1; }; }
25688 fi
25689 cat >conftest.$ac_ext <<_ACEOF
25690 /* confdefs.h.  */
25691 _ACEOF
25692 cat confdefs.h >>conftest.$ac_ext
25693 cat >>conftest.$ac_ext <<_ACEOF
25694 /* end confdefs.h.  */
25695
25696 /* Override any gcc2 internal prototype to avoid an error.  */
25697 #ifdef __cplusplus
25698 extern "C"
25699 #endif
25700 /* We use char because int might match the return type of a gcc2
25701    builtin and then its argument prototype would still apply.  */
25702 char powf ();
25703 int
25704 main ()
25705 {
25706 powf ();
25707   ;
25708   return 0;
25709 }
25710 _ACEOF
25711 rm -f conftest.$ac_objext conftest$ac_exeext
25712 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25713   (eval $ac_link) 2>conftest.er1
25714   ac_status=$?
25715   grep -v '^ *+' conftest.er1 >conftest.err
25716   rm -f conftest.er1
25717   cat conftest.err >&5
25718   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25719   (exit $ac_status); } &&
25720          { ac_try='test -z "$ac_c_werror_flag"
25721                          || test ! -s conftest.err'
25722   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25723   (eval $ac_try) 2>&5
25724   ac_status=$?
25725   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25726   (exit $ac_status); }; } &&
25727          { ac_try='test -s conftest$ac_exeext'
25728   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25729   (eval $ac_try) 2>&5
25730   ac_status=$?
25731   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25732   (exit $ac_status); }; }; then
25733   ac_cv_lib_m_powf=yes
25734 else
25735   echo "$as_me: failed program was:" >&5
25736 sed 's/^/| /' conftest.$ac_ext >&5
25737
25738 ac_cv_lib_m_powf=no
25739 fi
25740 rm -f conftest.err conftest.$ac_objext \
25741       conftest$ac_exeext conftest.$ac_ext
25742 LIBS=$ac_check_lib_save_LIBS
25743 fi
25744 echo "$as_me:$LINENO: result: $ac_cv_lib_m_powf" >&5
25745 echo "${ECHO_T}$ac_cv_lib_m_powf" >&6
25746 if test $ac_cv_lib_m_powf = yes; then
25747
25748 cat >>confdefs.h <<\_ACEOF
25749 #define HAVE_POWF 1
25750 _ACEOF
25751
25752 fi
25753
25754 echo "$as_me:$LINENO: checking for pow in -lm" >&5
25755 echo $ECHO_N "checking for pow in -lm... $ECHO_C" >&6
25756 if test "${ac_cv_lib_m_pow+set}" = set; then
25757   echo $ECHO_N "(cached) $ECHO_C" >&6
25758 else
25759   ac_check_lib_save_LIBS=$LIBS
25760 LIBS="-lm  $LIBS"
25761 if test x$gcc_no_link = xyes; then
25762   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25763 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25764    { (exit 1); exit 1; }; }
25765 fi
25766 cat >conftest.$ac_ext <<_ACEOF
25767 /* confdefs.h.  */
25768 _ACEOF
25769 cat confdefs.h >>conftest.$ac_ext
25770 cat >>conftest.$ac_ext <<_ACEOF
25771 /* end confdefs.h.  */
25772
25773 /* Override any gcc2 internal prototype to avoid an error.  */
25774 #ifdef __cplusplus
25775 extern "C"
25776 #endif
25777 /* We use char because int might match the return type of a gcc2
25778    builtin and then its argument prototype would still apply.  */
25779 char pow ();
25780 int
25781 main ()
25782 {
25783 pow ();
25784   ;
25785   return 0;
25786 }
25787 _ACEOF
25788 rm -f conftest.$ac_objext conftest$ac_exeext
25789 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25790   (eval $ac_link) 2>conftest.er1
25791   ac_status=$?
25792   grep -v '^ *+' conftest.er1 >conftest.err
25793   rm -f conftest.er1
25794   cat conftest.err >&5
25795   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25796   (exit $ac_status); } &&
25797          { ac_try='test -z "$ac_c_werror_flag"
25798                          || test ! -s conftest.err'
25799   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25800   (eval $ac_try) 2>&5
25801   ac_status=$?
25802   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25803   (exit $ac_status); }; } &&
25804          { ac_try='test -s conftest$ac_exeext'
25805   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25806   (eval $ac_try) 2>&5
25807   ac_status=$?
25808   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25809   (exit $ac_status); }; }; then
25810   ac_cv_lib_m_pow=yes
25811 else
25812   echo "$as_me: failed program was:" >&5
25813 sed 's/^/| /' conftest.$ac_ext >&5
25814
25815 ac_cv_lib_m_pow=no
25816 fi
25817 rm -f conftest.err conftest.$ac_objext \
25818       conftest$ac_exeext conftest.$ac_ext
25819 LIBS=$ac_check_lib_save_LIBS
25820 fi
25821 echo "$as_me:$LINENO: result: $ac_cv_lib_m_pow" >&5
25822 echo "${ECHO_T}$ac_cv_lib_m_pow" >&6
25823 if test $ac_cv_lib_m_pow = yes; then
25824
25825 cat >>confdefs.h <<\_ACEOF
25826 #define HAVE_POW 1
25827 _ACEOF
25828
25829 fi
25830
25831 echo "$as_me:$LINENO: checking for powl in -lm" >&5
25832 echo $ECHO_N "checking for powl in -lm... $ECHO_C" >&6
25833 if test "${ac_cv_lib_m_powl+set}" = set; then
25834   echo $ECHO_N "(cached) $ECHO_C" >&6
25835 else
25836   ac_check_lib_save_LIBS=$LIBS
25837 LIBS="-lm  $LIBS"
25838 if test x$gcc_no_link = xyes; then
25839   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25840 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25841    { (exit 1); exit 1; }; }
25842 fi
25843 cat >conftest.$ac_ext <<_ACEOF
25844 /* confdefs.h.  */
25845 _ACEOF
25846 cat confdefs.h >>conftest.$ac_ext
25847 cat >>conftest.$ac_ext <<_ACEOF
25848 /* end confdefs.h.  */
25849
25850 /* Override any gcc2 internal prototype to avoid an error.  */
25851 #ifdef __cplusplus
25852 extern "C"
25853 #endif
25854 /* We use char because int might match the return type of a gcc2
25855    builtin and then its argument prototype would still apply.  */
25856 char powl ();
25857 int
25858 main ()
25859 {
25860 powl ();
25861   ;
25862   return 0;
25863 }
25864 _ACEOF
25865 rm -f conftest.$ac_objext conftest$ac_exeext
25866 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25867   (eval $ac_link) 2>conftest.er1
25868   ac_status=$?
25869   grep -v '^ *+' conftest.er1 >conftest.err
25870   rm -f conftest.er1
25871   cat conftest.err >&5
25872   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25873   (exit $ac_status); } &&
25874          { ac_try='test -z "$ac_c_werror_flag"
25875                          || test ! -s conftest.err'
25876   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25877   (eval $ac_try) 2>&5
25878   ac_status=$?
25879   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25880   (exit $ac_status); }; } &&
25881          { ac_try='test -s conftest$ac_exeext'
25882   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25883   (eval $ac_try) 2>&5
25884   ac_status=$?
25885   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25886   (exit $ac_status); }; }; then
25887   ac_cv_lib_m_powl=yes
25888 else
25889   echo "$as_me: failed program was:" >&5
25890 sed 's/^/| /' conftest.$ac_ext >&5
25891
25892 ac_cv_lib_m_powl=no
25893 fi
25894 rm -f conftest.err conftest.$ac_objext \
25895       conftest$ac_exeext conftest.$ac_ext
25896 LIBS=$ac_check_lib_save_LIBS
25897 fi
25898 echo "$as_me:$LINENO: result: $ac_cv_lib_m_powl" >&5
25899 echo "${ECHO_T}$ac_cv_lib_m_powl" >&6
25900 if test $ac_cv_lib_m_powl = yes; then
25901
25902 cat >>confdefs.h <<\_ACEOF
25903 #define HAVE_POWL 1
25904 _ACEOF
25905
25906 fi
25907
25908 echo "$as_me:$LINENO: checking for cpowf in -lm" >&5
25909 echo $ECHO_N "checking for cpowf in -lm... $ECHO_C" >&6
25910 if test "${ac_cv_lib_m_cpowf+set}" = set; then
25911   echo $ECHO_N "(cached) $ECHO_C" >&6
25912 else
25913   ac_check_lib_save_LIBS=$LIBS
25914 LIBS="-lm  $LIBS"
25915 if test x$gcc_no_link = xyes; then
25916   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25917 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25918    { (exit 1); exit 1; }; }
25919 fi
25920 cat >conftest.$ac_ext <<_ACEOF
25921 /* confdefs.h.  */
25922 _ACEOF
25923 cat confdefs.h >>conftest.$ac_ext
25924 cat >>conftest.$ac_ext <<_ACEOF
25925 /* end confdefs.h.  */
25926
25927 /* Override any gcc2 internal prototype to avoid an error.  */
25928 #ifdef __cplusplus
25929 extern "C"
25930 #endif
25931 /* We use char because int might match the return type of a gcc2
25932    builtin and then its argument prototype would still apply.  */
25933 char cpowf ();
25934 int
25935 main ()
25936 {
25937 cpowf ();
25938   ;
25939   return 0;
25940 }
25941 _ACEOF
25942 rm -f conftest.$ac_objext conftest$ac_exeext
25943 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25944   (eval $ac_link) 2>conftest.er1
25945   ac_status=$?
25946   grep -v '^ *+' conftest.er1 >conftest.err
25947   rm -f conftest.er1
25948   cat conftest.err >&5
25949   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25950   (exit $ac_status); } &&
25951          { ac_try='test -z "$ac_c_werror_flag"
25952                          || test ! -s conftest.err'
25953   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25954   (eval $ac_try) 2>&5
25955   ac_status=$?
25956   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25957   (exit $ac_status); }; } &&
25958          { ac_try='test -s conftest$ac_exeext'
25959   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25960   (eval $ac_try) 2>&5
25961   ac_status=$?
25962   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25963   (exit $ac_status); }; }; then
25964   ac_cv_lib_m_cpowf=yes
25965 else
25966   echo "$as_me: failed program was:" >&5
25967 sed 's/^/| /' conftest.$ac_ext >&5
25968
25969 ac_cv_lib_m_cpowf=no
25970 fi
25971 rm -f conftest.err conftest.$ac_objext \
25972       conftest$ac_exeext conftest.$ac_ext
25973 LIBS=$ac_check_lib_save_LIBS
25974 fi
25975 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cpowf" >&5
25976 echo "${ECHO_T}$ac_cv_lib_m_cpowf" >&6
25977 if test $ac_cv_lib_m_cpowf = yes; then
25978
25979 cat >>confdefs.h <<\_ACEOF
25980 #define HAVE_CPOWF 1
25981 _ACEOF
25982
25983 fi
25984
25985 echo "$as_me:$LINENO: checking for cpow in -lm" >&5
25986 echo $ECHO_N "checking for cpow in -lm... $ECHO_C" >&6
25987 if test "${ac_cv_lib_m_cpow+set}" = set; then
25988   echo $ECHO_N "(cached) $ECHO_C" >&6
25989 else
25990   ac_check_lib_save_LIBS=$LIBS
25991 LIBS="-lm  $LIBS"
25992 if test x$gcc_no_link = xyes; then
25993   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25994 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25995    { (exit 1); exit 1; }; }
25996 fi
25997 cat >conftest.$ac_ext <<_ACEOF
25998 /* confdefs.h.  */
25999 _ACEOF
26000 cat confdefs.h >>conftest.$ac_ext
26001 cat >>conftest.$ac_ext <<_ACEOF
26002 /* end confdefs.h.  */
26003
26004 /* Override any gcc2 internal prototype to avoid an error.  */
26005 #ifdef __cplusplus
26006 extern "C"
26007 #endif
26008 /* We use char because int might match the return type of a gcc2
26009    builtin and then its argument prototype would still apply.  */
26010 char cpow ();
26011 int
26012 main ()
26013 {
26014 cpow ();
26015   ;
26016   return 0;
26017 }
26018 _ACEOF
26019 rm -f conftest.$ac_objext conftest$ac_exeext
26020 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26021   (eval $ac_link) 2>conftest.er1
26022   ac_status=$?
26023   grep -v '^ *+' conftest.er1 >conftest.err
26024   rm -f conftest.er1
26025   cat conftest.err >&5
26026   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26027   (exit $ac_status); } &&
26028          { ac_try='test -z "$ac_c_werror_flag"
26029                          || test ! -s conftest.err'
26030   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26031   (eval $ac_try) 2>&5
26032   ac_status=$?
26033   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26034   (exit $ac_status); }; } &&
26035          { ac_try='test -s conftest$ac_exeext'
26036   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26037   (eval $ac_try) 2>&5
26038   ac_status=$?
26039   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26040   (exit $ac_status); }; }; then
26041   ac_cv_lib_m_cpow=yes
26042 else
26043   echo "$as_me: failed program was:" >&5
26044 sed 's/^/| /' conftest.$ac_ext >&5
26045
26046 ac_cv_lib_m_cpow=no
26047 fi
26048 rm -f conftest.err conftest.$ac_objext \
26049       conftest$ac_exeext conftest.$ac_ext
26050 LIBS=$ac_check_lib_save_LIBS
26051 fi
26052 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cpow" >&5
26053 echo "${ECHO_T}$ac_cv_lib_m_cpow" >&6
26054 if test $ac_cv_lib_m_cpow = yes; then
26055
26056 cat >>confdefs.h <<\_ACEOF
26057 #define HAVE_CPOW 1
26058 _ACEOF
26059
26060 fi
26061
26062 echo "$as_me:$LINENO: checking for cpowl in -lm" >&5
26063 echo $ECHO_N "checking for cpowl in -lm... $ECHO_C" >&6
26064 if test "${ac_cv_lib_m_cpowl+set}" = set; then
26065   echo $ECHO_N "(cached) $ECHO_C" >&6
26066 else
26067   ac_check_lib_save_LIBS=$LIBS
26068 LIBS="-lm  $LIBS"
26069 if test x$gcc_no_link = xyes; then
26070   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26071 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26072    { (exit 1); exit 1; }; }
26073 fi
26074 cat >conftest.$ac_ext <<_ACEOF
26075 /* confdefs.h.  */
26076 _ACEOF
26077 cat confdefs.h >>conftest.$ac_ext
26078 cat >>conftest.$ac_ext <<_ACEOF
26079 /* end confdefs.h.  */
26080
26081 /* Override any gcc2 internal prototype to avoid an error.  */
26082 #ifdef __cplusplus
26083 extern "C"
26084 #endif
26085 /* We use char because int might match the return type of a gcc2
26086    builtin and then its argument prototype would still apply.  */
26087 char cpowl ();
26088 int
26089 main ()
26090 {
26091 cpowl ();
26092   ;
26093   return 0;
26094 }
26095 _ACEOF
26096 rm -f conftest.$ac_objext conftest$ac_exeext
26097 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26098   (eval $ac_link) 2>conftest.er1
26099   ac_status=$?
26100   grep -v '^ *+' conftest.er1 >conftest.err
26101   rm -f conftest.er1
26102   cat conftest.err >&5
26103   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26104   (exit $ac_status); } &&
26105          { ac_try='test -z "$ac_c_werror_flag"
26106                          || test ! -s conftest.err'
26107   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26108   (eval $ac_try) 2>&5
26109   ac_status=$?
26110   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26111   (exit $ac_status); }; } &&
26112          { ac_try='test -s conftest$ac_exeext'
26113   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26114   (eval $ac_try) 2>&5
26115   ac_status=$?
26116   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26117   (exit $ac_status); }; }; then
26118   ac_cv_lib_m_cpowl=yes
26119 else
26120   echo "$as_me: failed program was:" >&5
26121 sed 's/^/| /' conftest.$ac_ext >&5
26122
26123 ac_cv_lib_m_cpowl=no
26124 fi
26125 rm -f conftest.err conftest.$ac_objext \
26126       conftest$ac_exeext conftest.$ac_ext
26127 LIBS=$ac_check_lib_save_LIBS
26128 fi
26129 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cpowl" >&5
26130 echo "${ECHO_T}$ac_cv_lib_m_cpowl" >&6
26131 if test $ac_cv_lib_m_cpowl = yes; then
26132
26133 cat >>confdefs.h <<\_ACEOF
26134 #define HAVE_CPOWL 1
26135 _ACEOF
26136
26137 fi
26138
26139 echo "$as_me:$LINENO: checking for roundf in -lm" >&5
26140 echo $ECHO_N "checking for roundf in -lm... $ECHO_C" >&6
26141 if test "${ac_cv_lib_m_roundf+set}" = set; then
26142   echo $ECHO_N "(cached) $ECHO_C" >&6
26143 else
26144   ac_check_lib_save_LIBS=$LIBS
26145 LIBS="-lm  $LIBS"
26146 if test x$gcc_no_link = xyes; then
26147   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26148 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26149    { (exit 1); exit 1; }; }
26150 fi
26151 cat >conftest.$ac_ext <<_ACEOF
26152 /* confdefs.h.  */
26153 _ACEOF
26154 cat confdefs.h >>conftest.$ac_ext
26155 cat >>conftest.$ac_ext <<_ACEOF
26156 /* end confdefs.h.  */
26157
26158 /* Override any gcc2 internal prototype to avoid an error.  */
26159 #ifdef __cplusplus
26160 extern "C"
26161 #endif
26162 /* We use char because int might match the return type of a gcc2
26163    builtin and then its argument prototype would still apply.  */
26164 char roundf ();
26165 int
26166 main ()
26167 {
26168 roundf ();
26169   ;
26170   return 0;
26171 }
26172 _ACEOF
26173 rm -f conftest.$ac_objext conftest$ac_exeext
26174 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26175   (eval $ac_link) 2>conftest.er1
26176   ac_status=$?
26177   grep -v '^ *+' conftest.er1 >conftest.err
26178   rm -f conftest.er1
26179   cat conftest.err >&5
26180   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26181   (exit $ac_status); } &&
26182          { ac_try='test -z "$ac_c_werror_flag"
26183                          || test ! -s conftest.err'
26184   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26185   (eval $ac_try) 2>&5
26186   ac_status=$?
26187   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26188   (exit $ac_status); }; } &&
26189          { ac_try='test -s conftest$ac_exeext'
26190   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26191   (eval $ac_try) 2>&5
26192   ac_status=$?
26193   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26194   (exit $ac_status); }; }; then
26195   ac_cv_lib_m_roundf=yes
26196 else
26197   echo "$as_me: failed program was:" >&5
26198 sed 's/^/| /' conftest.$ac_ext >&5
26199
26200 ac_cv_lib_m_roundf=no
26201 fi
26202 rm -f conftest.err conftest.$ac_objext \
26203       conftest$ac_exeext conftest.$ac_ext
26204 LIBS=$ac_check_lib_save_LIBS
26205 fi
26206 echo "$as_me:$LINENO: result: $ac_cv_lib_m_roundf" >&5
26207 echo "${ECHO_T}$ac_cv_lib_m_roundf" >&6
26208 if test $ac_cv_lib_m_roundf = yes; then
26209
26210 cat >>confdefs.h <<\_ACEOF
26211 #define HAVE_ROUNDF 1
26212 _ACEOF
26213
26214 fi
26215
26216 echo "$as_me:$LINENO: checking for round in -lm" >&5
26217 echo $ECHO_N "checking for round in -lm... $ECHO_C" >&6
26218 if test "${ac_cv_lib_m_round+set}" = set; then
26219   echo $ECHO_N "(cached) $ECHO_C" >&6
26220 else
26221   ac_check_lib_save_LIBS=$LIBS
26222 LIBS="-lm  $LIBS"
26223 if test x$gcc_no_link = xyes; then
26224   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26225 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26226    { (exit 1); exit 1; }; }
26227 fi
26228 cat >conftest.$ac_ext <<_ACEOF
26229 /* confdefs.h.  */
26230 _ACEOF
26231 cat confdefs.h >>conftest.$ac_ext
26232 cat >>conftest.$ac_ext <<_ACEOF
26233 /* end confdefs.h.  */
26234
26235 /* Override any gcc2 internal prototype to avoid an error.  */
26236 #ifdef __cplusplus
26237 extern "C"
26238 #endif
26239 /* We use char because int might match the return type of a gcc2
26240    builtin and then its argument prototype would still apply.  */
26241 char round ();
26242 int
26243 main ()
26244 {
26245 round ();
26246   ;
26247   return 0;
26248 }
26249 _ACEOF
26250 rm -f conftest.$ac_objext conftest$ac_exeext
26251 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26252   (eval $ac_link) 2>conftest.er1
26253   ac_status=$?
26254   grep -v '^ *+' conftest.er1 >conftest.err
26255   rm -f conftest.er1
26256   cat conftest.err >&5
26257   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26258   (exit $ac_status); } &&
26259          { ac_try='test -z "$ac_c_werror_flag"
26260                          || test ! -s conftest.err'
26261   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26262   (eval $ac_try) 2>&5
26263   ac_status=$?
26264   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26265   (exit $ac_status); }; } &&
26266          { ac_try='test -s conftest$ac_exeext'
26267   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26268   (eval $ac_try) 2>&5
26269   ac_status=$?
26270   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26271   (exit $ac_status); }; }; then
26272   ac_cv_lib_m_round=yes
26273 else
26274   echo "$as_me: failed program was:" >&5
26275 sed 's/^/| /' conftest.$ac_ext >&5
26276
26277 ac_cv_lib_m_round=no
26278 fi
26279 rm -f conftest.err conftest.$ac_objext \
26280       conftest$ac_exeext conftest.$ac_ext
26281 LIBS=$ac_check_lib_save_LIBS
26282 fi
26283 echo "$as_me:$LINENO: result: $ac_cv_lib_m_round" >&5
26284 echo "${ECHO_T}$ac_cv_lib_m_round" >&6
26285 if test $ac_cv_lib_m_round = yes; then
26286
26287 cat >>confdefs.h <<\_ACEOF
26288 #define HAVE_ROUND 1
26289 _ACEOF
26290
26291 fi
26292
26293 echo "$as_me:$LINENO: checking for roundl in -lm" >&5
26294 echo $ECHO_N "checking for roundl in -lm... $ECHO_C" >&6
26295 if test "${ac_cv_lib_m_roundl+set}" = set; then
26296   echo $ECHO_N "(cached) $ECHO_C" >&6
26297 else
26298   ac_check_lib_save_LIBS=$LIBS
26299 LIBS="-lm  $LIBS"
26300 if test x$gcc_no_link = xyes; then
26301   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26302 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26303    { (exit 1); exit 1; }; }
26304 fi
26305 cat >conftest.$ac_ext <<_ACEOF
26306 /* confdefs.h.  */
26307 _ACEOF
26308 cat confdefs.h >>conftest.$ac_ext
26309 cat >>conftest.$ac_ext <<_ACEOF
26310 /* end confdefs.h.  */
26311
26312 /* Override any gcc2 internal prototype to avoid an error.  */
26313 #ifdef __cplusplus
26314 extern "C"
26315 #endif
26316 /* We use char because int might match the return type of a gcc2
26317    builtin and then its argument prototype would still apply.  */
26318 char roundl ();
26319 int
26320 main ()
26321 {
26322 roundl ();
26323   ;
26324   return 0;
26325 }
26326 _ACEOF
26327 rm -f conftest.$ac_objext conftest$ac_exeext
26328 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26329   (eval $ac_link) 2>conftest.er1
26330   ac_status=$?
26331   grep -v '^ *+' conftest.er1 >conftest.err
26332   rm -f conftest.er1
26333   cat conftest.err >&5
26334   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26335   (exit $ac_status); } &&
26336          { ac_try='test -z "$ac_c_werror_flag"
26337                          || test ! -s conftest.err'
26338   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26339   (eval $ac_try) 2>&5
26340   ac_status=$?
26341   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26342   (exit $ac_status); }; } &&
26343          { ac_try='test -s conftest$ac_exeext'
26344   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26345   (eval $ac_try) 2>&5
26346   ac_status=$?
26347   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26348   (exit $ac_status); }; }; then
26349   ac_cv_lib_m_roundl=yes
26350 else
26351   echo "$as_me: failed program was:" >&5
26352 sed 's/^/| /' conftest.$ac_ext >&5
26353
26354 ac_cv_lib_m_roundl=no
26355 fi
26356 rm -f conftest.err conftest.$ac_objext \
26357       conftest$ac_exeext conftest.$ac_ext
26358 LIBS=$ac_check_lib_save_LIBS
26359 fi
26360 echo "$as_me:$LINENO: result: $ac_cv_lib_m_roundl" >&5
26361 echo "${ECHO_T}$ac_cv_lib_m_roundl" >&6
26362 if test $ac_cv_lib_m_roundl = yes; then
26363
26364 cat >>confdefs.h <<\_ACEOF
26365 #define HAVE_ROUNDL 1
26366 _ACEOF
26367
26368 fi
26369
26370 echo "$as_me:$LINENO: checking for lroundf in -lm" >&5
26371 echo $ECHO_N "checking for lroundf in -lm... $ECHO_C" >&6
26372 if test "${ac_cv_lib_m_lroundf+set}" = set; then
26373   echo $ECHO_N "(cached) $ECHO_C" >&6
26374 else
26375   ac_check_lib_save_LIBS=$LIBS
26376 LIBS="-lm  $LIBS"
26377 if test x$gcc_no_link = xyes; then
26378   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26379 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26380    { (exit 1); exit 1; }; }
26381 fi
26382 cat >conftest.$ac_ext <<_ACEOF
26383 /* confdefs.h.  */
26384 _ACEOF
26385 cat confdefs.h >>conftest.$ac_ext
26386 cat >>conftest.$ac_ext <<_ACEOF
26387 /* end confdefs.h.  */
26388
26389 /* Override any gcc2 internal prototype to avoid an error.  */
26390 #ifdef __cplusplus
26391 extern "C"
26392 #endif
26393 /* We use char because int might match the return type of a gcc2
26394    builtin and then its argument prototype would still apply.  */
26395 char lroundf ();
26396 int
26397 main ()
26398 {
26399 lroundf ();
26400   ;
26401   return 0;
26402 }
26403 _ACEOF
26404 rm -f conftest.$ac_objext conftest$ac_exeext
26405 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26406   (eval $ac_link) 2>conftest.er1
26407   ac_status=$?
26408   grep -v '^ *+' conftest.er1 >conftest.err
26409   rm -f conftest.er1
26410   cat conftest.err >&5
26411   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26412   (exit $ac_status); } &&
26413          { ac_try='test -z "$ac_c_werror_flag"
26414                          || test ! -s conftest.err'
26415   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26416   (eval $ac_try) 2>&5
26417   ac_status=$?
26418   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26419   (exit $ac_status); }; } &&
26420          { ac_try='test -s conftest$ac_exeext'
26421   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26422   (eval $ac_try) 2>&5
26423   ac_status=$?
26424   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26425   (exit $ac_status); }; }; then
26426   ac_cv_lib_m_lroundf=yes
26427 else
26428   echo "$as_me: failed program was:" >&5
26429 sed 's/^/| /' conftest.$ac_ext >&5
26430
26431 ac_cv_lib_m_lroundf=no
26432 fi
26433 rm -f conftest.err conftest.$ac_objext \
26434       conftest$ac_exeext conftest.$ac_ext
26435 LIBS=$ac_check_lib_save_LIBS
26436 fi
26437 echo "$as_me:$LINENO: result: $ac_cv_lib_m_lroundf" >&5
26438 echo "${ECHO_T}$ac_cv_lib_m_lroundf" >&6
26439 if test $ac_cv_lib_m_lroundf = yes; then
26440
26441 cat >>confdefs.h <<\_ACEOF
26442 #define HAVE_LROUNDF 1
26443 _ACEOF
26444
26445 fi
26446
26447 echo "$as_me:$LINENO: checking for lround in -lm" >&5
26448 echo $ECHO_N "checking for lround in -lm... $ECHO_C" >&6
26449 if test "${ac_cv_lib_m_lround+set}" = set; then
26450   echo $ECHO_N "(cached) $ECHO_C" >&6
26451 else
26452   ac_check_lib_save_LIBS=$LIBS
26453 LIBS="-lm  $LIBS"
26454 if test x$gcc_no_link = xyes; then
26455   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26456 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26457    { (exit 1); exit 1; }; }
26458 fi
26459 cat >conftest.$ac_ext <<_ACEOF
26460 /* confdefs.h.  */
26461 _ACEOF
26462 cat confdefs.h >>conftest.$ac_ext
26463 cat >>conftest.$ac_ext <<_ACEOF
26464 /* end confdefs.h.  */
26465
26466 /* Override any gcc2 internal prototype to avoid an error.  */
26467 #ifdef __cplusplus
26468 extern "C"
26469 #endif
26470 /* We use char because int might match the return type of a gcc2
26471    builtin and then its argument prototype would still apply.  */
26472 char lround ();
26473 int
26474 main ()
26475 {
26476 lround ();
26477   ;
26478   return 0;
26479 }
26480 _ACEOF
26481 rm -f conftest.$ac_objext conftest$ac_exeext
26482 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26483   (eval $ac_link) 2>conftest.er1
26484   ac_status=$?
26485   grep -v '^ *+' conftest.er1 >conftest.err
26486   rm -f conftest.er1
26487   cat conftest.err >&5
26488   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26489   (exit $ac_status); } &&
26490          { ac_try='test -z "$ac_c_werror_flag"
26491                          || test ! -s conftest.err'
26492   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26493   (eval $ac_try) 2>&5
26494   ac_status=$?
26495   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26496   (exit $ac_status); }; } &&
26497          { ac_try='test -s conftest$ac_exeext'
26498   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26499   (eval $ac_try) 2>&5
26500   ac_status=$?
26501   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26502   (exit $ac_status); }; }; then
26503   ac_cv_lib_m_lround=yes
26504 else
26505   echo "$as_me: failed program was:" >&5
26506 sed 's/^/| /' conftest.$ac_ext >&5
26507
26508 ac_cv_lib_m_lround=no
26509 fi
26510 rm -f conftest.err conftest.$ac_objext \
26511       conftest$ac_exeext conftest.$ac_ext
26512 LIBS=$ac_check_lib_save_LIBS
26513 fi
26514 echo "$as_me:$LINENO: result: $ac_cv_lib_m_lround" >&5
26515 echo "${ECHO_T}$ac_cv_lib_m_lround" >&6
26516 if test $ac_cv_lib_m_lround = yes; then
26517
26518 cat >>confdefs.h <<\_ACEOF
26519 #define HAVE_LROUND 1
26520 _ACEOF
26521
26522 fi
26523
26524 echo "$as_me:$LINENO: checking for lroundl in -lm" >&5
26525 echo $ECHO_N "checking for lroundl in -lm... $ECHO_C" >&6
26526 if test "${ac_cv_lib_m_lroundl+set}" = set; then
26527   echo $ECHO_N "(cached) $ECHO_C" >&6
26528 else
26529   ac_check_lib_save_LIBS=$LIBS
26530 LIBS="-lm  $LIBS"
26531 if test x$gcc_no_link = xyes; then
26532   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26533 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26534    { (exit 1); exit 1; }; }
26535 fi
26536 cat >conftest.$ac_ext <<_ACEOF
26537 /* confdefs.h.  */
26538 _ACEOF
26539 cat confdefs.h >>conftest.$ac_ext
26540 cat >>conftest.$ac_ext <<_ACEOF
26541 /* end confdefs.h.  */
26542
26543 /* Override any gcc2 internal prototype to avoid an error.  */
26544 #ifdef __cplusplus
26545 extern "C"
26546 #endif
26547 /* We use char because int might match the return type of a gcc2
26548    builtin and then its argument prototype would still apply.  */
26549 char lroundl ();
26550 int
26551 main ()
26552 {
26553 lroundl ();
26554   ;
26555   return 0;
26556 }
26557 _ACEOF
26558 rm -f conftest.$ac_objext conftest$ac_exeext
26559 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26560   (eval $ac_link) 2>conftest.er1
26561   ac_status=$?
26562   grep -v '^ *+' conftest.er1 >conftest.err
26563   rm -f conftest.er1
26564   cat conftest.err >&5
26565   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26566   (exit $ac_status); } &&
26567          { ac_try='test -z "$ac_c_werror_flag"
26568                          || test ! -s conftest.err'
26569   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26570   (eval $ac_try) 2>&5
26571   ac_status=$?
26572   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26573   (exit $ac_status); }; } &&
26574          { ac_try='test -s conftest$ac_exeext'
26575   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26576   (eval $ac_try) 2>&5
26577   ac_status=$?
26578   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26579   (exit $ac_status); }; }; then
26580   ac_cv_lib_m_lroundl=yes
26581 else
26582   echo "$as_me: failed program was:" >&5
26583 sed 's/^/| /' conftest.$ac_ext >&5
26584
26585 ac_cv_lib_m_lroundl=no
26586 fi
26587 rm -f conftest.err conftest.$ac_objext \
26588       conftest$ac_exeext conftest.$ac_ext
26589 LIBS=$ac_check_lib_save_LIBS
26590 fi
26591 echo "$as_me:$LINENO: result: $ac_cv_lib_m_lroundl" >&5
26592 echo "${ECHO_T}$ac_cv_lib_m_lroundl" >&6
26593 if test $ac_cv_lib_m_lroundl = yes; then
26594
26595 cat >>confdefs.h <<\_ACEOF
26596 #define HAVE_LROUNDL 1
26597 _ACEOF
26598
26599 fi
26600
26601 echo "$as_me:$LINENO: checking for llroundf in -lm" >&5
26602 echo $ECHO_N "checking for llroundf in -lm... $ECHO_C" >&6
26603 if test "${ac_cv_lib_m_llroundf+set}" = set; then
26604   echo $ECHO_N "(cached) $ECHO_C" >&6
26605 else
26606   ac_check_lib_save_LIBS=$LIBS
26607 LIBS="-lm  $LIBS"
26608 if test x$gcc_no_link = xyes; then
26609   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26610 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26611    { (exit 1); exit 1; }; }
26612 fi
26613 cat >conftest.$ac_ext <<_ACEOF
26614 /* confdefs.h.  */
26615 _ACEOF
26616 cat confdefs.h >>conftest.$ac_ext
26617 cat >>conftest.$ac_ext <<_ACEOF
26618 /* end confdefs.h.  */
26619
26620 /* Override any gcc2 internal prototype to avoid an error.  */
26621 #ifdef __cplusplus
26622 extern "C"
26623 #endif
26624 /* We use char because int might match the return type of a gcc2
26625    builtin and then its argument prototype would still apply.  */
26626 char llroundf ();
26627 int
26628 main ()
26629 {
26630 llroundf ();
26631   ;
26632   return 0;
26633 }
26634 _ACEOF
26635 rm -f conftest.$ac_objext conftest$ac_exeext
26636 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26637   (eval $ac_link) 2>conftest.er1
26638   ac_status=$?
26639   grep -v '^ *+' conftest.er1 >conftest.err
26640   rm -f conftest.er1
26641   cat conftest.err >&5
26642   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26643   (exit $ac_status); } &&
26644          { ac_try='test -z "$ac_c_werror_flag"
26645                          || test ! -s conftest.err'
26646   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26647   (eval $ac_try) 2>&5
26648   ac_status=$?
26649   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26650   (exit $ac_status); }; } &&
26651          { ac_try='test -s conftest$ac_exeext'
26652   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26653   (eval $ac_try) 2>&5
26654   ac_status=$?
26655   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26656   (exit $ac_status); }; }; then
26657   ac_cv_lib_m_llroundf=yes
26658 else
26659   echo "$as_me: failed program was:" >&5
26660 sed 's/^/| /' conftest.$ac_ext >&5
26661
26662 ac_cv_lib_m_llroundf=no
26663 fi
26664 rm -f conftest.err conftest.$ac_objext \
26665       conftest$ac_exeext conftest.$ac_ext
26666 LIBS=$ac_check_lib_save_LIBS
26667 fi
26668 echo "$as_me:$LINENO: result: $ac_cv_lib_m_llroundf" >&5
26669 echo "${ECHO_T}$ac_cv_lib_m_llroundf" >&6
26670 if test $ac_cv_lib_m_llroundf = yes; then
26671
26672 cat >>confdefs.h <<\_ACEOF
26673 #define HAVE_LLROUNDF 1
26674 _ACEOF
26675
26676 fi
26677
26678 echo "$as_me:$LINENO: checking for llround in -lm" >&5
26679 echo $ECHO_N "checking for llround in -lm... $ECHO_C" >&6
26680 if test "${ac_cv_lib_m_llround+set}" = set; then
26681   echo $ECHO_N "(cached) $ECHO_C" >&6
26682 else
26683   ac_check_lib_save_LIBS=$LIBS
26684 LIBS="-lm  $LIBS"
26685 if test x$gcc_no_link = xyes; then
26686   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26687 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26688    { (exit 1); exit 1; }; }
26689 fi
26690 cat >conftest.$ac_ext <<_ACEOF
26691 /* confdefs.h.  */
26692 _ACEOF
26693 cat confdefs.h >>conftest.$ac_ext
26694 cat >>conftest.$ac_ext <<_ACEOF
26695 /* end confdefs.h.  */
26696
26697 /* Override any gcc2 internal prototype to avoid an error.  */
26698 #ifdef __cplusplus
26699 extern "C"
26700 #endif
26701 /* We use char because int might match the return type of a gcc2
26702    builtin and then its argument prototype would still apply.  */
26703 char llround ();
26704 int
26705 main ()
26706 {
26707 llround ();
26708   ;
26709   return 0;
26710 }
26711 _ACEOF
26712 rm -f conftest.$ac_objext conftest$ac_exeext
26713 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26714   (eval $ac_link) 2>conftest.er1
26715   ac_status=$?
26716   grep -v '^ *+' conftest.er1 >conftest.err
26717   rm -f conftest.er1
26718   cat conftest.err >&5
26719   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26720   (exit $ac_status); } &&
26721          { ac_try='test -z "$ac_c_werror_flag"
26722                          || test ! -s conftest.err'
26723   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26724   (eval $ac_try) 2>&5
26725   ac_status=$?
26726   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26727   (exit $ac_status); }; } &&
26728          { ac_try='test -s conftest$ac_exeext'
26729   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26730   (eval $ac_try) 2>&5
26731   ac_status=$?
26732   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26733   (exit $ac_status); }; }; then
26734   ac_cv_lib_m_llround=yes
26735 else
26736   echo "$as_me: failed program was:" >&5
26737 sed 's/^/| /' conftest.$ac_ext >&5
26738
26739 ac_cv_lib_m_llround=no
26740 fi
26741 rm -f conftest.err conftest.$ac_objext \
26742       conftest$ac_exeext conftest.$ac_ext
26743 LIBS=$ac_check_lib_save_LIBS
26744 fi
26745 echo "$as_me:$LINENO: result: $ac_cv_lib_m_llround" >&5
26746 echo "${ECHO_T}$ac_cv_lib_m_llround" >&6
26747 if test $ac_cv_lib_m_llround = yes; then
26748
26749 cat >>confdefs.h <<\_ACEOF
26750 #define HAVE_LLROUND 1
26751 _ACEOF
26752
26753 fi
26754
26755 echo "$as_me:$LINENO: checking for llroundl in -lm" >&5
26756 echo $ECHO_N "checking for llroundl in -lm... $ECHO_C" >&6
26757 if test "${ac_cv_lib_m_llroundl+set}" = set; then
26758   echo $ECHO_N "(cached) $ECHO_C" >&6
26759 else
26760   ac_check_lib_save_LIBS=$LIBS
26761 LIBS="-lm  $LIBS"
26762 if test x$gcc_no_link = xyes; then
26763   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26764 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26765    { (exit 1); exit 1; }; }
26766 fi
26767 cat >conftest.$ac_ext <<_ACEOF
26768 /* confdefs.h.  */
26769 _ACEOF
26770 cat confdefs.h >>conftest.$ac_ext
26771 cat >>conftest.$ac_ext <<_ACEOF
26772 /* end confdefs.h.  */
26773
26774 /* Override any gcc2 internal prototype to avoid an error.  */
26775 #ifdef __cplusplus
26776 extern "C"
26777 #endif
26778 /* We use char because int might match the return type of a gcc2
26779    builtin and then its argument prototype would still apply.  */
26780 char llroundl ();
26781 int
26782 main ()
26783 {
26784 llroundl ();
26785   ;
26786   return 0;
26787 }
26788 _ACEOF
26789 rm -f conftest.$ac_objext conftest$ac_exeext
26790 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26791   (eval $ac_link) 2>conftest.er1
26792   ac_status=$?
26793   grep -v '^ *+' conftest.er1 >conftest.err
26794   rm -f conftest.er1
26795   cat conftest.err >&5
26796   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26797   (exit $ac_status); } &&
26798          { ac_try='test -z "$ac_c_werror_flag"
26799                          || test ! -s conftest.err'
26800   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26801   (eval $ac_try) 2>&5
26802   ac_status=$?
26803   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26804   (exit $ac_status); }; } &&
26805          { ac_try='test -s conftest$ac_exeext'
26806   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26807   (eval $ac_try) 2>&5
26808   ac_status=$?
26809   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26810   (exit $ac_status); }; }; then
26811   ac_cv_lib_m_llroundl=yes
26812 else
26813   echo "$as_me: failed program was:" >&5
26814 sed 's/^/| /' conftest.$ac_ext >&5
26815
26816 ac_cv_lib_m_llroundl=no
26817 fi
26818 rm -f conftest.err conftest.$ac_objext \
26819       conftest$ac_exeext conftest.$ac_ext
26820 LIBS=$ac_check_lib_save_LIBS
26821 fi
26822 echo "$as_me:$LINENO: result: $ac_cv_lib_m_llroundl" >&5
26823 echo "${ECHO_T}$ac_cv_lib_m_llroundl" >&6
26824 if test $ac_cv_lib_m_llroundl = yes; then
26825
26826 cat >>confdefs.h <<\_ACEOF
26827 #define HAVE_LLROUNDL 1
26828 _ACEOF
26829
26830 fi
26831
26832 echo "$as_me:$LINENO: checking for scalbnf in -lm" >&5
26833 echo $ECHO_N "checking for scalbnf in -lm... $ECHO_C" >&6
26834 if test "${ac_cv_lib_m_scalbnf+set}" = set; then
26835   echo $ECHO_N "(cached) $ECHO_C" >&6
26836 else
26837   ac_check_lib_save_LIBS=$LIBS
26838 LIBS="-lm  $LIBS"
26839 if test x$gcc_no_link = xyes; then
26840   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26841 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26842    { (exit 1); exit 1; }; }
26843 fi
26844 cat >conftest.$ac_ext <<_ACEOF
26845 /* confdefs.h.  */
26846 _ACEOF
26847 cat confdefs.h >>conftest.$ac_ext
26848 cat >>conftest.$ac_ext <<_ACEOF
26849 /* end confdefs.h.  */
26850
26851 /* Override any gcc2 internal prototype to avoid an error.  */
26852 #ifdef __cplusplus
26853 extern "C"
26854 #endif
26855 /* We use char because int might match the return type of a gcc2
26856    builtin and then its argument prototype would still apply.  */
26857 char scalbnf ();
26858 int
26859 main ()
26860 {
26861 scalbnf ();
26862   ;
26863   return 0;
26864 }
26865 _ACEOF
26866 rm -f conftest.$ac_objext conftest$ac_exeext
26867 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26868   (eval $ac_link) 2>conftest.er1
26869   ac_status=$?
26870   grep -v '^ *+' conftest.er1 >conftest.err
26871   rm -f conftest.er1
26872   cat conftest.err >&5
26873   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26874   (exit $ac_status); } &&
26875          { ac_try='test -z "$ac_c_werror_flag"
26876                          || test ! -s conftest.err'
26877   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26878   (eval $ac_try) 2>&5
26879   ac_status=$?
26880   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26881   (exit $ac_status); }; } &&
26882          { ac_try='test -s conftest$ac_exeext'
26883   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26884   (eval $ac_try) 2>&5
26885   ac_status=$?
26886   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26887   (exit $ac_status); }; }; then
26888   ac_cv_lib_m_scalbnf=yes
26889 else
26890   echo "$as_me: failed program was:" >&5
26891 sed 's/^/| /' conftest.$ac_ext >&5
26892
26893 ac_cv_lib_m_scalbnf=no
26894 fi
26895 rm -f conftest.err conftest.$ac_objext \
26896       conftest$ac_exeext conftest.$ac_ext
26897 LIBS=$ac_check_lib_save_LIBS
26898 fi
26899 echo "$as_me:$LINENO: result: $ac_cv_lib_m_scalbnf" >&5
26900 echo "${ECHO_T}$ac_cv_lib_m_scalbnf" >&6
26901 if test $ac_cv_lib_m_scalbnf = yes; then
26902
26903 cat >>confdefs.h <<\_ACEOF
26904 #define HAVE_SCALBNF 1
26905 _ACEOF
26906
26907 fi
26908
26909 echo "$as_me:$LINENO: checking for scalbn in -lm" >&5
26910 echo $ECHO_N "checking for scalbn in -lm... $ECHO_C" >&6
26911 if test "${ac_cv_lib_m_scalbn+set}" = set; then
26912   echo $ECHO_N "(cached) $ECHO_C" >&6
26913 else
26914   ac_check_lib_save_LIBS=$LIBS
26915 LIBS="-lm  $LIBS"
26916 if test x$gcc_no_link = xyes; then
26917   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26918 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26919    { (exit 1); exit 1; }; }
26920 fi
26921 cat >conftest.$ac_ext <<_ACEOF
26922 /* confdefs.h.  */
26923 _ACEOF
26924 cat confdefs.h >>conftest.$ac_ext
26925 cat >>conftest.$ac_ext <<_ACEOF
26926 /* end confdefs.h.  */
26927
26928 /* Override any gcc2 internal prototype to avoid an error.  */
26929 #ifdef __cplusplus
26930 extern "C"
26931 #endif
26932 /* We use char because int might match the return type of a gcc2
26933    builtin and then its argument prototype would still apply.  */
26934 char scalbn ();
26935 int
26936 main ()
26937 {
26938 scalbn ();
26939   ;
26940   return 0;
26941 }
26942 _ACEOF
26943 rm -f conftest.$ac_objext conftest$ac_exeext
26944 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26945   (eval $ac_link) 2>conftest.er1
26946   ac_status=$?
26947   grep -v '^ *+' conftest.er1 >conftest.err
26948   rm -f conftest.er1
26949   cat conftest.err >&5
26950   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26951   (exit $ac_status); } &&
26952          { ac_try='test -z "$ac_c_werror_flag"
26953                          || test ! -s conftest.err'
26954   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26955   (eval $ac_try) 2>&5
26956   ac_status=$?
26957   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26958   (exit $ac_status); }; } &&
26959          { ac_try='test -s conftest$ac_exeext'
26960   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26961   (eval $ac_try) 2>&5
26962   ac_status=$?
26963   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26964   (exit $ac_status); }; }; then
26965   ac_cv_lib_m_scalbn=yes
26966 else
26967   echo "$as_me: failed program was:" >&5
26968 sed 's/^/| /' conftest.$ac_ext >&5
26969
26970 ac_cv_lib_m_scalbn=no
26971 fi
26972 rm -f conftest.err conftest.$ac_objext \
26973       conftest$ac_exeext conftest.$ac_ext
26974 LIBS=$ac_check_lib_save_LIBS
26975 fi
26976 echo "$as_me:$LINENO: result: $ac_cv_lib_m_scalbn" >&5
26977 echo "${ECHO_T}$ac_cv_lib_m_scalbn" >&6
26978 if test $ac_cv_lib_m_scalbn = yes; then
26979
26980 cat >>confdefs.h <<\_ACEOF
26981 #define HAVE_SCALBN 1
26982 _ACEOF
26983
26984 fi
26985
26986 echo "$as_me:$LINENO: checking for scalbnl in -lm" >&5
26987 echo $ECHO_N "checking for scalbnl in -lm... $ECHO_C" >&6
26988 if test "${ac_cv_lib_m_scalbnl+set}" = set; then
26989   echo $ECHO_N "(cached) $ECHO_C" >&6
26990 else
26991   ac_check_lib_save_LIBS=$LIBS
26992 LIBS="-lm  $LIBS"
26993 if test x$gcc_no_link = xyes; then
26994   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26995 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26996    { (exit 1); exit 1; }; }
26997 fi
26998 cat >conftest.$ac_ext <<_ACEOF
26999 /* confdefs.h.  */
27000 _ACEOF
27001 cat confdefs.h >>conftest.$ac_ext
27002 cat >>conftest.$ac_ext <<_ACEOF
27003 /* end confdefs.h.  */
27004
27005 /* Override any gcc2 internal prototype to avoid an error.  */
27006 #ifdef __cplusplus
27007 extern "C"
27008 #endif
27009 /* We use char because int might match the return type of a gcc2
27010    builtin and then its argument prototype would still apply.  */
27011 char scalbnl ();
27012 int
27013 main ()
27014 {
27015 scalbnl ();
27016   ;
27017   return 0;
27018 }
27019 _ACEOF
27020 rm -f conftest.$ac_objext conftest$ac_exeext
27021 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27022   (eval $ac_link) 2>conftest.er1
27023   ac_status=$?
27024   grep -v '^ *+' conftest.er1 >conftest.err
27025   rm -f conftest.er1
27026   cat conftest.err >&5
27027   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27028   (exit $ac_status); } &&
27029          { ac_try='test -z "$ac_c_werror_flag"
27030                          || test ! -s conftest.err'
27031   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27032   (eval $ac_try) 2>&5
27033   ac_status=$?
27034   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27035   (exit $ac_status); }; } &&
27036          { ac_try='test -s conftest$ac_exeext'
27037   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27038   (eval $ac_try) 2>&5
27039   ac_status=$?
27040   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27041   (exit $ac_status); }; }; then
27042   ac_cv_lib_m_scalbnl=yes
27043 else
27044   echo "$as_me: failed program was:" >&5
27045 sed 's/^/| /' conftest.$ac_ext >&5
27046
27047 ac_cv_lib_m_scalbnl=no
27048 fi
27049 rm -f conftest.err conftest.$ac_objext \
27050       conftest$ac_exeext conftest.$ac_ext
27051 LIBS=$ac_check_lib_save_LIBS
27052 fi
27053 echo "$as_me:$LINENO: result: $ac_cv_lib_m_scalbnl" >&5
27054 echo "${ECHO_T}$ac_cv_lib_m_scalbnl" >&6
27055 if test $ac_cv_lib_m_scalbnl = yes; then
27056
27057 cat >>confdefs.h <<\_ACEOF
27058 #define HAVE_SCALBNL 1
27059 _ACEOF
27060
27061 fi
27062
27063 echo "$as_me:$LINENO: checking for sinf in -lm" >&5
27064 echo $ECHO_N "checking for sinf in -lm... $ECHO_C" >&6
27065 if test "${ac_cv_lib_m_sinf+set}" = set; then
27066   echo $ECHO_N "(cached) $ECHO_C" >&6
27067 else
27068   ac_check_lib_save_LIBS=$LIBS
27069 LIBS="-lm  $LIBS"
27070 if test x$gcc_no_link = xyes; then
27071   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27072 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27073    { (exit 1); exit 1; }; }
27074 fi
27075 cat >conftest.$ac_ext <<_ACEOF
27076 /* confdefs.h.  */
27077 _ACEOF
27078 cat confdefs.h >>conftest.$ac_ext
27079 cat >>conftest.$ac_ext <<_ACEOF
27080 /* end confdefs.h.  */
27081
27082 /* Override any gcc2 internal prototype to avoid an error.  */
27083 #ifdef __cplusplus
27084 extern "C"
27085 #endif
27086 /* We use char because int might match the return type of a gcc2
27087    builtin and then its argument prototype would still apply.  */
27088 char sinf ();
27089 int
27090 main ()
27091 {
27092 sinf ();
27093   ;
27094   return 0;
27095 }
27096 _ACEOF
27097 rm -f conftest.$ac_objext conftest$ac_exeext
27098 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27099   (eval $ac_link) 2>conftest.er1
27100   ac_status=$?
27101   grep -v '^ *+' conftest.er1 >conftest.err
27102   rm -f conftest.er1
27103   cat conftest.err >&5
27104   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27105   (exit $ac_status); } &&
27106          { ac_try='test -z "$ac_c_werror_flag"
27107                          || test ! -s conftest.err'
27108   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27109   (eval $ac_try) 2>&5
27110   ac_status=$?
27111   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27112   (exit $ac_status); }; } &&
27113          { ac_try='test -s conftest$ac_exeext'
27114   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27115   (eval $ac_try) 2>&5
27116   ac_status=$?
27117   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27118   (exit $ac_status); }; }; then
27119   ac_cv_lib_m_sinf=yes
27120 else
27121   echo "$as_me: failed program was:" >&5
27122 sed 's/^/| /' conftest.$ac_ext >&5
27123
27124 ac_cv_lib_m_sinf=no
27125 fi
27126 rm -f conftest.err conftest.$ac_objext \
27127       conftest$ac_exeext conftest.$ac_ext
27128 LIBS=$ac_check_lib_save_LIBS
27129 fi
27130 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sinf" >&5
27131 echo "${ECHO_T}$ac_cv_lib_m_sinf" >&6
27132 if test $ac_cv_lib_m_sinf = yes; then
27133
27134 cat >>confdefs.h <<\_ACEOF
27135 #define HAVE_SINF 1
27136 _ACEOF
27137
27138 fi
27139
27140 echo "$as_me:$LINENO: checking for sin in -lm" >&5
27141 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
27142 if test "${ac_cv_lib_m_sin+set}" = set; then
27143   echo $ECHO_N "(cached) $ECHO_C" >&6
27144 else
27145   ac_check_lib_save_LIBS=$LIBS
27146 LIBS="-lm  $LIBS"
27147 if test x$gcc_no_link = xyes; then
27148   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27149 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27150    { (exit 1); exit 1; }; }
27151 fi
27152 cat >conftest.$ac_ext <<_ACEOF
27153 /* confdefs.h.  */
27154 _ACEOF
27155 cat confdefs.h >>conftest.$ac_ext
27156 cat >>conftest.$ac_ext <<_ACEOF
27157 /* end confdefs.h.  */
27158
27159 /* Override any gcc2 internal prototype to avoid an error.  */
27160 #ifdef __cplusplus
27161 extern "C"
27162 #endif
27163 /* We use char because int might match the return type of a gcc2
27164    builtin and then its argument prototype would still apply.  */
27165 char sin ();
27166 int
27167 main ()
27168 {
27169 sin ();
27170   ;
27171   return 0;
27172 }
27173 _ACEOF
27174 rm -f conftest.$ac_objext conftest$ac_exeext
27175 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27176   (eval $ac_link) 2>conftest.er1
27177   ac_status=$?
27178   grep -v '^ *+' conftest.er1 >conftest.err
27179   rm -f conftest.er1
27180   cat conftest.err >&5
27181   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27182   (exit $ac_status); } &&
27183          { ac_try='test -z "$ac_c_werror_flag"
27184                          || test ! -s conftest.err'
27185   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27186   (eval $ac_try) 2>&5
27187   ac_status=$?
27188   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27189   (exit $ac_status); }; } &&
27190          { ac_try='test -s conftest$ac_exeext'
27191   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27192   (eval $ac_try) 2>&5
27193   ac_status=$?
27194   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27195   (exit $ac_status); }; }; then
27196   ac_cv_lib_m_sin=yes
27197 else
27198   echo "$as_me: failed program was:" >&5
27199 sed 's/^/| /' conftest.$ac_ext >&5
27200
27201 ac_cv_lib_m_sin=no
27202 fi
27203 rm -f conftest.err conftest.$ac_objext \
27204       conftest$ac_exeext conftest.$ac_ext
27205 LIBS=$ac_check_lib_save_LIBS
27206 fi
27207 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
27208 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
27209 if test $ac_cv_lib_m_sin = yes; then
27210
27211 cat >>confdefs.h <<\_ACEOF
27212 #define HAVE_SIN 1
27213 _ACEOF
27214
27215 fi
27216
27217 echo "$as_me:$LINENO: checking for sinl in -lm" >&5
27218 echo $ECHO_N "checking for sinl in -lm... $ECHO_C" >&6
27219 if test "${ac_cv_lib_m_sinl+set}" = set; then
27220   echo $ECHO_N "(cached) $ECHO_C" >&6
27221 else
27222   ac_check_lib_save_LIBS=$LIBS
27223 LIBS="-lm  $LIBS"
27224 if test x$gcc_no_link = xyes; then
27225   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27226 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27227    { (exit 1); exit 1; }; }
27228 fi
27229 cat >conftest.$ac_ext <<_ACEOF
27230 /* confdefs.h.  */
27231 _ACEOF
27232 cat confdefs.h >>conftest.$ac_ext
27233 cat >>conftest.$ac_ext <<_ACEOF
27234 /* end confdefs.h.  */
27235
27236 /* Override any gcc2 internal prototype to avoid an error.  */
27237 #ifdef __cplusplus
27238 extern "C"
27239 #endif
27240 /* We use char because int might match the return type of a gcc2
27241    builtin and then its argument prototype would still apply.  */
27242 char sinl ();
27243 int
27244 main ()
27245 {
27246 sinl ();
27247   ;
27248   return 0;
27249 }
27250 _ACEOF
27251 rm -f conftest.$ac_objext conftest$ac_exeext
27252 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27253   (eval $ac_link) 2>conftest.er1
27254   ac_status=$?
27255   grep -v '^ *+' conftest.er1 >conftest.err
27256   rm -f conftest.er1
27257   cat conftest.err >&5
27258   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27259   (exit $ac_status); } &&
27260          { ac_try='test -z "$ac_c_werror_flag"
27261                          || test ! -s conftest.err'
27262   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27263   (eval $ac_try) 2>&5
27264   ac_status=$?
27265   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27266   (exit $ac_status); }; } &&
27267          { ac_try='test -s conftest$ac_exeext'
27268   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27269   (eval $ac_try) 2>&5
27270   ac_status=$?
27271   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27272   (exit $ac_status); }; }; then
27273   ac_cv_lib_m_sinl=yes
27274 else
27275   echo "$as_me: failed program was:" >&5
27276 sed 's/^/| /' conftest.$ac_ext >&5
27277
27278 ac_cv_lib_m_sinl=no
27279 fi
27280 rm -f conftest.err conftest.$ac_objext \
27281       conftest$ac_exeext conftest.$ac_ext
27282 LIBS=$ac_check_lib_save_LIBS
27283 fi
27284 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sinl" >&5
27285 echo "${ECHO_T}$ac_cv_lib_m_sinl" >&6
27286 if test $ac_cv_lib_m_sinl = yes; then
27287
27288 cat >>confdefs.h <<\_ACEOF
27289 #define HAVE_SINL 1
27290 _ACEOF
27291
27292 fi
27293
27294 echo "$as_me:$LINENO: checking for csinf in -lm" >&5
27295 echo $ECHO_N "checking for csinf in -lm... $ECHO_C" >&6
27296 if test "${ac_cv_lib_m_csinf+set}" = set; then
27297   echo $ECHO_N "(cached) $ECHO_C" >&6
27298 else
27299   ac_check_lib_save_LIBS=$LIBS
27300 LIBS="-lm  $LIBS"
27301 if test x$gcc_no_link = xyes; then
27302   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27303 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27304    { (exit 1); exit 1; }; }
27305 fi
27306 cat >conftest.$ac_ext <<_ACEOF
27307 /* confdefs.h.  */
27308 _ACEOF
27309 cat confdefs.h >>conftest.$ac_ext
27310 cat >>conftest.$ac_ext <<_ACEOF
27311 /* end confdefs.h.  */
27312
27313 /* Override any gcc2 internal prototype to avoid an error.  */
27314 #ifdef __cplusplus
27315 extern "C"
27316 #endif
27317 /* We use char because int might match the return type of a gcc2
27318    builtin and then its argument prototype would still apply.  */
27319 char csinf ();
27320 int
27321 main ()
27322 {
27323 csinf ();
27324   ;
27325   return 0;
27326 }
27327 _ACEOF
27328 rm -f conftest.$ac_objext conftest$ac_exeext
27329 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27330   (eval $ac_link) 2>conftest.er1
27331   ac_status=$?
27332   grep -v '^ *+' conftest.er1 >conftest.err
27333   rm -f conftest.er1
27334   cat conftest.err >&5
27335   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27336   (exit $ac_status); } &&
27337          { ac_try='test -z "$ac_c_werror_flag"
27338                          || test ! -s conftest.err'
27339   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27340   (eval $ac_try) 2>&5
27341   ac_status=$?
27342   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27343   (exit $ac_status); }; } &&
27344          { ac_try='test -s conftest$ac_exeext'
27345   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27346   (eval $ac_try) 2>&5
27347   ac_status=$?
27348   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27349   (exit $ac_status); }; }; then
27350   ac_cv_lib_m_csinf=yes
27351 else
27352   echo "$as_me: failed program was:" >&5
27353 sed 's/^/| /' conftest.$ac_ext >&5
27354
27355 ac_cv_lib_m_csinf=no
27356 fi
27357 rm -f conftest.err conftest.$ac_objext \
27358       conftest$ac_exeext conftest.$ac_ext
27359 LIBS=$ac_check_lib_save_LIBS
27360 fi
27361 echo "$as_me:$LINENO: result: $ac_cv_lib_m_csinf" >&5
27362 echo "${ECHO_T}$ac_cv_lib_m_csinf" >&6
27363 if test $ac_cv_lib_m_csinf = yes; then
27364
27365 cat >>confdefs.h <<\_ACEOF
27366 #define HAVE_CSINF 1
27367 _ACEOF
27368
27369 fi
27370
27371 echo "$as_me:$LINENO: checking for csin in -lm" >&5
27372 echo $ECHO_N "checking for csin in -lm... $ECHO_C" >&6
27373 if test "${ac_cv_lib_m_csin+set}" = set; then
27374   echo $ECHO_N "(cached) $ECHO_C" >&6
27375 else
27376   ac_check_lib_save_LIBS=$LIBS
27377 LIBS="-lm  $LIBS"
27378 if test x$gcc_no_link = xyes; then
27379   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27380 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27381    { (exit 1); exit 1; }; }
27382 fi
27383 cat >conftest.$ac_ext <<_ACEOF
27384 /* confdefs.h.  */
27385 _ACEOF
27386 cat confdefs.h >>conftest.$ac_ext
27387 cat >>conftest.$ac_ext <<_ACEOF
27388 /* end confdefs.h.  */
27389
27390 /* Override any gcc2 internal prototype to avoid an error.  */
27391 #ifdef __cplusplus
27392 extern "C"
27393 #endif
27394 /* We use char because int might match the return type of a gcc2
27395    builtin and then its argument prototype would still apply.  */
27396 char csin ();
27397 int
27398 main ()
27399 {
27400 csin ();
27401   ;
27402   return 0;
27403 }
27404 _ACEOF
27405 rm -f conftest.$ac_objext conftest$ac_exeext
27406 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27407   (eval $ac_link) 2>conftest.er1
27408   ac_status=$?
27409   grep -v '^ *+' conftest.er1 >conftest.err
27410   rm -f conftest.er1
27411   cat conftest.err >&5
27412   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27413   (exit $ac_status); } &&
27414          { ac_try='test -z "$ac_c_werror_flag"
27415                          || test ! -s conftest.err'
27416   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27417   (eval $ac_try) 2>&5
27418   ac_status=$?
27419   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27420   (exit $ac_status); }; } &&
27421          { ac_try='test -s conftest$ac_exeext'
27422   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27423   (eval $ac_try) 2>&5
27424   ac_status=$?
27425   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27426   (exit $ac_status); }; }; then
27427   ac_cv_lib_m_csin=yes
27428 else
27429   echo "$as_me: failed program was:" >&5
27430 sed 's/^/| /' conftest.$ac_ext >&5
27431
27432 ac_cv_lib_m_csin=no
27433 fi
27434 rm -f conftest.err conftest.$ac_objext \
27435       conftest$ac_exeext conftest.$ac_ext
27436 LIBS=$ac_check_lib_save_LIBS
27437 fi
27438 echo "$as_me:$LINENO: result: $ac_cv_lib_m_csin" >&5
27439 echo "${ECHO_T}$ac_cv_lib_m_csin" >&6
27440 if test $ac_cv_lib_m_csin = yes; then
27441
27442 cat >>confdefs.h <<\_ACEOF
27443 #define HAVE_CSIN 1
27444 _ACEOF
27445
27446 fi
27447
27448 echo "$as_me:$LINENO: checking for csinl in -lm" >&5
27449 echo $ECHO_N "checking for csinl in -lm... $ECHO_C" >&6
27450 if test "${ac_cv_lib_m_csinl+set}" = set; then
27451   echo $ECHO_N "(cached) $ECHO_C" >&6
27452 else
27453   ac_check_lib_save_LIBS=$LIBS
27454 LIBS="-lm  $LIBS"
27455 if test x$gcc_no_link = xyes; then
27456   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27457 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27458    { (exit 1); exit 1; }; }
27459 fi
27460 cat >conftest.$ac_ext <<_ACEOF
27461 /* confdefs.h.  */
27462 _ACEOF
27463 cat confdefs.h >>conftest.$ac_ext
27464 cat >>conftest.$ac_ext <<_ACEOF
27465 /* end confdefs.h.  */
27466
27467 /* Override any gcc2 internal prototype to avoid an error.  */
27468 #ifdef __cplusplus
27469 extern "C"
27470 #endif
27471 /* We use char because int might match the return type of a gcc2
27472    builtin and then its argument prototype would still apply.  */
27473 char csinl ();
27474 int
27475 main ()
27476 {
27477 csinl ();
27478   ;
27479   return 0;
27480 }
27481 _ACEOF
27482 rm -f conftest.$ac_objext conftest$ac_exeext
27483 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27484   (eval $ac_link) 2>conftest.er1
27485   ac_status=$?
27486   grep -v '^ *+' conftest.er1 >conftest.err
27487   rm -f conftest.er1
27488   cat conftest.err >&5
27489   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27490   (exit $ac_status); } &&
27491          { ac_try='test -z "$ac_c_werror_flag"
27492                          || test ! -s conftest.err'
27493   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27494   (eval $ac_try) 2>&5
27495   ac_status=$?
27496   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27497   (exit $ac_status); }; } &&
27498          { ac_try='test -s conftest$ac_exeext'
27499   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27500   (eval $ac_try) 2>&5
27501   ac_status=$?
27502   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27503   (exit $ac_status); }; }; then
27504   ac_cv_lib_m_csinl=yes
27505 else
27506   echo "$as_me: failed program was:" >&5
27507 sed 's/^/| /' conftest.$ac_ext >&5
27508
27509 ac_cv_lib_m_csinl=no
27510 fi
27511 rm -f conftest.err conftest.$ac_objext \
27512       conftest$ac_exeext conftest.$ac_ext
27513 LIBS=$ac_check_lib_save_LIBS
27514 fi
27515 echo "$as_me:$LINENO: result: $ac_cv_lib_m_csinl" >&5
27516 echo "${ECHO_T}$ac_cv_lib_m_csinl" >&6
27517 if test $ac_cv_lib_m_csinl = yes; then
27518
27519 cat >>confdefs.h <<\_ACEOF
27520 #define HAVE_CSINL 1
27521 _ACEOF
27522
27523 fi
27524
27525 echo "$as_me:$LINENO: checking for sinhf in -lm" >&5
27526 echo $ECHO_N "checking for sinhf in -lm... $ECHO_C" >&6
27527 if test "${ac_cv_lib_m_sinhf+set}" = set; then
27528   echo $ECHO_N "(cached) $ECHO_C" >&6
27529 else
27530   ac_check_lib_save_LIBS=$LIBS
27531 LIBS="-lm  $LIBS"
27532 if test x$gcc_no_link = xyes; then
27533   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27534 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27535    { (exit 1); exit 1; }; }
27536 fi
27537 cat >conftest.$ac_ext <<_ACEOF
27538 /* confdefs.h.  */
27539 _ACEOF
27540 cat confdefs.h >>conftest.$ac_ext
27541 cat >>conftest.$ac_ext <<_ACEOF
27542 /* end confdefs.h.  */
27543
27544 /* Override any gcc2 internal prototype to avoid an error.  */
27545 #ifdef __cplusplus
27546 extern "C"
27547 #endif
27548 /* We use char because int might match the return type of a gcc2
27549    builtin and then its argument prototype would still apply.  */
27550 char sinhf ();
27551 int
27552 main ()
27553 {
27554 sinhf ();
27555   ;
27556   return 0;
27557 }
27558 _ACEOF
27559 rm -f conftest.$ac_objext conftest$ac_exeext
27560 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27561   (eval $ac_link) 2>conftest.er1
27562   ac_status=$?
27563   grep -v '^ *+' conftest.er1 >conftest.err
27564   rm -f conftest.er1
27565   cat conftest.err >&5
27566   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27567   (exit $ac_status); } &&
27568          { ac_try='test -z "$ac_c_werror_flag"
27569                          || test ! -s conftest.err'
27570   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27571   (eval $ac_try) 2>&5
27572   ac_status=$?
27573   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27574   (exit $ac_status); }; } &&
27575          { ac_try='test -s conftest$ac_exeext'
27576   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27577   (eval $ac_try) 2>&5
27578   ac_status=$?
27579   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27580   (exit $ac_status); }; }; then
27581   ac_cv_lib_m_sinhf=yes
27582 else
27583   echo "$as_me: failed program was:" >&5
27584 sed 's/^/| /' conftest.$ac_ext >&5
27585
27586 ac_cv_lib_m_sinhf=no
27587 fi
27588 rm -f conftest.err conftest.$ac_objext \
27589       conftest$ac_exeext conftest.$ac_ext
27590 LIBS=$ac_check_lib_save_LIBS
27591 fi
27592 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sinhf" >&5
27593 echo "${ECHO_T}$ac_cv_lib_m_sinhf" >&6
27594 if test $ac_cv_lib_m_sinhf = yes; then
27595
27596 cat >>confdefs.h <<\_ACEOF
27597 #define HAVE_SINHF 1
27598 _ACEOF
27599
27600 fi
27601
27602 echo "$as_me:$LINENO: checking for sinh in -lm" >&5
27603 echo $ECHO_N "checking for sinh in -lm... $ECHO_C" >&6
27604 if test "${ac_cv_lib_m_sinh+set}" = set; then
27605   echo $ECHO_N "(cached) $ECHO_C" >&6
27606 else
27607   ac_check_lib_save_LIBS=$LIBS
27608 LIBS="-lm  $LIBS"
27609 if test x$gcc_no_link = xyes; then
27610   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27611 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27612    { (exit 1); exit 1; }; }
27613 fi
27614 cat >conftest.$ac_ext <<_ACEOF
27615 /* confdefs.h.  */
27616 _ACEOF
27617 cat confdefs.h >>conftest.$ac_ext
27618 cat >>conftest.$ac_ext <<_ACEOF
27619 /* end confdefs.h.  */
27620
27621 /* Override any gcc2 internal prototype to avoid an error.  */
27622 #ifdef __cplusplus
27623 extern "C"
27624 #endif
27625 /* We use char because int might match the return type of a gcc2
27626    builtin and then its argument prototype would still apply.  */
27627 char sinh ();
27628 int
27629 main ()
27630 {
27631 sinh ();
27632   ;
27633   return 0;
27634 }
27635 _ACEOF
27636 rm -f conftest.$ac_objext conftest$ac_exeext
27637 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27638   (eval $ac_link) 2>conftest.er1
27639   ac_status=$?
27640   grep -v '^ *+' conftest.er1 >conftest.err
27641   rm -f conftest.er1
27642   cat conftest.err >&5
27643   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27644   (exit $ac_status); } &&
27645          { ac_try='test -z "$ac_c_werror_flag"
27646                          || test ! -s conftest.err'
27647   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27648   (eval $ac_try) 2>&5
27649   ac_status=$?
27650   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27651   (exit $ac_status); }; } &&
27652          { ac_try='test -s conftest$ac_exeext'
27653   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27654   (eval $ac_try) 2>&5
27655   ac_status=$?
27656   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27657   (exit $ac_status); }; }; then
27658   ac_cv_lib_m_sinh=yes
27659 else
27660   echo "$as_me: failed program was:" >&5
27661 sed 's/^/| /' conftest.$ac_ext >&5
27662
27663 ac_cv_lib_m_sinh=no
27664 fi
27665 rm -f conftest.err conftest.$ac_objext \
27666       conftest$ac_exeext conftest.$ac_ext
27667 LIBS=$ac_check_lib_save_LIBS
27668 fi
27669 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sinh" >&5
27670 echo "${ECHO_T}$ac_cv_lib_m_sinh" >&6
27671 if test $ac_cv_lib_m_sinh = yes; then
27672
27673 cat >>confdefs.h <<\_ACEOF
27674 #define HAVE_SINH 1
27675 _ACEOF
27676
27677 fi
27678
27679 echo "$as_me:$LINENO: checking for sinhl in -lm" >&5
27680 echo $ECHO_N "checking for sinhl in -lm... $ECHO_C" >&6
27681 if test "${ac_cv_lib_m_sinhl+set}" = set; then
27682   echo $ECHO_N "(cached) $ECHO_C" >&6
27683 else
27684   ac_check_lib_save_LIBS=$LIBS
27685 LIBS="-lm  $LIBS"
27686 if test x$gcc_no_link = xyes; then
27687   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27688 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27689    { (exit 1); exit 1; }; }
27690 fi
27691 cat >conftest.$ac_ext <<_ACEOF
27692 /* confdefs.h.  */
27693 _ACEOF
27694 cat confdefs.h >>conftest.$ac_ext
27695 cat >>conftest.$ac_ext <<_ACEOF
27696 /* end confdefs.h.  */
27697
27698 /* Override any gcc2 internal prototype to avoid an error.  */
27699 #ifdef __cplusplus
27700 extern "C"
27701 #endif
27702 /* We use char because int might match the return type of a gcc2
27703    builtin and then its argument prototype would still apply.  */
27704 char sinhl ();
27705 int
27706 main ()
27707 {
27708 sinhl ();
27709   ;
27710   return 0;
27711 }
27712 _ACEOF
27713 rm -f conftest.$ac_objext conftest$ac_exeext
27714 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27715   (eval $ac_link) 2>conftest.er1
27716   ac_status=$?
27717   grep -v '^ *+' conftest.er1 >conftest.err
27718   rm -f conftest.er1
27719   cat conftest.err >&5
27720   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27721   (exit $ac_status); } &&
27722          { ac_try='test -z "$ac_c_werror_flag"
27723                          || test ! -s conftest.err'
27724   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27725   (eval $ac_try) 2>&5
27726   ac_status=$?
27727   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27728   (exit $ac_status); }; } &&
27729          { ac_try='test -s conftest$ac_exeext'
27730   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27731   (eval $ac_try) 2>&5
27732   ac_status=$?
27733   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27734   (exit $ac_status); }; }; then
27735   ac_cv_lib_m_sinhl=yes
27736 else
27737   echo "$as_me: failed program was:" >&5
27738 sed 's/^/| /' conftest.$ac_ext >&5
27739
27740 ac_cv_lib_m_sinhl=no
27741 fi
27742 rm -f conftest.err conftest.$ac_objext \
27743       conftest$ac_exeext conftest.$ac_ext
27744 LIBS=$ac_check_lib_save_LIBS
27745 fi
27746 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sinhl" >&5
27747 echo "${ECHO_T}$ac_cv_lib_m_sinhl" >&6
27748 if test $ac_cv_lib_m_sinhl = yes; then
27749
27750 cat >>confdefs.h <<\_ACEOF
27751 #define HAVE_SINHL 1
27752 _ACEOF
27753
27754 fi
27755
27756 echo "$as_me:$LINENO: checking for csinhf in -lm" >&5
27757 echo $ECHO_N "checking for csinhf in -lm... $ECHO_C" >&6
27758 if test "${ac_cv_lib_m_csinhf+set}" = set; then
27759   echo $ECHO_N "(cached) $ECHO_C" >&6
27760 else
27761   ac_check_lib_save_LIBS=$LIBS
27762 LIBS="-lm  $LIBS"
27763 if test x$gcc_no_link = xyes; then
27764   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27765 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27766    { (exit 1); exit 1; }; }
27767 fi
27768 cat >conftest.$ac_ext <<_ACEOF
27769 /* confdefs.h.  */
27770 _ACEOF
27771 cat confdefs.h >>conftest.$ac_ext
27772 cat >>conftest.$ac_ext <<_ACEOF
27773 /* end confdefs.h.  */
27774
27775 /* Override any gcc2 internal prototype to avoid an error.  */
27776 #ifdef __cplusplus
27777 extern "C"
27778 #endif
27779 /* We use char because int might match the return type of a gcc2
27780    builtin and then its argument prototype would still apply.  */
27781 char csinhf ();
27782 int
27783 main ()
27784 {
27785 csinhf ();
27786   ;
27787   return 0;
27788 }
27789 _ACEOF
27790 rm -f conftest.$ac_objext conftest$ac_exeext
27791 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27792   (eval $ac_link) 2>conftest.er1
27793   ac_status=$?
27794   grep -v '^ *+' conftest.er1 >conftest.err
27795   rm -f conftest.er1
27796   cat conftest.err >&5
27797   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27798   (exit $ac_status); } &&
27799          { ac_try='test -z "$ac_c_werror_flag"
27800                          || test ! -s conftest.err'
27801   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27802   (eval $ac_try) 2>&5
27803   ac_status=$?
27804   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27805   (exit $ac_status); }; } &&
27806          { ac_try='test -s conftest$ac_exeext'
27807   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27808   (eval $ac_try) 2>&5
27809   ac_status=$?
27810   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27811   (exit $ac_status); }; }; then
27812   ac_cv_lib_m_csinhf=yes
27813 else
27814   echo "$as_me: failed program was:" >&5
27815 sed 's/^/| /' conftest.$ac_ext >&5
27816
27817 ac_cv_lib_m_csinhf=no
27818 fi
27819 rm -f conftest.err conftest.$ac_objext \
27820       conftest$ac_exeext conftest.$ac_ext
27821 LIBS=$ac_check_lib_save_LIBS
27822 fi
27823 echo "$as_me:$LINENO: result: $ac_cv_lib_m_csinhf" >&5
27824 echo "${ECHO_T}$ac_cv_lib_m_csinhf" >&6
27825 if test $ac_cv_lib_m_csinhf = yes; then
27826
27827 cat >>confdefs.h <<\_ACEOF
27828 #define HAVE_CSINHF 1
27829 _ACEOF
27830
27831 fi
27832
27833 echo "$as_me:$LINENO: checking for csinh in -lm" >&5
27834 echo $ECHO_N "checking for csinh in -lm... $ECHO_C" >&6
27835 if test "${ac_cv_lib_m_csinh+set}" = set; then
27836   echo $ECHO_N "(cached) $ECHO_C" >&6
27837 else
27838   ac_check_lib_save_LIBS=$LIBS
27839 LIBS="-lm  $LIBS"
27840 if test x$gcc_no_link = xyes; then
27841   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27842 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27843    { (exit 1); exit 1; }; }
27844 fi
27845 cat >conftest.$ac_ext <<_ACEOF
27846 /* confdefs.h.  */
27847 _ACEOF
27848 cat confdefs.h >>conftest.$ac_ext
27849 cat >>conftest.$ac_ext <<_ACEOF
27850 /* end confdefs.h.  */
27851
27852 /* Override any gcc2 internal prototype to avoid an error.  */
27853 #ifdef __cplusplus
27854 extern "C"
27855 #endif
27856 /* We use char because int might match the return type of a gcc2
27857    builtin and then its argument prototype would still apply.  */
27858 char csinh ();
27859 int
27860 main ()
27861 {
27862 csinh ();
27863   ;
27864   return 0;
27865 }
27866 _ACEOF
27867 rm -f conftest.$ac_objext conftest$ac_exeext
27868 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27869   (eval $ac_link) 2>conftest.er1
27870   ac_status=$?
27871   grep -v '^ *+' conftest.er1 >conftest.err
27872   rm -f conftest.er1
27873   cat conftest.err >&5
27874   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27875   (exit $ac_status); } &&
27876          { ac_try='test -z "$ac_c_werror_flag"
27877                          || test ! -s conftest.err'
27878   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27879   (eval $ac_try) 2>&5
27880   ac_status=$?
27881   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27882   (exit $ac_status); }; } &&
27883          { ac_try='test -s conftest$ac_exeext'
27884   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27885   (eval $ac_try) 2>&5
27886   ac_status=$?
27887   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27888   (exit $ac_status); }; }; then
27889   ac_cv_lib_m_csinh=yes
27890 else
27891   echo "$as_me: failed program was:" >&5
27892 sed 's/^/| /' conftest.$ac_ext >&5
27893
27894 ac_cv_lib_m_csinh=no
27895 fi
27896 rm -f conftest.err conftest.$ac_objext \
27897       conftest$ac_exeext conftest.$ac_ext
27898 LIBS=$ac_check_lib_save_LIBS
27899 fi
27900 echo "$as_me:$LINENO: result: $ac_cv_lib_m_csinh" >&5
27901 echo "${ECHO_T}$ac_cv_lib_m_csinh" >&6
27902 if test $ac_cv_lib_m_csinh = yes; then
27903
27904 cat >>confdefs.h <<\_ACEOF
27905 #define HAVE_CSINH 1
27906 _ACEOF
27907
27908 fi
27909
27910 echo "$as_me:$LINENO: checking for csinhl in -lm" >&5
27911 echo $ECHO_N "checking for csinhl in -lm... $ECHO_C" >&6
27912 if test "${ac_cv_lib_m_csinhl+set}" = set; then
27913   echo $ECHO_N "(cached) $ECHO_C" >&6
27914 else
27915   ac_check_lib_save_LIBS=$LIBS
27916 LIBS="-lm  $LIBS"
27917 if test x$gcc_no_link = xyes; then
27918   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27919 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27920    { (exit 1); exit 1; }; }
27921 fi
27922 cat >conftest.$ac_ext <<_ACEOF
27923 /* confdefs.h.  */
27924 _ACEOF
27925 cat confdefs.h >>conftest.$ac_ext
27926 cat >>conftest.$ac_ext <<_ACEOF
27927 /* end confdefs.h.  */
27928
27929 /* Override any gcc2 internal prototype to avoid an error.  */
27930 #ifdef __cplusplus
27931 extern "C"
27932 #endif
27933 /* We use char because int might match the return type of a gcc2
27934    builtin and then its argument prototype would still apply.  */
27935 char csinhl ();
27936 int
27937 main ()
27938 {
27939 csinhl ();
27940   ;
27941   return 0;
27942 }
27943 _ACEOF
27944 rm -f conftest.$ac_objext conftest$ac_exeext
27945 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27946   (eval $ac_link) 2>conftest.er1
27947   ac_status=$?
27948   grep -v '^ *+' conftest.er1 >conftest.err
27949   rm -f conftest.er1
27950   cat conftest.err >&5
27951   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27952   (exit $ac_status); } &&
27953          { ac_try='test -z "$ac_c_werror_flag"
27954                          || test ! -s conftest.err'
27955   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27956   (eval $ac_try) 2>&5
27957   ac_status=$?
27958   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27959   (exit $ac_status); }; } &&
27960          { ac_try='test -s conftest$ac_exeext'
27961   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27962   (eval $ac_try) 2>&5
27963   ac_status=$?
27964   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27965   (exit $ac_status); }; }; then
27966   ac_cv_lib_m_csinhl=yes
27967 else
27968   echo "$as_me: failed program was:" >&5
27969 sed 's/^/| /' conftest.$ac_ext >&5
27970
27971 ac_cv_lib_m_csinhl=no
27972 fi
27973 rm -f conftest.err conftest.$ac_objext \
27974       conftest$ac_exeext conftest.$ac_ext
27975 LIBS=$ac_check_lib_save_LIBS
27976 fi
27977 echo "$as_me:$LINENO: result: $ac_cv_lib_m_csinhl" >&5
27978 echo "${ECHO_T}$ac_cv_lib_m_csinhl" >&6
27979 if test $ac_cv_lib_m_csinhl = yes; then
27980
27981 cat >>confdefs.h <<\_ACEOF
27982 #define HAVE_CSINHL 1
27983 _ACEOF
27984
27985 fi
27986
27987 echo "$as_me:$LINENO: checking for sqrtf in -lm" >&5
27988 echo $ECHO_N "checking for sqrtf in -lm... $ECHO_C" >&6
27989 if test "${ac_cv_lib_m_sqrtf+set}" = set; then
27990   echo $ECHO_N "(cached) $ECHO_C" >&6
27991 else
27992   ac_check_lib_save_LIBS=$LIBS
27993 LIBS="-lm  $LIBS"
27994 if test x$gcc_no_link = xyes; then
27995   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27996 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27997    { (exit 1); exit 1; }; }
27998 fi
27999 cat >conftest.$ac_ext <<_ACEOF
28000 /* confdefs.h.  */
28001 _ACEOF
28002 cat confdefs.h >>conftest.$ac_ext
28003 cat >>conftest.$ac_ext <<_ACEOF
28004 /* end confdefs.h.  */
28005
28006 /* Override any gcc2 internal prototype to avoid an error.  */
28007 #ifdef __cplusplus
28008 extern "C"
28009 #endif
28010 /* We use char because int might match the return type of a gcc2
28011    builtin and then its argument prototype would still apply.  */
28012 char sqrtf ();
28013 int
28014 main ()
28015 {
28016 sqrtf ();
28017   ;
28018   return 0;
28019 }
28020 _ACEOF
28021 rm -f conftest.$ac_objext conftest$ac_exeext
28022 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28023   (eval $ac_link) 2>conftest.er1
28024   ac_status=$?
28025   grep -v '^ *+' conftest.er1 >conftest.err
28026   rm -f conftest.er1
28027   cat conftest.err >&5
28028   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28029   (exit $ac_status); } &&
28030          { ac_try='test -z "$ac_c_werror_flag"
28031                          || test ! -s conftest.err'
28032   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28033   (eval $ac_try) 2>&5
28034   ac_status=$?
28035   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28036   (exit $ac_status); }; } &&
28037          { ac_try='test -s conftest$ac_exeext'
28038   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28039   (eval $ac_try) 2>&5
28040   ac_status=$?
28041   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28042   (exit $ac_status); }; }; then
28043   ac_cv_lib_m_sqrtf=yes
28044 else
28045   echo "$as_me: failed program was:" >&5
28046 sed 's/^/| /' conftest.$ac_ext >&5
28047
28048 ac_cv_lib_m_sqrtf=no
28049 fi
28050 rm -f conftest.err conftest.$ac_objext \
28051       conftest$ac_exeext conftest.$ac_ext
28052 LIBS=$ac_check_lib_save_LIBS
28053 fi
28054 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sqrtf" >&5
28055 echo "${ECHO_T}$ac_cv_lib_m_sqrtf" >&6
28056 if test $ac_cv_lib_m_sqrtf = yes; then
28057
28058 cat >>confdefs.h <<\_ACEOF
28059 #define HAVE_SQRTF 1
28060 _ACEOF
28061
28062 fi
28063
28064 echo "$as_me:$LINENO: checking for sqrt in -lm" >&5
28065 echo $ECHO_N "checking for sqrt in -lm... $ECHO_C" >&6
28066 if test "${ac_cv_lib_m_sqrt+set}" = set; then
28067   echo $ECHO_N "(cached) $ECHO_C" >&6
28068 else
28069   ac_check_lib_save_LIBS=$LIBS
28070 LIBS="-lm  $LIBS"
28071 if test x$gcc_no_link = xyes; then
28072   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28073 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28074    { (exit 1); exit 1; }; }
28075 fi
28076 cat >conftest.$ac_ext <<_ACEOF
28077 /* confdefs.h.  */
28078 _ACEOF
28079 cat confdefs.h >>conftest.$ac_ext
28080 cat >>conftest.$ac_ext <<_ACEOF
28081 /* end confdefs.h.  */
28082
28083 /* Override any gcc2 internal prototype to avoid an error.  */
28084 #ifdef __cplusplus
28085 extern "C"
28086 #endif
28087 /* We use char because int might match the return type of a gcc2
28088    builtin and then its argument prototype would still apply.  */
28089 char sqrt ();
28090 int
28091 main ()
28092 {
28093 sqrt ();
28094   ;
28095   return 0;
28096 }
28097 _ACEOF
28098 rm -f conftest.$ac_objext conftest$ac_exeext
28099 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28100   (eval $ac_link) 2>conftest.er1
28101   ac_status=$?
28102   grep -v '^ *+' conftest.er1 >conftest.err
28103   rm -f conftest.er1
28104   cat conftest.err >&5
28105   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28106   (exit $ac_status); } &&
28107          { ac_try='test -z "$ac_c_werror_flag"
28108                          || test ! -s conftest.err'
28109   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28110   (eval $ac_try) 2>&5
28111   ac_status=$?
28112   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28113   (exit $ac_status); }; } &&
28114          { ac_try='test -s conftest$ac_exeext'
28115   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28116   (eval $ac_try) 2>&5
28117   ac_status=$?
28118   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28119   (exit $ac_status); }; }; then
28120   ac_cv_lib_m_sqrt=yes
28121 else
28122   echo "$as_me: failed program was:" >&5
28123 sed 's/^/| /' conftest.$ac_ext >&5
28124
28125 ac_cv_lib_m_sqrt=no
28126 fi
28127 rm -f conftest.err conftest.$ac_objext \
28128       conftest$ac_exeext conftest.$ac_ext
28129 LIBS=$ac_check_lib_save_LIBS
28130 fi
28131 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sqrt" >&5
28132 echo "${ECHO_T}$ac_cv_lib_m_sqrt" >&6
28133 if test $ac_cv_lib_m_sqrt = yes; then
28134
28135 cat >>confdefs.h <<\_ACEOF
28136 #define HAVE_SQRT 1
28137 _ACEOF
28138
28139 fi
28140
28141 echo "$as_me:$LINENO: checking for sqrtl in -lm" >&5
28142 echo $ECHO_N "checking for sqrtl in -lm... $ECHO_C" >&6
28143 if test "${ac_cv_lib_m_sqrtl+set}" = set; then
28144   echo $ECHO_N "(cached) $ECHO_C" >&6
28145 else
28146   ac_check_lib_save_LIBS=$LIBS
28147 LIBS="-lm  $LIBS"
28148 if test x$gcc_no_link = xyes; then
28149   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28150 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28151    { (exit 1); exit 1; }; }
28152 fi
28153 cat >conftest.$ac_ext <<_ACEOF
28154 /* confdefs.h.  */
28155 _ACEOF
28156 cat confdefs.h >>conftest.$ac_ext
28157 cat >>conftest.$ac_ext <<_ACEOF
28158 /* end confdefs.h.  */
28159
28160 /* Override any gcc2 internal prototype to avoid an error.  */
28161 #ifdef __cplusplus
28162 extern "C"
28163 #endif
28164 /* We use char because int might match the return type of a gcc2
28165    builtin and then its argument prototype would still apply.  */
28166 char sqrtl ();
28167 int
28168 main ()
28169 {
28170 sqrtl ();
28171   ;
28172   return 0;
28173 }
28174 _ACEOF
28175 rm -f conftest.$ac_objext conftest$ac_exeext
28176 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28177   (eval $ac_link) 2>conftest.er1
28178   ac_status=$?
28179   grep -v '^ *+' conftest.er1 >conftest.err
28180   rm -f conftest.er1
28181   cat conftest.err >&5
28182   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28183   (exit $ac_status); } &&
28184          { ac_try='test -z "$ac_c_werror_flag"
28185                          || test ! -s conftest.err'
28186   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28187   (eval $ac_try) 2>&5
28188   ac_status=$?
28189   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28190   (exit $ac_status); }; } &&
28191          { ac_try='test -s conftest$ac_exeext'
28192   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28193   (eval $ac_try) 2>&5
28194   ac_status=$?
28195   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28196   (exit $ac_status); }; }; then
28197   ac_cv_lib_m_sqrtl=yes
28198 else
28199   echo "$as_me: failed program was:" >&5
28200 sed 's/^/| /' conftest.$ac_ext >&5
28201
28202 ac_cv_lib_m_sqrtl=no
28203 fi
28204 rm -f conftest.err conftest.$ac_objext \
28205       conftest$ac_exeext conftest.$ac_ext
28206 LIBS=$ac_check_lib_save_LIBS
28207 fi
28208 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sqrtl" >&5
28209 echo "${ECHO_T}$ac_cv_lib_m_sqrtl" >&6
28210 if test $ac_cv_lib_m_sqrtl = yes; then
28211
28212 cat >>confdefs.h <<\_ACEOF
28213 #define HAVE_SQRTL 1
28214 _ACEOF
28215
28216 fi
28217
28218 echo "$as_me:$LINENO: checking for csqrtf in -lm" >&5
28219 echo $ECHO_N "checking for csqrtf in -lm... $ECHO_C" >&6
28220 if test "${ac_cv_lib_m_csqrtf+set}" = set; then
28221   echo $ECHO_N "(cached) $ECHO_C" >&6
28222 else
28223   ac_check_lib_save_LIBS=$LIBS
28224 LIBS="-lm  $LIBS"
28225 if test x$gcc_no_link = xyes; then
28226   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28227 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28228    { (exit 1); exit 1; }; }
28229 fi
28230 cat >conftest.$ac_ext <<_ACEOF
28231 /* confdefs.h.  */
28232 _ACEOF
28233 cat confdefs.h >>conftest.$ac_ext
28234 cat >>conftest.$ac_ext <<_ACEOF
28235 /* end confdefs.h.  */
28236
28237 /* Override any gcc2 internal prototype to avoid an error.  */
28238 #ifdef __cplusplus
28239 extern "C"
28240 #endif
28241 /* We use char because int might match the return type of a gcc2
28242    builtin and then its argument prototype would still apply.  */
28243 char csqrtf ();
28244 int
28245 main ()
28246 {
28247 csqrtf ();
28248   ;
28249   return 0;
28250 }
28251 _ACEOF
28252 rm -f conftest.$ac_objext conftest$ac_exeext
28253 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28254   (eval $ac_link) 2>conftest.er1
28255   ac_status=$?
28256   grep -v '^ *+' conftest.er1 >conftest.err
28257   rm -f conftest.er1
28258   cat conftest.err >&5
28259   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28260   (exit $ac_status); } &&
28261          { ac_try='test -z "$ac_c_werror_flag"
28262                          || test ! -s conftest.err'
28263   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28264   (eval $ac_try) 2>&5
28265   ac_status=$?
28266   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28267   (exit $ac_status); }; } &&
28268          { ac_try='test -s conftest$ac_exeext'
28269   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28270   (eval $ac_try) 2>&5
28271   ac_status=$?
28272   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28273   (exit $ac_status); }; }; then
28274   ac_cv_lib_m_csqrtf=yes
28275 else
28276   echo "$as_me: failed program was:" >&5
28277 sed 's/^/| /' conftest.$ac_ext >&5
28278
28279 ac_cv_lib_m_csqrtf=no
28280 fi
28281 rm -f conftest.err conftest.$ac_objext \
28282       conftest$ac_exeext conftest.$ac_ext
28283 LIBS=$ac_check_lib_save_LIBS
28284 fi
28285 echo "$as_me:$LINENO: result: $ac_cv_lib_m_csqrtf" >&5
28286 echo "${ECHO_T}$ac_cv_lib_m_csqrtf" >&6
28287 if test $ac_cv_lib_m_csqrtf = yes; then
28288
28289 cat >>confdefs.h <<\_ACEOF
28290 #define HAVE_CSQRTF 1
28291 _ACEOF
28292
28293 fi
28294
28295 echo "$as_me:$LINENO: checking for csqrt in -lm" >&5
28296 echo $ECHO_N "checking for csqrt in -lm... $ECHO_C" >&6
28297 if test "${ac_cv_lib_m_csqrt+set}" = set; then
28298   echo $ECHO_N "(cached) $ECHO_C" >&6
28299 else
28300   ac_check_lib_save_LIBS=$LIBS
28301 LIBS="-lm  $LIBS"
28302 if test x$gcc_no_link = xyes; then
28303   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28304 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28305    { (exit 1); exit 1; }; }
28306 fi
28307 cat >conftest.$ac_ext <<_ACEOF
28308 /* confdefs.h.  */
28309 _ACEOF
28310 cat confdefs.h >>conftest.$ac_ext
28311 cat >>conftest.$ac_ext <<_ACEOF
28312 /* end confdefs.h.  */
28313
28314 /* Override any gcc2 internal prototype to avoid an error.  */
28315 #ifdef __cplusplus
28316 extern "C"
28317 #endif
28318 /* We use char because int might match the return type of a gcc2
28319    builtin and then its argument prototype would still apply.  */
28320 char csqrt ();
28321 int
28322 main ()
28323 {
28324 csqrt ();
28325   ;
28326   return 0;
28327 }
28328 _ACEOF
28329 rm -f conftest.$ac_objext conftest$ac_exeext
28330 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28331   (eval $ac_link) 2>conftest.er1
28332   ac_status=$?
28333   grep -v '^ *+' conftest.er1 >conftest.err
28334   rm -f conftest.er1
28335   cat conftest.err >&5
28336   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28337   (exit $ac_status); } &&
28338          { ac_try='test -z "$ac_c_werror_flag"
28339                          || test ! -s conftest.err'
28340   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28341   (eval $ac_try) 2>&5
28342   ac_status=$?
28343   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28344   (exit $ac_status); }; } &&
28345          { ac_try='test -s conftest$ac_exeext'
28346   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28347   (eval $ac_try) 2>&5
28348   ac_status=$?
28349   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28350   (exit $ac_status); }; }; then
28351   ac_cv_lib_m_csqrt=yes
28352 else
28353   echo "$as_me: failed program was:" >&5
28354 sed 's/^/| /' conftest.$ac_ext >&5
28355
28356 ac_cv_lib_m_csqrt=no
28357 fi
28358 rm -f conftest.err conftest.$ac_objext \
28359       conftest$ac_exeext conftest.$ac_ext
28360 LIBS=$ac_check_lib_save_LIBS
28361 fi
28362 echo "$as_me:$LINENO: result: $ac_cv_lib_m_csqrt" >&5
28363 echo "${ECHO_T}$ac_cv_lib_m_csqrt" >&6
28364 if test $ac_cv_lib_m_csqrt = yes; then
28365
28366 cat >>confdefs.h <<\_ACEOF
28367 #define HAVE_CSQRT 1
28368 _ACEOF
28369
28370 fi
28371
28372 echo "$as_me:$LINENO: checking for csqrtl in -lm" >&5
28373 echo $ECHO_N "checking for csqrtl in -lm... $ECHO_C" >&6
28374 if test "${ac_cv_lib_m_csqrtl+set}" = set; then
28375   echo $ECHO_N "(cached) $ECHO_C" >&6
28376 else
28377   ac_check_lib_save_LIBS=$LIBS
28378 LIBS="-lm  $LIBS"
28379 if test x$gcc_no_link = xyes; then
28380   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28381 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28382    { (exit 1); exit 1; }; }
28383 fi
28384 cat >conftest.$ac_ext <<_ACEOF
28385 /* confdefs.h.  */
28386 _ACEOF
28387 cat confdefs.h >>conftest.$ac_ext
28388 cat >>conftest.$ac_ext <<_ACEOF
28389 /* end confdefs.h.  */
28390
28391 /* Override any gcc2 internal prototype to avoid an error.  */
28392 #ifdef __cplusplus
28393 extern "C"
28394 #endif
28395 /* We use char because int might match the return type of a gcc2
28396    builtin and then its argument prototype would still apply.  */
28397 char csqrtl ();
28398 int
28399 main ()
28400 {
28401 csqrtl ();
28402   ;
28403   return 0;
28404 }
28405 _ACEOF
28406 rm -f conftest.$ac_objext conftest$ac_exeext
28407 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28408   (eval $ac_link) 2>conftest.er1
28409   ac_status=$?
28410   grep -v '^ *+' conftest.er1 >conftest.err
28411   rm -f conftest.er1
28412   cat conftest.err >&5
28413   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28414   (exit $ac_status); } &&
28415          { ac_try='test -z "$ac_c_werror_flag"
28416                          || test ! -s conftest.err'
28417   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28418   (eval $ac_try) 2>&5
28419   ac_status=$?
28420   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28421   (exit $ac_status); }; } &&
28422          { ac_try='test -s conftest$ac_exeext'
28423   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28424   (eval $ac_try) 2>&5
28425   ac_status=$?
28426   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28427   (exit $ac_status); }; }; then
28428   ac_cv_lib_m_csqrtl=yes
28429 else
28430   echo "$as_me: failed program was:" >&5
28431 sed 's/^/| /' conftest.$ac_ext >&5
28432
28433 ac_cv_lib_m_csqrtl=no
28434 fi
28435 rm -f conftest.err conftest.$ac_objext \
28436       conftest$ac_exeext conftest.$ac_ext
28437 LIBS=$ac_check_lib_save_LIBS
28438 fi
28439 echo "$as_me:$LINENO: result: $ac_cv_lib_m_csqrtl" >&5
28440 echo "${ECHO_T}$ac_cv_lib_m_csqrtl" >&6
28441 if test $ac_cv_lib_m_csqrtl = yes; then
28442
28443 cat >>confdefs.h <<\_ACEOF
28444 #define HAVE_CSQRTL 1
28445 _ACEOF
28446
28447 fi
28448
28449 echo "$as_me:$LINENO: checking for tanf in -lm" >&5
28450 echo $ECHO_N "checking for tanf in -lm... $ECHO_C" >&6
28451 if test "${ac_cv_lib_m_tanf+set}" = set; then
28452   echo $ECHO_N "(cached) $ECHO_C" >&6
28453 else
28454   ac_check_lib_save_LIBS=$LIBS
28455 LIBS="-lm  $LIBS"
28456 if test x$gcc_no_link = xyes; then
28457   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28458 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28459    { (exit 1); exit 1; }; }
28460 fi
28461 cat >conftest.$ac_ext <<_ACEOF
28462 /* confdefs.h.  */
28463 _ACEOF
28464 cat confdefs.h >>conftest.$ac_ext
28465 cat >>conftest.$ac_ext <<_ACEOF
28466 /* end confdefs.h.  */
28467
28468 /* Override any gcc2 internal prototype to avoid an error.  */
28469 #ifdef __cplusplus
28470 extern "C"
28471 #endif
28472 /* We use char because int might match the return type of a gcc2
28473    builtin and then its argument prototype would still apply.  */
28474 char tanf ();
28475 int
28476 main ()
28477 {
28478 tanf ();
28479   ;
28480   return 0;
28481 }
28482 _ACEOF
28483 rm -f conftest.$ac_objext conftest$ac_exeext
28484 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28485   (eval $ac_link) 2>conftest.er1
28486   ac_status=$?
28487   grep -v '^ *+' conftest.er1 >conftest.err
28488   rm -f conftest.er1
28489   cat conftest.err >&5
28490   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28491   (exit $ac_status); } &&
28492          { ac_try='test -z "$ac_c_werror_flag"
28493                          || test ! -s conftest.err'
28494   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28495   (eval $ac_try) 2>&5
28496   ac_status=$?
28497   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28498   (exit $ac_status); }; } &&
28499          { ac_try='test -s conftest$ac_exeext'
28500   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28501   (eval $ac_try) 2>&5
28502   ac_status=$?
28503   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28504   (exit $ac_status); }; }; then
28505   ac_cv_lib_m_tanf=yes
28506 else
28507   echo "$as_me: failed program was:" >&5
28508 sed 's/^/| /' conftest.$ac_ext >&5
28509
28510 ac_cv_lib_m_tanf=no
28511 fi
28512 rm -f conftest.err conftest.$ac_objext \
28513       conftest$ac_exeext conftest.$ac_ext
28514 LIBS=$ac_check_lib_save_LIBS
28515 fi
28516 echo "$as_me:$LINENO: result: $ac_cv_lib_m_tanf" >&5
28517 echo "${ECHO_T}$ac_cv_lib_m_tanf" >&6
28518 if test $ac_cv_lib_m_tanf = yes; then
28519
28520 cat >>confdefs.h <<\_ACEOF
28521 #define HAVE_TANF 1
28522 _ACEOF
28523
28524 fi
28525
28526 echo "$as_me:$LINENO: checking for tan in -lm" >&5
28527 echo $ECHO_N "checking for tan in -lm... $ECHO_C" >&6
28528 if test "${ac_cv_lib_m_tan+set}" = set; then
28529   echo $ECHO_N "(cached) $ECHO_C" >&6
28530 else
28531   ac_check_lib_save_LIBS=$LIBS
28532 LIBS="-lm  $LIBS"
28533 if test x$gcc_no_link = xyes; then
28534   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28535 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28536    { (exit 1); exit 1; }; }
28537 fi
28538 cat >conftest.$ac_ext <<_ACEOF
28539 /* confdefs.h.  */
28540 _ACEOF
28541 cat confdefs.h >>conftest.$ac_ext
28542 cat >>conftest.$ac_ext <<_ACEOF
28543 /* end confdefs.h.  */
28544
28545 /* Override any gcc2 internal prototype to avoid an error.  */
28546 #ifdef __cplusplus
28547 extern "C"
28548 #endif
28549 /* We use char because int might match the return type of a gcc2
28550    builtin and then its argument prototype would still apply.  */
28551 char tan ();
28552 int
28553 main ()
28554 {
28555 tan ();
28556   ;
28557   return 0;
28558 }
28559 _ACEOF
28560 rm -f conftest.$ac_objext conftest$ac_exeext
28561 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28562   (eval $ac_link) 2>conftest.er1
28563   ac_status=$?
28564   grep -v '^ *+' conftest.er1 >conftest.err
28565   rm -f conftest.er1
28566   cat conftest.err >&5
28567   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28568   (exit $ac_status); } &&
28569          { ac_try='test -z "$ac_c_werror_flag"
28570                          || test ! -s conftest.err'
28571   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28572   (eval $ac_try) 2>&5
28573   ac_status=$?
28574   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28575   (exit $ac_status); }; } &&
28576          { ac_try='test -s conftest$ac_exeext'
28577   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28578   (eval $ac_try) 2>&5
28579   ac_status=$?
28580   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28581   (exit $ac_status); }; }; then
28582   ac_cv_lib_m_tan=yes
28583 else
28584   echo "$as_me: failed program was:" >&5
28585 sed 's/^/| /' conftest.$ac_ext >&5
28586
28587 ac_cv_lib_m_tan=no
28588 fi
28589 rm -f conftest.err conftest.$ac_objext \
28590       conftest$ac_exeext conftest.$ac_ext
28591 LIBS=$ac_check_lib_save_LIBS
28592 fi
28593 echo "$as_me:$LINENO: result: $ac_cv_lib_m_tan" >&5
28594 echo "${ECHO_T}$ac_cv_lib_m_tan" >&6
28595 if test $ac_cv_lib_m_tan = yes; then
28596
28597 cat >>confdefs.h <<\_ACEOF
28598 #define HAVE_TAN 1
28599 _ACEOF
28600
28601 fi
28602
28603 echo "$as_me:$LINENO: checking for tanl in -lm" >&5
28604 echo $ECHO_N "checking for tanl in -lm... $ECHO_C" >&6
28605 if test "${ac_cv_lib_m_tanl+set}" = set; then
28606   echo $ECHO_N "(cached) $ECHO_C" >&6
28607 else
28608   ac_check_lib_save_LIBS=$LIBS
28609 LIBS="-lm  $LIBS"
28610 if test x$gcc_no_link = xyes; then
28611   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28612 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28613    { (exit 1); exit 1; }; }
28614 fi
28615 cat >conftest.$ac_ext <<_ACEOF
28616 /* confdefs.h.  */
28617 _ACEOF
28618 cat confdefs.h >>conftest.$ac_ext
28619 cat >>conftest.$ac_ext <<_ACEOF
28620 /* end confdefs.h.  */
28621
28622 /* Override any gcc2 internal prototype to avoid an error.  */
28623 #ifdef __cplusplus
28624 extern "C"
28625 #endif
28626 /* We use char because int might match the return type of a gcc2
28627    builtin and then its argument prototype would still apply.  */
28628 char tanl ();
28629 int
28630 main ()
28631 {
28632 tanl ();
28633   ;
28634   return 0;
28635 }
28636 _ACEOF
28637 rm -f conftest.$ac_objext conftest$ac_exeext
28638 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28639   (eval $ac_link) 2>conftest.er1
28640   ac_status=$?
28641   grep -v '^ *+' conftest.er1 >conftest.err
28642   rm -f conftest.er1
28643   cat conftest.err >&5
28644   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28645   (exit $ac_status); } &&
28646          { ac_try='test -z "$ac_c_werror_flag"
28647                          || test ! -s conftest.err'
28648   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28649   (eval $ac_try) 2>&5
28650   ac_status=$?
28651   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28652   (exit $ac_status); }; } &&
28653          { ac_try='test -s conftest$ac_exeext'
28654   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28655   (eval $ac_try) 2>&5
28656   ac_status=$?
28657   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28658   (exit $ac_status); }; }; then
28659   ac_cv_lib_m_tanl=yes
28660 else
28661   echo "$as_me: failed program was:" >&5
28662 sed 's/^/| /' conftest.$ac_ext >&5
28663
28664 ac_cv_lib_m_tanl=no
28665 fi
28666 rm -f conftest.err conftest.$ac_objext \
28667       conftest$ac_exeext conftest.$ac_ext
28668 LIBS=$ac_check_lib_save_LIBS
28669 fi
28670 echo "$as_me:$LINENO: result: $ac_cv_lib_m_tanl" >&5
28671 echo "${ECHO_T}$ac_cv_lib_m_tanl" >&6
28672 if test $ac_cv_lib_m_tanl = yes; then
28673
28674 cat >>confdefs.h <<\_ACEOF
28675 #define HAVE_TANL 1
28676 _ACEOF
28677
28678 fi
28679
28680 echo "$as_me:$LINENO: checking for ctanf in -lm" >&5
28681 echo $ECHO_N "checking for ctanf in -lm... $ECHO_C" >&6
28682 if test "${ac_cv_lib_m_ctanf+set}" = set; then
28683   echo $ECHO_N "(cached) $ECHO_C" >&6
28684 else
28685   ac_check_lib_save_LIBS=$LIBS
28686 LIBS="-lm  $LIBS"
28687 if test x$gcc_no_link = xyes; then
28688   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28689 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28690    { (exit 1); exit 1; }; }
28691 fi
28692 cat >conftest.$ac_ext <<_ACEOF
28693 /* confdefs.h.  */
28694 _ACEOF
28695 cat confdefs.h >>conftest.$ac_ext
28696 cat >>conftest.$ac_ext <<_ACEOF
28697 /* end confdefs.h.  */
28698
28699 /* Override any gcc2 internal prototype to avoid an error.  */
28700 #ifdef __cplusplus
28701 extern "C"
28702 #endif
28703 /* We use char because int might match the return type of a gcc2
28704    builtin and then its argument prototype would still apply.  */
28705 char ctanf ();
28706 int
28707 main ()
28708 {
28709 ctanf ();
28710   ;
28711   return 0;
28712 }
28713 _ACEOF
28714 rm -f conftest.$ac_objext conftest$ac_exeext
28715 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28716   (eval $ac_link) 2>conftest.er1
28717   ac_status=$?
28718   grep -v '^ *+' conftest.er1 >conftest.err
28719   rm -f conftest.er1
28720   cat conftest.err >&5
28721   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28722   (exit $ac_status); } &&
28723          { ac_try='test -z "$ac_c_werror_flag"
28724                          || test ! -s conftest.err'
28725   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28726   (eval $ac_try) 2>&5
28727   ac_status=$?
28728   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28729   (exit $ac_status); }; } &&
28730          { ac_try='test -s conftest$ac_exeext'
28731   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28732   (eval $ac_try) 2>&5
28733   ac_status=$?
28734   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28735   (exit $ac_status); }; }; then
28736   ac_cv_lib_m_ctanf=yes
28737 else
28738   echo "$as_me: failed program was:" >&5
28739 sed 's/^/| /' conftest.$ac_ext >&5
28740
28741 ac_cv_lib_m_ctanf=no
28742 fi
28743 rm -f conftest.err conftest.$ac_objext \
28744       conftest$ac_exeext conftest.$ac_ext
28745 LIBS=$ac_check_lib_save_LIBS
28746 fi
28747 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ctanf" >&5
28748 echo "${ECHO_T}$ac_cv_lib_m_ctanf" >&6
28749 if test $ac_cv_lib_m_ctanf = yes; then
28750
28751 cat >>confdefs.h <<\_ACEOF
28752 #define HAVE_CTANF 1
28753 _ACEOF
28754
28755 fi
28756
28757 echo "$as_me:$LINENO: checking for ctan in -lm" >&5
28758 echo $ECHO_N "checking for ctan in -lm... $ECHO_C" >&6
28759 if test "${ac_cv_lib_m_ctan+set}" = set; then
28760   echo $ECHO_N "(cached) $ECHO_C" >&6
28761 else
28762   ac_check_lib_save_LIBS=$LIBS
28763 LIBS="-lm  $LIBS"
28764 if test x$gcc_no_link = xyes; then
28765   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28766 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28767    { (exit 1); exit 1; }; }
28768 fi
28769 cat >conftest.$ac_ext <<_ACEOF
28770 /* confdefs.h.  */
28771 _ACEOF
28772 cat confdefs.h >>conftest.$ac_ext
28773 cat >>conftest.$ac_ext <<_ACEOF
28774 /* end confdefs.h.  */
28775
28776 /* Override any gcc2 internal prototype to avoid an error.  */
28777 #ifdef __cplusplus
28778 extern "C"
28779 #endif
28780 /* We use char because int might match the return type of a gcc2
28781    builtin and then its argument prototype would still apply.  */
28782 char ctan ();
28783 int
28784 main ()
28785 {
28786 ctan ();
28787   ;
28788   return 0;
28789 }
28790 _ACEOF
28791 rm -f conftest.$ac_objext conftest$ac_exeext
28792 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28793   (eval $ac_link) 2>conftest.er1
28794   ac_status=$?
28795   grep -v '^ *+' conftest.er1 >conftest.err
28796   rm -f conftest.er1
28797   cat conftest.err >&5
28798   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28799   (exit $ac_status); } &&
28800          { ac_try='test -z "$ac_c_werror_flag"
28801                          || test ! -s conftest.err'
28802   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28803   (eval $ac_try) 2>&5
28804   ac_status=$?
28805   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28806   (exit $ac_status); }; } &&
28807          { ac_try='test -s conftest$ac_exeext'
28808   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28809   (eval $ac_try) 2>&5
28810   ac_status=$?
28811   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28812   (exit $ac_status); }; }; then
28813   ac_cv_lib_m_ctan=yes
28814 else
28815   echo "$as_me: failed program was:" >&5
28816 sed 's/^/| /' conftest.$ac_ext >&5
28817
28818 ac_cv_lib_m_ctan=no
28819 fi
28820 rm -f conftest.err conftest.$ac_objext \
28821       conftest$ac_exeext conftest.$ac_ext
28822 LIBS=$ac_check_lib_save_LIBS
28823 fi
28824 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ctan" >&5
28825 echo "${ECHO_T}$ac_cv_lib_m_ctan" >&6
28826 if test $ac_cv_lib_m_ctan = yes; then
28827
28828 cat >>confdefs.h <<\_ACEOF
28829 #define HAVE_CTAN 1
28830 _ACEOF
28831
28832 fi
28833
28834 echo "$as_me:$LINENO: checking for ctanl in -lm" >&5
28835 echo $ECHO_N "checking for ctanl in -lm... $ECHO_C" >&6
28836 if test "${ac_cv_lib_m_ctanl+set}" = set; then
28837   echo $ECHO_N "(cached) $ECHO_C" >&6
28838 else
28839   ac_check_lib_save_LIBS=$LIBS
28840 LIBS="-lm  $LIBS"
28841 if test x$gcc_no_link = xyes; then
28842   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28843 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28844    { (exit 1); exit 1; }; }
28845 fi
28846 cat >conftest.$ac_ext <<_ACEOF
28847 /* confdefs.h.  */
28848 _ACEOF
28849 cat confdefs.h >>conftest.$ac_ext
28850 cat >>conftest.$ac_ext <<_ACEOF
28851 /* end confdefs.h.  */
28852
28853 /* Override any gcc2 internal prototype to avoid an error.  */
28854 #ifdef __cplusplus
28855 extern "C"
28856 #endif
28857 /* We use char because int might match the return type of a gcc2
28858    builtin and then its argument prototype would still apply.  */
28859 char ctanl ();
28860 int
28861 main ()
28862 {
28863 ctanl ();
28864   ;
28865   return 0;
28866 }
28867 _ACEOF
28868 rm -f conftest.$ac_objext conftest$ac_exeext
28869 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28870   (eval $ac_link) 2>conftest.er1
28871   ac_status=$?
28872   grep -v '^ *+' conftest.er1 >conftest.err
28873   rm -f conftest.er1
28874   cat conftest.err >&5
28875   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28876   (exit $ac_status); } &&
28877          { ac_try='test -z "$ac_c_werror_flag"
28878                          || test ! -s conftest.err'
28879   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28880   (eval $ac_try) 2>&5
28881   ac_status=$?
28882   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28883   (exit $ac_status); }; } &&
28884          { ac_try='test -s conftest$ac_exeext'
28885   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28886   (eval $ac_try) 2>&5
28887   ac_status=$?
28888   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28889   (exit $ac_status); }; }; then
28890   ac_cv_lib_m_ctanl=yes
28891 else
28892   echo "$as_me: failed program was:" >&5
28893 sed 's/^/| /' conftest.$ac_ext >&5
28894
28895 ac_cv_lib_m_ctanl=no
28896 fi
28897 rm -f conftest.err conftest.$ac_objext \
28898       conftest$ac_exeext conftest.$ac_ext
28899 LIBS=$ac_check_lib_save_LIBS
28900 fi
28901 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ctanl" >&5
28902 echo "${ECHO_T}$ac_cv_lib_m_ctanl" >&6
28903 if test $ac_cv_lib_m_ctanl = yes; then
28904
28905 cat >>confdefs.h <<\_ACEOF
28906 #define HAVE_CTANL 1
28907 _ACEOF
28908
28909 fi
28910
28911 echo "$as_me:$LINENO: checking for tanhf in -lm" >&5
28912 echo $ECHO_N "checking for tanhf in -lm... $ECHO_C" >&6
28913 if test "${ac_cv_lib_m_tanhf+set}" = set; then
28914   echo $ECHO_N "(cached) $ECHO_C" >&6
28915 else
28916   ac_check_lib_save_LIBS=$LIBS
28917 LIBS="-lm  $LIBS"
28918 if test x$gcc_no_link = xyes; then
28919   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28920 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28921    { (exit 1); exit 1; }; }
28922 fi
28923 cat >conftest.$ac_ext <<_ACEOF
28924 /* confdefs.h.  */
28925 _ACEOF
28926 cat confdefs.h >>conftest.$ac_ext
28927 cat >>conftest.$ac_ext <<_ACEOF
28928 /* end confdefs.h.  */
28929
28930 /* Override any gcc2 internal prototype to avoid an error.  */
28931 #ifdef __cplusplus
28932 extern "C"
28933 #endif
28934 /* We use char because int might match the return type of a gcc2
28935    builtin and then its argument prototype would still apply.  */
28936 char tanhf ();
28937 int
28938 main ()
28939 {
28940 tanhf ();
28941   ;
28942   return 0;
28943 }
28944 _ACEOF
28945 rm -f conftest.$ac_objext conftest$ac_exeext
28946 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28947   (eval $ac_link) 2>conftest.er1
28948   ac_status=$?
28949   grep -v '^ *+' conftest.er1 >conftest.err
28950   rm -f conftest.er1
28951   cat conftest.err >&5
28952   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28953   (exit $ac_status); } &&
28954          { ac_try='test -z "$ac_c_werror_flag"
28955                          || test ! -s conftest.err'
28956   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28957   (eval $ac_try) 2>&5
28958   ac_status=$?
28959   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28960   (exit $ac_status); }; } &&
28961          { ac_try='test -s conftest$ac_exeext'
28962   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28963   (eval $ac_try) 2>&5
28964   ac_status=$?
28965   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28966   (exit $ac_status); }; }; then
28967   ac_cv_lib_m_tanhf=yes
28968 else
28969   echo "$as_me: failed program was:" >&5
28970 sed 's/^/| /' conftest.$ac_ext >&5
28971
28972 ac_cv_lib_m_tanhf=no
28973 fi
28974 rm -f conftest.err conftest.$ac_objext \
28975       conftest$ac_exeext conftest.$ac_ext
28976 LIBS=$ac_check_lib_save_LIBS
28977 fi
28978 echo "$as_me:$LINENO: result: $ac_cv_lib_m_tanhf" >&5
28979 echo "${ECHO_T}$ac_cv_lib_m_tanhf" >&6
28980 if test $ac_cv_lib_m_tanhf = yes; then
28981
28982 cat >>confdefs.h <<\_ACEOF
28983 #define HAVE_TANHF 1
28984 _ACEOF
28985
28986 fi
28987
28988 echo "$as_me:$LINENO: checking for tanh in -lm" >&5
28989 echo $ECHO_N "checking for tanh in -lm... $ECHO_C" >&6
28990 if test "${ac_cv_lib_m_tanh+set}" = set; then
28991   echo $ECHO_N "(cached) $ECHO_C" >&6
28992 else
28993   ac_check_lib_save_LIBS=$LIBS
28994 LIBS="-lm  $LIBS"
28995 if test x$gcc_no_link = xyes; then
28996   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28997 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28998    { (exit 1); exit 1; }; }
28999 fi
29000 cat >conftest.$ac_ext <<_ACEOF
29001 /* confdefs.h.  */
29002 _ACEOF
29003 cat confdefs.h >>conftest.$ac_ext
29004 cat >>conftest.$ac_ext <<_ACEOF
29005 /* end confdefs.h.  */
29006
29007 /* Override any gcc2 internal prototype to avoid an error.  */
29008 #ifdef __cplusplus
29009 extern "C"
29010 #endif
29011 /* We use char because int might match the return type of a gcc2
29012    builtin and then its argument prototype would still apply.  */
29013 char tanh ();
29014 int
29015 main ()
29016 {
29017 tanh ();
29018   ;
29019   return 0;
29020 }
29021 _ACEOF
29022 rm -f conftest.$ac_objext conftest$ac_exeext
29023 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29024   (eval $ac_link) 2>conftest.er1
29025   ac_status=$?
29026   grep -v '^ *+' conftest.er1 >conftest.err
29027   rm -f conftest.er1
29028   cat conftest.err >&5
29029   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29030   (exit $ac_status); } &&
29031          { ac_try='test -z "$ac_c_werror_flag"
29032                          || test ! -s conftest.err'
29033   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29034   (eval $ac_try) 2>&5
29035   ac_status=$?
29036   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29037   (exit $ac_status); }; } &&
29038          { ac_try='test -s conftest$ac_exeext'
29039   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29040   (eval $ac_try) 2>&5
29041   ac_status=$?
29042   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29043   (exit $ac_status); }; }; then
29044   ac_cv_lib_m_tanh=yes
29045 else
29046   echo "$as_me: failed program was:" >&5
29047 sed 's/^/| /' conftest.$ac_ext >&5
29048
29049 ac_cv_lib_m_tanh=no
29050 fi
29051 rm -f conftest.err conftest.$ac_objext \
29052       conftest$ac_exeext conftest.$ac_ext
29053 LIBS=$ac_check_lib_save_LIBS
29054 fi
29055 echo "$as_me:$LINENO: result: $ac_cv_lib_m_tanh" >&5
29056 echo "${ECHO_T}$ac_cv_lib_m_tanh" >&6
29057 if test $ac_cv_lib_m_tanh = yes; then
29058
29059 cat >>confdefs.h <<\_ACEOF
29060 #define HAVE_TANH 1
29061 _ACEOF
29062
29063 fi
29064
29065 echo "$as_me:$LINENO: checking for tanhl in -lm" >&5
29066 echo $ECHO_N "checking for tanhl in -lm... $ECHO_C" >&6
29067 if test "${ac_cv_lib_m_tanhl+set}" = set; then
29068   echo $ECHO_N "(cached) $ECHO_C" >&6
29069 else
29070   ac_check_lib_save_LIBS=$LIBS
29071 LIBS="-lm  $LIBS"
29072 if test x$gcc_no_link = xyes; then
29073   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29074 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29075    { (exit 1); exit 1; }; }
29076 fi
29077 cat >conftest.$ac_ext <<_ACEOF
29078 /* confdefs.h.  */
29079 _ACEOF
29080 cat confdefs.h >>conftest.$ac_ext
29081 cat >>conftest.$ac_ext <<_ACEOF
29082 /* end confdefs.h.  */
29083
29084 /* Override any gcc2 internal prototype to avoid an error.  */
29085 #ifdef __cplusplus
29086 extern "C"
29087 #endif
29088 /* We use char because int might match the return type of a gcc2
29089    builtin and then its argument prototype would still apply.  */
29090 char tanhl ();
29091 int
29092 main ()
29093 {
29094 tanhl ();
29095   ;
29096   return 0;
29097 }
29098 _ACEOF
29099 rm -f conftest.$ac_objext conftest$ac_exeext
29100 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29101   (eval $ac_link) 2>conftest.er1
29102   ac_status=$?
29103   grep -v '^ *+' conftest.er1 >conftest.err
29104   rm -f conftest.er1
29105   cat conftest.err >&5
29106   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29107   (exit $ac_status); } &&
29108          { ac_try='test -z "$ac_c_werror_flag"
29109                          || test ! -s conftest.err'
29110   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29111   (eval $ac_try) 2>&5
29112   ac_status=$?
29113   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29114   (exit $ac_status); }; } &&
29115          { ac_try='test -s conftest$ac_exeext'
29116   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29117   (eval $ac_try) 2>&5
29118   ac_status=$?
29119   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29120   (exit $ac_status); }; }; then
29121   ac_cv_lib_m_tanhl=yes
29122 else
29123   echo "$as_me: failed program was:" >&5
29124 sed 's/^/| /' conftest.$ac_ext >&5
29125
29126 ac_cv_lib_m_tanhl=no
29127 fi
29128 rm -f conftest.err conftest.$ac_objext \
29129       conftest$ac_exeext conftest.$ac_ext
29130 LIBS=$ac_check_lib_save_LIBS
29131 fi
29132 echo "$as_me:$LINENO: result: $ac_cv_lib_m_tanhl" >&5
29133 echo "${ECHO_T}$ac_cv_lib_m_tanhl" >&6
29134 if test $ac_cv_lib_m_tanhl = yes; then
29135
29136 cat >>confdefs.h <<\_ACEOF
29137 #define HAVE_TANHL 1
29138 _ACEOF
29139
29140 fi
29141
29142 echo "$as_me:$LINENO: checking for ctanhf in -lm" >&5
29143 echo $ECHO_N "checking for ctanhf in -lm... $ECHO_C" >&6
29144 if test "${ac_cv_lib_m_ctanhf+set}" = set; then
29145   echo $ECHO_N "(cached) $ECHO_C" >&6
29146 else
29147   ac_check_lib_save_LIBS=$LIBS
29148 LIBS="-lm  $LIBS"
29149 if test x$gcc_no_link = xyes; then
29150   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29151 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29152    { (exit 1); exit 1; }; }
29153 fi
29154 cat >conftest.$ac_ext <<_ACEOF
29155 /* confdefs.h.  */
29156 _ACEOF
29157 cat confdefs.h >>conftest.$ac_ext
29158 cat >>conftest.$ac_ext <<_ACEOF
29159 /* end confdefs.h.  */
29160
29161 /* Override any gcc2 internal prototype to avoid an error.  */
29162 #ifdef __cplusplus
29163 extern "C"
29164 #endif
29165 /* We use char because int might match the return type of a gcc2
29166    builtin and then its argument prototype would still apply.  */
29167 char ctanhf ();
29168 int
29169 main ()
29170 {
29171 ctanhf ();
29172   ;
29173   return 0;
29174 }
29175 _ACEOF
29176 rm -f conftest.$ac_objext conftest$ac_exeext
29177 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29178   (eval $ac_link) 2>conftest.er1
29179   ac_status=$?
29180   grep -v '^ *+' conftest.er1 >conftest.err
29181   rm -f conftest.er1
29182   cat conftest.err >&5
29183   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29184   (exit $ac_status); } &&
29185          { ac_try='test -z "$ac_c_werror_flag"
29186                          || test ! -s conftest.err'
29187   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29188   (eval $ac_try) 2>&5
29189   ac_status=$?
29190   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29191   (exit $ac_status); }; } &&
29192          { ac_try='test -s conftest$ac_exeext'
29193   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29194   (eval $ac_try) 2>&5
29195   ac_status=$?
29196   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29197   (exit $ac_status); }; }; then
29198   ac_cv_lib_m_ctanhf=yes
29199 else
29200   echo "$as_me: failed program was:" >&5
29201 sed 's/^/| /' conftest.$ac_ext >&5
29202
29203 ac_cv_lib_m_ctanhf=no
29204 fi
29205 rm -f conftest.err conftest.$ac_objext \
29206       conftest$ac_exeext conftest.$ac_ext
29207 LIBS=$ac_check_lib_save_LIBS
29208 fi
29209 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ctanhf" >&5
29210 echo "${ECHO_T}$ac_cv_lib_m_ctanhf" >&6
29211 if test $ac_cv_lib_m_ctanhf = yes; then
29212
29213 cat >>confdefs.h <<\_ACEOF
29214 #define HAVE_CTANHF 1
29215 _ACEOF
29216
29217 fi
29218
29219 echo "$as_me:$LINENO: checking for ctanh in -lm" >&5
29220 echo $ECHO_N "checking for ctanh in -lm... $ECHO_C" >&6
29221 if test "${ac_cv_lib_m_ctanh+set}" = set; then
29222   echo $ECHO_N "(cached) $ECHO_C" >&6
29223 else
29224   ac_check_lib_save_LIBS=$LIBS
29225 LIBS="-lm  $LIBS"
29226 if test x$gcc_no_link = xyes; then
29227   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29228 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29229    { (exit 1); exit 1; }; }
29230 fi
29231 cat >conftest.$ac_ext <<_ACEOF
29232 /* confdefs.h.  */
29233 _ACEOF
29234 cat confdefs.h >>conftest.$ac_ext
29235 cat >>conftest.$ac_ext <<_ACEOF
29236 /* end confdefs.h.  */
29237
29238 /* Override any gcc2 internal prototype to avoid an error.  */
29239 #ifdef __cplusplus
29240 extern "C"
29241 #endif
29242 /* We use char because int might match the return type of a gcc2
29243    builtin and then its argument prototype would still apply.  */
29244 char ctanh ();
29245 int
29246 main ()
29247 {
29248 ctanh ();
29249   ;
29250   return 0;
29251 }
29252 _ACEOF
29253 rm -f conftest.$ac_objext conftest$ac_exeext
29254 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29255   (eval $ac_link) 2>conftest.er1
29256   ac_status=$?
29257   grep -v '^ *+' conftest.er1 >conftest.err
29258   rm -f conftest.er1
29259   cat conftest.err >&5
29260   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29261   (exit $ac_status); } &&
29262          { ac_try='test -z "$ac_c_werror_flag"
29263                          || test ! -s conftest.err'
29264   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29265   (eval $ac_try) 2>&5
29266   ac_status=$?
29267   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29268   (exit $ac_status); }; } &&
29269          { ac_try='test -s conftest$ac_exeext'
29270   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29271   (eval $ac_try) 2>&5
29272   ac_status=$?
29273   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29274   (exit $ac_status); }; }; then
29275   ac_cv_lib_m_ctanh=yes
29276 else
29277   echo "$as_me: failed program was:" >&5
29278 sed 's/^/| /' conftest.$ac_ext >&5
29279
29280 ac_cv_lib_m_ctanh=no
29281 fi
29282 rm -f conftest.err conftest.$ac_objext \
29283       conftest$ac_exeext conftest.$ac_ext
29284 LIBS=$ac_check_lib_save_LIBS
29285 fi
29286 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ctanh" >&5
29287 echo "${ECHO_T}$ac_cv_lib_m_ctanh" >&6
29288 if test $ac_cv_lib_m_ctanh = yes; then
29289
29290 cat >>confdefs.h <<\_ACEOF
29291 #define HAVE_CTANH 1
29292 _ACEOF
29293
29294 fi
29295
29296 echo "$as_me:$LINENO: checking for ctanhl in -lm" >&5
29297 echo $ECHO_N "checking for ctanhl in -lm... $ECHO_C" >&6
29298 if test "${ac_cv_lib_m_ctanhl+set}" = set; then
29299   echo $ECHO_N "(cached) $ECHO_C" >&6
29300 else
29301   ac_check_lib_save_LIBS=$LIBS
29302 LIBS="-lm  $LIBS"
29303 if test x$gcc_no_link = xyes; then
29304   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29305 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29306    { (exit 1); exit 1; }; }
29307 fi
29308 cat >conftest.$ac_ext <<_ACEOF
29309 /* confdefs.h.  */
29310 _ACEOF
29311 cat confdefs.h >>conftest.$ac_ext
29312 cat >>conftest.$ac_ext <<_ACEOF
29313 /* end confdefs.h.  */
29314
29315 /* Override any gcc2 internal prototype to avoid an error.  */
29316 #ifdef __cplusplus
29317 extern "C"
29318 #endif
29319 /* We use char because int might match the return type of a gcc2
29320    builtin and then its argument prototype would still apply.  */
29321 char ctanhl ();
29322 int
29323 main ()
29324 {
29325 ctanhl ();
29326   ;
29327   return 0;
29328 }
29329 _ACEOF
29330 rm -f conftest.$ac_objext conftest$ac_exeext
29331 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29332   (eval $ac_link) 2>conftest.er1
29333   ac_status=$?
29334   grep -v '^ *+' conftest.er1 >conftest.err
29335   rm -f conftest.er1
29336   cat conftest.err >&5
29337   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29338   (exit $ac_status); } &&
29339          { ac_try='test -z "$ac_c_werror_flag"
29340                          || test ! -s conftest.err'
29341   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29342   (eval $ac_try) 2>&5
29343   ac_status=$?
29344   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29345   (exit $ac_status); }; } &&
29346          { ac_try='test -s conftest$ac_exeext'
29347   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29348   (eval $ac_try) 2>&5
29349   ac_status=$?
29350   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29351   (exit $ac_status); }; }; then
29352   ac_cv_lib_m_ctanhl=yes
29353 else
29354   echo "$as_me: failed program was:" >&5
29355 sed 's/^/| /' conftest.$ac_ext >&5
29356
29357 ac_cv_lib_m_ctanhl=no
29358 fi
29359 rm -f conftest.err conftest.$ac_objext \
29360       conftest$ac_exeext conftest.$ac_ext
29361 LIBS=$ac_check_lib_save_LIBS
29362 fi
29363 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ctanhl" >&5
29364 echo "${ECHO_T}$ac_cv_lib_m_ctanhl" >&6
29365 if test $ac_cv_lib_m_ctanhl = yes; then
29366
29367 cat >>confdefs.h <<\_ACEOF
29368 #define HAVE_CTANHL 1
29369 _ACEOF
29370
29371 fi
29372
29373 echo "$as_me:$LINENO: checking for truncf in -lm" >&5
29374 echo $ECHO_N "checking for truncf in -lm... $ECHO_C" >&6
29375 if test "${ac_cv_lib_m_truncf+set}" = set; then
29376   echo $ECHO_N "(cached) $ECHO_C" >&6
29377 else
29378   ac_check_lib_save_LIBS=$LIBS
29379 LIBS="-lm  $LIBS"
29380 if test x$gcc_no_link = xyes; then
29381   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29382 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29383    { (exit 1); exit 1; }; }
29384 fi
29385 cat >conftest.$ac_ext <<_ACEOF
29386 /* confdefs.h.  */
29387 _ACEOF
29388 cat confdefs.h >>conftest.$ac_ext
29389 cat >>conftest.$ac_ext <<_ACEOF
29390 /* end confdefs.h.  */
29391
29392 /* Override any gcc2 internal prototype to avoid an error.  */
29393 #ifdef __cplusplus
29394 extern "C"
29395 #endif
29396 /* We use char because int might match the return type of a gcc2
29397    builtin and then its argument prototype would still apply.  */
29398 char truncf ();
29399 int
29400 main ()
29401 {
29402 truncf ();
29403   ;
29404   return 0;
29405 }
29406 _ACEOF
29407 rm -f conftest.$ac_objext conftest$ac_exeext
29408 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29409   (eval $ac_link) 2>conftest.er1
29410   ac_status=$?
29411   grep -v '^ *+' conftest.er1 >conftest.err
29412   rm -f conftest.er1
29413   cat conftest.err >&5
29414   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29415   (exit $ac_status); } &&
29416          { ac_try='test -z "$ac_c_werror_flag"
29417                          || test ! -s conftest.err'
29418   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29419   (eval $ac_try) 2>&5
29420   ac_status=$?
29421   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29422   (exit $ac_status); }; } &&
29423          { ac_try='test -s conftest$ac_exeext'
29424   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29425   (eval $ac_try) 2>&5
29426   ac_status=$?
29427   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29428   (exit $ac_status); }; }; then
29429   ac_cv_lib_m_truncf=yes
29430 else
29431   echo "$as_me: failed program was:" >&5
29432 sed 's/^/| /' conftest.$ac_ext >&5
29433
29434 ac_cv_lib_m_truncf=no
29435 fi
29436 rm -f conftest.err conftest.$ac_objext \
29437       conftest$ac_exeext conftest.$ac_ext
29438 LIBS=$ac_check_lib_save_LIBS
29439 fi
29440 echo "$as_me:$LINENO: result: $ac_cv_lib_m_truncf" >&5
29441 echo "${ECHO_T}$ac_cv_lib_m_truncf" >&6
29442 if test $ac_cv_lib_m_truncf = yes; then
29443
29444 cat >>confdefs.h <<\_ACEOF
29445 #define HAVE_TRUNCF 1
29446 _ACEOF
29447
29448 fi
29449
29450 echo "$as_me:$LINENO: checking for trunc in -lm" >&5
29451 echo $ECHO_N "checking for trunc in -lm... $ECHO_C" >&6
29452 if test "${ac_cv_lib_m_trunc+set}" = set; then
29453   echo $ECHO_N "(cached) $ECHO_C" >&6
29454 else
29455   ac_check_lib_save_LIBS=$LIBS
29456 LIBS="-lm  $LIBS"
29457 if test x$gcc_no_link = xyes; then
29458   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29459 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29460    { (exit 1); exit 1; }; }
29461 fi
29462 cat >conftest.$ac_ext <<_ACEOF
29463 /* confdefs.h.  */
29464 _ACEOF
29465 cat confdefs.h >>conftest.$ac_ext
29466 cat >>conftest.$ac_ext <<_ACEOF
29467 /* end confdefs.h.  */
29468
29469 /* Override any gcc2 internal prototype to avoid an error.  */
29470 #ifdef __cplusplus
29471 extern "C"
29472 #endif
29473 /* We use char because int might match the return type of a gcc2
29474    builtin and then its argument prototype would still apply.  */
29475 char trunc ();
29476 int
29477 main ()
29478 {
29479 trunc ();
29480   ;
29481   return 0;
29482 }
29483 _ACEOF
29484 rm -f conftest.$ac_objext conftest$ac_exeext
29485 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29486   (eval $ac_link) 2>conftest.er1
29487   ac_status=$?
29488   grep -v '^ *+' conftest.er1 >conftest.err
29489   rm -f conftest.er1
29490   cat conftest.err >&5
29491   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29492   (exit $ac_status); } &&
29493          { ac_try='test -z "$ac_c_werror_flag"
29494                          || test ! -s conftest.err'
29495   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29496   (eval $ac_try) 2>&5
29497   ac_status=$?
29498   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29499   (exit $ac_status); }; } &&
29500          { ac_try='test -s conftest$ac_exeext'
29501   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29502   (eval $ac_try) 2>&5
29503   ac_status=$?
29504   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29505   (exit $ac_status); }; }; then
29506   ac_cv_lib_m_trunc=yes
29507 else
29508   echo "$as_me: failed program was:" >&5
29509 sed 's/^/| /' conftest.$ac_ext >&5
29510
29511 ac_cv_lib_m_trunc=no
29512 fi
29513 rm -f conftest.err conftest.$ac_objext \
29514       conftest$ac_exeext conftest.$ac_ext
29515 LIBS=$ac_check_lib_save_LIBS
29516 fi
29517 echo "$as_me:$LINENO: result: $ac_cv_lib_m_trunc" >&5
29518 echo "${ECHO_T}$ac_cv_lib_m_trunc" >&6
29519 if test $ac_cv_lib_m_trunc = yes; then
29520
29521 cat >>confdefs.h <<\_ACEOF
29522 #define HAVE_TRUNC 1
29523 _ACEOF
29524
29525 fi
29526
29527 echo "$as_me:$LINENO: checking for truncl in -lm" >&5
29528 echo $ECHO_N "checking for truncl in -lm... $ECHO_C" >&6
29529 if test "${ac_cv_lib_m_truncl+set}" = set; then
29530   echo $ECHO_N "(cached) $ECHO_C" >&6
29531 else
29532   ac_check_lib_save_LIBS=$LIBS
29533 LIBS="-lm  $LIBS"
29534 if test x$gcc_no_link = xyes; then
29535   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29536 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29537    { (exit 1); exit 1; }; }
29538 fi
29539 cat >conftest.$ac_ext <<_ACEOF
29540 /* confdefs.h.  */
29541 _ACEOF
29542 cat confdefs.h >>conftest.$ac_ext
29543 cat >>conftest.$ac_ext <<_ACEOF
29544 /* end confdefs.h.  */
29545
29546 /* Override any gcc2 internal prototype to avoid an error.  */
29547 #ifdef __cplusplus
29548 extern "C"
29549 #endif
29550 /* We use char because int might match the return type of a gcc2
29551    builtin and then its argument prototype would still apply.  */
29552 char truncl ();
29553 int
29554 main ()
29555 {
29556 truncl ();
29557   ;
29558   return 0;
29559 }
29560 _ACEOF
29561 rm -f conftest.$ac_objext conftest$ac_exeext
29562 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29563   (eval $ac_link) 2>conftest.er1
29564   ac_status=$?
29565   grep -v '^ *+' conftest.er1 >conftest.err
29566   rm -f conftest.er1
29567   cat conftest.err >&5
29568   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29569   (exit $ac_status); } &&
29570          { ac_try='test -z "$ac_c_werror_flag"
29571                          || test ! -s conftest.err'
29572   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29573   (eval $ac_try) 2>&5
29574   ac_status=$?
29575   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29576   (exit $ac_status); }; } &&
29577          { ac_try='test -s conftest$ac_exeext'
29578   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29579   (eval $ac_try) 2>&5
29580   ac_status=$?
29581   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29582   (exit $ac_status); }; }; then
29583   ac_cv_lib_m_truncl=yes
29584 else
29585   echo "$as_me: failed program was:" >&5
29586 sed 's/^/| /' conftest.$ac_ext >&5
29587
29588 ac_cv_lib_m_truncl=no
29589 fi
29590 rm -f conftest.err conftest.$ac_objext \
29591       conftest$ac_exeext conftest.$ac_ext
29592 LIBS=$ac_check_lib_save_LIBS
29593 fi
29594 echo "$as_me:$LINENO: result: $ac_cv_lib_m_truncl" >&5
29595 echo "${ECHO_T}$ac_cv_lib_m_truncl" >&6
29596 if test $ac_cv_lib_m_truncl = yes; then
29597
29598 cat >>confdefs.h <<\_ACEOF
29599 #define HAVE_TRUNCL 1
29600 _ACEOF
29601
29602 fi
29603
29604 echo "$as_me:$LINENO: checking for erff in -lm" >&5
29605 echo $ECHO_N "checking for erff in -lm... $ECHO_C" >&6
29606 if test "${ac_cv_lib_m_erff+set}" = set; then
29607   echo $ECHO_N "(cached) $ECHO_C" >&6
29608 else
29609   ac_check_lib_save_LIBS=$LIBS
29610 LIBS="-lm  $LIBS"
29611 if test x$gcc_no_link = xyes; then
29612   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29613 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29614    { (exit 1); exit 1; }; }
29615 fi
29616 cat >conftest.$ac_ext <<_ACEOF
29617 /* confdefs.h.  */
29618 _ACEOF
29619 cat confdefs.h >>conftest.$ac_ext
29620 cat >>conftest.$ac_ext <<_ACEOF
29621 /* end confdefs.h.  */
29622
29623 /* Override any gcc2 internal prototype to avoid an error.  */
29624 #ifdef __cplusplus
29625 extern "C"
29626 #endif
29627 /* We use char because int might match the return type of a gcc2
29628    builtin and then its argument prototype would still apply.  */
29629 char erff ();
29630 int
29631 main ()
29632 {
29633 erff ();
29634   ;
29635   return 0;
29636 }
29637 _ACEOF
29638 rm -f conftest.$ac_objext conftest$ac_exeext
29639 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29640   (eval $ac_link) 2>conftest.er1
29641   ac_status=$?
29642   grep -v '^ *+' conftest.er1 >conftest.err
29643   rm -f conftest.er1
29644   cat conftest.err >&5
29645   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29646   (exit $ac_status); } &&
29647          { ac_try='test -z "$ac_c_werror_flag"
29648                          || test ! -s conftest.err'
29649   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29650   (eval $ac_try) 2>&5
29651   ac_status=$?
29652   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29653   (exit $ac_status); }; } &&
29654          { ac_try='test -s conftest$ac_exeext'
29655   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29656   (eval $ac_try) 2>&5
29657   ac_status=$?
29658   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29659   (exit $ac_status); }; }; then
29660   ac_cv_lib_m_erff=yes
29661 else
29662   echo "$as_me: failed program was:" >&5
29663 sed 's/^/| /' conftest.$ac_ext >&5
29664
29665 ac_cv_lib_m_erff=no
29666 fi
29667 rm -f conftest.err conftest.$ac_objext \
29668       conftest$ac_exeext conftest.$ac_ext
29669 LIBS=$ac_check_lib_save_LIBS
29670 fi
29671 echo "$as_me:$LINENO: result: $ac_cv_lib_m_erff" >&5
29672 echo "${ECHO_T}$ac_cv_lib_m_erff" >&6
29673 if test $ac_cv_lib_m_erff = yes; then
29674
29675 cat >>confdefs.h <<\_ACEOF
29676 #define HAVE_ERFF 1
29677 _ACEOF
29678
29679 fi
29680
29681 echo "$as_me:$LINENO: checking for erf in -lm" >&5
29682 echo $ECHO_N "checking for erf in -lm... $ECHO_C" >&6
29683 if test "${ac_cv_lib_m_erf+set}" = set; then
29684   echo $ECHO_N "(cached) $ECHO_C" >&6
29685 else
29686   ac_check_lib_save_LIBS=$LIBS
29687 LIBS="-lm  $LIBS"
29688 if test x$gcc_no_link = xyes; then
29689   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29690 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29691    { (exit 1); exit 1; }; }
29692 fi
29693 cat >conftest.$ac_ext <<_ACEOF
29694 /* confdefs.h.  */
29695 _ACEOF
29696 cat confdefs.h >>conftest.$ac_ext
29697 cat >>conftest.$ac_ext <<_ACEOF
29698 /* end confdefs.h.  */
29699
29700 /* Override any gcc2 internal prototype to avoid an error.  */
29701 #ifdef __cplusplus
29702 extern "C"
29703 #endif
29704 /* We use char because int might match the return type of a gcc2
29705    builtin and then its argument prototype would still apply.  */
29706 char erf ();
29707 int
29708 main ()
29709 {
29710 erf ();
29711   ;
29712   return 0;
29713 }
29714 _ACEOF
29715 rm -f conftest.$ac_objext conftest$ac_exeext
29716 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29717   (eval $ac_link) 2>conftest.er1
29718   ac_status=$?
29719   grep -v '^ *+' conftest.er1 >conftest.err
29720   rm -f conftest.er1
29721   cat conftest.err >&5
29722   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29723   (exit $ac_status); } &&
29724          { ac_try='test -z "$ac_c_werror_flag"
29725                          || test ! -s conftest.err'
29726   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29727   (eval $ac_try) 2>&5
29728   ac_status=$?
29729   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29730   (exit $ac_status); }; } &&
29731          { ac_try='test -s conftest$ac_exeext'
29732   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29733   (eval $ac_try) 2>&5
29734   ac_status=$?
29735   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29736   (exit $ac_status); }; }; then
29737   ac_cv_lib_m_erf=yes
29738 else
29739   echo "$as_me: failed program was:" >&5
29740 sed 's/^/| /' conftest.$ac_ext >&5
29741
29742 ac_cv_lib_m_erf=no
29743 fi
29744 rm -f conftest.err conftest.$ac_objext \
29745       conftest$ac_exeext conftest.$ac_ext
29746 LIBS=$ac_check_lib_save_LIBS
29747 fi
29748 echo "$as_me:$LINENO: result: $ac_cv_lib_m_erf" >&5
29749 echo "${ECHO_T}$ac_cv_lib_m_erf" >&6
29750 if test $ac_cv_lib_m_erf = yes; then
29751
29752 cat >>confdefs.h <<\_ACEOF
29753 #define HAVE_ERF 1
29754 _ACEOF
29755
29756 fi
29757
29758 echo "$as_me:$LINENO: checking for erfl in -lm" >&5
29759 echo $ECHO_N "checking for erfl in -lm... $ECHO_C" >&6
29760 if test "${ac_cv_lib_m_erfl+set}" = set; then
29761   echo $ECHO_N "(cached) $ECHO_C" >&6
29762 else
29763   ac_check_lib_save_LIBS=$LIBS
29764 LIBS="-lm  $LIBS"
29765 if test x$gcc_no_link = xyes; then
29766   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29767 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29768    { (exit 1); exit 1; }; }
29769 fi
29770 cat >conftest.$ac_ext <<_ACEOF
29771 /* confdefs.h.  */
29772 _ACEOF
29773 cat confdefs.h >>conftest.$ac_ext
29774 cat >>conftest.$ac_ext <<_ACEOF
29775 /* end confdefs.h.  */
29776
29777 /* Override any gcc2 internal prototype to avoid an error.  */
29778 #ifdef __cplusplus
29779 extern "C"
29780 #endif
29781 /* We use char because int might match the return type of a gcc2
29782    builtin and then its argument prototype would still apply.  */
29783 char erfl ();
29784 int
29785 main ()
29786 {
29787 erfl ();
29788   ;
29789   return 0;
29790 }
29791 _ACEOF
29792 rm -f conftest.$ac_objext conftest$ac_exeext
29793 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29794   (eval $ac_link) 2>conftest.er1
29795   ac_status=$?
29796   grep -v '^ *+' conftest.er1 >conftest.err
29797   rm -f conftest.er1
29798   cat conftest.err >&5
29799   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29800   (exit $ac_status); } &&
29801          { ac_try='test -z "$ac_c_werror_flag"
29802                          || test ! -s conftest.err'
29803   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29804   (eval $ac_try) 2>&5
29805   ac_status=$?
29806   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29807   (exit $ac_status); }; } &&
29808          { ac_try='test -s conftest$ac_exeext'
29809   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29810   (eval $ac_try) 2>&5
29811   ac_status=$?
29812   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29813   (exit $ac_status); }; }; then
29814   ac_cv_lib_m_erfl=yes
29815 else
29816   echo "$as_me: failed program was:" >&5
29817 sed 's/^/| /' conftest.$ac_ext >&5
29818
29819 ac_cv_lib_m_erfl=no
29820 fi
29821 rm -f conftest.err conftest.$ac_objext \
29822       conftest$ac_exeext conftest.$ac_ext
29823 LIBS=$ac_check_lib_save_LIBS
29824 fi
29825 echo "$as_me:$LINENO: result: $ac_cv_lib_m_erfl" >&5
29826 echo "${ECHO_T}$ac_cv_lib_m_erfl" >&6
29827 if test $ac_cv_lib_m_erfl = yes; then
29828
29829 cat >>confdefs.h <<\_ACEOF
29830 #define HAVE_ERFL 1
29831 _ACEOF
29832
29833 fi
29834
29835 echo "$as_me:$LINENO: checking for erfcf in -lm" >&5
29836 echo $ECHO_N "checking for erfcf in -lm... $ECHO_C" >&6
29837 if test "${ac_cv_lib_m_erfcf+set}" = set; then
29838   echo $ECHO_N "(cached) $ECHO_C" >&6
29839 else
29840   ac_check_lib_save_LIBS=$LIBS
29841 LIBS="-lm  $LIBS"
29842 if test x$gcc_no_link = xyes; then
29843   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29844 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29845    { (exit 1); exit 1; }; }
29846 fi
29847 cat >conftest.$ac_ext <<_ACEOF
29848 /* confdefs.h.  */
29849 _ACEOF
29850 cat confdefs.h >>conftest.$ac_ext
29851 cat >>conftest.$ac_ext <<_ACEOF
29852 /* end confdefs.h.  */
29853
29854 /* Override any gcc2 internal prototype to avoid an error.  */
29855 #ifdef __cplusplus
29856 extern "C"
29857 #endif
29858 /* We use char because int might match the return type of a gcc2
29859    builtin and then its argument prototype would still apply.  */
29860 char erfcf ();
29861 int
29862 main ()
29863 {
29864 erfcf ();
29865   ;
29866   return 0;
29867 }
29868 _ACEOF
29869 rm -f conftest.$ac_objext conftest$ac_exeext
29870 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29871   (eval $ac_link) 2>conftest.er1
29872   ac_status=$?
29873   grep -v '^ *+' conftest.er1 >conftest.err
29874   rm -f conftest.er1
29875   cat conftest.err >&5
29876   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29877   (exit $ac_status); } &&
29878          { ac_try='test -z "$ac_c_werror_flag"
29879                          || test ! -s conftest.err'
29880   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29881   (eval $ac_try) 2>&5
29882   ac_status=$?
29883   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29884   (exit $ac_status); }; } &&
29885          { ac_try='test -s conftest$ac_exeext'
29886   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29887   (eval $ac_try) 2>&5
29888   ac_status=$?
29889   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29890   (exit $ac_status); }; }; then
29891   ac_cv_lib_m_erfcf=yes
29892 else
29893   echo "$as_me: failed program was:" >&5
29894 sed 's/^/| /' conftest.$ac_ext >&5
29895
29896 ac_cv_lib_m_erfcf=no
29897 fi
29898 rm -f conftest.err conftest.$ac_objext \
29899       conftest$ac_exeext conftest.$ac_ext
29900 LIBS=$ac_check_lib_save_LIBS
29901 fi
29902 echo "$as_me:$LINENO: result: $ac_cv_lib_m_erfcf" >&5
29903 echo "${ECHO_T}$ac_cv_lib_m_erfcf" >&6
29904 if test $ac_cv_lib_m_erfcf = yes; then
29905
29906 cat >>confdefs.h <<\_ACEOF
29907 #define HAVE_ERFCF 1
29908 _ACEOF
29909
29910 fi
29911
29912 echo "$as_me:$LINENO: checking for erfc in -lm" >&5
29913 echo $ECHO_N "checking for erfc in -lm... $ECHO_C" >&6
29914 if test "${ac_cv_lib_m_erfc+set}" = set; then
29915   echo $ECHO_N "(cached) $ECHO_C" >&6
29916 else
29917   ac_check_lib_save_LIBS=$LIBS
29918 LIBS="-lm  $LIBS"
29919 if test x$gcc_no_link = xyes; then
29920   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29921 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29922    { (exit 1); exit 1; }; }
29923 fi
29924 cat >conftest.$ac_ext <<_ACEOF
29925 /* confdefs.h.  */
29926 _ACEOF
29927 cat confdefs.h >>conftest.$ac_ext
29928 cat >>conftest.$ac_ext <<_ACEOF
29929 /* end confdefs.h.  */
29930
29931 /* Override any gcc2 internal prototype to avoid an error.  */
29932 #ifdef __cplusplus
29933 extern "C"
29934 #endif
29935 /* We use char because int might match the return type of a gcc2
29936    builtin and then its argument prototype would still apply.  */
29937 char erfc ();
29938 int
29939 main ()
29940 {
29941 erfc ();
29942   ;
29943   return 0;
29944 }
29945 _ACEOF
29946 rm -f conftest.$ac_objext conftest$ac_exeext
29947 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29948   (eval $ac_link) 2>conftest.er1
29949   ac_status=$?
29950   grep -v '^ *+' conftest.er1 >conftest.err
29951   rm -f conftest.er1
29952   cat conftest.err >&5
29953   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29954   (exit $ac_status); } &&
29955          { ac_try='test -z "$ac_c_werror_flag"
29956                          || test ! -s conftest.err'
29957   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29958   (eval $ac_try) 2>&5
29959   ac_status=$?
29960   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29961   (exit $ac_status); }; } &&
29962          { ac_try='test -s conftest$ac_exeext'
29963   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29964   (eval $ac_try) 2>&5
29965   ac_status=$?
29966   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29967   (exit $ac_status); }; }; then
29968   ac_cv_lib_m_erfc=yes
29969 else
29970   echo "$as_me: failed program was:" >&5
29971 sed 's/^/| /' conftest.$ac_ext >&5
29972
29973 ac_cv_lib_m_erfc=no
29974 fi
29975 rm -f conftest.err conftest.$ac_objext \
29976       conftest$ac_exeext conftest.$ac_ext
29977 LIBS=$ac_check_lib_save_LIBS
29978 fi
29979 echo "$as_me:$LINENO: result: $ac_cv_lib_m_erfc" >&5
29980 echo "${ECHO_T}$ac_cv_lib_m_erfc" >&6
29981 if test $ac_cv_lib_m_erfc = yes; then
29982
29983 cat >>confdefs.h <<\_ACEOF
29984 #define HAVE_ERFC 1
29985 _ACEOF
29986
29987 fi
29988
29989 echo "$as_me:$LINENO: checking for erfcl in -lm" >&5
29990 echo $ECHO_N "checking for erfcl in -lm... $ECHO_C" >&6
29991 if test "${ac_cv_lib_m_erfcl+set}" = set; then
29992   echo $ECHO_N "(cached) $ECHO_C" >&6
29993 else
29994   ac_check_lib_save_LIBS=$LIBS
29995 LIBS="-lm  $LIBS"
29996 if test x$gcc_no_link = xyes; then
29997   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29998 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29999    { (exit 1); exit 1; }; }
30000 fi
30001 cat >conftest.$ac_ext <<_ACEOF
30002 /* confdefs.h.  */
30003 _ACEOF
30004 cat confdefs.h >>conftest.$ac_ext
30005 cat >>conftest.$ac_ext <<_ACEOF
30006 /* end confdefs.h.  */
30007
30008 /* Override any gcc2 internal prototype to avoid an error.  */
30009 #ifdef __cplusplus
30010 extern "C"
30011 #endif
30012 /* We use char because int might match the return type of a gcc2
30013    builtin and then its argument prototype would still apply.  */
30014 char erfcl ();
30015 int
30016 main ()
30017 {
30018 erfcl ();
30019   ;
30020   return 0;
30021 }
30022 _ACEOF
30023 rm -f conftest.$ac_objext conftest$ac_exeext
30024 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30025   (eval $ac_link) 2>conftest.er1
30026   ac_status=$?
30027   grep -v '^ *+' conftest.er1 >conftest.err
30028   rm -f conftest.er1
30029   cat conftest.err >&5
30030   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30031   (exit $ac_status); } &&
30032          { ac_try='test -z "$ac_c_werror_flag"
30033                          || test ! -s conftest.err'
30034   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30035   (eval $ac_try) 2>&5
30036   ac_status=$?
30037   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30038   (exit $ac_status); }; } &&
30039          { ac_try='test -s conftest$ac_exeext'
30040   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30041   (eval $ac_try) 2>&5
30042   ac_status=$?
30043   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30044   (exit $ac_status); }; }; then
30045   ac_cv_lib_m_erfcl=yes
30046 else
30047   echo "$as_me: failed program was:" >&5
30048 sed 's/^/| /' conftest.$ac_ext >&5
30049
30050 ac_cv_lib_m_erfcl=no
30051 fi
30052 rm -f conftest.err conftest.$ac_objext \
30053       conftest$ac_exeext conftest.$ac_ext
30054 LIBS=$ac_check_lib_save_LIBS
30055 fi
30056 echo "$as_me:$LINENO: result: $ac_cv_lib_m_erfcl" >&5
30057 echo "${ECHO_T}$ac_cv_lib_m_erfcl" >&6
30058 if test $ac_cv_lib_m_erfcl = yes; then
30059
30060 cat >>confdefs.h <<\_ACEOF
30061 #define HAVE_ERFCL 1
30062 _ACEOF
30063
30064 fi
30065
30066 echo "$as_me:$LINENO: checking for j0f in -lm" >&5
30067 echo $ECHO_N "checking for j0f in -lm... $ECHO_C" >&6
30068 if test "${ac_cv_lib_m_j0f+set}" = set; then
30069   echo $ECHO_N "(cached) $ECHO_C" >&6
30070 else
30071   ac_check_lib_save_LIBS=$LIBS
30072 LIBS="-lm  $LIBS"
30073 if test x$gcc_no_link = xyes; then
30074   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30075 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30076    { (exit 1); exit 1; }; }
30077 fi
30078 cat >conftest.$ac_ext <<_ACEOF
30079 /* confdefs.h.  */
30080 _ACEOF
30081 cat confdefs.h >>conftest.$ac_ext
30082 cat >>conftest.$ac_ext <<_ACEOF
30083 /* end confdefs.h.  */
30084
30085 /* Override any gcc2 internal prototype to avoid an error.  */
30086 #ifdef __cplusplus
30087 extern "C"
30088 #endif
30089 /* We use char because int might match the return type of a gcc2
30090    builtin and then its argument prototype would still apply.  */
30091 char j0f ();
30092 int
30093 main ()
30094 {
30095 j0f ();
30096   ;
30097   return 0;
30098 }
30099 _ACEOF
30100 rm -f conftest.$ac_objext conftest$ac_exeext
30101 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30102   (eval $ac_link) 2>conftest.er1
30103   ac_status=$?
30104   grep -v '^ *+' conftest.er1 >conftest.err
30105   rm -f conftest.er1
30106   cat conftest.err >&5
30107   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30108   (exit $ac_status); } &&
30109          { ac_try='test -z "$ac_c_werror_flag"
30110                          || test ! -s conftest.err'
30111   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30112   (eval $ac_try) 2>&5
30113   ac_status=$?
30114   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30115   (exit $ac_status); }; } &&
30116          { ac_try='test -s conftest$ac_exeext'
30117   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30118   (eval $ac_try) 2>&5
30119   ac_status=$?
30120   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30121   (exit $ac_status); }; }; then
30122   ac_cv_lib_m_j0f=yes
30123 else
30124   echo "$as_me: failed program was:" >&5
30125 sed 's/^/| /' conftest.$ac_ext >&5
30126
30127 ac_cv_lib_m_j0f=no
30128 fi
30129 rm -f conftest.err conftest.$ac_objext \
30130       conftest$ac_exeext conftest.$ac_ext
30131 LIBS=$ac_check_lib_save_LIBS
30132 fi
30133 echo "$as_me:$LINENO: result: $ac_cv_lib_m_j0f" >&5
30134 echo "${ECHO_T}$ac_cv_lib_m_j0f" >&6
30135 if test $ac_cv_lib_m_j0f = yes; then
30136
30137 cat >>confdefs.h <<\_ACEOF
30138 #define HAVE_J0F 1
30139 _ACEOF
30140
30141 fi
30142
30143 echo "$as_me:$LINENO: checking for j0 in -lm" >&5
30144 echo $ECHO_N "checking for j0 in -lm... $ECHO_C" >&6
30145 if test "${ac_cv_lib_m_j0+set}" = set; then
30146   echo $ECHO_N "(cached) $ECHO_C" >&6
30147 else
30148   ac_check_lib_save_LIBS=$LIBS
30149 LIBS="-lm  $LIBS"
30150 if test x$gcc_no_link = xyes; then
30151   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30152 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30153    { (exit 1); exit 1; }; }
30154 fi
30155 cat >conftest.$ac_ext <<_ACEOF
30156 /* confdefs.h.  */
30157 _ACEOF
30158 cat confdefs.h >>conftest.$ac_ext
30159 cat >>conftest.$ac_ext <<_ACEOF
30160 /* end confdefs.h.  */
30161
30162 /* Override any gcc2 internal prototype to avoid an error.  */
30163 #ifdef __cplusplus
30164 extern "C"
30165 #endif
30166 /* We use char because int might match the return type of a gcc2
30167    builtin and then its argument prototype would still apply.  */
30168 char j0 ();
30169 int
30170 main ()
30171 {
30172 j0 ();
30173   ;
30174   return 0;
30175 }
30176 _ACEOF
30177 rm -f conftest.$ac_objext conftest$ac_exeext
30178 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30179   (eval $ac_link) 2>conftest.er1
30180   ac_status=$?
30181   grep -v '^ *+' conftest.er1 >conftest.err
30182   rm -f conftest.er1
30183   cat conftest.err >&5
30184   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30185   (exit $ac_status); } &&
30186          { ac_try='test -z "$ac_c_werror_flag"
30187                          || test ! -s conftest.err'
30188   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30189   (eval $ac_try) 2>&5
30190   ac_status=$?
30191   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30192   (exit $ac_status); }; } &&
30193          { ac_try='test -s conftest$ac_exeext'
30194   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30195   (eval $ac_try) 2>&5
30196   ac_status=$?
30197   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30198   (exit $ac_status); }; }; then
30199   ac_cv_lib_m_j0=yes
30200 else
30201   echo "$as_me: failed program was:" >&5
30202 sed 's/^/| /' conftest.$ac_ext >&5
30203
30204 ac_cv_lib_m_j0=no
30205 fi
30206 rm -f conftest.err conftest.$ac_objext \
30207       conftest$ac_exeext conftest.$ac_ext
30208 LIBS=$ac_check_lib_save_LIBS
30209 fi
30210 echo "$as_me:$LINENO: result: $ac_cv_lib_m_j0" >&5
30211 echo "${ECHO_T}$ac_cv_lib_m_j0" >&6
30212 if test $ac_cv_lib_m_j0 = yes; then
30213
30214 cat >>confdefs.h <<\_ACEOF
30215 #define HAVE_J0 1
30216 _ACEOF
30217
30218 fi
30219
30220 echo "$as_me:$LINENO: checking for j0l in -lm" >&5
30221 echo $ECHO_N "checking for j0l in -lm... $ECHO_C" >&6
30222 if test "${ac_cv_lib_m_j0l+set}" = set; then
30223   echo $ECHO_N "(cached) $ECHO_C" >&6
30224 else
30225   ac_check_lib_save_LIBS=$LIBS
30226 LIBS="-lm  $LIBS"
30227 if test x$gcc_no_link = xyes; then
30228   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30229 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30230    { (exit 1); exit 1; }; }
30231 fi
30232 cat >conftest.$ac_ext <<_ACEOF
30233 /* confdefs.h.  */
30234 _ACEOF
30235 cat confdefs.h >>conftest.$ac_ext
30236 cat >>conftest.$ac_ext <<_ACEOF
30237 /* end confdefs.h.  */
30238
30239 /* Override any gcc2 internal prototype to avoid an error.  */
30240 #ifdef __cplusplus
30241 extern "C"
30242 #endif
30243 /* We use char because int might match the return type of a gcc2
30244    builtin and then its argument prototype would still apply.  */
30245 char j0l ();
30246 int
30247 main ()
30248 {
30249 j0l ();
30250   ;
30251   return 0;
30252 }
30253 _ACEOF
30254 rm -f conftest.$ac_objext conftest$ac_exeext
30255 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30256   (eval $ac_link) 2>conftest.er1
30257   ac_status=$?
30258   grep -v '^ *+' conftest.er1 >conftest.err
30259   rm -f conftest.er1
30260   cat conftest.err >&5
30261   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30262   (exit $ac_status); } &&
30263          { ac_try='test -z "$ac_c_werror_flag"
30264                          || test ! -s conftest.err'
30265   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30266   (eval $ac_try) 2>&5
30267   ac_status=$?
30268   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30269   (exit $ac_status); }; } &&
30270          { ac_try='test -s conftest$ac_exeext'
30271   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30272   (eval $ac_try) 2>&5
30273   ac_status=$?
30274   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30275   (exit $ac_status); }; }; then
30276   ac_cv_lib_m_j0l=yes
30277 else
30278   echo "$as_me: failed program was:" >&5
30279 sed 's/^/| /' conftest.$ac_ext >&5
30280
30281 ac_cv_lib_m_j0l=no
30282 fi
30283 rm -f conftest.err conftest.$ac_objext \
30284       conftest$ac_exeext conftest.$ac_ext
30285 LIBS=$ac_check_lib_save_LIBS
30286 fi
30287 echo "$as_me:$LINENO: result: $ac_cv_lib_m_j0l" >&5
30288 echo "${ECHO_T}$ac_cv_lib_m_j0l" >&6
30289 if test $ac_cv_lib_m_j0l = yes; then
30290
30291 cat >>confdefs.h <<\_ACEOF
30292 #define HAVE_J0L 1
30293 _ACEOF
30294
30295 fi
30296
30297 echo "$as_me:$LINENO: checking for j1f in -lm" >&5
30298 echo $ECHO_N "checking for j1f in -lm... $ECHO_C" >&6
30299 if test "${ac_cv_lib_m_j1f+set}" = set; then
30300   echo $ECHO_N "(cached) $ECHO_C" >&6
30301 else
30302   ac_check_lib_save_LIBS=$LIBS
30303 LIBS="-lm  $LIBS"
30304 if test x$gcc_no_link = xyes; then
30305   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30306 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30307    { (exit 1); exit 1; }; }
30308 fi
30309 cat >conftest.$ac_ext <<_ACEOF
30310 /* confdefs.h.  */
30311 _ACEOF
30312 cat confdefs.h >>conftest.$ac_ext
30313 cat >>conftest.$ac_ext <<_ACEOF
30314 /* end confdefs.h.  */
30315
30316 /* Override any gcc2 internal prototype to avoid an error.  */
30317 #ifdef __cplusplus
30318 extern "C"
30319 #endif
30320 /* We use char because int might match the return type of a gcc2
30321    builtin and then its argument prototype would still apply.  */
30322 char j1f ();
30323 int
30324 main ()
30325 {
30326 j1f ();
30327   ;
30328   return 0;
30329 }
30330 _ACEOF
30331 rm -f conftest.$ac_objext conftest$ac_exeext
30332 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30333   (eval $ac_link) 2>conftest.er1
30334   ac_status=$?
30335   grep -v '^ *+' conftest.er1 >conftest.err
30336   rm -f conftest.er1
30337   cat conftest.err >&5
30338   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30339   (exit $ac_status); } &&
30340          { ac_try='test -z "$ac_c_werror_flag"
30341                          || test ! -s conftest.err'
30342   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30343   (eval $ac_try) 2>&5
30344   ac_status=$?
30345   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30346   (exit $ac_status); }; } &&
30347          { ac_try='test -s conftest$ac_exeext'
30348   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30349   (eval $ac_try) 2>&5
30350   ac_status=$?
30351   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30352   (exit $ac_status); }; }; then
30353   ac_cv_lib_m_j1f=yes
30354 else
30355   echo "$as_me: failed program was:" >&5
30356 sed 's/^/| /' conftest.$ac_ext >&5
30357
30358 ac_cv_lib_m_j1f=no
30359 fi
30360 rm -f conftest.err conftest.$ac_objext \
30361       conftest$ac_exeext conftest.$ac_ext
30362 LIBS=$ac_check_lib_save_LIBS
30363 fi
30364 echo "$as_me:$LINENO: result: $ac_cv_lib_m_j1f" >&5
30365 echo "${ECHO_T}$ac_cv_lib_m_j1f" >&6
30366 if test $ac_cv_lib_m_j1f = yes; then
30367
30368 cat >>confdefs.h <<\_ACEOF
30369 #define HAVE_J1F 1
30370 _ACEOF
30371
30372 fi
30373
30374 echo "$as_me:$LINENO: checking for j1 in -lm" >&5
30375 echo $ECHO_N "checking for j1 in -lm... $ECHO_C" >&6
30376 if test "${ac_cv_lib_m_j1+set}" = set; then
30377   echo $ECHO_N "(cached) $ECHO_C" >&6
30378 else
30379   ac_check_lib_save_LIBS=$LIBS
30380 LIBS="-lm  $LIBS"
30381 if test x$gcc_no_link = xyes; then
30382   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30383 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30384    { (exit 1); exit 1; }; }
30385 fi
30386 cat >conftest.$ac_ext <<_ACEOF
30387 /* confdefs.h.  */
30388 _ACEOF
30389 cat confdefs.h >>conftest.$ac_ext
30390 cat >>conftest.$ac_ext <<_ACEOF
30391 /* end confdefs.h.  */
30392
30393 /* Override any gcc2 internal prototype to avoid an error.  */
30394 #ifdef __cplusplus
30395 extern "C"
30396 #endif
30397 /* We use char because int might match the return type of a gcc2
30398    builtin and then its argument prototype would still apply.  */
30399 char j1 ();
30400 int
30401 main ()
30402 {
30403 j1 ();
30404   ;
30405   return 0;
30406 }
30407 _ACEOF
30408 rm -f conftest.$ac_objext conftest$ac_exeext
30409 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30410   (eval $ac_link) 2>conftest.er1
30411   ac_status=$?
30412   grep -v '^ *+' conftest.er1 >conftest.err
30413   rm -f conftest.er1
30414   cat conftest.err >&5
30415   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30416   (exit $ac_status); } &&
30417          { ac_try='test -z "$ac_c_werror_flag"
30418                          || test ! -s conftest.err'
30419   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30420   (eval $ac_try) 2>&5
30421   ac_status=$?
30422   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30423   (exit $ac_status); }; } &&
30424          { ac_try='test -s conftest$ac_exeext'
30425   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30426   (eval $ac_try) 2>&5
30427   ac_status=$?
30428   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30429   (exit $ac_status); }; }; then
30430   ac_cv_lib_m_j1=yes
30431 else
30432   echo "$as_me: failed program was:" >&5
30433 sed 's/^/| /' conftest.$ac_ext >&5
30434
30435 ac_cv_lib_m_j1=no
30436 fi
30437 rm -f conftest.err conftest.$ac_objext \
30438       conftest$ac_exeext conftest.$ac_ext
30439 LIBS=$ac_check_lib_save_LIBS
30440 fi
30441 echo "$as_me:$LINENO: result: $ac_cv_lib_m_j1" >&5
30442 echo "${ECHO_T}$ac_cv_lib_m_j1" >&6
30443 if test $ac_cv_lib_m_j1 = yes; then
30444
30445 cat >>confdefs.h <<\_ACEOF
30446 #define HAVE_J1 1
30447 _ACEOF
30448
30449 fi
30450
30451 echo "$as_me:$LINENO: checking for j1l in -lm" >&5
30452 echo $ECHO_N "checking for j1l in -lm... $ECHO_C" >&6
30453 if test "${ac_cv_lib_m_j1l+set}" = set; then
30454   echo $ECHO_N "(cached) $ECHO_C" >&6
30455 else
30456   ac_check_lib_save_LIBS=$LIBS
30457 LIBS="-lm  $LIBS"
30458 if test x$gcc_no_link = xyes; then
30459   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30460 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30461    { (exit 1); exit 1; }; }
30462 fi
30463 cat >conftest.$ac_ext <<_ACEOF
30464 /* confdefs.h.  */
30465 _ACEOF
30466 cat confdefs.h >>conftest.$ac_ext
30467 cat >>conftest.$ac_ext <<_ACEOF
30468 /* end confdefs.h.  */
30469
30470 /* Override any gcc2 internal prototype to avoid an error.  */
30471 #ifdef __cplusplus
30472 extern "C"
30473 #endif
30474 /* We use char because int might match the return type of a gcc2
30475    builtin and then its argument prototype would still apply.  */
30476 char j1l ();
30477 int
30478 main ()
30479 {
30480 j1l ();
30481   ;
30482   return 0;
30483 }
30484 _ACEOF
30485 rm -f conftest.$ac_objext conftest$ac_exeext
30486 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30487   (eval $ac_link) 2>conftest.er1
30488   ac_status=$?
30489   grep -v '^ *+' conftest.er1 >conftest.err
30490   rm -f conftest.er1
30491   cat conftest.err >&5
30492   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30493   (exit $ac_status); } &&
30494          { ac_try='test -z "$ac_c_werror_flag"
30495                          || test ! -s conftest.err'
30496   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30497   (eval $ac_try) 2>&5
30498   ac_status=$?
30499   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30500   (exit $ac_status); }; } &&
30501          { ac_try='test -s conftest$ac_exeext'
30502   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30503   (eval $ac_try) 2>&5
30504   ac_status=$?
30505   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30506   (exit $ac_status); }; }; then
30507   ac_cv_lib_m_j1l=yes
30508 else
30509   echo "$as_me: failed program was:" >&5
30510 sed 's/^/| /' conftest.$ac_ext >&5
30511
30512 ac_cv_lib_m_j1l=no
30513 fi
30514 rm -f conftest.err conftest.$ac_objext \
30515       conftest$ac_exeext conftest.$ac_ext
30516 LIBS=$ac_check_lib_save_LIBS
30517 fi
30518 echo "$as_me:$LINENO: result: $ac_cv_lib_m_j1l" >&5
30519 echo "${ECHO_T}$ac_cv_lib_m_j1l" >&6
30520 if test $ac_cv_lib_m_j1l = yes; then
30521
30522 cat >>confdefs.h <<\_ACEOF
30523 #define HAVE_J1L 1
30524 _ACEOF
30525
30526 fi
30527
30528 echo "$as_me:$LINENO: checking for jnf in -lm" >&5
30529 echo $ECHO_N "checking for jnf in -lm... $ECHO_C" >&6
30530 if test "${ac_cv_lib_m_jnf+set}" = set; then
30531   echo $ECHO_N "(cached) $ECHO_C" >&6
30532 else
30533   ac_check_lib_save_LIBS=$LIBS
30534 LIBS="-lm  $LIBS"
30535 if test x$gcc_no_link = xyes; then
30536   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30537 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30538    { (exit 1); exit 1; }; }
30539 fi
30540 cat >conftest.$ac_ext <<_ACEOF
30541 /* confdefs.h.  */
30542 _ACEOF
30543 cat confdefs.h >>conftest.$ac_ext
30544 cat >>conftest.$ac_ext <<_ACEOF
30545 /* end confdefs.h.  */
30546
30547 /* Override any gcc2 internal prototype to avoid an error.  */
30548 #ifdef __cplusplus
30549 extern "C"
30550 #endif
30551 /* We use char because int might match the return type of a gcc2
30552    builtin and then its argument prototype would still apply.  */
30553 char jnf ();
30554 int
30555 main ()
30556 {
30557 jnf ();
30558   ;
30559   return 0;
30560 }
30561 _ACEOF
30562 rm -f conftest.$ac_objext conftest$ac_exeext
30563 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30564   (eval $ac_link) 2>conftest.er1
30565   ac_status=$?
30566   grep -v '^ *+' conftest.er1 >conftest.err
30567   rm -f conftest.er1
30568   cat conftest.err >&5
30569   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30570   (exit $ac_status); } &&
30571          { ac_try='test -z "$ac_c_werror_flag"
30572                          || test ! -s conftest.err'
30573   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30574   (eval $ac_try) 2>&5
30575   ac_status=$?
30576   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30577   (exit $ac_status); }; } &&
30578          { ac_try='test -s conftest$ac_exeext'
30579   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30580   (eval $ac_try) 2>&5
30581   ac_status=$?
30582   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30583   (exit $ac_status); }; }; then
30584   ac_cv_lib_m_jnf=yes
30585 else
30586   echo "$as_me: failed program was:" >&5
30587 sed 's/^/| /' conftest.$ac_ext >&5
30588
30589 ac_cv_lib_m_jnf=no
30590 fi
30591 rm -f conftest.err conftest.$ac_objext \
30592       conftest$ac_exeext conftest.$ac_ext
30593 LIBS=$ac_check_lib_save_LIBS
30594 fi
30595 echo "$as_me:$LINENO: result: $ac_cv_lib_m_jnf" >&5
30596 echo "${ECHO_T}$ac_cv_lib_m_jnf" >&6
30597 if test $ac_cv_lib_m_jnf = yes; then
30598
30599 cat >>confdefs.h <<\_ACEOF
30600 #define HAVE_JNF 1
30601 _ACEOF
30602
30603 fi
30604
30605 echo "$as_me:$LINENO: checking for jn in -lm" >&5
30606 echo $ECHO_N "checking for jn in -lm... $ECHO_C" >&6
30607 if test "${ac_cv_lib_m_jn+set}" = set; then
30608   echo $ECHO_N "(cached) $ECHO_C" >&6
30609 else
30610   ac_check_lib_save_LIBS=$LIBS
30611 LIBS="-lm  $LIBS"
30612 if test x$gcc_no_link = xyes; then
30613   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30614 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30615    { (exit 1); exit 1; }; }
30616 fi
30617 cat >conftest.$ac_ext <<_ACEOF
30618 /* confdefs.h.  */
30619 _ACEOF
30620 cat confdefs.h >>conftest.$ac_ext
30621 cat >>conftest.$ac_ext <<_ACEOF
30622 /* end confdefs.h.  */
30623
30624 /* Override any gcc2 internal prototype to avoid an error.  */
30625 #ifdef __cplusplus
30626 extern "C"
30627 #endif
30628 /* We use char because int might match the return type of a gcc2
30629    builtin and then its argument prototype would still apply.  */
30630 char jn ();
30631 int
30632 main ()
30633 {
30634 jn ();
30635   ;
30636   return 0;
30637 }
30638 _ACEOF
30639 rm -f conftest.$ac_objext conftest$ac_exeext
30640 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30641   (eval $ac_link) 2>conftest.er1
30642   ac_status=$?
30643   grep -v '^ *+' conftest.er1 >conftest.err
30644   rm -f conftest.er1
30645   cat conftest.err >&5
30646   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30647   (exit $ac_status); } &&
30648          { ac_try='test -z "$ac_c_werror_flag"
30649                          || test ! -s conftest.err'
30650   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30651   (eval $ac_try) 2>&5
30652   ac_status=$?
30653   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30654   (exit $ac_status); }; } &&
30655          { ac_try='test -s conftest$ac_exeext'
30656   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30657   (eval $ac_try) 2>&5
30658   ac_status=$?
30659   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30660   (exit $ac_status); }; }; then
30661   ac_cv_lib_m_jn=yes
30662 else
30663   echo "$as_me: failed program was:" >&5
30664 sed 's/^/| /' conftest.$ac_ext >&5
30665
30666 ac_cv_lib_m_jn=no
30667 fi
30668 rm -f conftest.err conftest.$ac_objext \
30669       conftest$ac_exeext conftest.$ac_ext
30670 LIBS=$ac_check_lib_save_LIBS
30671 fi
30672 echo "$as_me:$LINENO: result: $ac_cv_lib_m_jn" >&5
30673 echo "${ECHO_T}$ac_cv_lib_m_jn" >&6
30674 if test $ac_cv_lib_m_jn = yes; then
30675
30676 cat >>confdefs.h <<\_ACEOF
30677 #define HAVE_JN 1
30678 _ACEOF
30679
30680 fi
30681
30682 echo "$as_me:$LINENO: checking for jnl in -lm" >&5
30683 echo $ECHO_N "checking for jnl in -lm... $ECHO_C" >&6
30684 if test "${ac_cv_lib_m_jnl+set}" = set; then
30685   echo $ECHO_N "(cached) $ECHO_C" >&6
30686 else
30687   ac_check_lib_save_LIBS=$LIBS
30688 LIBS="-lm  $LIBS"
30689 if test x$gcc_no_link = xyes; then
30690   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30691 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30692    { (exit 1); exit 1; }; }
30693 fi
30694 cat >conftest.$ac_ext <<_ACEOF
30695 /* confdefs.h.  */
30696 _ACEOF
30697 cat confdefs.h >>conftest.$ac_ext
30698 cat >>conftest.$ac_ext <<_ACEOF
30699 /* end confdefs.h.  */
30700
30701 /* Override any gcc2 internal prototype to avoid an error.  */
30702 #ifdef __cplusplus
30703 extern "C"
30704 #endif
30705 /* We use char because int might match the return type of a gcc2
30706    builtin and then its argument prototype would still apply.  */
30707 char jnl ();
30708 int
30709 main ()
30710 {
30711 jnl ();
30712   ;
30713   return 0;
30714 }
30715 _ACEOF
30716 rm -f conftest.$ac_objext conftest$ac_exeext
30717 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30718   (eval $ac_link) 2>conftest.er1
30719   ac_status=$?
30720   grep -v '^ *+' conftest.er1 >conftest.err
30721   rm -f conftest.er1
30722   cat conftest.err >&5
30723   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30724   (exit $ac_status); } &&
30725          { ac_try='test -z "$ac_c_werror_flag"
30726                          || test ! -s conftest.err'
30727   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30728   (eval $ac_try) 2>&5
30729   ac_status=$?
30730   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30731   (exit $ac_status); }; } &&
30732          { ac_try='test -s conftest$ac_exeext'
30733   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30734   (eval $ac_try) 2>&5
30735   ac_status=$?
30736   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30737   (exit $ac_status); }; }; then
30738   ac_cv_lib_m_jnl=yes
30739 else
30740   echo "$as_me: failed program was:" >&5
30741 sed 's/^/| /' conftest.$ac_ext >&5
30742
30743 ac_cv_lib_m_jnl=no
30744 fi
30745 rm -f conftest.err conftest.$ac_objext \
30746       conftest$ac_exeext conftest.$ac_ext
30747 LIBS=$ac_check_lib_save_LIBS
30748 fi
30749 echo "$as_me:$LINENO: result: $ac_cv_lib_m_jnl" >&5
30750 echo "${ECHO_T}$ac_cv_lib_m_jnl" >&6
30751 if test $ac_cv_lib_m_jnl = yes; then
30752
30753 cat >>confdefs.h <<\_ACEOF
30754 #define HAVE_JNL 1
30755 _ACEOF
30756
30757 fi
30758
30759 echo "$as_me:$LINENO: checking for y0f in -lm" >&5
30760 echo $ECHO_N "checking for y0f in -lm... $ECHO_C" >&6
30761 if test "${ac_cv_lib_m_y0f+set}" = set; then
30762   echo $ECHO_N "(cached) $ECHO_C" >&6
30763 else
30764   ac_check_lib_save_LIBS=$LIBS
30765 LIBS="-lm  $LIBS"
30766 if test x$gcc_no_link = xyes; then
30767   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30768 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30769    { (exit 1); exit 1; }; }
30770 fi
30771 cat >conftest.$ac_ext <<_ACEOF
30772 /* confdefs.h.  */
30773 _ACEOF
30774 cat confdefs.h >>conftest.$ac_ext
30775 cat >>conftest.$ac_ext <<_ACEOF
30776 /* end confdefs.h.  */
30777
30778 /* Override any gcc2 internal prototype to avoid an error.  */
30779 #ifdef __cplusplus
30780 extern "C"
30781 #endif
30782 /* We use char because int might match the return type of a gcc2
30783    builtin and then its argument prototype would still apply.  */
30784 char y0f ();
30785 int
30786 main ()
30787 {
30788 y0f ();
30789   ;
30790   return 0;
30791 }
30792 _ACEOF
30793 rm -f conftest.$ac_objext conftest$ac_exeext
30794 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30795   (eval $ac_link) 2>conftest.er1
30796   ac_status=$?
30797   grep -v '^ *+' conftest.er1 >conftest.err
30798   rm -f conftest.er1
30799   cat conftest.err >&5
30800   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30801   (exit $ac_status); } &&
30802          { ac_try='test -z "$ac_c_werror_flag"
30803                          || test ! -s conftest.err'
30804   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30805   (eval $ac_try) 2>&5
30806   ac_status=$?
30807   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30808   (exit $ac_status); }; } &&
30809          { ac_try='test -s conftest$ac_exeext'
30810   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30811   (eval $ac_try) 2>&5
30812   ac_status=$?
30813   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30814   (exit $ac_status); }; }; then
30815   ac_cv_lib_m_y0f=yes
30816 else
30817   echo "$as_me: failed program was:" >&5
30818 sed 's/^/| /' conftest.$ac_ext >&5
30819
30820 ac_cv_lib_m_y0f=no
30821 fi
30822 rm -f conftest.err conftest.$ac_objext \
30823       conftest$ac_exeext conftest.$ac_ext
30824 LIBS=$ac_check_lib_save_LIBS
30825 fi
30826 echo "$as_me:$LINENO: result: $ac_cv_lib_m_y0f" >&5
30827 echo "${ECHO_T}$ac_cv_lib_m_y0f" >&6
30828 if test $ac_cv_lib_m_y0f = yes; then
30829
30830 cat >>confdefs.h <<\_ACEOF
30831 #define HAVE_Y0F 1
30832 _ACEOF
30833
30834 fi
30835
30836 echo "$as_me:$LINENO: checking for y0 in -lm" >&5
30837 echo $ECHO_N "checking for y0 in -lm... $ECHO_C" >&6
30838 if test "${ac_cv_lib_m_y0+set}" = set; then
30839   echo $ECHO_N "(cached) $ECHO_C" >&6
30840 else
30841   ac_check_lib_save_LIBS=$LIBS
30842 LIBS="-lm  $LIBS"
30843 if test x$gcc_no_link = xyes; then
30844   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30845 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30846    { (exit 1); exit 1; }; }
30847 fi
30848 cat >conftest.$ac_ext <<_ACEOF
30849 /* confdefs.h.  */
30850 _ACEOF
30851 cat confdefs.h >>conftest.$ac_ext
30852 cat >>conftest.$ac_ext <<_ACEOF
30853 /* end confdefs.h.  */
30854
30855 /* Override any gcc2 internal prototype to avoid an error.  */
30856 #ifdef __cplusplus
30857 extern "C"
30858 #endif
30859 /* We use char because int might match the return type of a gcc2
30860    builtin and then its argument prototype would still apply.  */
30861 char y0 ();
30862 int
30863 main ()
30864 {
30865 y0 ();
30866   ;
30867   return 0;
30868 }
30869 _ACEOF
30870 rm -f conftest.$ac_objext conftest$ac_exeext
30871 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30872   (eval $ac_link) 2>conftest.er1
30873   ac_status=$?
30874   grep -v '^ *+' conftest.er1 >conftest.err
30875   rm -f conftest.er1
30876   cat conftest.err >&5
30877   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30878   (exit $ac_status); } &&
30879          { ac_try='test -z "$ac_c_werror_flag"
30880                          || test ! -s conftest.err'
30881   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30882   (eval $ac_try) 2>&5
30883   ac_status=$?
30884   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30885   (exit $ac_status); }; } &&
30886          { ac_try='test -s conftest$ac_exeext'
30887   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30888   (eval $ac_try) 2>&5
30889   ac_status=$?
30890   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30891   (exit $ac_status); }; }; then
30892   ac_cv_lib_m_y0=yes
30893 else
30894   echo "$as_me: failed program was:" >&5
30895 sed 's/^/| /' conftest.$ac_ext >&5
30896
30897 ac_cv_lib_m_y0=no
30898 fi
30899 rm -f conftest.err conftest.$ac_objext \
30900       conftest$ac_exeext conftest.$ac_ext
30901 LIBS=$ac_check_lib_save_LIBS
30902 fi
30903 echo "$as_me:$LINENO: result: $ac_cv_lib_m_y0" >&5
30904 echo "${ECHO_T}$ac_cv_lib_m_y0" >&6
30905 if test $ac_cv_lib_m_y0 = yes; then
30906
30907 cat >>confdefs.h <<\_ACEOF
30908 #define HAVE_Y0 1
30909 _ACEOF
30910
30911 fi
30912
30913 echo "$as_me:$LINENO: checking for y0l in -lm" >&5
30914 echo $ECHO_N "checking for y0l in -lm... $ECHO_C" >&6
30915 if test "${ac_cv_lib_m_y0l+set}" = set; then
30916   echo $ECHO_N "(cached) $ECHO_C" >&6
30917 else
30918   ac_check_lib_save_LIBS=$LIBS
30919 LIBS="-lm  $LIBS"
30920 if test x$gcc_no_link = xyes; then
30921   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30922 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30923    { (exit 1); exit 1; }; }
30924 fi
30925 cat >conftest.$ac_ext <<_ACEOF
30926 /* confdefs.h.  */
30927 _ACEOF
30928 cat confdefs.h >>conftest.$ac_ext
30929 cat >>conftest.$ac_ext <<_ACEOF
30930 /* end confdefs.h.  */
30931
30932 /* Override any gcc2 internal prototype to avoid an error.  */
30933 #ifdef __cplusplus
30934 extern "C"
30935 #endif
30936 /* We use char because int might match the return type of a gcc2
30937    builtin and then its argument prototype would still apply.  */
30938 char y0l ();
30939 int
30940 main ()
30941 {
30942 y0l ();
30943   ;
30944   return 0;
30945 }
30946 _ACEOF
30947 rm -f conftest.$ac_objext conftest$ac_exeext
30948 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30949   (eval $ac_link) 2>conftest.er1
30950   ac_status=$?
30951   grep -v '^ *+' conftest.er1 >conftest.err
30952   rm -f conftest.er1
30953   cat conftest.err >&5
30954   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30955   (exit $ac_status); } &&
30956          { ac_try='test -z "$ac_c_werror_flag"
30957                          || test ! -s conftest.err'
30958   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30959   (eval $ac_try) 2>&5
30960   ac_status=$?
30961   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30962   (exit $ac_status); }; } &&
30963          { ac_try='test -s conftest$ac_exeext'
30964   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30965   (eval $ac_try) 2>&5
30966   ac_status=$?
30967   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30968   (exit $ac_status); }; }; then
30969   ac_cv_lib_m_y0l=yes
30970 else
30971   echo "$as_me: failed program was:" >&5
30972 sed 's/^/| /' conftest.$ac_ext >&5
30973
30974 ac_cv_lib_m_y0l=no
30975 fi
30976 rm -f conftest.err conftest.$ac_objext \
30977       conftest$ac_exeext conftest.$ac_ext
30978 LIBS=$ac_check_lib_save_LIBS
30979 fi
30980 echo "$as_me:$LINENO: result: $ac_cv_lib_m_y0l" >&5
30981 echo "${ECHO_T}$ac_cv_lib_m_y0l" >&6
30982 if test $ac_cv_lib_m_y0l = yes; then
30983
30984 cat >>confdefs.h <<\_ACEOF
30985 #define HAVE_Y0L 1
30986 _ACEOF
30987
30988 fi
30989
30990 echo "$as_me:$LINENO: checking for y1f in -lm" >&5
30991 echo $ECHO_N "checking for y1f in -lm... $ECHO_C" >&6
30992 if test "${ac_cv_lib_m_y1f+set}" = set; then
30993   echo $ECHO_N "(cached) $ECHO_C" >&6
30994 else
30995   ac_check_lib_save_LIBS=$LIBS
30996 LIBS="-lm  $LIBS"
30997 if test x$gcc_no_link = xyes; then
30998   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30999 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31000    { (exit 1); exit 1; }; }
31001 fi
31002 cat >conftest.$ac_ext <<_ACEOF
31003 /* confdefs.h.  */
31004 _ACEOF
31005 cat confdefs.h >>conftest.$ac_ext
31006 cat >>conftest.$ac_ext <<_ACEOF
31007 /* end confdefs.h.  */
31008
31009 /* Override any gcc2 internal prototype to avoid an error.  */
31010 #ifdef __cplusplus
31011 extern "C"
31012 #endif
31013 /* We use char because int might match the return type of a gcc2
31014    builtin and then its argument prototype would still apply.  */
31015 char y1f ();
31016 int
31017 main ()
31018 {
31019 y1f ();
31020   ;
31021   return 0;
31022 }
31023 _ACEOF
31024 rm -f conftest.$ac_objext conftest$ac_exeext
31025 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31026   (eval $ac_link) 2>conftest.er1
31027   ac_status=$?
31028   grep -v '^ *+' conftest.er1 >conftest.err
31029   rm -f conftest.er1
31030   cat conftest.err >&5
31031   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31032   (exit $ac_status); } &&
31033          { ac_try='test -z "$ac_c_werror_flag"
31034                          || test ! -s conftest.err'
31035   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31036   (eval $ac_try) 2>&5
31037   ac_status=$?
31038   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31039   (exit $ac_status); }; } &&
31040          { ac_try='test -s conftest$ac_exeext'
31041   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31042   (eval $ac_try) 2>&5
31043   ac_status=$?
31044   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31045   (exit $ac_status); }; }; then
31046   ac_cv_lib_m_y1f=yes
31047 else
31048   echo "$as_me: failed program was:" >&5
31049 sed 's/^/| /' conftest.$ac_ext >&5
31050
31051 ac_cv_lib_m_y1f=no
31052 fi
31053 rm -f conftest.err conftest.$ac_objext \
31054       conftest$ac_exeext conftest.$ac_ext
31055 LIBS=$ac_check_lib_save_LIBS
31056 fi
31057 echo "$as_me:$LINENO: result: $ac_cv_lib_m_y1f" >&5
31058 echo "${ECHO_T}$ac_cv_lib_m_y1f" >&6
31059 if test $ac_cv_lib_m_y1f = yes; then
31060
31061 cat >>confdefs.h <<\_ACEOF
31062 #define HAVE_Y1F 1
31063 _ACEOF
31064
31065 fi
31066
31067 echo "$as_me:$LINENO: checking for y1 in -lm" >&5
31068 echo $ECHO_N "checking for y1 in -lm... $ECHO_C" >&6
31069 if test "${ac_cv_lib_m_y1+set}" = set; then
31070   echo $ECHO_N "(cached) $ECHO_C" >&6
31071 else
31072   ac_check_lib_save_LIBS=$LIBS
31073 LIBS="-lm  $LIBS"
31074 if test x$gcc_no_link = xyes; then
31075   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31076 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31077    { (exit 1); exit 1; }; }
31078 fi
31079 cat >conftest.$ac_ext <<_ACEOF
31080 /* confdefs.h.  */
31081 _ACEOF
31082 cat confdefs.h >>conftest.$ac_ext
31083 cat >>conftest.$ac_ext <<_ACEOF
31084 /* end confdefs.h.  */
31085
31086 /* Override any gcc2 internal prototype to avoid an error.  */
31087 #ifdef __cplusplus
31088 extern "C"
31089 #endif
31090 /* We use char because int might match the return type of a gcc2
31091    builtin and then its argument prototype would still apply.  */
31092 char y1 ();
31093 int
31094 main ()
31095 {
31096 y1 ();
31097   ;
31098   return 0;
31099 }
31100 _ACEOF
31101 rm -f conftest.$ac_objext conftest$ac_exeext
31102 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31103   (eval $ac_link) 2>conftest.er1
31104   ac_status=$?
31105   grep -v '^ *+' conftest.er1 >conftest.err
31106   rm -f conftest.er1
31107   cat conftest.err >&5
31108   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31109   (exit $ac_status); } &&
31110          { ac_try='test -z "$ac_c_werror_flag"
31111                          || test ! -s conftest.err'
31112   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31113   (eval $ac_try) 2>&5
31114   ac_status=$?
31115   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31116   (exit $ac_status); }; } &&
31117          { ac_try='test -s conftest$ac_exeext'
31118   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31119   (eval $ac_try) 2>&5
31120   ac_status=$?
31121   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31122   (exit $ac_status); }; }; then
31123   ac_cv_lib_m_y1=yes
31124 else
31125   echo "$as_me: failed program was:" >&5
31126 sed 's/^/| /' conftest.$ac_ext >&5
31127
31128 ac_cv_lib_m_y1=no
31129 fi
31130 rm -f conftest.err conftest.$ac_objext \
31131       conftest$ac_exeext conftest.$ac_ext
31132 LIBS=$ac_check_lib_save_LIBS
31133 fi
31134 echo "$as_me:$LINENO: result: $ac_cv_lib_m_y1" >&5
31135 echo "${ECHO_T}$ac_cv_lib_m_y1" >&6
31136 if test $ac_cv_lib_m_y1 = yes; then
31137
31138 cat >>confdefs.h <<\_ACEOF
31139 #define HAVE_Y1 1
31140 _ACEOF
31141
31142 fi
31143
31144 echo "$as_me:$LINENO: checking for y1l in -lm" >&5
31145 echo $ECHO_N "checking for y1l in -lm... $ECHO_C" >&6
31146 if test "${ac_cv_lib_m_y1l+set}" = set; then
31147   echo $ECHO_N "(cached) $ECHO_C" >&6
31148 else
31149   ac_check_lib_save_LIBS=$LIBS
31150 LIBS="-lm  $LIBS"
31151 if test x$gcc_no_link = xyes; then
31152   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31153 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31154    { (exit 1); exit 1; }; }
31155 fi
31156 cat >conftest.$ac_ext <<_ACEOF
31157 /* confdefs.h.  */
31158 _ACEOF
31159 cat confdefs.h >>conftest.$ac_ext
31160 cat >>conftest.$ac_ext <<_ACEOF
31161 /* end confdefs.h.  */
31162
31163 /* Override any gcc2 internal prototype to avoid an error.  */
31164 #ifdef __cplusplus
31165 extern "C"
31166 #endif
31167 /* We use char because int might match the return type of a gcc2
31168    builtin and then its argument prototype would still apply.  */
31169 char y1l ();
31170 int
31171 main ()
31172 {
31173 y1l ();
31174   ;
31175   return 0;
31176 }
31177 _ACEOF
31178 rm -f conftest.$ac_objext conftest$ac_exeext
31179 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31180   (eval $ac_link) 2>conftest.er1
31181   ac_status=$?
31182   grep -v '^ *+' conftest.er1 >conftest.err
31183   rm -f conftest.er1
31184   cat conftest.err >&5
31185   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31186   (exit $ac_status); } &&
31187          { ac_try='test -z "$ac_c_werror_flag"
31188                          || test ! -s conftest.err'
31189   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31190   (eval $ac_try) 2>&5
31191   ac_status=$?
31192   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31193   (exit $ac_status); }; } &&
31194          { ac_try='test -s conftest$ac_exeext'
31195   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31196   (eval $ac_try) 2>&5
31197   ac_status=$?
31198   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31199   (exit $ac_status); }; }; then
31200   ac_cv_lib_m_y1l=yes
31201 else
31202   echo "$as_me: failed program was:" >&5
31203 sed 's/^/| /' conftest.$ac_ext >&5
31204
31205 ac_cv_lib_m_y1l=no
31206 fi
31207 rm -f conftest.err conftest.$ac_objext \
31208       conftest$ac_exeext conftest.$ac_ext
31209 LIBS=$ac_check_lib_save_LIBS
31210 fi
31211 echo "$as_me:$LINENO: result: $ac_cv_lib_m_y1l" >&5
31212 echo "${ECHO_T}$ac_cv_lib_m_y1l" >&6
31213 if test $ac_cv_lib_m_y1l = yes; then
31214
31215 cat >>confdefs.h <<\_ACEOF
31216 #define HAVE_Y1L 1
31217 _ACEOF
31218
31219 fi
31220
31221 echo "$as_me:$LINENO: checking for ynf in -lm" >&5
31222 echo $ECHO_N "checking for ynf in -lm... $ECHO_C" >&6
31223 if test "${ac_cv_lib_m_ynf+set}" = set; then
31224   echo $ECHO_N "(cached) $ECHO_C" >&6
31225 else
31226   ac_check_lib_save_LIBS=$LIBS
31227 LIBS="-lm  $LIBS"
31228 if test x$gcc_no_link = xyes; then
31229   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31230 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31231    { (exit 1); exit 1; }; }
31232 fi
31233 cat >conftest.$ac_ext <<_ACEOF
31234 /* confdefs.h.  */
31235 _ACEOF
31236 cat confdefs.h >>conftest.$ac_ext
31237 cat >>conftest.$ac_ext <<_ACEOF
31238 /* end confdefs.h.  */
31239
31240 /* Override any gcc2 internal prototype to avoid an error.  */
31241 #ifdef __cplusplus
31242 extern "C"
31243 #endif
31244 /* We use char because int might match the return type of a gcc2
31245    builtin and then its argument prototype would still apply.  */
31246 char ynf ();
31247 int
31248 main ()
31249 {
31250 ynf ();
31251   ;
31252   return 0;
31253 }
31254 _ACEOF
31255 rm -f conftest.$ac_objext conftest$ac_exeext
31256 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31257   (eval $ac_link) 2>conftest.er1
31258   ac_status=$?
31259   grep -v '^ *+' conftest.er1 >conftest.err
31260   rm -f conftest.er1
31261   cat conftest.err >&5
31262   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31263   (exit $ac_status); } &&
31264          { ac_try='test -z "$ac_c_werror_flag"
31265                          || test ! -s conftest.err'
31266   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31267   (eval $ac_try) 2>&5
31268   ac_status=$?
31269   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31270   (exit $ac_status); }; } &&
31271          { ac_try='test -s conftest$ac_exeext'
31272   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31273   (eval $ac_try) 2>&5
31274   ac_status=$?
31275   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31276   (exit $ac_status); }; }; then
31277   ac_cv_lib_m_ynf=yes
31278 else
31279   echo "$as_me: failed program was:" >&5
31280 sed 's/^/| /' conftest.$ac_ext >&5
31281
31282 ac_cv_lib_m_ynf=no
31283 fi
31284 rm -f conftest.err conftest.$ac_objext \
31285       conftest$ac_exeext conftest.$ac_ext
31286 LIBS=$ac_check_lib_save_LIBS
31287 fi
31288 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ynf" >&5
31289 echo "${ECHO_T}$ac_cv_lib_m_ynf" >&6
31290 if test $ac_cv_lib_m_ynf = yes; then
31291
31292 cat >>confdefs.h <<\_ACEOF
31293 #define HAVE_YNF 1
31294 _ACEOF
31295
31296 fi
31297
31298 echo "$as_me:$LINENO: checking for yn in -lm" >&5
31299 echo $ECHO_N "checking for yn in -lm... $ECHO_C" >&6
31300 if test "${ac_cv_lib_m_yn+set}" = set; then
31301   echo $ECHO_N "(cached) $ECHO_C" >&6
31302 else
31303   ac_check_lib_save_LIBS=$LIBS
31304 LIBS="-lm  $LIBS"
31305 if test x$gcc_no_link = xyes; then
31306   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31307 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31308    { (exit 1); exit 1; }; }
31309 fi
31310 cat >conftest.$ac_ext <<_ACEOF
31311 /* confdefs.h.  */
31312 _ACEOF
31313 cat confdefs.h >>conftest.$ac_ext
31314 cat >>conftest.$ac_ext <<_ACEOF
31315 /* end confdefs.h.  */
31316
31317 /* Override any gcc2 internal prototype to avoid an error.  */
31318 #ifdef __cplusplus
31319 extern "C"
31320 #endif
31321 /* We use char because int might match the return type of a gcc2
31322    builtin and then its argument prototype would still apply.  */
31323 char yn ();
31324 int
31325 main ()
31326 {
31327 yn ();
31328   ;
31329   return 0;
31330 }
31331 _ACEOF
31332 rm -f conftest.$ac_objext conftest$ac_exeext
31333 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31334   (eval $ac_link) 2>conftest.er1
31335   ac_status=$?
31336   grep -v '^ *+' conftest.er1 >conftest.err
31337   rm -f conftest.er1
31338   cat conftest.err >&5
31339   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31340   (exit $ac_status); } &&
31341          { ac_try='test -z "$ac_c_werror_flag"
31342                          || test ! -s conftest.err'
31343   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31344   (eval $ac_try) 2>&5
31345   ac_status=$?
31346   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31347   (exit $ac_status); }; } &&
31348          { ac_try='test -s conftest$ac_exeext'
31349   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31350   (eval $ac_try) 2>&5
31351   ac_status=$?
31352   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31353   (exit $ac_status); }; }; then
31354   ac_cv_lib_m_yn=yes
31355 else
31356   echo "$as_me: failed program was:" >&5
31357 sed 's/^/| /' conftest.$ac_ext >&5
31358
31359 ac_cv_lib_m_yn=no
31360 fi
31361 rm -f conftest.err conftest.$ac_objext \
31362       conftest$ac_exeext conftest.$ac_ext
31363 LIBS=$ac_check_lib_save_LIBS
31364 fi
31365 echo "$as_me:$LINENO: result: $ac_cv_lib_m_yn" >&5
31366 echo "${ECHO_T}$ac_cv_lib_m_yn" >&6
31367 if test $ac_cv_lib_m_yn = yes; then
31368
31369 cat >>confdefs.h <<\_ACEOF
31370 #define HAVE_YN 1
31371 _ACEOF
31372
31373 fi
31374
31375 echo "$as_me:$LINENO: checking for ynl in -lm" >&5
31376 echo $ECHO_N "checking for ynl in -lm... $ECHO_C" >&6
31377 if test "${ac_cv_lib_m_ynl+set}" = set; then
31378   echo $ECHO_N "(cached) $ECHO_C" >&6
31379 else
31380   ac_check_lib_save_LIBS=$LIBS
31381 LIBS="-lm  $LIBS"
31382 if test x$gcc_no_link = xyes; then
31383   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31384 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31385    { (exit 1); exit 1; }; }
31386 fi
31387 cat >conftest.$ac_ext <<_ACEOF
31388 /* confdefs.h.  */
31389 _ACEOF
31390 cat confdefs.h >>conftest.$ac_ext
31391 cat >>conftest.$ac_ext <<_ACEOF
31392 /* end confdefs.h.  */
31393
31394 /* Override any gcc2 internal prototype to avoid an error.  */
31395 #ifdef __cplusplus
31396 extern "C"
31397 #endif
31398 /* We use char because int might match the return type of a gcc2
31399    builtin and then its argument prototype would still apply.  */
31400 char ynl ();
31401 int
31402 main ()
31403 {
31404 ynl ();
31405   ;
31406   return 0;
31407 }
31408 _ACEOF
31409 rm -f conftest.$ac_objext conftest$ac_exeext
31410 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31411   (eval $ac_link) 2>conftest.er1
31412   ac_status=$?
31413   grep -v '^ *+' conftest.er1 >conftest.err
31414   rm -f conftest.er1
31415   cat conftest.err >&5
31416   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31417   (exit $ac_status); } &&
31418          { ac_try='test -z "$ac_c_werror_flag"
31419                          || test ! -s conftest.err'
31420   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31421   (eval $ac_try) 2>&5
31422   ac_status=$?
31423   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31424   (exit $ac_status); }; } &&
31425          { ac_try='test -s conftest$ac_exeext'
31426   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31427   (eval $ac_try) 2>&5
31428   ac_status=$?
31429   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31430   (exit $ac_status); }; }; then
31431   ac_cv_lib_m_ynl=yes
31432 else
31433   echo "$as_me: failed program was:" >&5
31434 sed 's/^/| /' conftest.$ac_ext >&5
31435
31436 ac_cv_lib_m_ynl=no
31437 fi
31438 rm -f conftest.err conftest.$ac_objext \
31439       conftest$ac_exeext conftest.$ac_ext
31440 LIBS=$ac_check_lib_save_LIBS
31441 fi
31442 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ynl" >&5
31443 echo "${ECHO_T}$ac_cv_lib_m_ynl" >&6
31444 if test $ac_cv_lib_m_ynl = yes; then
31445
31446 cat >>confdefs.h <<\_ACEOF
31447 #define HAVE_YNL 1
31448 _ACEOF
31449
31450 fi
31451
31452 echo "$as_me:$LINENO: checking for tgamma in -lm" >&5
31453 echo $ECHO_N "checking for tgamma in -lm... $ECHO_C" >&6
31454 if test "${ac_cv_lib_m_tgamma+set}" = set; then
31455   echo $ECHO_N "(cached) $ECHO_C" >&6
31456 else
31457   ac_check_lib_save_LIBS=$LIBS
31458 LIBS="-lm  $LIBS"
31459 if test x$gcc_no_link = xyes; then
31460   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31461 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31462    { (exit 1); exit 1; }; }
31463 fi
31464 cat >conftest.$ac_ext <<_ACEOF
31465 /* confdefs.h.  */
31466 _ACEOF
31467 cat confdefs.h >>conftest.$ac_ext
31468 cat >>conftest.$ac_ext <<_ACEOF
31469 /* end confdefs.h.  */
31470
31471 /* Override any gcc2 internal prototype to avoid an error.  */
31472 #ifdef __cplusplus
31473 extern "C"
31474 #endif
31475 /* We use char because int might match the return type of a gcc2
31476    builtin and then its argument prototype would still apply.  */
31477 char tgamma ();
31478 int
31479 main ()
31480 {
31481 tgamma ();
31482   ;
31483   return 0;
31484 }
31485 _ACEOF
31486 rm -f conftest.$ac_objext conftest$ac_exeext
31487 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31488   (eval $ac_link) 2>conftest.er1
31489   ac_status=$?
31490   grep -v '^ *+' conftest.er1 >conftest.err
31491   rm -f conftest.er1
31492   cat conftest.err >&5
31493   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31494   (exit $ac_status); } &&
31495          { ac_try='test -z "$ac_c_werror_flag"
31496                          || test ! -s conftest.err'
31497   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31498   (eval $ac_try) 2>&5
31499   ac_status=$?
31500   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31501   (exit $ac_status); }; } &&
31502          { ac_try='test -s conftest$ac_exeext'
31503   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31504   (eval $ac_try) 2>&5
31505   ac_status=$?
31506   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31507   (exit $ac_status); }; }; then
31508   ac_cv_lib_m_tgamma=yes
31509 else
31510   echo "$as_me: failed program was:" >&5
31511 sed 's/^/| /' conftest.$ac_ext >&5
31512
31513 ac_cv_lib_m_tgamma=no
31514 fi
31515 rm -f conftest.err conftest.$ac_objext \
31516       conftest$ac_exeext conftest.$ac_ext
31517 LIBS=$ac_check_lib_save_LIBS
31518 fi
31519 echo "$as_me:$LINENO: result: $ac_cv_lib_m_tgamma" >&5
31520 echo "${ECHO_T}$ac_cv_lib_m_tgamma" >&6
31521 if test $ac_cv_lib_m_tgamma = yes; then
31522
31523 cat >>confdefs.h <<\_ACEOF
31524 #define HAVE_TGAMMA 1
31525 _ACEOF
31526
31527 fi
31528
31529 echo "$as_me:$LINENO: checking for tgammaf in -lm" >&5
31530 echo $ECHO_N "checking for tgammaf in -lm... $ECHO_C" >&6
31531 if test "${ac_cv_lib_m_tgammaf+set}" = set; then
31532   echo $ECHO_N "(cached) $ECHO_C" >&6
31533 else
31534   ac_check_lib_save_LIBS=$LIBS
31535 LIBS="-lm  $LIBS"
31536 if test x$gcc_no_link = xyes; then
31537   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31538 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31539    { (exit 1); exit 1; }; }
31540 fi
31541 cat >conftest.$ac_ext <<_ACEOF
31542 /* confdefs.h.  */
31543 _ACEOF
31544 cat confdefs.h >>conftest.$ac_ext
31545 cat >>conftest.$ac_ext <<_ACEOF
31546 /* end confdefs.h.  */
31547
31548 /* Override any gcc2 internal prototype to avoid an error.  */
31549 #ifdef __cplusplus
31550 extern "C"
31551 #endif
31552 /* We use char because int might match the return type of a gcc2
31553    builtin and then its argument prototype would still apply.  */
31554 char tgammaf ();
31555 int
31556 main ()
31557 {
31558 tgammaf ();
31559   ;
31560   return 0;
31561 }
31562 _ACEOF
31563 rm -f conftest.$ac_objext conftest$ac_exeext
31564 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31565   (eval $ac_link) 2>conftest.er1
31566   ac_status=$?
31567   grep -v '^ *+' conftest.er1 >conftest.err
31568   rm -f conftest.er1
31569   cat conftest.err >&5
31570   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31571   (exit $ac_status); } &&
31572          { ac_try='test -z "$ac_c_werror_flag"
31573                          || test ! -s conftest.err'
31574   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31575   (eval $ac_try) 2>&5
31576   ac_status=$?
31577   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31578   (exit $ac_status); }; } &&
31579          { ac_try='test -s conftest$ac_exeext'
31580   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31581   (eval $ac_try) 2>&5
31582   ac_status=$?
31583   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31584   (exit $ac_status); }; }; then
31585   ac_cv_lib_m_tgammaf=yes
31586 else
31587   echo "$as_me: failed program was:" >&5
31588 sed 's/^/| /' conftest.$ac_ext >&5
31589
31590 ac_cv_lib_m_tgammaf=no
31591 fi
31592 rm -f conftest.err conftest.$ac_objext \
31593       conftest$ac_exeext conftest.$ac_ext
31594 LIBS=$ac_check_lib_save_LIBS
31595 fi
31596 echo "$as_me:$LINENO: result: $ac_cv_lib_m_tgammaf" >&5
31597 echo "${ECHO_T}$ac_cv_lib_m_tgammaf" >&6
31598 if test $ac_cv_lib_m_tgammaf = yes; then
31599
31600 cat >>confdefs.h <<\_ACEOF
31601 #define HAVE_TGAMMAF 1
31602 _ACEOF
31603
31604 fi
31605
31606 echo "$as_me:$LINENO: checking for tgammal in -lm" >&5
31607 echo $ECHO_N "checking for tgammal in -lm... $ECHO_C" >&6
31608 if test "${ac_cv_lib_m_tgammal+set}" = set; then
31609   echo $ECHO_N "(cached) $ECHO_C" >&6
31610 else
31611   ac_check_lib_save_LIBS=$LIBS
31612 LIBS="-lm  $LIBS"
31613 if test x$gcc_no_link = xyes; then
31614   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31615 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31616    { (exit 1); exit 1; }; }
31617 fi
31618 cat >conftest.$ac_ext <<_ACEOF
31619 /* confdefs.h.  */
31620 _ACEOF
31621 cat confdefs.h >>conftest.$ac_ext
31622 cat >>conftest.$ac_ext <<_ACEOF
31623 /* end confdefs.h.  */
31624
31625 /* Override any gcc2 internal prototype to avoid an error.  */
31626 #ifdef __cplusplus
31627 extern "C"
31628 #endif
31629 /* We use char because int might match the return type of a gcc2
31630    builtin and then its argument prototype would still apply.  */
31631 char tgammal ();
31632 int
31633 main ()
31634 {
31635 tgammal ();
31636   ;
31637   return 0;
31638 }
31639 _ACEOF
31640 rm -f conftest.$ac_objext conftest$ac_exeext
31641 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31642   (eval $ac_link) 2>conftest.er1
31643   ac_status=$?
31644   grep -v '^ *+' conftest.er1 >conftest.err
31645   rm -f conftest.er1
31646   cat conftest.err >&5
31647   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31648   (exit $ac_status); } &&
31649          { ac_try='test -z "$ac_c_werror_flag"
31650                          || test ! -s conftest.err'
31651   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31652   (eval $ac_try) 2>&5
31653   ac_status=$?
31654   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31655   (exit $ac_status); }; } &&
31656          { ac_try='test -s conftest$ac_exeext'
31657   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31658   (eval $ac_try) 2>&5
31659   ac_status=$?
31660   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31661   (exit $ac_status); }; }; then
31662   ac_cv_lib_m_tgammal=yes
31663 else
31664   echo "$as_me: failed program was:" >&5
31665 sed 's/^/| /' conftest.$ac_ext >&5
31666
31667 ac_cv_lib_m_tgammal=no
31668 fi
31669 rm -f conftest.err conftest.$ac_objext \
31670       conftest$ac_exeext conftest.$ac_ext
31671 LIBS=$ac_check_lib_save_LIBS
31672 fi
31673 echo "$as_me:$LINENO: result: $ac_cv_lib_m_tgammal" >&5
31674 echo "${ECHO_T}$ac_cv_lib_m_tgammal" >&6
31675 if test $ac_cv_lib_m_tgammal = yes; then
31676
31677 cat >>confdefs.h <<\_ACEOF
31678 #define HAVE_TGAMMAL 1
31679 _ACEOF
31680
31681 fi
31682
31683 echo "$as_me:$LINENO: checking for lgamma in -lm" >&5
31684 echo $ECHO_N "checking for lgamma in -lm... $ECHO_C" >&6
31685 if test "${ac_cv_lib_m_lgamma+set}" = set; then
31686   echo $ECHO_N "(cached) $ECHO_C" >&6
31687 else
31688   ac_check_lib_save_LIBS=$LIBS
31689 LIBS="-lm  $LIBS"
31690 if test x$gcc_no_link = xyes; then
31691   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31692 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31693    { (exit 1); exit 1; }; }
31694 fi
31695 cat >conftest.$ac_ext <<_ACEOF
31696 /* confdefs.h.  */
31697 _ACEOF
31698 cat confdefs.h >>conftest.$ac_ext
31699 cat >>conftest.$ac_ext <<_ACEOF
31700 /* end confdefs.h.  */
31701
31702 /* Override any gcc2 internal prototype to avoid an error.  */
31703 #ifdef __cplusplus
31704 extern "C"
31705 #endif
31706 /* We use char because int might match the return type of a gcc2
31707    builtin and then its argument prototype would still apply.  */
31708 char lgamma ();
31709 int
31710 main ()
31711 {
31712 lgamma ();
31713   ;
31714   return 0;
31715 }
31716 _ACEOF
31717 rm -f conftest.$ac_objext conftest$ac_exeext
31718 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31719   (eval $ac_link) 2>conftest.er1
31720   ac_status=$?
31721   grep -v '^ *+' conftest.er1 >conftest.err
31722   rm -f conftest.er1
31723   cat conftest.err >&5
31724   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31725   (exit $ac_status); } &&
31726          { ac_try='test -z "$ac_c_werror_flag"
31727                          || test ! -s conftest.err'
31728   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31729   (eval $ac_try) 2>&5
31730   ac_status=$?
31731   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31732   (exit $ac_status); }; } &&
31733          { ac_try='test -s conftest$ac_exeext'
31734   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31735   (eval $ac_try) 2>&5
31736   ac_status=$?
31737   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31738   (exit $ac_status); }; }; then
31739   ac_cv_lib_m_lgamma=yes
31740 else
31741   echo "$as_me: failed program was:" >&5
31742 sed 's/^/| /' conftest.$ac_ext >&5
31743
31744 ac_cv_lib_m_lgamma=no
31745 fi
31746 rm -f conftest.err conftest.$ac_objext \
31747       conftest$ac_exeext conftest.$ac_ext
31748 LIBS=$ac_check_lib_save_LIBS
31749 fi
31750 echo "$as_me:$LINENO: result: $ac_cv_lib_m_lgamma" >&5
31751 echo "${ECHO_T}$ac_cv_lib_m_lgamma" >&6
31752 if test $ac_cv_lib_m_lgamma = yes; then
31753
31754 cat >>confdefs.h <<\_ACEOF
31755 #define HAVE_LGAMMA 1
31756 _ACEOF
31757
31758 fi
31759
31760 echo "$as_me:$LINENO: checking for lgammaf in -lm" >&5
31761 echo $ECHO_N "checking for lgammaf in -lm... $ECHO_C" >&6
31762 if test "${ac_cv_lib_m_lgammaf+set}" = set; then
31763   echo $ECHO_N "(cached) $ECHO_C" >&6
31764 else
31765   ac_check_lib_save_LIBS=$LIBS
31766 LIBS="-lm  $LIBS"
31767 if test x$gcc_no_link = xyes; then
31768   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31769 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31770    { (exit 1); exit 1; }; }
31771 fi
31772 cat >conftest.$ac_ext <<_ACEOF
31773 /* confdefs.h.  */
31774 _ACEOF
31775 cat confdefs.h >>conftest.$ac_ext
31776 cat >>conftest.$ac_ext <<_ACEOF
31777 /* end confdefs.h.  */
31778
31779 /* Override any gcc2 internal prototype to avoid an error.  */
31780 #ifdef __cplusplus
31781 extern "C"
31782 #endif
31783 /* We use char because int might match the return type of a gcc2
31784    builtin and then its argument prototype would still apply.  */
31785 char lgammaf ();
31786 int
31787 main ()
31788 {
31789 lgammaf ();
31790   ;
31791   return 0;
31792 }
31793 _ACEOF
31794 rm -f conftest.$ac_objext conftest$ac_exeext
31795 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31796   (eval $ac_link) 2>conftest.er1
31797   ac_status=$?
31798   grep -v '^ *+' conftest.er1 >conftest.err
31799   rm -f conftest.er1
31800   cat conftest.err >&5
31801   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31802   (exit $ac_status); } &&
31803          { ac_try='test -z "$ac_c_werror_flag"
31804                          || test ! -s conftest.err'
31805   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31806   (eval $ac_try) 2>&5
31807   ac_status=$?
31808   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31809   (exit $ac_status); }; } &&
31810          { ac_try='test -s conftest$ac_exeext'
31811   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31812   (eval $ac_try) 2>&5
31813   ac_status=$?
31814   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31815   (exit $ac_status); }; }; then
31816   ac_cv_lib_m_lgammaf=yes
31817 else
31818   echo "$as_me: failed program was:" >&5
31819 sed 's/^/| /' conftest.$ac_ext >&5
31820
31821 ac_cv_lib_m_lgammaf=no
31822 fi
31823 rm -f conftest.err conftest.$ac_objext \
31824       conftest$ac_exeext conftest.$ac_ext
31825 LIBS=$ac_check_lib_save_LIBS
31826 fi
31827 echo "$as_me:$LINENO: result: $ac_cv_lib_m_lgammaf" >&5
31828 echo "${ECHO_T}$ac_cv_lib_m_lgammaf" >&6
31829 if test $ac_cv_lib_m_lgammaf = yes; then
31830
31831 cat >>confdefs.h <<\_ACEOF
31832 #define HAVE_LGAMMAF 1
31833 _ACEOF
31834
31835 fi
31836
31837 echo "$as_me:$LINENO: checking for lgammal in -lm" >&5
31838 echo $ECHO_N "checking for lgammal in -lm... $ECHO_C" >&6
31839 if test "${ac_cv_lib_m_lgammal+set}" = set; then
31840   echo $ECHO_N "(cached) $ECHO_C" >&6
31841 else
31842   ac_check_lib_save_LIBS=$LIBS
31843 LIBS="-lm  $LIBS"
31844 if test x$gcc_no_link = xyes; then
31845   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31846 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31847    { (exit 1); exit 1; }; }
31848 fi
31849 cat >conftest.$ac_ext <<_ACEOF
31850 /* confdefs.h.  */
31851 _ACEOF
31852 cat confdefs.h >>conftest.$ac_ext
31853 cat >>conftest.$ac_ext <<_ACEOF
31854 /* end confdefs.h.  */
31855
31856 /* Override any gcc2 internal prototype to avoid an error.  */
31857 #ifdef __cplusplus
31858 extern "C"
31859 #endif
31860 /* We use char because int might match the return type of a gcc2
31861    builtin and then its argument prototype would still apply.  */
31862 char lgammal ();
31863 int
31864 main ()
31865 {
31866 lgammal ();
31867   ;
31868   return 0;
31869 }
31870 _ACEOF
31871 rm -f conftest.$ac_objext conftest$ac_exeext
31872 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31873   (eval $ac_link) 2>conftest.er1
31874   ac_status=$?
31875   grep -v '^ *+' conftest.er1 >conftest.err
31876   rm -f conftest.er1
31877   cat conftest.err >&5
31878   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31879   (exit $ac_status); } &&
31880          { ac_try='test -z "$ac_c_werror_flag"
31881                          || test ! -s conftest.err'
31882   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31883   (eval $ac_try) 2>&5
31884   ac_status=$?
31885   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31886   (exit $ac_status); }; } &&
31887          { ac_try='test -s conftest$ac_exeext'
31888   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31889   (eval $ac_try) 2>&5
31890   ac_status=$?
31891   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31892   (exit $ac_status); }; }; then
31893   ac_cv_lib_m_lgammal=yes
31894 else
31895   echo "$as_me: failed program was:" >&5
31896 sed 's/^/| /' conftest.$ac_ext >&5
31897
31898 ac_cv_lib_m_lgammal=no
31899 fi
31900 rm -f conftest.err conftest.$ac_objext \
31901       conftest$ac_exeext conftest.$ac_ext
31902 LIBS=$ac_check_lib_save_LIBS
31903 fi
31904 echo "$as_me:$LINENO: result: $ac_cv_lib_m_lgammal" >&5
31905 echo "${ECHO_T}$ac_cv_lib_m_lgammal" >&6
31906 if test $ac_cv_lib_m_lgammal = yes; then
31907
31908 cat >>confdefs.h <<\_ACEOF
31909 #define HAVE_LGAMMAL 1
31910 _ACEOF
31911
31912 fi
31913
31914
31915 # On AIX, clog is present in libm as __clog
31916 echo "$as_me:$LINENO: checking for __clog in -lm" >&5
31917 echo $ECHO_N "checking for __clog in -lm... $ECHO_C" >&6
31918 if test "${ac_cv_lib_m___clog+set}" = set; then
31919   echo $ECHO_N "(cached) $ECHO_C" >&6
31920 else
31921   ac_check_lib_save_LIBS=$LIBS
31922 LIBS="-lm  $LIBS"
31923 if test x$gcc_no_link = xyes; then
31924   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31925 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31926    { (exit 1); exit 1; }; }
31927 fi
31928 cat >conftest.$ac_ext <<_ACEOF
31929 /* confdefs.h.  */
31930 _ACEOF
31931 cat confdefs.h >>conftest.$ac_ext
31932 cat >>conftest.$ac_ext <<_ACEOF
31933 /* end confdefs.h.  */
31934
31935 /* Override any gcc2 internal prototype to avoid an error.  */
31936 #ifdef __cplusplus
31937 extern "C"
31938 #endif
31939 /* We use char because int might match the return type of a gcc2
31940    builtin and then its argument prototype would still apply.  */
31941 char __clog ();
31942 int
31943 main ()
31944 {
31945 __clog ();
31946   ;
31947   return 0;
31948 }
31949 _ACEOF
31950 rm -f conftest.$ac_objext conftest$ac_exeext
31951 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31952   (eval $ac_link) 2>conftest.er1
31953   ac_status=$?
31954   grep -v '^ *+' conftest.er1 >conftest.err
31955   rm -f conftest.er1
31956   cat conftest.err >&5
31957   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31958   (exit $ac_status); } &&
31959          { ac_try='test -z "$ac_c_werror_flag"
31960                          || test ! -s conftest.err'
31961   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31962   (eval $ac_try) 2>&5
31963   ac_status=$?
31964   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31965   (exit $ac_status); }; } &&
31966          { ac_try='test -s conftest$ac_exeext'
31967   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31968   (eval $ac_try) 2>&5
31969   ac_status=$?
31970   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31971   (exit $ac_status); }; }; then
31972   ac_cv_lib_m___clog=yes
31973 else
31974   echo "$as_me: failed program was:" >&5
31975 sed 's/^/| /' conftest.$ac_ext >&5
31976
31977 ac_cv_lib_m___clog=no
31978 fi
31979 rm -f conftest.err conftest.$ac_objext \
31980       conftest$ac_exeext conftest.$ac_ext
31981 LIBS=$ac_check_lib_save_LIBS
31982 fi
31983 echo "$as_me:$LINENO: result: $ac_cv_lib_m___clog" >&5
31984 echo "${ECHO_T}$ac_cv_lib_m___clog" >&6
31985 if test $ac_cv_lib_m___clog = yes; then
31986
31987 cat >>confdefs.h <<\_ACEOF
31988 #define HAVE_CLOG 1
31989 _ACEOF
31990
31991 fi
31992
31993
31994 # Check for a isfinite macro that works on long doubles.
31995
31996   echo "$as_me:$LINENO: checking whether isfinite is broken" >&5
31997 echo $ECHO_N "checking whether isfinite is broken... $ECHO_C" >&6
31998 if test "${have_broken_isfinite+set}" = set; then
31999   echo $ECHO_N "(cached) $ECHO_C" >&6
32000 else
32001
32002   libgfor_check_for_broken_isfinite_save_LIBS=$LIBS
32003   LIBS="$LIBS -lm"
32004   if test "$cross_compiling" = yes; then
32005
32006 case "${target}" in
32007   hppa*-*-hpux*) have_broken_isfinite=yes ;;
32008   *) have_broken_isfinite=no ;;
32009 esac
32010 else
32011   cat >conftest.$ac_ext <<_ACEOF
32012 /* confdefs.h.  */
32013 _ACEOF
32014 cat confdefs.h >>conftest.$ac_ext
32015 cat >>conftest.$ac_ext <<_ACEOF
32016 /* end confdefs.h.  */
32017
32018 #include <math.h>
32019 #include <float.h>
32020 int main ()
32021 {
32022 #ifdef isfinite
32023 #ifdef LDBL_MAX
32024   if (!isfinite(LDBL_MAX)) return 1;
32025 #endif
32026 #ifdef DBL_MAX
32027   if (!isfinite(DBL_MAX)) return 1;
32028 #endif
32029 #endif
32030 return 0;
32031 }
32032 _ACEOF
32033 rm -f conftest$ac_exeext
32034 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32035   (eval $ac_link) 2>&5
32036   ac_status=$?
32037   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32038   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
32039   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32040   (eval $ac_try) 2>&5
32041   ac_status=$?
32042   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32043   (exit $ac_status); }; }; then
32044   have_broken_isfinite=no
32045 else
32046   echo "$as_me: program exited with status $ac_status" >&5
32047 echo "$as_me: failed program was:" >&5
32048 sed 's/^/| /' conftest.$ac_ext >&5
32049
32050 ( exit $ac_status )
32051 have_broken_isfinite=yes
32052 fi
32053 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
32054 fi
32055   LIBS=$libgfor_check_for_broken_isfinite_save_LIBS
32056 fi
32057 echo "$as_me:$LINENO: result: $have_broken_isfinite" >&5
32058 echo "${ECHO_T}$have_broken_isfinite" >&6
32059 if test x"$have_broken_isfinite" = xyes; then
32060
32061 cat >>confdefs.h <<\_ACEOF
32062 #define HAVE_BROKEN_ISFINITE 1
32063 _ACEOF
32064
32065 fi
32066
32067 # Check for a isnan macro that works on long doubles.
32068
32069   echo "$as_me:$LINENO: checking whether isnan is broken" >&5
32070 echo $ECHO_N "checking whether isnan is broken... $ECHO_C" >&6
32071 if test "${have_broken_isnan+set}" = set; then
32072   echo $ECHO_N "(cached) $ECHO_C" >&6
32073 else
32074
32075   libgfor_check_for_broken_isnan_save_LIBS=$LIBS
32076   LIBS="$LIBS -lm"
32077   if test "$cross_compiling" = yes; then
32078
32079 case "${target}" in
32080   hppa*-*-hpux*) have_broken_isnan=yes ;;
32081   *) have_broken_isnan=no ;;
32082 esac
32083 else
32084   cat >conftest.$ac_ext <<_ACEOF
32085 /* confdefs.h.  */
32086 _ACEOF
32087 cat confdefs.h >>conftest.$ac_ext
32088 cat >>conftest.$ac_ext <<_ACEOF
32089 /* end confdefs.h.  */
32090
32091 #include <math.h>
32092 #include <float.h>
32093 int main ()
32094 {
32095 #ifdef isnan
32096 #ifdef LDBL_MAX
32097   {
32098     long double x;
32099     x = __builtin_nanl ("");
32100     if (!isnan(x)) return 1;
32101     if (isnan(LDBL_MAX)) return 1;
32102 #ifdef NAN
32103     x = (long double) NAN;
32104     if (!isnan(x)) return 1;
32105 #endif
32106   }
32107 #endif
32108 #ifdef DBL_MAX
32109   {
32110     double y;
32111     y = __builtin_nan ("");
32112     if (!isnan(y)) return 1;
32113     if (isnan(DBL_MAX)) return 1;
32114 #ifdef NAN
32115     y = (double) NAN;
32116     if (!isnan(y)) return 1;
32117 #endif
32118   }
32119 #endif
32120 #endif
32121 return 0;
32122 }
32123 _ACEOF
32124 rm -f conftest$ac_exeext
32125 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32126   (eval $ac_link) 2>&5
32127   ac_status=$?
32128   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32129   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
32130   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32131   (eval $ac_try) 2>&5
32132   ac_status=$?
32133   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32134   (exit $ac_status); }; }; then
32135   have_broken_isnan=no
32136 else
32137   echo "$as_me: program exited with status $ac_status" >&5
32138 echo "$as_me: failed program was:" >&5
32139 sed 's/^/| /' conftest.$ac_ext >&5
32140
32141 ( exit $ac_status )
32142 have_broken_isnan=yes
32143 fi
32144 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
32145 fi
32146   LIBS=$libgfor_check_for_broken_isnan_save_LIBS
32147 fi
32148 echo "$as_me:$LINENO: result: $have_broken_isnan" >&5
32149 echo "${ECHO_T}$have_broken_isnan" >&6
32150 if test x"$have_broken_isnan" = xyes; then
32151
32152 cat >>confdefs.h <<\_ACEOF
32153 #define HAVE_BROKEN_ISNAN 1
32154 _ACEOF
32155
32156 fi
32157
32158 # Check for a fpclassify macro that works on long doubles.
32159
32160   echo "$as_me:$LINENO: checking whether fpclassify is broken" >&5
32161 echo $ECHO_N "checking whether fpclassify is broken... $ECHO_C" >&6
32162 if test "${have_broken_fpclassify+set}" = set; then
32163   echo $ECHO_N "(cached) $ECHO_C" >&6
32164 else
32165
32166   libgfor_check_for_broken_fpclassify_save_LIBS=$LIBS
32167   LIBS="$LIBS -lm"
32168   if test "$cross_compiling" = yes; then
32169
32170 case "${target}" in
32171   hppa*-*-hpux*) have_broken_fpclassify=yes ;;
32172   *) have_broken_fpclassify=no ;;
32173 esac
32174 else
32175   cat >conftest.$ac_ext <<_ACEOF
32176 /* confdefs.h.  */
32177 _ACEOF
32178 cat confdefs.h >>conftest.$ac_ext
32179 cat >>conftest.$ac_ext <<_ACEOF
32180 /* end confdefs.h.  */
32181
32182 #include <math.h>
32183 #include <float.h>
32184 int main ()
32185 {
32186 #ifdef fpclassify
32187 #ifdef LDBL_MAX
32188         if (fpclassify(LDBL_MAX) == FP_NAN
32189             || fpclassify(LDBL_MAX) == FP_INFINITE) return 1;
32190 #endif
32191 #ifdef DBL_MAX
32192         if (fpclassify(DBL_MAX) == FP_NAN
32193             || fpclassify(DBL_MAX) == FP_INFINITE) return 1;
32194 #endif
32195 #endif
32196 return 0;
32197 }
32198 _ACEOF
32199 rm -f conftest$ac_exeext
32200 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32201   (eval $ac_link) 2>&5
32202   ac_status=$?
32203   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32204   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
32205   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32206   (eval $ac_try) 2>&5
32207   ac_status=$?
32208   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32209   (exit $ac_status); }; }; then
32210   have_broken_fpclassify=no
32211 else
32212   echo "$as_me: program exited with status $ac_status" >&5
32213 echo "$as_me: failed program was:" >&5
32214 sed 's/^/| /' conftest.$ac_ext >&5
32215
32216 ( exit $ac_status )
32217 have_broken_fpclassify=yes
32218 fi
32219 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
32220 fi
32221   LIBS=$libgfor_check_for_broken_fpclassify_save_LIBS
32222 fi
32223 echo "$as_me:$LINENO: result: $have_broken_fpclassify" >&5
32224 echo "${ECHO_T}$have_broken_fpclassify" >&6
32225 if test x"$have_broken_fpclassify" = xyes; then
32226
32227 cat >>confdefs.h <<\_ACEOF
32228 #define HAVE_BROKEN_FPCLASSIFY 1
32229 _ACEOF
32230
32231 fi
32232
32233 # Check whether the system has a working stat()
32234
32235   echo "$as_me:$LINENO: checking whether the target stat is reliable" >&5
32236 echo $ECHO_N "checking whether the target stat is reliable... $ECHO_C" >&6
32237 if test "${have_working_stat+set}" = set; then
32238   echo $ECHO_N "(cached) $ECHO_C" >&6
32239 else
32240
32241   if test "$cross_compiling" = yes; then
32242
32243 case "${target}" in
32244   *mingw*) have_working_stat=no ;;
32245   *) have_working_stat=yes;;
32246 esac
32247 else
32248   cat >conftest.$ac_ext <<_ACEOF
32249 /* confdefs.h.  */
32250 _ACEOF
32251 cat confdefs.h >>conftest.$ac_ext
32252 cat >>conftest.$ac_ext <<_ACEOF
32253 /* end confdefs.h.  */
32254
32255 #include <stdio.h>
32256 #include <sys/types.h>
32257 #include <sys/stat.h>
32258 #include <unistd.h>
32259
32260 int main ()
32261 {
32262   FILE *f, *g;
32263   struct stat st1, st2;
32264
32265   f = fopen ("foo", "w");
32266   g = fopen ("bar", "w");
32267   if (stat ("foo", &st1) != 0 || stat ("bar", &st2))
32268     return 1;
32269   if (st1.st_dev == st2.st_dev && st1.st_ino == st2.st_ino)
32270     return 1;
32271   fclose(f);
32272   fclose(g);
32273   return 0;
32274 }
32275 _ACEOF
32276 rm -f conftest$ac_exeext
32277 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32278   (eval $ac_link) 2>&5
32279   ac_status=$?
32280   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32281   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
32282   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32283   (eval $ac_try) 2>&5
32284   ac_status=$?
32285   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32286   (exit $ac_status); }; }; then
32287   have_working_stat=yes
32288 else
32289   echo "$as_me: program exited with status $ac_status" >&5
32290 echo "$as_me: failed program was:" >&5
32291 sed 's/^/| /' conftest.$ac_ext >&5
32292
32293 ( exit $ac_status )
32294 have_working_stat=no
32295 fi
32296 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
32297 fi
32298 fi
32299 echo "$as_me:$LINENO: result: $have_working_stat" >&5
32300 echo "${ECHO_T}$have_working_stat" >&6
32301 if test x"$have_working_stat" = xyes; then
32302
32303 cat >>confdefs.h <<\_ACEOF
32304 #define HAVE_WORKING_STAT 1
32305 _ACEOF
32306
32307 fi
32308
32309 # Check whether __mingw_snprintf() is present
32310
32311   echo "$as_me:$LINENO: checking whether __mingw_snprintf is present" >&5
32312 echo $ECHO_N "checking whether __mingw_snprintf is present... $ECHO_C" >&6
32313 if test "${have_mingw_snprintf+set}" = set; then
32314   echo $ECHO_N "(cached) $ECHO_C" >&6
32315 else
32316
32317     if test x$gcc_no_link = xyes; then
32318   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32319 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32320    { (exit 1); exit 1; }; }
32321 fi
32322 cat >conftest.$ac_ext <<_ACEOF
32323 /* confdefs.h.  */
32324 _ACEOF
32325 cat confdefs.h >>conftest.$ac_ext
32326 cat >>conftest.$ac_ext <<_ACEOF
32327 /* end confdefs.h.  */
32328
32329 #include <stdio.h>
32330 extern int __mingw_snprintf (char *, size_t, const char *, ...);
32331
32332 int
32333 main ()
32334 {
32335
32336 __mingw_snprintf (NULL, 0, "%d\n", 1);
32337
32338   ;
32339   return 0;
32340 }
32341 _ACEOF
32342 rm -f conftest.$ac_objext conftest$ac_exeext
32343 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32344   (eval $ac_link) 2>conftest.er1
32345   ac_status=$?
32346   grep -v '^ *+' conftest.er1 >conftest.err
32347   rm -f conftest.er1
32348   cat conftest.err >&5
32349   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32350   (exit $ac_status); } &&
32351          { ac_try='test -z "$ac_c_werror_flag"
32352                          || test ! -s conftest.err'
32353   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32354   (eval $ac_try) 2>&5
32355   ac_status=$?
32356   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32357   (exit $ac_status); }; } &&
32358          { ac_try='test -s conftest$ac_exeext'
32359   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32360   (eval $ac_try) 2>&5
32361   ac_status=$?
32362   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32363   (exit $ac_status); }; }; then
32364   eval "have_mingw_snprintf=yes"
32365 else
32366   echo "$as_me: failed program was:" >&5
32367 sed 's/^/| /' conftest.$ac_ext >&5
32368
32369 eval "have_mingw_snprintf=no"
32370 fi
32371 rm -f conftest.err conftest.$ac_objext \
32372       conftest$ac_exeext conftest.$ac_ext
32373
32374 fi
32375 echo "$as_me:$LINENO: result: $have_mingw_snprintf" >&5
32376 echo "${ECHO_T}$have_mingw_snprintf" >&6
32377   if test x"$have_mingw_snprintf" = xyes; then
32378
32379 cat >>confdefs.h <<\_ACEOF
32380 #define HAVE_MINGW_SNPRINTF 1
32381 _ACEOF
32382
32383   fi
32384
32385
32386 # Check for GNU libc feenableexcept
32387 echo "$as_me:$LINENO: checking for feenableexcept in -lm" >&5
32388 echo $ECHO_N "checking for feenableexcept in -lm... $ECHO_C" >&6
32389 if test "${ac_cv_lib_m_feenableexcept+set}" = set; then
32390   echo $ECHO_N "(cached) $ECHO_C" >&6
32391 else
32392   ac_check_lib_save_LIBS=$LIBS
32393 LIBS="-lm  $LIBS"
32394 if test x$gcc_no_link = xyes; then
32395   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32396 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32397    { (exit 1); exit 1; }; }
32398 fi
32399 cat >conftest.$ac_ext <<_ACEOF
32400 /* confdefs.h.  */
32401 _ACEOF
32402 cat confdefs.h >>conftest.$ac_ext
32403 cat >>conftest.$ac_ext <<_ACEOF
32404 /* end confdefs.h.  */
32405
32406 /* Override any gcc2 internal prototype to avoid an error.  */
32407 #ifdef __cplusplus
32408 extern "C"
32409 #endif
32410 /* We use char because int might match the return type of a gcc2
32411    builtin and then its argument prototype would still apply.  */
32412 char feenableexcept ();
32413 int
32414 main ()
32415 {
32416 feenableexcept ();
32417   ;
32418   return 0;
32419 }
32420 _ACEOF
32421 rm -f conftest.$ac_objext conftest$ac_exeext
32422 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32423   (eval $ac_link) 2>conftest.er1
32424   ac_status=$?
32425   grep -v '^ *+' conftest.er1 >conftest.err
32426   rm -f conftest.er1
32427   cat conftest.err >&5
32428   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32429   (exit $ac_status); } &&
32430          { ac_try='test -z "$ac_c_werror_flag"
32431                          || test ! -s conftest.err'
32432   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32433   (eval $ac_try) 2>&5
32434   ac_status=$?
32435   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32436   (exit $ac_status); }; } &&
32437          { ac_try='test -s conftest$ac_exeext'
32438   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32439   (eval $ac_try) 2>&5
32440   ac_status=$?
32441   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32442   (exit $ac_status); }; }; then
32443   ac_cv_lib_m_feenableexcept=yes
32444 else
32445   echo "$as_me: failed program was:" >&5
32446 sed 's/^/| /' conftest.$ac_ext >&5
32447
32448 ac_cv_lib_m_feenableexcept=no
32449 fi
32450 rm -f conftest.err conftest.$ac_objext \
32451       conftest$ac_exeext conftest.$ac_ext
32452 LIBS=$ac_check_lib_save_LIBS
32453 fi
32454 echo "$as_me:$LINENO: result: $ac_cv_lib_m_feenableexcept" >&5
32455 echo "${ECHO_T}$ac_cv_lib_m_feenableexcept" >&6
32456 if test $ac_cv_lib_m_feenableexcept = yes; then
32457   have_feenableexcept=yes
32458 cat >>confdefs.h <<\_ACEOF
32459 #define HAVE_FEENABLEEXCEPT 1
32460 _ACEOF
32461
32462 fi
32463
32464
32465 # Check for SysV fpsetmask
32466
32467   echo "$as_me:$LINENO: checking whether fpsetmask is present" >&5
32468 echo $ECHO_N "checking whether fpsetmask is present... $ECHO_C" >&6
32469 if test "${have_fpsetmask+set}" = set; then
32470   echo $ECHO_N "(cached) $ECHO_C" >&6
32471 else
32472
32473     if test x$gcc_no_link = xyes; then
32474   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32475 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32476    { (exit 1); exit 1; }; }
32477 fi
32478 cat >conftest.$ac_ext <<_ACEOF
32479 /* confdefs.h.  */
32480 _ACEOF
32481 cat confdefs.h >>conftest.$ac_ext
32482 cat >>conftest.$ac_ext <<_ACEOF
32483 /* end confdefs.h.  */
32484
32485 #if HAVE_FLOATINGPOINT_H
32486 # include <floatingpoint.h>
32487 #endif /* HAVE_FLOATINGPOINT_H */
32488 #if HAVE_IEEEFP_H
32489 # include <ieeefp.h>
32490 #endif /* HAVE_IEEEFP_H */
32491 int
32492 main ()
32493 {
32494 fpsetmask(0);
32495   ;
32496   return 0;
32497 }
32498 _ACEOF
32499 rm -f conftest.$ac_objext conftest$ac_exeext
32500 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32501   (eval $ac_link) 2>conftest.er1
32502   ac_status=$?
32503   grep -v '^ *+' conftest.er1 >conftest.err
32504   rm -f conftest.er1
32505   cat conftest.err >&5
32506   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32507   (exit $ac_status); } &&
32508          { ac_try='test -z "$ac_c_werror_flag"
32509                          || test ! -s conftest.err'
32510   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32511   (eval $ac_try) 2>&5
32512   ac_status=$?
32513   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32514   (exit $ac_status); }; } &&
32515          { ac_try='test -s conftest$ac_exeext'
32516   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32517   (eval $ac_try) 2>&5
32518   ac_status=$?
32519   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32520   (exit $ac_status); }; }; then
32521   eval "have_fpsetmask=yes"
32522 else
32523   echo "$as_me: failed program was:" >&5
32524 sed 's/^/| /' conftest.$ac_ext >&5
32525
32526 eval "have_fpsetmask=no"
32527 fi
32528 rm -f conftest.err conftest.$ac_objext \
32529       conftest$ac_exeext conftest.$ac_ext
32530
32531 fi
32532 echo "$as_me:$LINENO: result: $have_fpsetmask" >&5
32533 echo "${ECHO_T}$have_fpsetmask" >&6
32534   if test x"$have_fpsetmask" = xyes; then
32535
32536 cat >>confdefs.h <<\_ACEOF
32537 #define HAVE_FPSETMASK 1
32538 _ACEOF
32539
32540   fi
32541
32542
32543 # Check for AIX fp_trap and fp_enable
32544 echo "$as_me:$LINENO: checking for fp_trap" >&5
32545 echo $ECHO_N "checking for fp_trap... $ECHO_C" >&6
32546 if test "${ac_cv_func_fp_trap+set}" = set; then
32547   echo $ECHO_N "(cached) $ECHO_C" >&6
32548 else
32549   if test x$gcc_no_link = xyes; then
32550   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32551 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32552    { (exit 1); exit 1; }; }
32553 fi
32554 cat >conftest.$ac_ext <<_ACEOF
32555 /* confdefs.h.  */
32556 _ACEOF
32557 cat confdefs.h >>conftest.$ac_ext
32558 cat >>conftest.$ac_ext <<_ACEOF
32559 /* end confdefs.h.  */
32560 /* Define fp_trap to an innocuous variant, in case <limits.h> declares fp_trap.
32561    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
32562 #define fp_trap innocuous_fp_trap
32563
32564 /* System header to define __stub macros and hopefully few prototypes,
32565     which can conflict with char fp_trap (); below.
32566     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32567     <limits.h> exists even on freestanding compilers.  */
32568
32569 #ifdef __STDC__
32570 # include <limits.h>
32571 #else
32572 # include <assert.h>
32573 #endif
32574
32575 #undef fp_trap
32576
32577 /* Override any gcc2 internal prototype to avoid an error.  */
32578 #ifdef __cplusplus
32579 extern "C"
32580 {
32581 #endif
32582 /* We use char because int might match the return type of a gcc2
32583    builtin and then its argument prototype would still apply.  */
32584 char fp_trap ();
32585 /* The GNU C library defines this for functions which it implements
32586     to always fail with ENOSYS.  Some functions are actually named
32587     something starting with __ and the normal name is an alias.  */
32588 #if defined (__stub_fp_trap) || defined (__stub___fp_trap)
32589 choke me
32590 #else
32591 char (*f) () = fp_trap;
32592 #endif
32593 #ifdef __cplusplus
32594 }
32595 #endif
32596
32597 int
32598 main ()
32599 {
32600 return f != fp_trap;
32601   ;
32602   return 0;
32603 }
32604 _ACEOF
32605 rm -f conftest.$ac_objext conftest$ac_exeext
32606 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32607   (eval $ac_link) 2>conftest.er1
32608   ac_status=$?
32609   grep -v '^ *+' conftest.er1 >conftest.err
32610   rm -f conftest.er1
32611   cat conftest.err >&5
32612   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32613   (exit $ac_status); } &&
32614          { ac_try='test -z "$ac_c_werror_flag"
32615                          || test ! -s conftest.err'
32616   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32617   (eval $ac_try) 2>&5
32618   ac_status=$?
32619   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32620   (exit $ac_status); }; } &&
32621          { ac_try='test -s conftest$ac_exeext'
32622   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32623   (eval $ac_try) 2>&5
32624   ac_status=$?
32625   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32626   (exit $ac_status); }; }; then
32627   ac_cv_func_fp_trap=yes
32628 else
32629   echo "$as_me: failed program was:" >&5
32630 sed 's/^/| /' conftest.$ac_ext >&5
32631
32632 ac_cv_func_fp_trap=no
32633 fi
32634 rm -f conftest.err conftest.$ac_objext \
32635       conftest$ac_exeext conftest.$ac_ext
32636 fi
32637 echo "$as_me:$LINENO: result: $ac_cv_func_fp_trap" >&5
32638 echo "${ECHO_T}$ac_cv_func_fp_trap" >&6
32639 if test $ac_cv_func_fp_trap = yes; then
32640   have_fp_trap=yes
32641 cat >>confdefs.h <<\_ACEOF
32642 #define HAVE_FP_TRAP 1
32643 _ACEOF
32644
32645 fi
32646
32647 echo "$as_me:$LINENO: checking for fp_enable" >&5
32648 echo $ECHO_N "checking for fp_enable... $ECHO_C" >&6
32649 if test "${ac_cv_func_fp_enable+set}" = set; then
32650   echo $ECHO_N "(cached) $ECHO_C" >&6
32651 else
32652   if test x$gcc_no_link = xyes; then
32653   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32654 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32655    { (exit 1); exit 1; }; }
32656 fi
32657 cat >conftest.$ac_ext <<_ACEOF
32658 /* confdefs.h.  */
32659 _ACEOF
32660 cat confdefs.h >>conftest.$ac_ext
32661 cat >>conftest.$ac_ext <<_ACEOF
32662 /* end confdefs.h.  */
32663 /* Define fp_enable to an innocuous variant, in case <limits.h> declares fp_enable.
32664    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
32665 #define fp_enable innocuous_fp_enable
32666
32667 /* System header to define __stub macros and hopefully few prototypes,
32668     which can conflict with char fp_enable (); below.
32669     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32670     <limits.h> exists even on freestanding compilers.  */
32671
32672 #ifdef __STDC__
32673 # include <limits.h>
32674 #else
32675 # include <assert.h>
32676 #endif
32677
32678 #undef fp_enable
32679
32680 /* Override any gcc2 internal prototype to avoid an error.  */
32681 #ifdef __cplusplus
32682 extern "C"
32683 {
32684 #endif
32685 /* We use char because int might match the return type of a gcc2
32686    builtin and then its argument prototype would still apply.  */
32687 char fp_enable ();
32688 /* The GNU C library defines this for functions which it implements
32689     to always fail with ENOSYS.  Some functions are actually named
32690     something starting with __ and the normal name is an alias.  */
32691 #if defined (__stub_fp_enable) || defined (__stub___fp_enable)
32692 choke me
32693 #else
32694 char (*f) () = fp_enable;
32695 #endif
32696 #ifdef __cplusplus
32697 }
32698 #endif
32699
32700 int
32701 main ()
32702 {
32703 return f != fp_enable;
32704   ;
32705   return 0;
32706 }
32707 _ACEOF
32708 rm -f conftest.$ac_objext conftest$ac_exeext
32709 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32710   (eval $ac_link) 2>conftest.er1
32711   ac_status=$?
32712   grep -v '^ *+' conftest.er1 >conftest.err
32713   rm -f conftest.er1
32714   cat conftest.err >&5
32715   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32716   (exit $ac_status); } &&
32717          { ac_try='test -z "$ac_c_werror_flag"
32718                          || test ! -s conftest.err'
32719   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32720   (eval $ac_try) 2>&5
32721   ac_status=$?
32722   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32723   (exit $ac_status); }; } &&
32724          { ac_try='test -s conftest$ac_exeext'
32725   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32726   (eval $ac_try) 2>&5
32727   ac_status=$?
32728   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32729   (exit $ac_status); }; }; then
32730   ac_cv_func_fp_enable=yes
32731 else
32732   echo "$as_me: failed program was:" >&5
32733 sed 's/^/| /' conftest.$ac_ext >&5
32734
32735 ac_cv_func_fp_enable=no
32736 fi
32737 rm -f conftest.err conftest.$ac_objext \
32738       conftest$ac_exeext conftest.$ac_ext
32739 fi
32740 echo "$as_me:$LINENO: result: $ac_cv_func_fp_enable" >&5
32741 echo "${ECHO_T}$ac_cv_func_fp_enable" >&6
32742 if test $ac_cv_func_fp_enable = yes; then
32743   have_fp_enable=yes
32744 cat >>confdefs.h <<\_ACEOF
32745 #define HAVE_FP_ENABLE 1
32746 _ACEOF
32747
32748 fi
32749
32750
32751 # Runs configure.host to set up necessary host-dependent shell variables.
32752 # We then display a message about it, and propagate them through the
32753 # build chain.
32754 . ${srcdir}/configure.host
32755 { echo "$as_me:$LINENO: FPU dependent file will be ${fpu_host}.h" >&5
32756 echo "$as_me: FPU dependent file will be ${fpu_host}.h" >&6;}
32757 FPU_HOST_HEADER=config/${fpu_host}.h
32758
32759
32760 # Check out attribute support.
32761
32762   echo "$as_me:$LINENO: checking whether the target supports hidden visibility" >&5
32763 echo $ECHO_N "checking whether the target supports hidden visibility... $ECHO_C" >&6
32764 if test "${have_attribute_visibility+set}" = set; then
32765   echo $ECHO_N "(cached) $ECHO_C" >&6
32766 else
32767
32768   save_CFLAGS="$CFLAGS"
32769   CFLAGS="$CFLAGS -Werror"
32770   cat >conftest.$ac_ext <<_ACEOF
32771 /* confdefs.h.  */
32772 _ACEOF
32773 cat confdefs.h >>conftest.$ac_ext
32774 cat >>conftest.$ac_ext <<_ACEOF
32775 /* end confdefs.h.  */
32776 void __attribute__((visibility("hidden"))) foo(void) { }
32777 int
32778 main ()
32779 {
32780
32781   ;
32782   return 0;
32783 }
32784 _ACEOF
32785 rm -f conftest.$ac_objext
32786 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32787   (eval $ac_compile) 2>conftest.er1
32788   ac_status=$?
32789   grep -v '^ *+' conftest.er1 >conftest.err
32790   rm -f conftest.er1
32791   cat conftest.err >&5
32792   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32793   (exit $ac_status); } &&
32794          { ac_try='test -z "$ac_c_werror_flag"
32795                          || test ! -s conftest.err'
32796   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32797   (eval $ac_try) 2>&5
32798   ac_status=$?
32799   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32800   (exit $ac_status); }; } &&
32801          { ac_try='test -s conftest.$ac_objext'
32802   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32803   (eval $ac_try) 2>&5
32804   ac_status=$?
32805   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32806   (exit $ac_status); }; }; then
32807   have_attribute_visibility=yes
32808 else
32809   echo "$as_me: failed program was:" >&5
32810 sed 's/^/| /' conftest.$ac_ext >&5
32811
32812 have_attribute_visibility=no
32813 fi
32814 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32815   CFLAGS="$save_CFLAGS"
32816 fi
32817 echo "$as_me:$LINENO: result: $have_attribute_visibility" >&5
32818 echo "${ECHO_T}$have_attribute_visibility" >&6
32819   if test $have_attribute_visibility = yes; then
32820
32821 cat >>confdefs.h <<\_ACEOF
32822 #define HAVE_ATTRIBUTE_VISIBILITY 1
32823 _ACEOF
32824
32825   fi
32826
32827   echo "$as_me:$LINENO: checking whether the target supports dllexport" >&5
32828 echo $ECHO_N "checking whether the target supports dllexport... $ECHO_C" >&6
32829 if test "${have_attribute_dllexport+set}" = set; then
32830   echo $ECHO_N "(cached) $ECHO_C" >&6
32831 else
32832
32833   save_CFLAGS="$CFLAGS"
32834   CFLAGS="$CFLAGS -Werror"
32835   cat >conftest.$ac_ext <<_ACEOF
32836 /* confdefs.h.  */
32837 _ACEOF
32838 cat confdefs.h >>conftest.$ac_ext
32839 cat >>conftest.$ac_ext <<_ACEOF
32840 /* end confdefs.h.  */
32841 void __attribute__((dllexport)) foo(void) { }
32842 int
32843 main ()
32844 {
32845
32846   ;
32847   return 0;
32848 }
32849 _ACEOF
32850 rm -f conftest.$ac_objext
32851 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32852   (eval $ac_compile) 2>conftest.er1
32853   ac_status=$?
32854   grep -v '^ *+' conftest.er1 >conftest.err
32855   rm -f conftest.er1
32856   cat conftest.err >&5
32857   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32858   (exit $ac_status); } &&
32859          { ac_try='test -z "$ac_c_werror_flag"
32860                          || test ! -s conftest.err'
32861   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32862   (eval $ac_try) 2>&5
32863   ac_status=$?
32864   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32865   (exit $ac_status); }; } &&
32866          { ac_try='test -s conftest.$ac_objext'
32867   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32868   (eval $ac_try) 2>&5
32869   ac_status=$?
32870   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32871   (exit $ac_status); }; }; then
32872   have_attribute_dllexport=yes
32873 else
32874   echo "$as_me: failed program was:" >&5
32875 sed 's/^/| /' conftest.$ac_ext >&5
32876
32877 have_attribute_dllexport=no
32878 fi
32879 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32880   CFLAGS="$save_CFLAGS"
32881 fi
32882 echo "$as_me:$LINENO: result: $have_attribute_dllexport" >&5
32883 echo "${ECHO_T}$have_attribute_dllexport" >&6
32884   if test $have_attribute_dllexport = yes; then
32885
32886 cat >>confdefs.h <<\_ACEOF
32887 #define HAVE_ATTRIBUTE_DLLEXPORT 1
32888 _ACEOF
32889
32890   fi
32891
32892   echo "$as_me:$LINENO: checking whether the target supports symbol aliases" >&5
32893 echo $ECHO_N "checking whether the target supports symbol aliases... $ECHO_C" >&6
32894 if test "${have_attribute_alias+set}" = set; then
32895   echo $ECHO_N "(cached) $ECHO_C" >&6
32896 else
32897
32898   if test x$gcc_no_link = xyes; then
32899   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32900 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32901    { (exit 1); exit 1; }; }
32902 fi
32903 cat >conftest.$ac_ext <<_ACEOF
32904 /* confdefs.h.  */
32905 _ACEOF
32906 cat confdefs.h >>conftest.$ac_ext
32907 cat >>conftest.$ac_ext <<_ACEOF
32908 /* end confdefs.h.  */
32909
32910 void foo(void) { }
32911 extern void bar(void) __attribute__((alias("foo")));
32912 int
32913 main ()
32914 {
32915 bar();
32916   ;
32917   return 0;
32918 }
32919 _ACEOF
32920 rm -f conftest.$ac_objext conftest$ac_exeext
32921 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32922   (eval $ac_link) 2>conftest.er1
32923   ac_status=$?
32924   grep -v '^ *+' conftest.er1 >conftest.err
32925   rm -f conftest.er1
32926   cat conftest.err >&5
32927   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32928   (exit $ac_status); } &&
32929          { ac_try='test -z "$ac_c_werror_flag"
32930                          || test ! -s conftest.err'
32931   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32932   (eval $ac_try) 2>&5
32933   ac_status=$?
32934   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32935   (exit $ac_status); }; } &&
32936          { ac_try='test -s conftest$ac_exeext'
32937   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32938   (eval $ac_try) 2>&5
32939   ac_status=$?
32940   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32941   (exit $ac_status); }; }; then
32942   have_attribute_alias=yes
32943 else
32944   echo "$as_me: failed program was:" >&5
32945 sed 's/^/| /' conftest.$ac_ext >&5
32946
32947 have_attribute_alias=no
32948 fi
32949 rm -f conftest.err conftest.$ac_objext \
32950       conftest$ac_exeext conftest.$ac_ext
32951 fi
32952 echo "$as_me:$LINENO: result: $have_attribute_alias" >&5
32953 echo "${ECHO_T}$have_attribute_alias" >&6
32954   if test $have_attribute_alias = yes; then
32955
32956 cat >>confdefs.h <<\_ACEOF
32957 #define HAVE_ATTRIBUTE_ALIAS 1
32958 _ACEOF
32959
32960   fi
32961
32962 # Check out sync builtins support.
32963
32964   echo "$as_me:$LINENO: checking whether the target supports __sync_fetch_and_add" >&5
32965 echo $ECHO_N "checking whether the target supports __sync_fetch_and_add... $ECHO_C" >&6
32966 if test "${have_sync_fetch_and_add+set}" = set; then
32967   echo $ECHO_N "(cached) $ECHO_C" >&6
32968 else
32969
32970   if test x$gcc_no_link = xyes; then
32971   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32972 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32973    { (exit 1); exit 1; }; }
32974 fi
32975 cat >conftest.$ac_ext <<_ACEOF
32976 /* confdefs.h.  */
32977 _ACEOF
32978 cat confdefs.h >>conftest.$ac_ext
32979 cat >>conftest.$ac_ext <<_ACEOF
32980 /* end confdefs.h.  */
32981 int foovar = 0;
32982 int
32983 main ()
32984 {
32985
32986 if (foovar <= 0) return __sync_fetch_and_add (&foovar, 1);
32987 if (foovar > 10) return __sync_add_and_fetch (&foovar, -1);
32988   ;
32989   return 0;
32990 }
32991 _ACEOF
32992 rm -f conftest.$ac_objext conftest$ac_exeext
32993 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32994   (eval $ac_link) 2>conftest.er1
32995   ac_status=$?
32996   grep -v '^ *+' conftest.er1 >conftest.err
32997   rm -f conftest.er1
32998   cat conftest.err >&5
32999   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33000   (exit $ac_status); } &&
33001          { ac_try='test -z "$ac_c_werror_flag"
33002                          || test ! -s conftest.err'
33003   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33004   (eval $ac_try) 2>&5
33005   ac_status=$?
33006   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33007   (exit $ac_status); }; } &&
33008          { ac_try='test -s conftest$ac_exeext'
33009   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33010   (eval $ac_try) 2>&5
33011   ac_status=$?
33012   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33013   (exit $ac_status); }; }; then
33014   have_sync_fetch_and_add=yes
33015 else
33016   echo "$as_me: failed program was:" >&5
33017 sed 's/^/| /' conftest.$ac_ext >&5
33018
33019 have_sync_fetch_and_add=no
33020 fi
33021 rm -f conftest.err conftest.$ac_objext \
33022       conftest$ac_exeext conftest.$ac_ext
33023 fi
33024 echo "$as_me:$LINENO: result: $have_sync_fetch_and_add" >&5
33025 echo "${ECHO_T}$have_sync_fetch_and_add" >&6
33026   if test $have_sync_fetch_and_add = yes; then
33027
33028 cat >>confdefs.h <<\_ACEOF
33029 #define HAVE_SYNC_FETCH_AND_ADD 1
33030 _ACEOF
33031
33032   fi
33033
33034 # Check out thread support.
33035
33036   echo "$as_me:$LINENO: checking configured target thread model" >&5
33037 echo $ECHO_N "checking configured target thread model... $ECHO_C" >&6
33038 if test "${target_thread_file+set}" = set; then
33039   echo $ECHO_N "(cached) $ECHO_C" >&6
33040 else
33041
33042 target_thread_file=`$CC -v 2>&1 | sed -n 's/^Thread model: //p'`
33043 fi
33044 echo "$as_me:$LINENO: result: $target_thread_file" >&5
33045 echo "${ECHO_T}$target_thread_file" >&6
33046
33047   if test $target_thread_file != single; then
33048
33049 cat >>confdefs.h <<\_ACEOF
33050 #define HAVE_GTHR_DEFAULT 1
33051 _ACEOF
33052
33053   fi
33054
33055 # Check out #pragma weak.
33056
33057   echo "$as_me:$LINENO: checking whether pragma weak works" >&5
33058 echo $ECHO_N "checking whether pragma weak works... $ECHO_C" >&6
33059 if test "${have_pragma_weak+set}" = set; then
33060   echo $ECHO_N "(cached) $ECHO_C" >&6
33061 else
33062
33063   gfor_save_CFLAGS="$CFLAGS"
33064   CFLAGS="$CFLAGS -Wunknown-pragmas"
33065   cat >conftest.$ac_ext <<_ACEOF
33066 /* confdefs.h.  */
33067 _ACEOF
33068 cat confdefs.h >>conftest.$ac_ext
33069 cat >>conftest.$ac_ext <<_ACEOF
33070 /* end confdefs.h.  */
33071 void foo (void);
33072 #pragma weak foo
33073 int
33074 main ()
33075 {
33076 if (foo) foo ();
33077   ;
33078   return 0;
33079 }
33080 _ACEOF
33081 rm -f conftest.$ac_objext
33082 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33083   (eval $ac_compile) 2>conftest.er1
33084   ac_status=$?
33085   grep -v '^ *+' conftest.er1 >conftest.err
33086   rm -f conftest.er1
33087   cat conftest.err >&5
33088   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33089   (exit $ac_status); } &&
33090          { ac_try='test -z "$ac_c_werror_flag"
33091                          || test ! -s conftest.err'
33092   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33093   (eval $ac_try) 2>&5
33094   ac_status=$?
33095   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33096   (exit $ac_status); }; } &&
33097          { ac_try='test -s conftest.$ac_objext'
33098   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33099   (eval $ac_try) 2>&5
33100   ac_status=$?
33101   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33102   (exit $ac_status); }; }; then
33103   have_pragma_weak=yes
33104 else
33105   echo "$as_me: failed program was:" >&5
33106 sed 's/^/| /' conftest.$ac_ext >&5
33107
33108 have_pragma_weak=no
33109 fi
33110 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33111 fi
33112 echo "$as_me:$LINENO: result: $have_pragma_weak" >&5
33113 echo "${ECHO_T}$have_pragma_weak" >&6
33114   if test $have_pragma_weak = yes; then
33115
33116 cat >>confdefs.h <<\_ACEOF
33117 #define SUPPORTS_WEAK 1
33118 _ACEOF
33119
33120   fi
33121   case "$host" in
33122     *-*-darwin* | *-*-hpux* | *-*-cygwin* | *-*-mingw* )
33123
33124 cat >>confdefs.h <<\_ACEOF
33125 #define GTHREAD_USE_WEAK 0
33126 _ACEOF
33127
33128       ;;
33129   esac
33130
33131 # Various other checks on target
33132
33133   echo "$as_me:$LINENO: checking whether the target can unlink an open file" >&5
33134 echo $ECHO_N "checking whether the target can unlink an open file... $ECHO_C" >&6
33135 if test "${have_unlink_open_file+set}" = set; then
33136   echo $ECHO_N "(cached) $ECHO_C" >&6
33137 else
33138
33139   if test "$cross_compiling" = yes; then
33140
33141 case "${target}" in
33142   *mingw*) have_unlink_open_file=no ;;
33143   *) have_unlink_open_file=yes;;
33144 esac
33145 else
33146   cat >conftest.$ac_ext <<_ACEOF
33147 /* confdefs.h.  */
33148 _ACEOF
33149 cat confdefs.h >>conftest.$ac_ext
33150 cat >>conftest.$ac_ext <<_ACEOF
33151 /* end confdefs.h.  */
33152
33153 #include <errno.h>
33154 #include <fcntl.h>
33155 #include <unistd.h>
33156 #include <sys/stat.h>
33157
33158 int main ()
33159 {
33160   int fd;
33161
33162   fd = open ("testfile", O_RDWR | O_CREAT, S_IWRITE | S_IREAD);
33163   if (fd <= 0)
33164     return 0;
33165   if (unlink ("testfile") == -1)
33166     return 1;
33167   write (fd, "This is a test\n", 15);
33168   close (fd);
33169
33170   if (open ("testfile", O_RDONLY, S_IWRITE | S_IREAD) == -1 && errno == ENOENT)
33171     return 0;
33172   else
33173     return 1;
33174 }
33175 _ACEOF
33176 rm -f conftest$ac_exeext
33177 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33178   (eval $ac_link) 2>&5
33179   ac_status=$?
33180   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33181   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
33182   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33183   (eval $ac_try) 2>&5
33184   ac_status=$?
33185   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33186   (exit $ac_status); }; }; then
33187   have_unlink_open_file=yes
33188 else
33189   echo "$as_me: program exited with status $ac_status" >&5
33190 echo "$as_me: failed program was:" >&5
33191 sed 's/^/| /' conftest.$ac_ext >&5
33192
33193 ( exit $ac_status )
33194 have_unlink_open_file=no
33195 fi
33196 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
33197 fi
33198 fi
33199 echo "$as_me:$LINENO: result: $have_unlink_open_file" >&5
33200 echo "${ECHO_T}$have_unlink_open_file" >&6
33201 if test x"$have_unlink_open_file" = xyes; then
33202
33203 cat >>confdefs.h <<\_ACEOF
33204 #define HAVE_UNLINK_OPEN_FILE 1
33205 _ACEOF
33206
33207 fi
33208
33209 # Check whether line terminator is LF or CRLF
33210
33211   echo "$as_me:$LINENO: checking whether the target has CRLF as line terminator" >&5
33212 echo $ECHO_N "checking whether the target has CRLF as line terminator... $ECHO_C" >&6
33213 if test "${have_crlf+set}" = set; then
33214   echo $ECHO_N "(cached) $ECHO_C" >&6
33215 else
33216
33217   if test "$cross_compiling" = yes; then
33218
33219 case "${target}" in
33220   *mingw*) have_crlf=yes ;;
33221   *) have_crlf=no;;
33222 esac
33223 else
33224   cat >conftest.$ac_ext <<_ACEOF
33225 /* confdefs.h.  */
33226 _ACEOF
33227 cat confdefs.h >>conftest.$ac_ext
33228 cat >>conftest.$ac_ext <<_ACEOF
33229 /* end confdefs.h.  */
33230
33231 /* This test program should exit with status 0 if system uses a CRLF as
33232    line terminator, and status 1 otherwise.
33233    Since it is used to check for mingw systems, and should return 0 in any
33234    other case, in case of a failure we will not use CRLF.  */
33235 #include <sys/stat.h>
33236 #include <stdlib.h>
33237 #include <fcntl.h>
33238 #include <stdio.h>
33239
33240 int main ()
33241 {
33242 #ifndef O_BINARY
33243   exit(1);
33244 #else
33245   int fd, bytes;
33246   char buff[5];
33247
33248   fd = open ("foo", O_WRONLY | O_CREAT | O_TRUNC, S_IRWXU);
33249   if (fd < 0)
33250     exit(1);
33251   if (write (fd, "\n", 1) < 0)
33252     perror ("write");
33253
33254   close (fd);
33255
33256   if ((fd = open ("foo", O_RDONLY | O_BINARY, S_IRWXU)) < 0)
33257     exit(1);
33258   bytes = read (fd, buff, 5);
33259   if (bytes == 2 && buff[0] == '\r' && buff[1] == '\n')
33260     exit(0);
33261   else
33262     exit(1);
33263 #endif
33264 }
33265 _ACEOF
33266 rm -f conftest$ac_exeext
33267 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33268   (eval $ac_link) 2>&5
33269   ac_status=$?
33270   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33271   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
33272   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33273   (eval $ac_try) 2>&5
33274   ac_status=$?
33275   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33276   (exit $ac_status); }; }; then
33277   have_crlf=yes
33278 else
33279   echo "$as_me: program exited with status $ac_status" >&5
33280 echo "$as_me: failed program was:" >&5
33281 sed 's/^/| /' conftest.$ac_ext >&5
33282
33283 ( exit $ac_status )
33284 have_crlf=no
33285 fi
33286 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
33287 fi
33288 fi
33289 echo "$as_me:$LINENO: result: $have_crlf" >&5
33290 echo "${ECHO_T}$have_crlf" >&6
33291 if test x"$have_crlf" = xyes; then
33292
33293 cat >>confdefs.h <<\_ACEOF
33294 #define HAVE_CRLF 1
33295 _ACEOF
33296
33297 fi
33298
33299 cat >confcache <<\_ACEOF
33300 # This file is a shell script that caches the results of configure
33301 # tests run on this system so they can be shared between configure
33302 # scripts and configure runs, see configure's option --config-cache.
33303 # It is not useful on other systems.  If it contains results you don't
33304 # want to keep, you may remove or edit it.
33305 #
33306 # config.status only pays attention to the cache file if you give it
33307 # the --recheck option to rerun configure.
33308 #
33309 # `ac_cv_env_foo' variables (set or unset) will be overridden when
33310 # loading this file, other *unset* `ac_cv_foo' will be assigned the
33311 # following values.
33312
33313 _ACEOF
33314
33315 # The following way of writing the cache mishandles newlines in values,
33316 # but we know of no workaround that is simple, portable, and efficient.
33317 # So, don't put newlines in cache variables' values.
33318 # Ultrix sh set writes to stderr and can't be redirected directly,
33319 # and sets the high bit in the cache file unless we assign to the vars.
33320 {
33321   (set) 2>&1 |
33322     case `(ac_space=' '; set | grep ac_space) 2>&1` in
33323     *ac_space=\ *)
33324       # `set' does not quote correctly, so add quotes (double-quote
33325       # substitution turns \\\\ into \\, and sed turns \\ into \).
33326       sed -n \
33327         "s/'/'\\\\''/g;
33328           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
33329       ;;
33330     *)
33331       # `set' quotes correctly as required by POSIX, so do not add quotes.
33332       sed -n \
33333         "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
33334       ;;
33335     esac;
33336 } |
33337   sed '
33338      t clear
33339      : clear
33340      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
33341      t end
33342      /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
33343      : end' >>confcache
33344 if diff $cache_file confcache >/dev/null 2>&1; then :; else
33345   if test -w $cache_file; then
33346     test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
33347     cat confcache >$cache_file
33348   else
33349     echo "not updating unwritable cache $cache_file"
33350   fi
33351 fi
33352 rm -f confcache
33353
33354 if test ${multilib} = yes; then
33355   multilib_arg="--enable-multilib"
33356 else
33357   multilib_arg=
33358 fi
33359
33360 # Write our Makefile.
33361           ac_config_files="$ac_config_files Makefile"
33362
33363 cat >confcache <<\_ACEOF
33364 # This file is a shell script that caches the results of configure
33365 # tests run on this system so they can be shared between configure
33366 # scripts and configure runs, see configure's option --config-cache.
33367 # It is not useful on other systems.  If it contains results you don't
33368 # want to keep, you may remove or edit it.
33369 #
33370 # config.status only pays attention to the cache file if you give it
33371 # the --recheck option to rerun configure.
33372 #
33373 # `ac_cv_env_foo' variables (set or unset) will be overridden when
33374 # loading this file, other *unset* `ac_cv_foo' will be assigned the
33375 # following values.
33376
33377 _ACEOF
33378
33379 # The following way of writing the cache mishandles newlines in values,
33380 # but we know of no workaround that is simple, portable, and efficient.
33381 # So, don't put newlines in cache variables' values.
33382 # Ultrix sh set writes to stderr and can't be redirected directly,
33383 # and sets the high bit in the cache file unless we assign to the vars.
33384 {
33385   (set) 2>&1 |
33386     case `(ac_space=' '; set | grep ac_space) 2>&1` in
33387     *ac_space=\ *)
33388       # `set' does not quote correctly, so add quotes (double-quote
33389       # substitution turns \\\\ into \\, and sed turns \\ into \).
33390       sed -n \
33391         "s/'/'\\\\''/g;
33392           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
33393       ;;
33394     *)
33395       # `set' quotes correctly as required by POSIX, so do not add quotes.
33396       sed -n \
33397         "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
33398       ;;
33399     esac;
33400 } |
33401   sed '
33402      t clear
33403      : clear
33404      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
33405      t end
33406      /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
33407      : end' >>confcache
33408 if diff $cache_file confcache >/dev/null 2>&1; then :; else
33409   if test -w $cache_file; then
33410     test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
33411     cat confcache >$cache_file
33412   else
33413     echo "not updating unwritable cache $cache_file"
33414   fi
33415 fi
33416 rm -f confcache
33417
33418 test "x$prefix" = xNONE && prefix=$ac_default_prefix
33419 # Let make expand exec_prefix.
33420 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
33421
33422 # VPATH may cause trouble with some makes, so we remove $(srcdir),
33423 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
33424 # trailing colons and then remove the whole line if VPATH becomes empty
33425 # (actually we leave an empty line to preserve line numbers).
33426 if test "x$srcdir" = x.; then
33427   ac_vpsub='/^[  ]*VPATH[        ]*=/{
33428 s/:*\$(srcdir):*/:/;
33429 s/:*\${srcdir}:*/:/;
33430 s/:*@srcdir@:*/:/;
33431 s/^\([^=]*=[     ]*\):*/\1/;
33432 s/:*$//;
33433 s/^[^=]*=[       ]*$//;
33434 }'
33435 fi
33436
33437 DEFS=-DHAVE_CONFIG_H
33438
33439 ac_libobjs=
33440 ac_ltlibobjs=
33441 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
33442   # 1. Remove the extension, and $U if already installed.
33443   ac_i=`echo "$ac_i" |
33444          sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
33445   # 2. Add them.
33446   ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
33447   ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
33448 done
33449 LIBOBJS=$ac_libobjs
33450
33451 LTLIBOBJS=$ac_ltlibobjs
33452
33453
33454 if test -z "${onestep_TRUE}" && test -z "${onestep_FALSE}"; then
33455   { { echo "$as_me:$LINENO: error: conditional \"onestep\" was never defined.
33456 Usually this means the macro was only invoked conditionally." >&5
33457 echo "$as_me: error: conditional \"onestep\" was never defined.
33458 Usually this means the macro was only invoked conditionally." >&2;}
33459    { (exit 1); exit 1; }; }
33460 fi
33461 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
33462   { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
33463 Usually this means the macro was only invoked conditionally." >&5
33464 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
33465 Usually this means the macro was only invoked conditionally." >&2;}
33466    { (exit 1); exit 1; }; }
33467 fi
33468 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
33469   { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
33470 Usually this means the macro was only invoked conditionally." >&5
33471 echo "$as_me: error: conditional \"AMDEP\" was never defined.
33472 Usually this means the macro was only invoked conditionally." >&2;}
33473    { (exit 1); exit 1; }; }
33474 fi
33475 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
33476   { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
33477 Usually this means the macro was only invoked conditionally." >&5
33478 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
33479 Usually this means the macro was only invoked conditionally." >&2;}
33480    { (exit 1); exit 1; }; }
33481 fi
33482 if test -z "${LIBGFOR_USE_SYMVER_TRUE}" && test -z "${LIBGFOR_USE_SYMVER_FALSE}"; then
33483   { { echo "$as_me:$LINENO: error: conditional \"LIBGFOR_USE_SYMVER\" was never defined.
33484 Usually this means the macro was only invoked conditionally." >&5
33485 echo "$as_me: error: conditional \"LIBGFOR_USE_SYMVER\" was never defined.
33486 Usually this means the macro was only invoked conditionally." >&2;}
33487    { (exit 1); exit 1; }; }
33488 fi
33489
33490 : ${CONFIG_STATUS=./config.status}
33491 ac_clean_files_save=$ac_clean_files
33492 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
33493 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
33494 echo "$as_me: creating $CONFIG_STATUS" >&6;}
33495 cat >$CONFIG_STATUS <<_ACEOF
33496 #! $SHELL
33497 # Generated by $as_me.
33498 # Run this file to recreate the current configuration.
33499 # Compiler output produced by configure, useful for debugging
33500 # configure, is in config.log if it exists.
33501
33502 debug=false
33503 ac_cs_recheck=false
33504 ac_cs_silent=false
33505 SHELL=\${CONFIG_SHELL-$SHELL}
33506 _ACEOF
33507
33508 cat >>$CONFIG_STATUS <<\_ACEOF
33509 ## --------------------- ##
33510 ## M4sh Initialization.  ##
33511 ## --------------------- ##
33512
33513 # Be Bourne compatible
33514 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
33515   emulate sh
33516   NULLCMD=:
33517   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
33518   # is contrary to our usage.  Disable this feature.
33519   alias -g '${1+"$@"}'='"$@"'
33520 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
33521   set -o posix
33522 fi
33523 DUALCASE=1; export DUALCASE # for MKS sh
33524
33525 # Support unset when possible.
33526 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
33527   as_unset=unset
33528 else
33529   as_unset=false
33530 fi
33531
33532
33533 # Work around bugs in pre-3.0 UWIN ksh.
33534 $as_unset ENV MAIL MAILPATH
33535 PS1='$ '
33536 PS2='> '
33537 PS4='+ '
33538
33539 # NLS nuisances.
33540 for as_var in \
33541   LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
33542   LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
33543   LC_TELEPHONE LC_TIME
33544 do
33545   if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
33546     eval $as_var=C; export $as_var
33547   else
33548     $as_unset $as_var
33549   fi
33550 done
33551
33552 # Required to use basename.
33553 if expr a : '\(a\)' >/dev/null 2>&1; then
33554   as_expr=expr
33555 else
33556   as_expr=false
33557 fi
33558
33559 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
33560   as_basename=basename
33561 else
33562   as_basename=false
33563 fi
33564
33565
33566 # Name of the executable.
33567 as_me=`$as_basename "$0" ||
33568 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
33569          X"$0" : 'X\(//\)$' \| \
33570          X"$0" : 'X\(/\)$' \| \
33571          .     : '\(.\)' 2>/dev/null ||
33572 echo X/"$0" |
33573     sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
33574           /^X\/\(\/\/\)$/{ s//\1/; q; }
33575           /^X\/\(\/\).*/{ s//\1/; q; }
33576           s/.*/./; q'`
33577
33578
33579 # PATH needs CR, and LINENO needs CR and PATH.
33580 # Avoid depending upon Character Ranges.
33581 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
33582 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
33583 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
33584 as_cr_digits='0123456789'
33585 as_cr_alnum=$as_cr_Letters$as_cr_digits
33586
33587 # The user is always right.
33588 if test "${PATH_SEPARATOR+set}" != set; then
33589   echo "#! /bin/sh" >conf$$.sh
33590   echo  "exit 0"   >>conf$$.sh
33591   chmod +x conf$$.sh
33592   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
33593     PATH_SEPARATOR=';'
33594   else
33595     PATH_SEPARATOR=:
33596   fi
33597   rm -f conf$$.sh
33598 fi
33599
33600
33601   as_lineno_1=$LINENO
33602   as_lineno_2=$LINENO
33603   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
33604   test "x$as_lineno_1" != "x$as_lineno_2" &&
33605   test "x$as_lineno_3"  = "x$as_lineno_2"  || {
33606   # Find who we are.  Look in the path if we contain no path at all
33607   # relative or not.
33608   case $0 in
33609     *[\\/]* ) as_myself=$0 ;;
33610     *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33611 for as_dir in $PATH
33612 do
33613   IFS=$as_save_IFS
33614   test -z "$as_dir" && as_dir=.
33615   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
33616 done
33617
33618        ;;
33619   esac
33620   # We did not find ourselves, most probably we were run as `sh COMMAND'
33621   # in which case we are not to be found in the path.
33622   if test "x$as_myself" = x; then
33623     as_myself=$0
33624   fi
33625   if test ! -f "$as_myself"; then
33626     { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
33627 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
33628    { (exit 1); exit 1; }; }
33629   fi
33630   case $CONFIG_SHELL in
33631   '')
33632     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33633 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
33634 do
33635   IFS=$as_save_IFS
33636   test -z "$as_dir" && as_dir=.
33637   for as_base in sh bash ksh sh5; do
33638          case $as_dir in
33639          /*)
33640            if ("$as_dir/$as_base" -c '
33641   as_lineno_1=$LINENO
33642   as_lineno_2=$LINENO
33643   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
33644   test "x$as_lineno_1" != "x$as_lineno_2" &&
33645   test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
33646              $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
33647              $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
33648              CONFIG_SHELL=$as_dir/$as_base
33649              export CONFIG_SHELL
33650              exec "$CONFIG_SHELL" "$0" ${1+"$@"}
33651            fi;;
33652          esac
33653        done
33654 done
33655 ;;
33656   esac
33657
33658   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
33659   # uniformly replaced by the line number.  The first 'sed' inserts a
33660   # line-number line before each line; the second 'sed' does the real
33661   # work.  The second script uses 'N' to pair each line-number line
33662   # with the numbered line, and appends trailing '-' during
33663   # substitution so that $LINENO is not a special case at line end.
33664   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
33665   # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
33666   sed '=' <$as_myself |
33667     sed '
33668       N
33669       s,$,-,
33670       : loop
33671       s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
33672       t loop
33673       s,-$,,
33674       s,^['$as_cr_digits']*\n,,
33675     ' >$as_me.lineno &&
33676   chmod +x $as_me.lineno ||
33677     { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
33678 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
33679    { (exit 1); exit 1; }; }
33680
33681   # Don't try to exec as it changes $[0], causing all sort of problems
33682   # (the dirname of $[0] is not the place where we might find the
33683   # original and so on.  Autoconf is especially sensible to this).
33684   . ./$as_me.lineno
33685   # Exit status is that of the last command.
33686   exit
33687 }
33688
33689
33690 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
33691   *c*,-n*) ECHO_N= ECHO_C='
33692 ' ECHO_T='      ' ;;
33693   *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
33694   *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
33695 esac
33696
33697 if expr a : '\(a\)' >/dev/null 2>&1; then
33698   as_expr=expr
33699 else
33700   as_expr=false
33701 fi
33702
33703 rm -f conf$$ conf$$.exe conf$$.file
33704 echo >conf$$.file
33705 if ln -s conf$$.file conf$$ 2>/dev/null; then
33706   # We could just check for DJGPP; but this test a) works b) is more generic
33707   # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
33708   if test -f conf$$.exe; then
33709     # Don't use ln at all; we don't have any links
33710     as_ln_s='cp -p'
33711   else
33712     as_ln_s='ln -s'
33713   fi
33714 elif ln conf$$.file conf$$ 2>/dev/null; then
33715   as_ln_s=ln
33716 else
33717   as_ln_s='cp -p'
33718 fi
33719 rm -f conf$$ conf$$.exe conf$$.file
33720
33721 if mkdir -p . 2>/dev/null; then
33722   as_mkdir_p=:
33723 else
33724   test -d ./-p && rmdir ./-p
33725   as_mkdir_p=false
33726 fi
33727
33728 as_executable_p="test -f"
33729
33730 # Sed expression to map a string onto a valid CPP name.
33731 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
33732
33733 # Sed expression to map a string onto a valid variable name.
33734 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
33735
33736
33737 # IFS
33738 # We need space, tab and new line, in precisely that order.
33739 as_nl='
33740 '
33741 IFS="   $as_nl"
33742
33743 # CDPATH.
33744 $as_unset CDPATH
33745
33746 exec 6>&1
33747
33748 # Open the log real soon, to keep \$[0] and so on meaningful, and to
33749 # report actual input values of CONFIG_FILES etc. instead of their
33750 # values after options handling.  Logging --version etc. is OK.
33751 exec 5>>config.log
33752 {
33753   echo
33754   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
33755 ## Running $as_me. ##
33756 _ASBOX
33757 } >&5
33758 cat >&5 <<_CSEOF
33759
33760 This file was extended by GNU Fortran Runtime Library $as_me 0.3, which was
33761 generated by GNU Autoconf 2.59.  Invocation command line was
33762
33763   CONFIG_FILES    = $CONFIG_FILES
33764   CONFIG_HEADERS  = $CONFIG_HEADERS
33765   CONFIG_LINKS    = $CONFIG_LINKS
33766   CONFIG_COMMANDS = $CONFIG_COMMANDS
33767   $ $0 $@
33768
33769 _CSEOF
33770 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
33771 echo >&5
33772 _ACEOF
33773
33774 # Files that config.status was made for.
33775 if test -n "$ac_config_files"; then
33776   echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
33777 fi
33778
33779 if test -n "$ac_config_headers"; then
33780   echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
33781 fi
33782
33783 if test -n "$ac_config_links"; then
33784   echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
33785 fi
33786
33787 if test -n "$ac_config_commands"; then
33788   echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
33789 fi
33790
33791 cat >>$CONFIG_STATUS <<\_ACEOF
33792
33793 ac_cs_usage="\
33794 \`$as_me' instantiates files from templates according to the
33795 current configuration.
33796
33797 Usage: $0 [OPTIONS] [FILE]...
33798
33799   -h, --help       print this help, then exit
33800   -V, --version    print version number, then exit
33801   -q, --quiet      do not print progress messages
33802   -d, --debug      don't remove temporary files
33803       --recheck    update $as_me by reconfiguring in the same conditions
33804   --file=FILE[:TEMPLATE]
33805                    instantiate the configuration file FILE
33806   --header=FILE[:TEMPLATE]
33807                    instantiate the configuration header FILE
33808
33809 Configuration files:
33810 $config_files
33811
33812 Configuration headers:
33813 $config_headers
33814
33815 Configuration commands:
33816 $config_commands
33817
33818 Report bugs to <bug-autoconf@gnu.org>."
33819 _ACEOF
33820
33821 cat >>$CONFIG_STATUS <<_ACEOF
33822 ac_cs_version="\\
33823 GNU Fortran Runtime Library config.status 0.3
33824 configured by $0, generated by GNU Autoconf 2.59,
33825   with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
33826
33827 Copyright (C) 2003 Free Software Foundation, Inc.
33828 This config.status script is free software; the Free Software Foundation
33829 gives unlimited permission to copy, distribute and modify it."
33830 srcdir=$srcdir
33831 INSTALL="$INSTALL"
33832 _ACEOF
33833
33834 cat >>$CONFIG_STATUS <<\_ACEOF
33835 # If no file are specified by the user, then we need to provide default
33836 # value.  By we need to know if files were specified by the user.
33837 ac_need_defaults=:
33838 while test $# != 0
33839 do
33840   case $1 in
33841   --*=*)
33842     ac_option=`expr "x$1" : 'x\([^=]*\)='`
33843     ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
33844     ac_shift=:
33845     ;;
33846   -*)
33847     ac_option=$1
33848     ac_optarg=$2
33849     ac_shift=shift
33850     ;;
33851   *) # This is not an option, so the user has probably given explicit
33852      # arguments.
33853      ac_option=$1
33854      ac_need_defaults=false;;
33855   esac
33856
33857   case $ac_option in
33858   # Handling of the options.
33859 _ACEOF
33860 cat >>$CONFIG_STATUS <<\_ACEOF
33861   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
33862     ac_cs_recheck=: ;;
33863   --version | --vers* | -V )
33864     echo "$ac_cs_version"; exit 0 ;;
33865   --he | --h)
33866     # Conflict between --help and --header
33867     { { echo "$as_me:$LINENO: error: ambiguous option: $1
33868 Try \`$0 --help' for more information." >&5
33869 echo "$as_me: error: ambiguous option: $1
33870 Try \`$0 --help' for more information." >&2;}
33871    { (exit 1); exit 1; }; };;
33872   --help | --hel | -h )
33873     echo "$ac_cs_usage"; exit 0 ;;
33874   --debug | --d* | -d )
33875     debug=: ;;
33876   --file | --fil | --fi | --f )
33877     $ac_shift
33878     CONFIG_FILES="$CONFIG_FILES $ac_optarg"
33879     ac_need_defaults=false;;
33880   --header | --heade | --head | --hea )
33881     $ac_shift
33882     CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
33883     ac_need_defaults=false;;
33884   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
33885   | -silent | --silent | --silen | --sile | --sil | --si | --s)
33886     ac_cs_silent=: ;;
33887
33888   # This is an error.
33889   -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
33890 Try \`$0 --help' for more information." >&5
33891 echo "$as_me: error: unrecognized option: $1
33892 Try \`$0 --help' for more information." >&2;}
33893    { (exit 1); exit 1; }; } ;;
33894
33895   *) ac_config_targets="$ac_config_targets $1" ;;
33896
33897   esac
33898   shift
33899 done
33900
33901 ac_configure_extra_args=
33902
33903 if $ac_cs_silent; then
33904   exec 6>/dev/null
33905   ac_configure_extra_args="$ac_configure_extra_args --silent"
33906 fi
33907
33908 _ACEOF
33909 cat >>$CONFIG_STATUS <<_ACEOF
33910 if \$ac_cs_recheck; then
33911   echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
33912   exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
33913 fi
33914
33915 _ACEOF
33916
33917 cat >>$CONFIG_STATUS <<_ACEOF
33918 #
33919 # INIT-COMMANDS section.
33920 #
33921
33922
33923 srcdir="$srcdir"
33924 host="$host"
33925 target="$target"
33926 with_multisubdir="$with_multisubdir"
33927 with_multisrctop="$with_multisrctop"
33928 with_target_subdir="$with_target_subdir"
33929 ac_configure_args="${multilib_arg} ${ac_configure_args}"
33930 multi_basedir="$multi_basedir"
33931 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
33932 CC="$CC"
33933 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
33934
33935
33936 # The HP-UX ksh and POSIX shell print the target directory to stdout
33937 # if CDPATH is set.
33938 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
33939
33940 sed_quote_subst='$sed_quote_subst'
33941 double_quote_subst='$double_quote_subst'
33942 delay_variable_subst='$delay_variable_subst'
33943 macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
33944 macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
33945 enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
33946 enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
33947 pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
33948 enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
33949 host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
33950 host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
33951 host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
33952 build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
33953 build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
33954 build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
33955 SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
33956 Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
33957 GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
33958 EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
33959 FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
33960 LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
33961 NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
33962 LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
33963 max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
33964 ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
33965 exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
33966 lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
33967 lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
33968 lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
33969 reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
33970 reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
33971 deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
33972 file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
33973 AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
33974 AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
33975 STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
33976 RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
33977 old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
33978 old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
33979 old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
33980 CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
33981 CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
33982 compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
33983 GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
33984 lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
33985 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
33986 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"`'
33987 objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
33988 SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
33989 ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
33990 MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
33991 lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
33992 lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
33993 lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
33994 lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
33995 lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
33996 need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
33997 libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
33998 shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
33999 extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
34000 archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
34001 enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
34002 export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
34003 whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
34004 compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
34005 old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
34006 old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
34007 archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
34008 archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
34009 module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
34010 module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
34011 with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
34012 allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
34013 no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
34014 hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
34015 hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
34016 hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
34017 hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
34018 hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
34019 hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
34020 hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
34021 hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
34022 inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
34023 link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
34024 fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
34025 always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
34026 export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
34027 exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
34028 include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
34029 prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
34030 file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
34031 variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
34032 need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
34033 need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
34034 version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
34035 runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
34036 shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
34037 shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
34038 libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
34039 library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
34040 soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
34041 postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
34042 postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
34043 finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
34044 finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
34045 hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
34046 sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
34047 sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
34048 hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
34049 enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
34050 enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
34051 enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
34052 old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
34053 striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
34054 predep_objects='`$ECHO "X$predep_objects" | $Xsed -e "$delay_single_quote_subst"`'
34055 postdep_objects='`$ECHO "X$postdep_objects" | $Xsed -e "$delay_single_quote_subst"`'
34056 predeps='`$ECHO "X$predeps" | $Xsed -e "$delay_single_quote_subst"`'
34057 postdeps='`$ECHO "X$postdeps" | $Xsed -e "$delay_single_quote_subst"`'
34058 compiler_lib_search_path='`$ECHO "X$compiler_lib_search_path" | $Xsed -e "$delay_single_quote_subst"`'
34059 LD_FC='`$ECHO "X$LD_FC" | $Xsed -e "$delay_single_quote_subst"`'
34060 old_archive_cmds_FC='`$ECHO "X$old_archive_cmds_FC" | $Xsed -e "$delay_single_quote_subst"`'
34061 compiler_FC='`$ECHO "X$compiler_FC" | $Xsed -e "$delay_single_quote_subst"`'
34062 GCC_FC='`$ECHO "X$GCC_FC" | $Xsed -e "$delay_single_quote_subst"`'
34063 lt_prog_compiler_no_builtin_flag_FC='`$ECHO "X$lt_prog_compiler_no_builtin_flag_FC" | $Xsed -e "$delay_single_quote_subst"`'
34064 lt_prog_compiler_wl_FC='`$ECHO "X$lt_prog_compiler_wl_FC" | $Xsed -e "$delay_single_quote_subst"`'
34065 lt_prog_compiler_pic_FC='`$ECHO "X$lt_prog_compiler_pic_FC" | $Xsed -e "$delay_single_quote_subst"`'
34066 lt_prog_compiler_static_FC='`$ECHO "X$lt_prog_compiler_static_FC" | $Xsed -e "$delay_single_quote_subst"`'
34067 lt_cv_prog_compiler_c_o_FC='`$ECHO "X$lt_cv_prog_compiler_c_o_FC" | $Xsed -e "$delay_single_quote_subst"`'
34068 archive_cmds_need_lc_FC='`$ECHO "X$archive_cmds_need_lc_FC" | $Xsed -e "$delay_single_quote_subst"`'
34069 enable_shared_with_static_runtimes_FC='`$ECHO "X$enable_shared_with_static_runtimes_FC" | $Xsed -e "$delay_single_quote_subst"`'
34070 export_dynamic_flag_spec_FC='`$ECHO "X$export_dynamic_flag_spec_FC" | $Xsed -e "$delay_single_quote_subst"`'
34071 whole_archive_flag_spec_FC='`$ECHO "X$whole_archive_flag_spec_FC" | $Xsed -e "$delay_single_quote_subst"`'
34072 compiler_needs_object_FC='`$ECHO "X$compiler_needs_object_FC" | $Xsed -e "$delay_single_quote_subst"`'
34073 old_archive_from_new_cmds_FC='`$ECHO "X$old_archive_from_new_cmds_FC" | $Xsed -e "$delay_single_quote_subst"`'
34074 old_archive_from_expsyms_cmds_FC='`$ECHO "X$old_archive_from_expsyms_cmds_FC" | $Xsed -e "$delay_single_quote_subst"`'
34075 archive_cmds_FC='`$ECHO "X$archive_cmds_FC" | $Xsed -e "$delay_single_quote_subst"`'
34076 archive_expsym_cmds_FC='`$ECHO "X$archive_expsym_cmds_FC" | $Xsed -e "$delay_single_quote_subst"`'
34077 module_cmds_FC='`$ECHO "X$module_cmds_FC" | $Xsed -e "$delay_single_quote_subst"`'
34078 module_expsym_cmds_FC='`$ECHO "X$module_expsym_cmds_FC" | $Xsed -e "$delay_single_quote_subst"`'
34079 with_gnu_ld_FC='`$ECHO "X$with_gnu_ld_FC" | $Xsed -e "$delay_single_quote_subst"`'
34080 allow_undefined_flag_FC='`$ECHO "X$allow_undefined_flag_FC" | $Xsed -e "$delay_single_quote_subst"`'
34081 no_undefined_flag_FC='`$ECHO "X$no_undefined_flag_FC" | $Xsed -e "$delay_single_quote_subst"`'
34082 hardcode_libdir_flag_spec_FC='`$ECHO "X$hardcode_libdir_flag_spec_FC" | $Xsed -e "$delay_single_quote_subst"`'
34083 hardcode_libdir_flag_spec_ld_FC='`$ECHO "X$hardcode_libdir_flag_spec_ld_FC" | $Xsed -e "$delay_single_quote_subst"`'
34084 hardcode_libdir_separator_FC='`$ECHO "X$hardcode_libdir_separator_FC" | $Xsed -e "$delay_single_quote_subst"`'
34085 hardcode_direct_FC='`$ECHO "X$hardcode_direct_FC" | $Xsed -e "$delay_single_quote_subst"`'
34086 hardcode_direct_absolute_FC='`$ECHO "X$hardcode_direct_absolute_FC" | $Xsed -e "$delay_single_quote_subst"`'
34087 hardcode_minus_L_FC='`$ECHO "X$hardcode_minus_L_FC" | $Xsed -e "$delay_single_quote_subst"`'
34088 hardcode_shlibpath_var_FC='`$ECHO "X$hardcode_shlibpath_var_FC" | $Xsed -e "$delay_single_quote_subst"`'
34089 hardcode_automatic_FC='`$ECHO "X$hardcode_automatic_FC" | $Xsed -e "$delay_single_quote_subst"`'
34090 inherit_rpath_FC='`$ECHO "X$inherit_rpath_FC" | $Xsed -e "$delay_single_quote_subst"`'
34091 link_all_deplibs_FC='`$ECHO "X$link_all_deplibs_FC" | $Xsed -e "$delay_single_quote_subst"`'
34092 fix_srcfile_path_FC='`$ECHO "X$fix_srcfile_path_FC" | $Xsed -e "$delay_single_quote_subst"`'
34093 always_export_symbols_FC='`$ECHO "X$always_export_symbols_FC" | $Xsed -e "$delay_single_quote_subst"`'
34094 export_symbols_cmds_FC='`$ECHO "X$export_symbols_cmds_FC" | $Xsed -e "$delay_single_quote_subst"`'
34095 exclude_expsyms_FC='`$ECHO "X$exclude_expsyms_FC" | $Xsed -e "$delay_single_quote_subst"`'
34096 include_expsyms_FC='`$ECHO "X$include_expsyms_FC" | $Xsed -e "$delay_single_quote_subst"`'
34097 prelink_cmds_FC='`$ECHO "X$prelink_cmds_FC" | $Xsed -e "$delay_single_quote_subst"`'
34098 file_list_spec_FC='`$ECHO "X$file_list_spec_FC" | $Xsed -e "$delay_single_quote_subst"`'
34099 hardcode_action_FC='`$ECHO "X$hardcode_action_FC" | $Xsed -e "$delay_single_quote_subst"`'
34100 predep_objects_FC='`$ECHO "X$predep_objects_FC" | $Xsed -e "$delay_single_quote_subst"`'
34101 postdep_objects_FC='`$ECHO "X$postdep_objects_FC" | $Xsed -e "$delay_single_quote_subst"`'
34102 predeps_FC='`$ECHO "X$predeps_FC" | $Xsed -e "$delay_single_quote_subst"`'
34103 postdeps_FC='`$ECHO "X$postdeps_FC" | $Xsed -e "$delay_single_quote_subst"`'
34104 compiler_lib_search_path_FC='`$ECHO "X$compiler_lib_search_path_FC" | $Xsed -e "$delay_single_quote_subst"`'
34105
34106 LTCC='$LTCC'
34107 LTCFLAGS='$LTCFLAGS'
34108 compiler='$compiler_DEFAULT'
34109
34110 # Quote evaled strings.
34111 for var in SED \
34112 GREP \
34113 EGREP \
34114 FGREP \
34115 LD \
34116 NM \
34117 LN_S \
34118 lt_SP2NL \
34119 lt_NL2SP \
34120 reload_flag \
34121 deplibs_check_method \
34122 file_magic_cmd \
34123 AR \
34124 AR_FLAGS \
34125 STRIP \
34126 RANLIB \
34127 CC \
34128 CFLAGS \
34129 compiler \
34130 lt_cv_sys_global_symbol_pipe \
34131 lt_cv_sys_global_symbol_to_cdecl \
34132 lt_cv_sys_global_symbol_to_c_name_address \
34133 SHELL \
34134 ECHO \
34135 lt_prog_compiler_no_builtin_flag \
34136 lt_prog_compiler_wl \
34137 lt_prog_compiler_pic \
34138 lt_prog_compiler_static \
34139 lt_cv_prog_compiler_c_o \
34140 need_locks \
34141 shrext_cmds \
34142 export_dynamic_flag_spec \
34143 whole_archive_flag_spec \
34144 compiler_needs_object \
34145 with_gnu_ld \
34146 allow_undefined_flag \
34147 no_undefined_flag \
34148 hardcode_libdir_flag_spec \
34149 hardcode_libdir_flag_spec_ld \
34150 hardcode_libdir_separator \
34151 fix_srcfile_path \
34152 exclude_expsyms \
34153 include_expsyms \
34154 file_list_spec \
34155 variables_saved_for_relink \
34156 libname_spec \
34157 library_names_spec \
34158 soname_spec \
34159 finish_eval \
34160 old_striplib \
34161 striplib \
34162 predep_objects \
34163 postdep_objects \
34164 predeps \
34165 postdeps \
34166 compiler_lib_search_path \
34167 LD_FC \
34168 compiler_FC \
34169 lt_prog_compiler_no_builtin_flag_FC \
34170 lt_prog_compiler_wl_FC \
34171 lt_prog_compiler_pic_FC \
34172 lt_prog_compiler_static_FC \
34173 lt_cv_prog_compiler_c_o_FC \
34174 export_dynamic_flag_spec_FC \
34175 whole_archive_flag_spec_FC \
34176 compiler_needs_object_FC \
34177 with_gnu_ld_FC \
34178 allow_undefined_flag_FC \
34179 no_undefined_flag_FC \
34180 hardcode_libdir_flag_spec_FC \
34181 hardcode_libdir_flag_spec_ld_FC \
34182 hardcode_libdir_separator_FC \
34183 fix_srcfile_path_FC \
34184 exclude_expsyms_FC \
34185 include_expsyms_FC \
34186 file_list_spec_FC \
34187 predep_objects_FC \
34188 postdep_objects_FC \
34189 predeps_FC \
34190 postdeps_FC \
34191 compiler_lib_search_path_FC; do
34192     case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
34193     *[\\\\\\\`\\"\\\$]*)
34194       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
34195       ;;
34196     *)
34197       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
34198       ;;
34199     esac
34200 done
34201
34202 # Double-quote double-evaled strings.
34203 for var in reload_cmds \
34204 old_postinstall_cmds \
34205 old_postuninstall_cmds \
34206 old_archive_cmds \
34207 extract_expsyms_cmds \
34208 old_archive_from_new_cmds \
34209 old_archive_from_expsyms_cmds \
34210 archive_cmds \
34211 archive_expsym_cmds \
34212 module_cmds \
34213 module_expsym_cmds \
34214 export_symbols_cmds \
34215 prelink_cmds \
34216 postinstall_cmds \
34217 postuninstall_cmds \
34218 finish_cmds \
34219 sys_lib_search_path_spec \
34220 sys_lib_dlsearch_path_spec \
34221 old_archive_cmds_FC \
34222 old_archive_from_new_cmds_FC \
34223 old_archive_from_expsyms_cmds_FC \
34224 archive_cmds_FC \
34225 archive_expsym_cmds_FC \
34226 module_cmds_FC \
34227 module_expsym_cmds_FC \
34228 export_symbols_cmds_FC \
34229 prelink_cmds_FC; do
34230     case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
34231     *[\\\\\\\`\\"\\\$]*)
34232       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
34233       ;;
34234     *)
34235       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
34236       ;;
34237     esac
34238 done
34239
34240 # Fix-up fallback echo if it was mangled by the above quoting rules.
34241 case \$lt_ECHO in
34242 *'\\\$0 --fallback-echo"')  lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
34243   ;;
34244 esac
34245
34246 ac_aux_dir='$ac_aux_dir'
34247 xsi_shell='$xsi_shell'
34248 lt_shell_append='$lt_shell_append'
34249
34250 # See if we are running on zsh, and set the options which allow our
34251 # commands through without removal of \ escapes INIT.
34252 if test -n "\${ZSH_VERSION+set}" ; then
34253    setopt NO_GLOB_SUBST
34254 fi
34255
34256
34257     PACKAGE='$PACKAGE'
34258     VERSION='$VERSION'
34259     TIMESTAMP='$TIMESTAMP'
34260     RM='$RM'
34261     ofile='$ofile'
34262
34263
34264
34265
34266
34267
34268 GCC="$GCC"
34269 CC="$CC"
34270 acx_cv_header_stdint="$acx_cv_header_stdint"
34271 acx_cv_type_int8_t="$acx_cv_type_int8_t"
34272 acx_cv_type_int16_t="$acx_cv_type_int16_t"
34273 acx_cv_type_int32_t="$acx_cv_type_int32_t"
34274 acx_cv_type_int64_t="$acx_cv_type_int64_t"
34275 acx_cv_type_intptr_t="$acx_cv_type_intptr_t"
34276 ac_cv_type_uintmax_t="$ac_cv_type_uintmax_t"
34277 ac_cv_type_uintptr_t="$ac_cv_type_uintptr_t"
34278 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
34279 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
34280 ac_cv_type_u_int32_t="$ac_cv_type_u_int32_t"
34281 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
34282 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
34283 ac_cv_sizeof_void_p="$ac_cv_sizeof_void_p"
34284
34285
34286 _ACEOF
34287
34288
34289
34290 cat >>$CONFIG_STATUS <<\_ACEOF
34291 for ac_config_target in $ac_config_targets
34292 do
34293   case "$ac_config_target" in
34294   # Handling of arguments.
34295   "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
34296   "default-1" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
34297   "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
34298   "libtool" ) CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
34299   "gstdint.h" ) CONFIG_COMMANDS="$CONFIG_COMMANDS gstdint.h" ;;
34300   "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
34301   *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
34302 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
34303    { (exit 1); exit 1; }; };;
34304   esac
34305 done
34306
34307 # If the user did not use the arguments to specify the items to instantiate,
34308 # then the envvar interface is used.  Set only those that are not.
34309 # We use the long form for the default assignment because of an extremely
34310 # bizarre bug on SunOS 4.1.3.
34311 if $ac_need_defaults; then
34312   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
34313   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
34314   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
34315 fi
34316
34317 # Have a temporary directory for convenience.  Make it in the build tree
34318 # simply because there is no reason to put it here, and in addition,
34319 # creating and moving files from /tmp can sometimes cause problems.
34320 # Create a temporary directory, and hook for its removal unless debugging.
34321 $debug ||
34322 {
34323   trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
34324   trap '{ (exit 1); exit 1; }' 1 2 13 15
34325 }
34326
34327 # Create a (secure) tmp directory for tmp files.
34328
34329 {
34330   tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
34331   test -n "$tmp" && test -d "$tmp"
34332 }  ||
34333 {
34334   tmp=./confstat$$-$RANDOM
34335   (umask 077 && mkdir $tmp)
34336 } ||
34337 {
34338    echo "$me: cannot create a temporary directory in ." >&2
34339    { (exit 1); exit 1; }
34340 }
34341
34342 _ACEOF
34343
34344 cat >>$CONFIG_STATUS <<_ACEOF
34345
34346 #
34347 # CONFIG_FILES section.
34348 #
34349
34350 # No need to generate the scripts if there are no CONFIG_FILES.
34351 # This happens for instance when ./config.status config.h
34352 if test -n "\$CONFIG_FILES"; then
34353   # Protect against being on the right side of a sed subst in config.status.
34354   sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
34355    s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
34356 s,@SHELL@,$SHELL,;t t
34357 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
34358 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
34359 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
34360 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
34361 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
34362 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
34363 s,@exec_prefix@,$exec_prefix,;t t
34364 s,@prefix@,$prefix,;t t
34365 s,@program_transform_name@,$program_transform_name,;t t
34366 s,@bindir@,$bindir,;t t
34367 s,@sbindir@,$sbindir,;t t
34368 s,@libexecdir@,$libexecdir,;t t
34369 s,@datadir@,$datadir,;t t
34370 s,@sysconfdir@,$sysconfdir,;t t
34371 s,@sharedstatedir@,$sharedstatedir,;t t
34372 s,@localstatedir@,$localstatedir,;t t
34373 s,@libdir@,$libdir,;t t
34374 s,@includedir@,$includedir,;t t
34375 s,@oldincludedir@,$oldincludedir,;t t
34376 s,@infodir@,$infodir,;t t
34377 s,@mandir@,$mandir,;t t
34378 s,@build_alias@,$build_alias,;t t
34379 s,@host_alias@,$host_alias,;t t
34380 s,@target_alias@,$target_alias,;t t
34381 s,@DEFS@,$DEFS,;t t
34382 s,@ECHO_C@,$ECHO_C,;t t
34383 s,@ECHO_N@,$ECHO_N,;t t
34384 s,@ECHO_T@,$ECHO_T,;t t
34385 s,@LIBS@,$LIBS,;t t
34386 s,@build@,$build,;t t
34387 s,@build_cpu@,$build_cpu,;t t
34388 s,@build_vendor@,$build_vendor,;t t
34389 s,@build_os@,$build_os,;t t
34390 s,@build_libsubdir@,$build_libsubdir,;t t
34391 s,@build_subdir@,$build_subdir,;t t
34392 s,@host_subdir@,$host_subdir,;t t
34393 s,@target_subdir@,$target_subdir,;t t
34394 s,@onestep_TRUE@,$onestep_TRUE,;t t
34395 s,@onestep_FALSE@,$onestep_FALSE,;t t
34396 s,@onestep@,$onestep,;t t
34397 s,@host@,$host,;t t
34398 s,@host_cpu@,$host_cpu,;t t
34399 s,@host_vendor@,$host_vendor,;t t
34400 s,@host_os@,$host_os,;t t
34401 s,@target@,$target,;t t
34402 s,@target_cpu@,$target_cpu,;t t
34403 s,@target_vendor@,$target_vendor,;t t
34404 s,@target_os@,$target_os,;t t
34405 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
34406 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
34407 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
34408 s,@CYGPATH_W@,$CYGPATH_W,;t t
34409 s,@PACKAGE@,$PACKAGE,;t t
34410 s,@VERSION@,$VERSION,;t t
34411 s,@ACLOCAL@,$ACLOCAL,;t t
34412 s,@AUTOCONF@,$AUTOCONF,;t t
34413 s,@AUTOMAKE@,$AUTOMAKE,;t t
34414 s,@AUTOHEADER@,$AUTOHEADER,;t t
34415 s,@MAKEINFO@,$MAKEINFO,;t t
34416 s,@install_sh@,$install_sh,;t t
34417 s,@STRIP@,$STRIP,;t t
34418 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
34419 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
34420 s,@mkdir_p@,$mkdir_p,;t t
34421 s,@AWK@,$AWK,;t t
34422 s,@SET_MAKE@,$SET_MAKE,;t t
34423 s,@am__leading_dot@,$am__leading_dot,;t t
34424 s,@AMTAR@,$AMTAR,;t t
34425 s,@am__tar@,$am__tar,;t t
34426 s,@am__untar@,$am__untar,;t t
34427 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
34428 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
34429 s,@MAINT@,$MAINT,;t t
34430 s,@multi_basedir@,$multi_basedir,;t t
34431 s,@toolexecdir@,$toolexecdir,;t t
34432 s,@toolexeclibdir@,$toolexeclibdir,;t t
34433 s,@CC@,$CC,;t t
34434 s,@ac_ct_CC@,$ac_ct_CC,;t t
34435 s,@EXEEXT@,$EXEEXT,;t t
34436 s,@OBJEXT@,$OBJEXT,;t t
34437 s,@DEPDIR@,$DEPDIR,;t t
34438 s,@am__include@,$am__include,;t t
34439 s,@am__quote@,$am__quote,;t t
34440 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
34441 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
34442 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
34443 s,@CCDEPMODE@,$CCDEPMODE,;t t
34444 s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
34445 s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
34446 s,@AM_FCFLAGS@,$AM_FCFLAGS,;t t
34447 s,@AM_CFLAGS@,$AM_CFLAGS,;t t
34448 s,@CFLAGS@,$CFLAGS,;t t
34449 s,@LIBGFOR_USE_SYMVER_TRUE@,$LIBGFOR_USE_SYMVER_TRUE,;t t
34450 s,@LIBGFOR_USE_SYMVER_FALSE@,$LIBGFOR_USE_SYMVER_FALSE,;t t
34451 s,@AS@,$AS,;t t
34452 s,@ac_ct_AS@,$ac_ct_AS,;t t
34453 s,@AR@,$AR,;t t
34454 s,@ac_ct_AR@,$ac_ct_AR,;t t
34455 s,@RANLIB@,$RANLIB,;t t
34456 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
34457 s,@LIBTOOL@,$LIBTOOL,;t t
34458 s,@SED@,$SED,;t t
34459 s,@EGREP@,$EGREP,;t t
34460 s,@FGREP@,$FGREP,;t t
34461 s,@GREP@,$GREP,;t t
34462 s,@LD@,$LD,;t t
34463 s,@DUMPBIN@,$DUMPBIN,;t t
34464 s,@ac_ct_DUMPBIN@,$ac_ct_DUMPBIN,;t t
34465 s,@NM@,$NM,;t t
34466 s,@LN_S@,$LN_S,;t t
34467 s,@lt_ECHO@,$lt_ECHO,;t t
34468 s,@CPP@,$CPP,;t t
34469 s,@CPPFLAGS@,$CPPFLAGS,;t t
34470 s,@enable_shared@,$enable_shared,;t t
34471 s,@enable_static@,$enable_static,;t t
34472 s,@FC@,$FC,;t t
34473 s,@FCFLAGS@,$FCFLAGS,;t t
34474 s,@LDFLAGS@,$LDFLAGS,;t t
34475 s,@ac_ct_FC@,$ac_ct_FC,;t t
34476 s,@extra_ldflags_libgfortran@,$extra_ldflags_libgfortran,;t t
34477 s,@FPU_HOST_HEADER@,$FPU_HOST_HEADER,;t t
34478 s,@LIBOBJS@,$LIBOBJS,;t t
34479 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
34480 CEOF
34481
34482 _ACEOF
34483
34484   cat >>$CONFIG_STATUS <<\_ACEOF
34485   # Split the substitutions into bite-sized pieces for seds with
34486   # small command number limits, like on Digital OSF/1 and HP-UX.
34487   ac_max_sed_lines=48
34488   ac_sed_frag=1 # Number of current file.
34489   ac_beg=1 # First line for current file.
34490   ac_end=$ac_max_sed_lines # Line after last line for current file.
34491   ac_more_lines=:
34492   ac_sed_cmds=
34493   while $ac_more_lines; do
34494     if test $ac_beg -gt 1; then
34495       sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
34496     else
34497       sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
34498     fi
34499     if test ! -s $tmp/subs.frag; then
34500       ac_more_lines=false
34501     else
34502       # The purpose of the label and of the branching condition is to
34503       # speed up the sed processing (if there are no `@' at all, there
34504       # is no need to browse any of the substitutions).
34505       # These are the two extra sed commands mentioned above.
34506       (echo ':t
34507   /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
34508       if test -z "$ac_sed_cmds"; then
34509         ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
34510       else
34511         ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
34512       fi
34513       ac_sed_frag=`expr $ac_sed_frag + 1`
34514       ac_beg=$ac_end
34515       ac_end=`expr $ac_end + $ac_max_sed_lines`
34516     fi
34517   done
34518   if test -z "$ac_sed_cmds"; then
34519     ac_sed_cmds=cat
34520   fi
34521 fi # test -n "$CONFIG_FILES"
34522
34523 _ACEOF
34524 cat >>$CONFIG_STATUS <<\_ACEOF
34525 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
34526   # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
34527   case $ac_file in
34528   - | *:- | *:-:* ) # input from stdin
34529         cat >$tmp/stdin
34530         ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
34531         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
34532   *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
34533         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
34534   * )   ac_file_in=$ac_file.in ;;
34535   esac
34536
34537   # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
34538   ac_dir=`(dirname "$ac_file") 2>/dev/null ||
34539 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
34540          X"$ac_file" : 'X\(//\)[^/]' \| \
34541          X"$ac_file" : 'X\(//\)$' \| \
34542          X"$ac_file" : 'X\(/\)' \| \
34543          .     : '\(.\)' 2>/dev/null ||
34544 echo X"$ac_file" |
34545     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
34546           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
34547           /^X\(\/\/\)$/{ s//\1/; q; }
34548           /^X\(\/\).*/{ s//\1/; q; }
34549           s/.*/./; q'`
34550   { if $as_mkdir_p; then
34551     mkdir -p "$ac_dir"
34552   else
34553     as_dir="$ac_dir"
34554     as_dirs=
34555     while test ! -d "$as_dir"; do
34556       as_dirs="$as_dir $as_dirs"
34557       as_dir=`(dirname "$as_dir") 2>/dev/null ||
34558 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
34559          X"$as_dir" : 'X\(//\)[^/]' \| \
34560          X"$as_dir" : 'X\(//\)$' \| \
34561          X"$as_dir" : 'X\(/\)' \| \
34562          .     : '\(.\)' 2>/dev/null ||
34563 echo X"$as_dir" |
34564     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
34565           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
34566           /^X\(\/\/\)$/{ s//\1/; q; }
34567           /^X\(\/\).*/{ s//\1/; q; }
34568           s/.*/./; q'`
34569     done
34570     test ! -n "$as_dirs" || mkdir $as_dirs
34571   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
34572 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
34573    { (exit 1); exit 1; }; }; }
34574
34575   ac_builddir=.
34576
34577 if test "$ac_dir" != .; then
34578   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
34579   # A "../" for each directory in $ac_dir_suffix.
34580   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
34581 else
34582   ac_dir_suffix= ac_top_builddir=
34583 fi
34584
34585 case $srcdir in
34586   .)  # No --srcdir option.  We are building in place.
34587     ac_srcdir=.
34588     if test -z "$ac_top_builddir"; then
34589        ac_top_srcdir=.
34590     else
34591        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
34592     fi ;;
34593   [\\/]* | ?:[\\/]* )  # Absolute path.
34594     ac_srcdir=$srcdir$ac_dir_suffix;
34595     ac_top_srcdir=$srcdir ;;
34596   *) # Relative path.
34597     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
34598     ac_top_srcdir=$ac_top_builddir$srcdir ;;
34599 esac
34600
34601 # Do not use `cd foo && pwd` to compute absolute paths, because
34602 # the directories may not exist.
34603 case `pwd` in
34604 .) ac_abs_builddir="$ac_dir";;
34605 *)
34606   case "$ac_dir" in
34607   .) ac_abs_builddir=`pwd`;;
34608   [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
34609   *) ac_abs_builddir=`pwd`/"$ac_dir";;
34610   esac;;
34611 esac
34612 case $ac_abs_builddir in
34613 .) ac_abs_top_builddir=${ac_top_builddir}.;;
34614 *)
34615   case ${ac_top_builddir}. in
34616   .) ac_abs_top_builddir=$ac_abs_builddir;;
34617   [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
34618   *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
34619   esac;;
34620 esac
34621 case $ac_abs_builddir in
34622 .) ac_abs_srcdir=$ac_srcdir;;
34623 *)
34624   case $ac_srcdir in
34625   .) ac_abs_srcdir=$ac_abs_builddir;;
34626   [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
34627   *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
34628   esac;;
34629 esac
34630 case $ac_abs_builddir in
34631 .) ac_abs_top_srcdir=$ac_top_srcdir;;
34632 *)
34633   case $ac_top_srcdir in
34634   .) ac_abs_top_srcdir=$ac_abs_builddir;;
34635   [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
34636   *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
34637   esac;;
34638 esac
34639
34640
34641   case $INSTALL in
34642   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
34643   *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
34644   esac
34645
34646   if test x"$ac_file" != x-; then
34647     { echo "$as_me:$LINENO: creating $ac_file" >&5
34648 echo "$as_me: creating $ac_file" >&6;}
34649     rm -f "$ac_file"
34650   fi
34651   # Let's still pretend it is `configure' which instantiates (i.e., don't
34652   # use $as_me), people would be surprised to read:
34653   #    /* config.h.  Generated by config.status.  */
34654   if test x"$ac_file" = x-; then
34655     configure_input=
34656   else
34657     configure_input="$ac_file.  "
34658   fi
34659   configure_input=$configure_input"Generated from `echo $ac_file_in |
34660                                      sed 's,.*/,,'` by configure."
34661
34662   # First look for the input files in the build tree, otherwise in the
34663   # src tree.
34664   ac_file_inputs=`IFS=:
34665     for f in $ac_file_in; do
34666       case $f in
34667       -) echo $tmp/stdin ;;
34668       [\\/$]*)
34669          # Absolute (can't be DOS-style, as IFS=:)
34670          test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
34671 echo "$as_me: error: cannot find input file: $f" >&2;}
34672    { (exit 1); exit 1; }; }
34673          echo "$f";;
34674       *) # Relative
34675          if test -f "$f"; then
34676            # Build tree
34677            echo "$f"
34678          elif test -f "$srcdir/$f"; then
34679            # Source tree
34680            echo "$srcdir/$f"
34681          else
34682            # /dev/null tree
34683            { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
34684 echo "$as_me: error: cannot find input file: $f" >&2;}
34685    { (exit 1); exit 1; }; }
34686          fi;;
34687       esac
34688     done` || { (exit 1); exit 1; }
34689 _ACEOF
34690 cat >>$CONFIG_STATUS <<_ACEOF
34691   sed "$ac_vpsub
34692 $extrasub
34693 _ACEOF
34694 cat >>$CONFIG_STATUS <<\_ACEOF
34695 :t
34696 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
34697 s,@configure_input@,$configure_input,;t t
34698 s,@srcdir@,$ac_srcdir,;t t
34699 s,@abs_srcdir@,$ac_abs_srcdir,;t t
34700 s,@top_srcdir@,$ac_top_srcdir,;t t
34701 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
34702 s,@builddir@,$ac_builddir,;t t
34703 s,@abs_builddir@,$ac_abs_builddir,;t t
34704 s,@top_builddir@,$ac_top_builddir,;t t
34705 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
34706 s,@INSTALL@,$ac_INSTALL,;t t
34707 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
34708   rm -f $tmp/stdin
34709   if test x"$ac_file" != x-; then
34710     mv $tmp/out $ac_file
34711   else
34712     cat $tmp/out
34713     rm -f $tmp/out
34714   fi
34715
34716 done
34717 _ACEOF
34718 cat >>$CONFIG_STATUS <<\_ACEOF
34719
34720 #
34721 # CONFIG_HEADER section.
34722 #
34723
34724 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
34725 # NAME is the cpp macro being defined and VALUE is the value it is being given.
34726 #
34727 # ac_d sets the value in "#define NAME VALUE" lines.
34728 ac_dA='s,^\([    ]*\)#\([        ]*define[       ][      ]*\)'
34729 ac_dB='[         ].*$,\1#\2'
34730 ac_dC=' '
34731 ac_dD=',;t'
34732 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
34733 ac_uA='s,^\([    ]*\)#\([        ]*\)undef\([    ][      ]*\)'
34734 ac_uB='$,\1#\2define\3'
34735 ac_uC=' '
34736 ac_uD=',;t'
34737
34738 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
34739   # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
34740   case $ac_file in
34741   - | *:- | *:-:* ) # input from stdin
34742         cat >$tmp/stdin
34743         ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
34744         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
34745   *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
34746         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
34747   * )   ac_file_in=$ac_file.in ;;
34748   esac
34749
34750   test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
34751 echo "$as_me: creating $ac_file" >&6;}
34752
34753   # First look for the input files in the build tree, otherwise in the
34754   # src tree.
34755   ac_file_inputs=`IFS=:
34756     for f in $ac_file_in; do
34757       case $f in
34758       -) echo $tmp/stdin ;;
34759       [\\/$]*)
34760          # Absolute (can't be DOS-style, as IFS=:)
34761          test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
34762 echo "$as_me: error: cannot find input file: $f" >&2;}
34763    { (exit 1); exit 1; }; }
34764          # Do quote $f, to prevent DOS paths from being IFS'd.
34765          echo "$f";;
34766       *) # Relative
34767          if test -f "$f"; then
34768            # Build tree
34769            echo "$f"
34770          elif test -f "$srcdir/$f"; then
34771            # Source tree
34772            echo "$srcdir/$f"
34773          else
34774            # /dev/null tree
34775            { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
34776 echo "$as_me: error: cannot find input file: $f" >&2;}
34777    { (exit 1); exit 1; }; }
34778          fi;;
34779       esac
34780     done` || { (exit 1); exit 1; }
34781   # Remove the trailing spaces.
34782   sed 's/[       ]*$//' $ac_file_inputs >$tmp/in
34783
34784 _ACEOF
34785
34786 # Transform confdefs.h into two sed scripts, `conftest.defines' and
34787 # `conftest.undefs', that substitutes the proper values into
34788 # config.h.in to produce config.h.  The first handles `#define'
34789 # templates, and the second `#undef' templates.
34790 # And first: Protect against being on the right side of a sed subst in
34791 # config.status.  Protect against being in an unquoted here document
34792 # in config.status.
34793 rm -f conftest.defines conftest.undefs
34794 # Using a here document instead of a string reduces the quoting nightmare.
34795 # Putting comments in sed scripts is not portable.
34796 #
34797 # `end' is used to avoid that the second main sed command (meant for
34798 # 0-ary CPP macros) applies to n-ary macro definitions.
34799 # See the Autoconf documentation for `clear'.
34800 cat >confdef2sed.sed <<\_ACEOF
34801 s/[\\&,]/\\&/g
34802 s,[\\$`],\\&,g
34803 t clear
34804 : clear
34805 s,^[     ]*#[    ]*define[       ][      ]*\([^  (][^    (]*\)\(([^)]*)\)[       ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
34806 t end
34807 s,^[     ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
34808 : end
34809 _ACEOF
34810 # If some macros were called several times there might be several times
34811 # the same #defines, which is useless.  Nevertheless, we may not want to
34812 # sort them, since we want the *last* AC-DEFINE to be honored.
34813 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
34814 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
34815 rm -f confdef2sed.sed
34816
34817 # This sed command replaces #undef with comments.  This is necessary, for
34818 # example, in the case of _POSIX_SOURCE, which is predefined and required
34819 # on some systems where configure will not decide to define it.
34820 cat >>conftest.undefs <<\_ACEOF
34821 s,^[     ]*#[    ]*undef[        ][      ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
34822 _ACEOF
34823
34824 # Break up conftest.defines because some shells have a limit on the size
34825 # of here documents, and old seds have small limits too (100 cmds).
34826 echo '  # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
34827 echo '  if grep "^[      ]*#[    ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
34828 echo '  # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
34829 echo '  :' >>$CONFIG_STATUS
34830 rm -f conftest.tail
34831 while grep . conftest.defines >/dev/null
34832 do
34833   # Write a limited-size here document to $tmp/defines.sed.
34834   echo '  cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
34835   # Speed up: don't consider the non `#define' lines.
34836   echo '/^[      ]*#[    ]*define/!b' >>$CONFIG_STATUS
34837   # Work around the forget-to-reset-the-flag bug.
34838   echo 't clr' >>$CONFIG_STATUS
34839   echo ': clr' >>$CONFIG_STATUS
34840   sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
34841   echo 'CEOF
34842   sed -f $tmp/defines.sed $tmp/in >$tmp/out
34843   rm -f $tmp/in
34844   mv $tmp/out $tmp/in
34845 ' >>$CONFIG_STATUS
34846   sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
34847   rm -f conftest.defines
34848   mv conftest.tail conftest.defines
34849 done
34850 rm -f conftest.defines
34851 echo '  fi # grep' >>$CONFIG_STATUS
34852 echo >>$CONFIG_STATUS
34853
34854 # Break up conftest.undefs because some shells have a limit on the size
34855 # of here documents, and old seds have small limits too (100 cmds).
34856 echo '  # Handle all the #undef templates' >>$CONFIG_STATUS
34857 rm -f conftest.tail
34858 while grep . conftest.undefs >/dev/null
34859 do
34860   # Write a limited-size here document to $tmp/undefs.sed.
34861   echo '  cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
34862   # Speed up: don't consider the non `#undef'
34863   echo '/^[      ]*#[    ]*undef/!b' >>$CONFIG_STATUS
34864   # Work around the forget-to-reset-the-flag bug.
34865   echo 't clr' >>$CONFIG_STATUS
34866   echo ': clr' >>$CONFIG_STATUS
34867   sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
34868   echo 'CEOF
34869   sed -f $tmp/undefs.sed $tmp/in >$tmp/out
34870   rm -f $tmp/in
34871   mv $tmp/out $tmp/in
34872 ' >>$CONFIG_STATUS
34873   sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
34874   rm -f conftest.undefs
34875   mv conftest.tail conftest.undefs
34876 done
34877 rm -f conftest.undefs
34878
34879 cat >>$CONFIG_STATUS <<\_ACEOF
34880   # Let's still pretend it is `configure' which instantiates (i.e., don't
34881   # use $as_me), people would be surprised to read:
34882   #    /* config.h.  Generated by config.status.  */
34883   if test x"$ac_file" = x-; then
34884     echo "/* Generated by configure.  */" >$tmp/config.h
34885   else
34886     echo "/* $ac_file.  Generated by configure.  */" >$tmp/config.h
34887   fi
34888   cat $tmp/in >>$tmp/config.h
34889   rm -f $tmp/in
34890   if test x"$ac_file" != x-; then
34891     if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
34892       { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
34893 echo "$as_me: $ac_file is unchanged" >&6;}
34894     else
34895       ac_dir=`(dirname "$ac_file") 2>/dev/null ||
34896 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
34897          X"$ac_file" : 'X\(//\)[^/]' \| \
34898          X"$ac_file" : 'X\(//\)$' \| \
34899          X"$ac_file" : 'X\(/\)' \| \
34900          .     : '\(.\)' 2>/dev/null ||
34901 echo X"$ac_file" |
34902     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
34903           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
34904           /^X\(\/\/\)$/{ s//\1/; q; }
34905           /^X\(\/\).*/{ s//\1/; q; }
34906           s/.*/./; q'`
34907       { if $as_mkdir_p; then
34908     mkdir -p "$ac_dir"
34909   else
34910     as_dir="$ac_dir"
34911     as_dirs=
34912     while test ! -d "$as_dir"; do
34913       as_dirs="$as_dir $as_dirs"
34914       as_dir=`(dirname "$as_dir") 2>/dev/null ||
34915 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
34916          X"$as_dir" : 'X\(//\)[^/]' \| \
34917          X"$as_dir" : 'X\(//\)$' \| \
34918          X"$as_dir" : 'X\(/\)' \| \
34919          .     : '\(.\)' 2>/dev/null ||
34920 echo X"$as_dir" |
34921     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
34922           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
34923           /^X\(\/\/\)$/{ s//\1/; q; }
34924           /^X\(\/\).*/{ s//\1/; q; }
34925           s/.*/./; q'`
34926     done
34927     test ! -n "$as_dirs" || mkdir $as_dirs
34928   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
34929 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
34930    { (exit 1); exit 1; }; }; }
34931
34932       rm -f $ac_file
34933       mv $tmp/config.h $ac_file
34934     fi
34935   else
34936     cat $tmp/config.h
34937     rm -f $tmp/config.h
34938   fi
34939 # Compute $ac_file's index in $config_headers.
34940 _am_stamp_count=1
34941 for _am_header in $config_headers :; do
34942   case $_am_header in
34943     $ac_file | $ac_file:* )
34944       break ;;
34945     * )
34946       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
34947   esac
34948 done
34949 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
34950 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
34951          X$ac_file : 'X\(//\)[^/]' \| \
34952          X$ac_file : 'X\(//\)$' \| \
34953          X$ac_file : 'X\(/\)' \| \
34954          .     : '\(.\)' 2>/dev/null ||
34955 echo X$ac_file |
34956     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
34957           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
34958           /^X\(\/\/\)$/{ s//\1/; q; }
34959           /^X\(\/\).*/{ s//\1/; q; }
34960           s/.*/./; q'`/stamp-h$_am_stamp_count
34961 done
34962 _ACEOF
34963 cat >>$CONFIG_STATUS <<\_ACEOF
34964
34965 #
34966 # CONFIG_COMMANDS section.
34967 #
34968 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
34969   ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
34970   ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
34971   ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
34972 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
34973          X"$ac_dest" : 'X\(//\)[^/]' \| \
34974          X"$ac_dest" : 'X\(//\)$' \| \
34975          X"$ac_dest" : 'X\(/\)' \| \
34976          .     : '\(.\)' 2>/dev/null ||
34977 echo X"$ac_dest" |
34978     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
34979           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
34980           /^X\(\/\/\)$/{ s//\1/; q; }
34981           /^X\(\/\).*/{ s//\1/; q; }
34982           s/.*/./; q'`
34983   { if $as_mkdir_p; then
34984     mkdir -p "$ac_dir"
34985   else
34986     as_dir="$ac_dir"
34987     as_dirs=
34988     while test ! -d "$as_dir"; do
34989       as_dirs="$as_dir $as_dirs"
34990       as_dir=`(dirname "$as_dir") 2>/dev/null ||
34991 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
34992          X"$as_dir" : 'X\(//\)[^/]' \| \
34993          X"$as_dir" : 'X\(//\)$' \| \
34994          X"$as_dir" : 'X\(/\)' \| \
34995          .     : '\(.\)' 2>/dev/null ||
34996 echo X"$as_dir" |
34997     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
34998           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
34999           /^X\(\/\/\)$/{ s//\1/; q; }
35000           /^X\(\/\).*/{ s//\1/; q; }
35001           s/.*/./; q'`
35002     done
35003     test ! -n "$as_dirs" || mkdir $as_dirs
35004   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
35005 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
35006    { (exit 1); exit 1; }; }; }
35007
35008   ac_builddir=.
35009
35010 if test "$ac_dir" != .; then
35011   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
35012   # A "../" for each directory in $ac_dir_suffix.
35013   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
35014 else
35015   ac_dir_suffix= ac_top_builddir=
35016 fi
35017
35018 case $srcdir in
35019   .)  # No --srcdir option.  We are building in place.
35020     ac_srcdir=.
35021     if test -z "$ac_top_builddir"; then
35022        ac_top_srcdir=.
35023     else
35024        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
35025     fi ;;
35026   [\\/]* | ?:[\\/]* )  # Absolute path.
35027     ac_srcdir=$srcdir$ac_dir_suffix;
35028     ac_top_srcdir=$srcdir ;;
35029   *) # Relative path.
35030     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
35031     ac_top_srcdir=$ac_top_builddir$srcdir ;;
35032 esac
35033
35034 # Do not use `cd foo && pwd` to compute absolute paths, because
35035 # the directories may not exist.
35036 case `pwd` in
35037 .) ac_abs_builddir="$ac_dir";;
35038 *)
35039   case "$ac_dir" in
35040   .) ac_abs_builddir=`pwd`;;
35041   [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
35042   *) ac_abs_builddir=`pwd`/"$ac_dir";;
35043   esac;;
35044 esac
35045 case $ac_abs_builddir in
35046 .) ac_abs_top_builddir=${ac_top_builddir}.;;
35047 *)
35048   case ${ac_top_builddir}. in
35049   .) ac_abs_top_builddir=$ac_abs_builddir;;
35050   [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
35051   *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
35052   esac;;
35053 esac
35054 case $ac_abs_builddir in
35055 .) ac_abs_srcdir=$ac_srcdir;;
35056 *)
35057   case $ac_srcdir in
35058   .) ac_abs_srcdir=$ac_abs_builddir;;
35059   [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
35060   *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
35061   esac;;
35062 esac
35063 case $ac_abs_builddir in
35064 .) ac_abs_top_srcdir=$ac_top_srcdir;;
35065 *)
35066   case $ac_top_srcdir in
35067   .) ac_abs_top_srcdir=$ac_abs_builddir;;
35068   [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
35069   *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
35070   esac;;
35071 esac
35072
35073
35074   { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
35075 echo "$as_me: executing $ac_dest commands" >&6;}
35076   case $ac_dest in
35077     default-1 )
35078 # Only add multilib support code if we just rebuilt the top-level
35079 # Makefile.
35080 case " $CONFIG_FILES " in
35081  *" Makefile "*)
35082    ac_file=Makefile . ${multi_basedir}/config-ml.in
35083    ;;
35084 esac ;;
35085     depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
35086   # Strip MF so we end up with the name of the file.
35087   mf=`echo "$mf" | sed -e 's/:.*$//'`
35088   # Check whether this is an Automake generated Makefile or not.
35089   # We used to match only the files named `Makefile.in', but
35090   # some people rename them; so instead we look at the file content.
35091   # Grep'ing the first line is not enough: some people post-process
35092   # each Makefile.in and add a new line on top of each file to say so.
35093   # So let's grep whole file.
35094   if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
35095     dirpart=`(dirname "$mf") 2>/dev/null ||
35096 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
35097          X"$mf" : 'X\(//\)[^/]' \| \
35098          X"$mf" : 'X\(//\)$' \| \
35099          X"$mf" : 'X\(/\)' \| \
35100          .     : '\(.\)' 2>/dev/null ||
35101 echo X"$mf" |
35102     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
35103           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
35104           /^X\(\/\/\)$/{ s//\1/; q; }
35105           /^X\(\/\).*/{ s//\1/; q; }
35106           s/.*/./; q'`
35107   else
35108     continue
35109   fi
35110   # Extract the definition of DEPDIR, am__include, and am__quote
35111   # from the Makefile without running `make'.
35112   DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
35113   test -z "$DEPDIR" && continue
35114   am__include=`sed -n 's/^am__include = //p' < "$mf"`
35115   test -z "am__include" && continue
35116   am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
35117   # When using ansi2knr, U may be empty or an underscore; expand it
35118   U=`sed -n 's/^U = //p' < "$mf"`
35119   # Find all dependency output files, they are included files with
35120   # $(DEPDIR) in their names.  We invoke sed twice because it is the
35121   # simplest approach to changing $(DEPDIR) to its actual value in the
35122   # expansion.
35123   for file in `sed -n "
35124     s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
35125        sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
35126     # Make sure the directory exists.
35127     test -f "$dirpart/$file" && continue
35128     fdir=`(dirname "$file") 2>/dev/null ||
35129 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
35130          X"$file" : 'X\(//\)[^/]' \| \
35131          X"$file" : 'X\(//\)$' \| \
35132          X"$file" : 'X\(/\)' \| \
35133          .     : '\(.\)' 2>/dev/null ||
35134 echo X"$file" |
35135     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
35136           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
35137           /^X\(\/\/\)$/{ s//\1/; q; }
35138           /^X\(\/\).*/{ s//\1/; q; }
35139           s/.*/./; q'`
35140     { if $as_mkdir_p; then
35141     mkdir -p $dirpart/$fdir
35142   else
35143     as_dir=$dirpart/$fdir
35144     as_dirs=
35145     while test ! -d "$as_dir"; do
35146       as_dirs="$as_dir $as_dirs"
35147       as_dir=`(dirname "$as_dir") 2>/dev/null ||
35148 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
35149          X"$as_dir" : 'X\(//\)[^/]' \| \
35150          X"$as_dir" : 'X\(//\)$' \| \
35151          X"$as_dir" : 'X\(/\)' \| \
35152          .     : '\(.\)' 2>/dev/null ||
35153 echo X"$as_dir" |
35154     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
35155           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
35156           /^X\(\/\/\)$/{ s//\1/; q; }
35157           /^X\(\/\).*/{ s//\1/; q; }
35158           s/.*/./; q'`
35159     done
35160     test ! -n "$as_dirs" || mkdir $as_dirs
35161   fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
35162 echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
35163    { (exit 1); exit 1; }; }; }
35164
35165     # echo "creating $dirpart/$file"
35166     echo '# dummy' > "$dirpart/$file"
35167   done
35168 done
35169  ;;
35170     libtool )
35171
35172     # See if we are running on zsh, and set the options which allow our
35173     # commands through without removal of \ escapes.
35174     if test -n "${ZSH_VERSION+set}" ; then
35175       setopt NO_GLOB_SUBST
35176     fi
35177
35178     cfgfile="${ofile}T"
35179     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
35180     $RM "$cfgfile"
35181
35182     cat <<_LT_EOF >> "$cfgfile"
35183 #! $SHELL
35184
35185 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
35186 # Generated automatically by $as_me (GNU $PACKAGE$TIMESTAMP) $VERSION
35187 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
35188 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
35189 #
35190 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
35191 # 2006, 2007 Free Software Foundation, Inc.
35192 #
35193 # This file is part of GNU Libtool:
35194 # Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
35195 #
35196 # This program is free software; you can redistribute it and/or modify
35197 # it under the terms of the GNU General Public License as published by
35198 # the Free Software Foundation; either version 2 of the License, or
35199 # (at your option) any later version.
35200 #
35201 # This program is distributed in the hope that it will be useful, but
35202 # WITHOUT ANY WARRANTY; without even the implied warranty of
35203 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
35204 # General Public License for more details.
35205 #
35206 # You should have received a copy of the GNU General Public License
35207 # along with this program; if not, a copy can be downloaded from
35208 # http://www.gnu.org/copyleft/gpl.html, or by writing to the Free
35209 # Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
35210 # MA 02110-1301, USA.
35211 #
35212 # As a special exception to the GNU General Public License, if you
35213 # distribute this file as part of a program that contains a
35214 # configuration script generated by Autoconf, you may include it under
35215 # the same distribution terms that you use for the rest of that program.
35216
35217
35218 # The names of the tagged configurations supported by this script.
35219 available_tags="FC "
35220
35221 # ### BEGIN LIBTOOL CONFIG
35222
35223 # Which release of libtool.m4 was used?
35224 macro_version=$macro_version
35225 macro_revision=$macro_revision
35226
35227 # Whether or not to build shared libraries.
35228 build_libtool_libs=$enable_shared
35229
35230 # Whether or not to build static libraries.
35231 build_old_libs=$enable_static
35232
35233 # What type of objects to build.
35234 pic_mode=$pic_mode
35235
35236 # Whether or not to optimize for fast installation.
35237 fast_install=$enable_fast_install
35238
35239 # The host system.
35240 host_alias=$host_alias
35241 host=$host
35242 host_os=$host_os
35243
35244 # The build system.
35245 build_alias=$build_alias
35246 build=$build
35247 build_os=$build_os
35248
35249 # A sed program that does not truncate output.
35250 SED=$lt_SED
35251
35252 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
35253 Xsed="\$SED -e 1s/^X//"
35254
35255 # A grep program that handles long lines.
35256 GREP=$lt_GREP
35257
35258 # An ERE matcher.
35259 EGREP=$lt_EGREP
35260
35261 # A literal string matcher.
35262 FGREP=$lt_FGREP
35263
35264 # A BSD- or MS-compatible name lister.
35265 NM=$lt_NM
35266
35267 # Whether we need soft or hard links.
35268 LN_S=$lt_LN_S
35269
35270 # What is the maximum length of a command?
35271 max_cmd_len=$max_cmd_len
35272
35273 # Object file suffix (normally "o").
35274 objext=$ac_objext
35275
35276 # Executable file suffix (normally "").
35277 exeext=$exeext
35278
35279 # whether the shell understands "unset".
35280 lt_unset=$lt_unset
35281
35282 # turn spaces into newlines.
35283 SP2NL=$lt_lt_SP2NL
35284
35285 # turn newlines into spaces.
35286 NL2SP=$lt_lt_NL2SP
35287
35288 # How to create reloadable object files.
35289 reload_flag=$lt_reload_flag
35290 reload_cmds=$lt_reload_cmds
35291
35292 # Method to check whether dependent libraries are shared objects.
35293 deplibs_check_method=$lt_deplibs_check_method
35294
35295 # Command to use when deplibs_check_method == "file_magic".
35296 file_magic_cmd=$lt_file_magic_cmd
35297
35298 # The archiver.
35299 AR=$lt_AR
35300 AR_FLAGS=$lt_AR_FLAGS
35301
35302 # A symbol stripping program.
35303 STRIP=$lt_STRIP
35304
35305 # Commands used to install an old-style archive.
35306 RANLIB=$lt_RANLIB
35307 old_postinstall_cmds=$lt_old_postinstall_cmds
35308 old_postuninstall_cmds=$lt_old_postuninstall_cmds
35309
35310 # A C compiler.
35311 LTCC=$lt_CC
35312
35313 # LTCC compiler flags.
35314 LTCFLAGS=$lt_CFLAGS
35315
35316 # Take the output of nm and produce a listing of raw symbols and C names.
35317 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
35318
35319 # Transform the output of nm in a proper C declaration.
35320 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
35321
35322 # Transform the output of nm in a C name address pair.
35323 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
35324
35325 # The name of the directory that contains temporary libtool files.
35326 objdir=$objdir
35327
35328 # Shell to use when invoking shell scripts.
35329 SHELL=$lt_SHELL
35330
35331 # An echo program that does not interpret backslashes.
35332 ECHO=$lt_ECHO
35333
35334 # Used to examine libraries when file_magic_cmd begins with "file".
35335 MAGIC_CMD=$MAGIC_CMD
35336
35337 # Must we lock files when doing compilation?
35338 need_locks=$lt_need_locks
35339
35340 # Old archive suffix (normally "a").
35341 libext=$libext
35342
35343 # Shared library suffix (normally ".so").
35344 shrext_cmds=$lt_shrext_cmds
35345
35346 # The commands to extract the exported symbol list from a shared archive.
35347 extract_expsyms_cmds=$lt_extract_expsyms_cmds
35348
35349 # Variables whose values should be saved in libtool wrapper scripts and
35350 # restored at link time.
35351 variables_saved_for_relink=$lt_variables_saved_for_relink
35352
35353 # Do we need the "lib" prefix for modules?
35354 need_lib_prefix=$need_lib_prefix
35355
35356 # Do we need a version for libraries?
35357 need_version=$need_version
35358
35359 # Library versioning type.
35360 version_type=$version_type
35361
35362 # Shared library runtime path variable.
35363 runpath_var=$runpath_var
35364
35365 # Shared library path variable.
35366 shlibpath_var=$shlibpath_var
35367
35368 # Is shlibpath searched before the hard-coded library search path?
35369 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
35370
35371 # Format of library name prefix.
35372 libname_spec=$lt_libname_spec
35373
35374 # List of archive names.  First name is the real one, the rest are links.
35375 # The last name is the one that the linker finds with -lNAME
35376 library_names_spec=$lt_library_names_spec
35377
35378 # The coded name of the library, if different from the real name.
35379 soname_spec=$lt_soname_spec
35380
35381 # Command to use after installation of a shared archive.
35382 postinstall_cmds=$lt_postinstall_cmds
35383
35384 # Command to use after uninstallation of a shared archive.
35385 postuninstall_cmds=$lt_postuninstall_cmds
35386
35387 # Commands used to finish a libtool library installation in a directory.
35388 finish_cmds=$lt_finish_cmds
35389
35390 # As "finish_cmds", except a single script fragment to be evaled but
35391 # not shown.
35392 finish_eval=$lt_finish_eval
35393
35394 # Whether we should hardcode library paths into libraries.
35395 hardcode_into_libs=$hardcode_into_libs
35396
35397 # Compile-time system search path for libraries.
35398 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
35399
35400 # Run-time system search path for libraries.
35401 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
35402
35403 # Whether dlopen is supported.
35404 dlopen_support=$enable_dlopen
35405
35406 # Whether dlopen of programs is supported.
35407 dlopen_self=$enable_dlopen_self
35408
35409 # Whether dlopen of statically linked programs is supported.
35410 dlopen_self_static=$enable_dlopen_self_static
35411
35412 # Commands to strip libraries.
35413 old_striplib=$lt_old_striplib
35414 striplib=$lt_striplib
35415
35416
35417 # The linker used to build libraries.
35418 LD=$lt_LD
35419
35420 # Commands used to build an old-style archive.
35421 old_archive_cmds=$lt_old_archive_cmds
35422
35423 # A language specific compiler.
35424 CC=$lt_compiler
35425
35426 # Is the compiler the GNU compiler?
35427 with_gcc=$GCC
35428
35429 # Compiler flag to turn off builtin functions.
35430 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
35431
35432 # How to pass a linker flag through the compiler.
35433 wl=$lt_lt_prog_compiler_wl
35434
35435 # Additional compiler flags for building library objects.
35436 pic_flag=$lt_lt_prog_compiler_pic
35437
35438 # Compiler flag to prevent dynamic linking.
35439 link_static_flag=$lt_lt_prog_compiler_static
35440
35441 # Does compiler simultaneously support -c and -o options?
35442 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
35443
35444 # Whether or not to add -lc for building shared libraries.
35445 build_libtool_need_lc=$archive_cmds_need_lc
35446
35447 # Whether or not to disallow shared libs when runtime libs are static.
35448 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
35449
35450 # Compiler flag to allow reflexive dlopens.
35451 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
35452
35453 # Compiler flag to generate shared objects directly from archives.
35454 whole_archive_flag_spec=$lt_whole_archive_flag_spec
35455
35456 # Whether the compiler copes with passing no objects directly.
35457 compiler_needs_object=$lt_compiler_needs_object
35458
35459 # Create an old-style archive from a shared archive.
35460 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
35461
35462 # Create a temporary old-style archive to link instead of a shared archive.
35463 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
35464
35465 # Commands used to build a shared archive.
35466 archive_cmds=$lt_archive_cmds
35467 archive_expsym_cmds=$lt_archive_expsym_cmds
35468
35469 # Commands used to build a loadable module if different from building
35470 # a shared archive.
35471 module_cmds=$lt_module_cmds
35472 module_expsym_cmds=$lt_module_expsym_cmds
35473
35474 # Whether we are building with GNU ld or not.
35475 with_gnu_ld=$lt_with_gnu_ld
35476
35477 # Flag that allows shared libraries with undefined symbols to be built.
35478 allow_undefined_flag=$lt_allow_undefined_flag
35479
35480 # Flag that enforces no undefined symbols.
35481 no_undefined_flag=$lt_no_undefined_flag
35482
35483 # Flag to hardcode \$libdir into a binary during linking.
35484 # This must work even if \$libdir does not exist
35485 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
35486
35487 # If ld is used when linking, flag to hardcode \$libdir into a binary
35488 # during linking.  This must work even if \$libdir does not exist.
35489 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
35490
35491 # Whether we need a single "-rpath" flag with a separated argument.
35492 hardcode_libdir_separator=$lt_hardcode_libdir_separator
35493
35494 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
35495 # DIR into the resulting binary.
35496 hardcode_direct=$hardcode_direct
35497
35498 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
35499 # DIR into the resulting binary and the resulting library dependency is
35500 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
35501 # library is relocated.
35502 hardcode_direct_absolute=$hardcode_direct_absolute
35503
35504 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
35505 # into the resulting binary.
35506 hardcode_minus_L=$hardcode_minus_L
35507
35508 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
35509 # into the resulting binary.
35510 hardcode_shlibpath_var=$hardcode_shlibpath_var
35511
35512 # Set to "yes" if building a shared library automatically hardcodes DIR
35513 # into the library and all subsequent libraries and executables linked
35514 # against it.
35515 hardcode_automatic=$hardcode_automatic
35516
35517 # Set to yes if linker adds runtime paths of dependent libraries
35518 # to runtime path list.
35519 inherit_rpath=$inherit_rpath
35520
35521 # Whether libtool must link a program against all its dependency libraries.
35522 link_all_deplibs=$link_all_deplibs
35523
35524 # Fix the shell variable \$srcfile for the compiler.
35525 fix_srcfile_path=$lt_fix_srcfile_path
35526
35527 # Set to "yes" if exported symbols are required.
35528 always_export_symbols=$always_export_symbols
35529
35530 # The commands to list exported symbols.
35531 export_symbols_cmds=$lt_export_symbols_cmds
35532
35533 # Symbols that should not be listed in the preloaded symbols.
35534 exclude_expsyms=$lt_exclude_expsyms
35535
35536 # Symbols that must always be exported.
35537 include_expsyms=$lt_include_expsyms
35538
35539 # Commands necessary for linking programs (against libraries) with templates.
35540 prelink_cmds=$lt_prelink_cmds
35541
35542 # Specify filename containing input files.
35543 file_list_spec=$lt_file_list_spec
35544
35545 # How to hardcode a shared library path into an executable.
35546 hardcode_action=$hardcode_action
35547
35548 # Dependencies to place before and after the objects being linked to
35549 # create a shared library.
35550 predep_objects=$lt_predep_objects
35551 postdep_objects=$lt_postdep_objects
35552 predeps=$lt_predeps
35553 postdeps=$lt_postdeps
35554
35555 # The library search path used internally by the compiler when linking
35556 # a shared library.
35557 compiler_lib_search_path=$lt_compiler_lib_search_path
35558
35559 # ### END LIBTOOL CONFIG
35560
35561 _LT_EOF
35562
35563   case $host_os in
35564   aix3*)
35565     cat <<\_LT_EOF >> "$cfgfile"
35566 # AIX sometimes has problems with the GCC collect2 program.  For some
35567 # reason, if we set the COLLECT_NAMES environment variable, the problems
35568 # vanish in a puff of smoke.
35569 if test "X${COLLECT_NAMES+set}" != Xset; then
35570   COLLECT_NAMES=
35571   export COLLECT_NAMES
35572 fi
35573 _LT_EOF
35574     ;;
35575   esac
35576
35577
35578 ltmain="$ac_aux_dir/ltmain.sh"
35579
35580
35581   # We use sed instead of cat because bash on DJGPP gets confused if
35582   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
35583   # text mode, it properly converts lines to CR/LF.  This bash problem
35584   # is reportedly fixed, but why not run on old versions too?
35585   sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
35586     || (rm -f "$cfgfile"; exit 1)
35587
35588   case $xsi_shell in
35589   yes)
35590     cat << \_LT_EOF >> "$cfgfile"
35591 # func_dirname file append nondir_replacement
35592 # Compute the dirname of FILE.  If nonempty, add APPEND to the result,
35593 # otherwise set result to NONDIR_REPLACEMENT.
35594 func_dirname ()
35595 {
35596   case ${1} in
35597     */*) func_dirname_result="${1%/*}${2}" ;;
35598     *  ) func_dirname_result="${3}" ;;
35599   esac
35600 }
35601
35602 # func_basename file
35603 func_basename ()
35604 {
35605   func_basename_result="${1##*/}"
35606 }
35607
35608 # func_stripname prefix suffix name
35609 # strip PREFIX and SUFFIX off of NAME.
35610 # PREFIX and SUFFIX must not contain globbing or regex special
35611 # characters, hashes, percent signs, but SUFFIX may contain a leading
35612 # dot (in which case that matches only a dot).
35613 func_stripname ()
35614 {
35615   # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
35616   # positional parameters, so assign one to ordinary parameter first.
35617   func_stripname_result=${3}
35618   func_stripname_result=${func_stripname_result#"${1}"}
35619   func_stripname_result=${func_stripname_result%"${2}"}
35620 }
35621
35622 # func_opt_split
35623 func_opt_split ()
35624 {
35625   func_opt_split_opt=${1%%=*}
35626   func_opt_split_arg=${1#*=}
35627 }
35628
35629 # func_lo2o object
35630 func_lo2o ()
35631 {
35632   case ${1} in
35633     *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
35634     *)    func_lo2o_result=${1} ;;
35635   esac
35636 }
35637 _LT_EOF
35638     ;;
35639   *) # Bourne compatible functions.
35640     cat << \_LT_EOF >> "$cfgfile"
35641 # func_dirname file append nondir_replacement
35642 # Compute the dirname of FILE.  If nonempty, add APPEND to the result,
35643 # otherwise set result to NONDIR_REPLACEMENT.
35644 func_dirname ()
35645 {
35646   # Extract subdirectory from the argument.
35647   func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
35648   if test "X$func_dirname_result" = "X${1}"; then
35649     func_dirname_result="${3}"
35650   else
35651     func_dirname_result="$func_dirname_result${2}"
35652   fi
35653 }
35654
35655 # func_basename file
35656 func_basename ()
35657 {
35658   func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
35659 }
35660
35661 # func_stripname prefix suffix name
35662 # strip PREFIX and SUFFIX off of NAME.
35663 # PREFIX and SUFFIX must not contain globbing or regex special
35664 # characters, hashes, percent signs, but SUFFIX may contain a leading
35665 # dot (in which case that matches only a dot).
35666 # func_strip_suffix prefix name
35667 func_stripname ()
35668 {
35669   case ${2} in
35670     .*) func_stripname_result=`$ECHO "X${3}" \
35671            | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
35672     *)  func_stripname_result=`$ECHO "X${3}" \
35673            | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
35674   esac
35675 }
35676
35677 # sed scripts:
35678 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
35679 my_sed_long_arg='1s/^-[^=]*=//'
35680
35681 # func_opt_split
35682 func_opt_split ()
35683 {
35684   func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
35685   func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
35686 }
35687
35688 # func_lo2o object
35689 func_lo2o ()
35690 {
35691   func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
35692 }
35693 _LT_EOF
35694 esac
35695
35696 case $lt_shell_append in
35697   yes)
35698     cat << \_LT_EOF >> "$cfgfile"
35699
35700 # func_append var value
35701 # Append VALUE to the end of shell variable VAR.
35702 func_append ()
35703 {
35704   eval "$1+=\$2"
35705 }
35706 _LT_EOF
35707     ;;
35708   *)
35709     cat << \_LT_EOF >> "$cfgfile"
35710
35711 # func_append var value
35712 # Append VALUE to the end of shell variable VAR.
35713 func_append ()
35714 {
35715   eval "$1=\$$1\$2"
35716 }
35717 _LT_EOF
35718     ;;
35719   esac
35720
35721
35722   sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
35723     || (rm -f "$cfgfile"; exit 1)
35724
35725   mv -f "$cfgfile" "$ofile" ||
35726     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
35727   chmod +x "$ofile"
35728
35729
35730     cat <<_LT_EOF >> "$ofile"
35731
35732 # ### BEGIN LIBTOOL TAG CONFIG: FC
35733
35734 # The linker used to build libraries.
35735 LD=$lt_LD_FC
35736
35737 # Commands used to build an old-style archive.
35738 old_archive_cmds=$lt_old_archive_cmds_FC
35739
35740 # A language specific compiler.
35741 CC=$lt_compiler_FC
35742
35743 # Is the compiler the GNU compiler?
35744 with_gcc=$GCC_FC
35745
35746 # Compiler flag to turn off builtin functions.
35747 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_FC
35748
35749 # How to pass a linker flag through the compiler.
35750 wl=$lt_lt_prog_compiler_wl_FC
35751
35752 # Additional compiler flags for building library objects.
35753 pic_flag=$lt_lt_prog_compiler_pic_FC
35754
35755 # Compiler flag to prevent dynamic linking.
35756 link_static_flag=$lt_lt_prog_compiler_static_FC
35757
35758 # Does compiler simultaneously support -c and -o options?
35759 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_FC
35760
35761 # Whether or not to add -lc for building shared libraries.
35762 build_libtool_need_lc=$archive_cmds_need_lc_FC
35763
35764 # Whether or not to disallow shared libs when runtime libs are static.
35765 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_FC
35766
35767 # Compiler flag to allow reflexive dlopens.
35768 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_FC
35769
35770 # Compiler flag to generate shared objects directly from archives.
35771 whole_archive_flag_spec=$lt_whole_archive_flag_spec_FC
35772
35773 # Whether the compiler copes with passing no objects directly.
35774 compiler_needs_object=$lt_compiler_needs_object_FC
35775
35776 # Create an old-style archive from a shared archive.
35777 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_FC
35778
35779 # Create a temporary old-style archive to link instead of a shared archive.
35780 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_FC
35781
35782 # Commands used to build a shared archive.
35783 archive_cmds=$lt_archive_cmds_FC
35784 archive_expsym_cmds=$lt_archive_expsym_cmds_FC
35785
35786 # Commands used to build a loadable module if different from building
35787 # a shared archive.
35788 module_cmds=$lt_module_cmds_FC
35789 module_expsym_cmds=$lt_module_expsym_cmds_FC
35790
35791 # Whether we are building with GNU ld or not.
35792 with_gnu_ld=$lt_with_gnu_ld_FC
35793
35794 # Flag that allows shared libraries with undefined symbols to be built.
35795 allow_undefined_flag=$lt_allow_undefined_flag_FC
35796
35797 # Flag that enforces no undefined symbols.
35798 no_undefined_flag=$lt_no_undefined_flag_FC
35799
35800 # Flag to hardcode \$libdir into a binary during linking.
35801 # This must work even if \$libdir does not exist
35802 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_FC
35803
35804 # If ld is used when linking, flag to hardcode \$libdir into a binary
35805 # during linking.  This must work even if \$libdir does not exist.
35806 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_FC
35807
35808 # Whether we need a single "-rpath" flag with a separated argument.
35809 hardcode_libdir_separator=$lt_hardcode_libdir_separator_FC
35810
35811 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
35812 # DIR into the resulting binary.
35813 hardcode_direct=$hardcode_direct_FC
35814
35815 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
35816 # DIR into the resulting binary and the resulting library dependency is
35817 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
35818 # library is relocated.
35819 hardcode_direct_absolute=$hardcode_direct_absolute_FC
35820
35821 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
35822 # into the resulting binary.
35823 hardcode_minus_L=$hardcode_minus_L_FC
35824
35825 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
35826 # into the resulting binary.
35827 hardcode_shlibpath_var=$hardcode_shlibpath_var_FC
35828
35829 # Set to "yes" if building a shared library automatically hardcodes DIR
35830 # into the library and all subsequent libraries and executables linked
35831 # against it.
35832 hardcode_automatic=$hardcode_automatic_FC
35833
35834 # Set to yes if linker adds runtime paths of dependent libraries
35835 # to runtime path list.
35836 inherit_rpath=$inherit_rpath_FC
35837
35838 # Whether libtool must link a program against all its dependency libraries.
35839 link_all_deplibs=$link_all_deplibs_FC
35840
35841 # Fix the shell variable \$srcfile for the compiler.
35842 fix_srcfile_path=$lt_fix_srcfile_path_FC
35843
35844 # Set to "yes" if exported symbols are required.
35845 always_export_symbols=$always_export_symbols_FC
35846
35847 # The commands to list exported symbols.
35848 export_symbols_cmds=$lt_export_symbols_cmds_FC
35849
35850 # Symbols that should not be listed in the preloaded symbols.
35851 exclude_expsyms=$lt_exclude_expsyms_FC
35852
35853 # Symbols that must always be exported.
35854 include_expsyms=$lt_include_expsyms_FC
35855
35856 # Commands necessary for linking programs (against libraries) with templates.
35857 prelink_cmds=$lt_prelink_cmds_FC
35858
35859 # Specify filename containing input files.
35860 file_list_spec=$lt_file_list_spec_FC
35861
35862 # How to hardcode a shared library path into an executable.
35863 hardcode_action=$hardcode_action_FC
35864
35865 # Dependencies to place before and after the objects being linked to
35866 # create a shared library.
35867 predep_objects=$lt_predep_objects_FC
35868 postdep_objects=$lt_postdep_objects_FC
35869 predeps=$lt_predeps_FC
35870 postdeps=$lt_postdeps_FC
35871
35872 # The library search path used internally by the compiler when linking
35873 # a shared library.
35874 compiler_lib_search_path=$lt_compiler_lib_search_path_FC
35875
35876 # ### END LIBTOOL TAG CONFIG: FC
35877 _LT_EOF
35878
35879  ;;
35880     gstdint.h )
35881 if test "$GCC" = yes; then
35882   echo "/* generated for " `$CC --version | sed 1q` "*/" > tmp-stdint.h
35883 else
35884   echo "/* generated for $CC */" > tmp-stdint.h
35885 fi
35886
35887 sed 's/^ *//' >> tmp-stdint.h <<EOF
35888
35889   #ifndef GCC_GENERATED_STDINT_H
35890   #define GCC_GENERATED_STDINT_H 1
35891
35892   #include <sys/types.h>
35893 EOF
35894
35895 if test "$acx_cv_header_stdint" != stdint.h; then
35896   echo "#include <stddef.h>" >> tmp-stdint.h
35897 fi
35898 if test "$acx_cv_header_stdint" != stddef.h; then
35899   echo "#include <$acx_cv_header_stdint>" >> tmp-stdint.h
35900 fi
35901
35902 sed 's/^ *//' >> tmp-stdint.h <<EOF
35903   /* glibc uses these symbols as guards to prevent redefinitions.  */
35904   #ifdef __int8_t_defined
35905   #define _INT8_T
35906   #define _INT16_T
35907   #define _INT32_T
35908   #endif
35909   #ifdef __uint32_t_defined
35910   #define _UINT32_T
35911   #endif
35912
35913 EOF
35914
35915 # ----------------- done header, emit basic int types -------------
35916 if test "$acx_cv_header_stdint" = stddef.h; then
35917   sed 's/^ *//' >> tmp-stdint.h <<EOF
35918
35919     #ifndef _UINT8_T
35920     #define _UINT8_T
35921     #ifndef __uint8_t_defined
35922     #define __uint8_t_defined
35923     typedef unsigned $acx_cv_type_int8_t uint8_t;
35924     #endif
35925     #endif
35926
35927     #ifndef _UINT16_T
35928     #define _UINT16_T
35929     #ifndef __uint16_t_defined
35930     #define __uint16_t_defined
35931     typedef unsigned $acx_cv_type_int16_t uint16_t;
35932     #endif
35933     #endif
35934
35935     #ifndef _UINT32_T
35936     #define _UINT32_T
35937     #ifndef __uint32_t_defined
35938     #define __uint32_t_defined
35939     typedef unsigned $acx_cv_type_int32_t uint32_t;
35940     #endif
35941     #endif
35942
35943     #ifndef _INT8_T
35944     #define _INT8_T
35945     #ifndef __int8_t_defined
35946     #define __int8_t_defined
35947     typedef $acx_cv_type_int8_t int8_t;
35948     #endif
35949     #endif
35950
35951     #ifndef _INT16_T
35952     #define _INT16_T
35953     #ifndef __int16_t_defined
35954     #define __int16_t_defined
35955     typedef $acx_cv_type_int16_t int16_t;
35956     #endif
35957     #endif
35958
35959     #ifndef _INT32_T
35960     #define _INT32_T
35961     #ifndef __int32_t_defined
35962     #define __int32_t_defined
35963     typedef $acx_cv_type_int32_t int32_t;
35964     #endif
35965     #endif
35966 EOF
35967 elif test "$ac_cv_type_u_int32_t" = yes; then
35968   sed 's/^ *//' >> tmp-stdint.h <<EOF
35969
35970     /* int8_t int16_t int32_t defined by inet code, we do the u_intXX types */
35971     #ifndef _INT8_T
35972     #define _INT8_T
35973     #endif
35974     #ifndef _INT16_T
35975     #define _INT16_T
35976     #endif
35977     #ifndef _INT32_T
35978     #define _INT32_T
35979     #endif
35980
35981     #ifndef _UINT8_T
35982     #define _UINT8_T
35983     #ifndef __uint8_t_defined
35984     #define __uint8_t_defined
35985     typedef u_int8_t uint8_t;
35986     #endif
35987     #endif
35988
35989     #ifndef _UINT16_T
35990     #define _UINT16_T
35991     #ifndef __uint16_t_defined
35992     #define __uint16_t_defined
35993     typedef u_int16_t uint16_t;
35994     #endif
35995     #endif
35996
35997     #ifndef _UINT32_T
35998     #define _UINT32_T
35999     #ifndef __uint32_t_defined
36000     #define __uint32_t_defined
36001     typedef u_int32_t uint32_t;
36002     #endif
36003     #endif
36004 EOF
36005 else
36006   sed 's/^ *//' >> tmp-stdint.h <<EOF
36007
36008     /* Some systems have guard macros to prevent redefinitions, define them.  */
36009     #ifndef _INT8_T
36010     #define _INT8_T
36011     #endif
36012     #ifndef _INT16_T
36013     #define _INT16_T
36014     #endif
36015     #ifndef _INT32_T
36016     #define _INT32_T
36017     #endif
36018     #ifndef _UINT8_T
36019     #define _UINT8_T
36020     #endif
36021     #ifndef _UINT16_T
36022     #define _UINT16_T
36023     #endif
36024     #ifndef _UINT32_T
36025     #define _UINT32_T
36026     #endif
36027 EOF
36028 fi
36029
36030 # ------------- done basic int types, emit int64_t types ------------
36031 if test "$ac_cv_type_uint64_t" = yes; then
36032   sed 's/^ *//' >> tmp-stdint.h <<EOF
36033
36034     /* system headers have good uint64_t and int64_t */
36035     #ifndef _INT64_T
36036     #define _INT64_T
36037     #endif
36038     #ifndef _UINT64_T
36039     #define _UINT64_T
36040     #endif
36041 EOF
36042 elif test "$ac_cv_type_u_int64_t" = yes; then
36043   sed 's/^ *//' >> tmp-stdint.h <<EOF
36044
36045     /* system headers have an u_int64_t (and int64_t) */
36046     #ifndef _INT64_T
36047     #define _INT64_T
36048     #endif
36049     #ifndef _UINT64_T
36050     #define _UINT64_T
36051     #ifndef __uint64_t_defined
36052     #define __uint64_t_defined
36053     typedef u_int64_t uint64_t;
36054     #endif
36055     #endif
36056 EOF
36057 elif test -n "$acx_cv_type_int64_t"; then
36058   sed 's/^ *//' >> tmp-stdint.h <<EOF
36059
36060     /* architecture has a 64-bit type, $acx_cv_type_int64_t */
36061     #ifndef _INT64_T
36062     #define _INT64_T
36063     typedef $acx_cv_type_int64_t int64_t;
36064     #endif
36065     #ifndef _UINT64_T
36066     #define _UINT64_T
36067     #ifndef __uint64_t_defined
36068     #define __uint64_t_defined
36069     typedef unsigned $acx_cv_type_int64_t uint64_t;
36070     #endif
36071     #endif
36072 EOF
36073 else
36074   sed 's/^ *//' >> tmp-stdint.h <<EOF
36075
36076     /* some common heuristics for int64_t, using compiler-specific tests */
36077     #if defined __STDC_VERSION__ && (__STDC_VERSION__-0) >= 199901L
36078     #ifndef _INT64_T
36079     #define _INT64_T
36080     #ifndef __int64_t_defined
36081     typedef long long int64_t;
36082     #endif
36083     #endif
36084     #ifndef _UINT64_T
36085     #define _UINT64_T
36086     typedef unsigned long long uint64_t;
36087     #endif
36088
36089     #elif defined __GNUC__ && defined (__STDC__) && __STDC__-0
36090     /* NextStep 2.0 cc is really gcc 1.93 but it defines __GNUC__ = 2 and
36091        does not implement __extension__.  But that compiler doesn't define
36092        __GNUC_MINOR__.  */
36093     # if __GNUC__ < 2 || (__NeXT__ && !__GNUC_MINOR__)
36094     # define __extension__
36095     # endif
36096
36097     # ifndef _INT64_T
36098     # define _INT64_T
36099     __extension__ typedef long long int64_t;
36100     # endif
36101     # ifndef _UINT64_T
36102     # define _UINT64_T
36103     __extension__ typedef unsigned long long uint64_t;
36104     # endif
36105
36106     #elif !defined __STRICT_ANSI__
36107     # if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
36108
36109     #  ifndef _INT64_T
36110     #  define _INT64_T
36111     typedef __int64 int64_t;
36112     #  endif
36113     #  ifndef _UINT64_T
36114     #  define _UINT64_T
36115     typedef unsigned __int64 uint64_t;
36116     #  endif
36117     # endif /* compiler */
36118
36119     #endif /* ANSI version */
36120 EOF
36121 fi
36122
36123 # ------------- done int64_t types, emit intptr types ------------
36124 if test "$ac_cv_type_uintptr_t" != yes; then
36125   sed 's/^ *//' >> tmp-stdint.h <<EOF
36126
36127     /* Define intptr_t based on sizeof(void*) = $ac_cv_sizeof_void_p */
36128     #ifndef __uintptr_t_defined
36129     typedef u$acx_cv_type_intptr_t uintptr_t;
36130     #endif
36131     #ifndef __intptr_t_defined
36132     typedef $acx_cv_type_intptr_t  intptr_t;
36133     #endif
36134 EOF
36135 fi
36136
36137 # ------------- done intptr types, emit int_least types ------------
36138 if test "$ac_cv_type_int_least32_t" != yes; then
36139   sed 's/^ *//' >> tmp-stdint.h <<EOF
36140
36141     /* Define int_least types */
36142     typedef int8_t     int_least8_t;
36143     typedef int16_t    int_least16_t;
36144     typedef int32_t    int_least32_t;
36145     #ifdef _INT64_T
36146     typedef int64_t    int_least64_t;
36147     #endif
36148
36149     typedef uint8_t    uint_least8_t;
36150     typedef uint16_t   uint_least16_t;
36151     typedef uint32_t   uint_least32_t;
36152     #ifdef _UINT64_T
36153     typedef uint64_t   uint_least64_t;
36154     #endif
36155 EOF
36156 fi
36157
36158 # ------------- done intptr types, emit int_fast types ------------
36159 if test "$ac_cv_type_int_fast32_t" != yes; then
36160       sed 's/^ *//' >> tmp-stdint.h <<EOF
36161
36162     /* Define int_fast types.  short is often slow */
36163     typedef int8_t       int_fast8_t;
36164     typedef int          int_fast16_t;
36165     typedef int32_t      int_fast32_t;
36166     #ifdef _INT64_T
36167     typedef int64_t      int_fast64_t;
36168     #endif
36169
36170     typedef uint8_t      uint_fast8_t;
36171     typedef unsigned int uint_fast16_t;
36172     typedef uint32_t     uint_fast32_t;
36173     #ifdef _UINT64_T
36174     typedef uint64_t     uint_fast64_t;
36175     #endif
36176 EOF
36177 fi
36178
36179 if test "$ac_cv_type_uintmax_t" != yes; then
36180   sed 's/^ *//' >> tmp-stdint.h <<EOF
36181
36182     /* Define intmax based on what we found */
36183     #ifdef _INT64_T
36184     typedef int64_t       intmax_t;
36185     #else
36186     typedef long          intmax_t;
36187     #endif
36188     #ifdef _UINT64_T
36189     typedef uint64_t      uintmax_t;
36190     #else
36191     typedef unsigned long uintmax_t;
36192     #endif
36193 EOF
36194 fi
36195
36196 sed 's/^ *//' >> tmp-stdint.h <<EOF
36197
36198   #endif /* GCC_GENERATED_STDINT_H */
36199 EOF
36200
36201 if test -r gstdint.h && cmp -s tmp-stdint.h gstdint.h; then
36202   rm -f tmp-stdint.h
36203 else
36204   mv -f tmp-stdint.h gstdint.h
36205 fi
36206
36207  ;;
36208   esac
36209 done
36210 _ACEOF
36211
36212 cat >>$CONFIG_STATUS <<\_ACEOF
36213
36214 { (exit 0); exit 0; }
36215 _ACEOF
36216 chmod +x $CONFIG_STATUS
36217 ac_clean_files=$ac_clean_files_save
36218
36219
36220 # configure is writing to config.log, and then calls config.status.
36221 # config.status does its own redirection, appending to config.log.
36222 # Unfortunately, on DOS this fails, as config.log is still kept open
36223 # by configure, so config.status won't be able to write to it; its
36224 # output is simply discarded.  So we exec the FD to /dev/null,
36225 # effectively closing config.log, so it can be properly (re)opened and
36226 # appended to by config.status.  When coming back to configure, we
36227 # need to make the FD available again.
36228 if test "$no_create" != yes; then
36229   ac_cs_success=:
36230   ac_config_status_args=
36231   test "$silent" = yes &&
36232     ac_config_status_args="$ac_config_status_args --quiet"
36233   exec 5>/dev/null
36234   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
36235   exec 5>>config.log
36236   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
36237   # would make configure fail if this is the last instruction.
36238   $ac_cs_success || { (exit 1); exit 1; }
36239 fi
36240